Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved. Exact original first-admission records.
Statement with defined notation
∀ pb. ∀ pc. ∀ w. ∃ b. ∃ c. ∀ x. Lt(x,w) → ∃ y. BetaAt(b,c,x,y) ∧ (x = 0 ∧ y = 1 ∨ (∃ z. ∃ n. ∃ m. x = S z ∧ (BetaAt(pb,pc,z,n) ∧ (BetaAt(pb,pc,S z,m) ∧ y = n + m))))Every purple notation token opens its conservative definition. Expanding the displayed statement recovers the exact first-order Peano-arithmetic formula checked by the unchanged kernel.
Definitions used by this theorem
In the theorem statement
4 occurrences
In local proof propositions
8 occurrences
Exact expanded native-PA statement
forall pb pc w. exists b c. (forall bcf_index_bpsrx_result. (exists bcf_lt_gap_bpsrx_result_bound. bcf_lt_gap_bpsrx_result_bound + S (bcf_index_bpsrx_result) = w) -> exists bcf_value_bpsrx_result. ((((exists bcf_height_bpsrx_result_entry. bcf_height_bpsrx_result_entry + S (bcf_value_bpsrx_result) = S ((S (bcf_index_bpsrx_result)) * c)) /\ exists bcf_quotient_bpsrx_result_entry. b = bcf_quotient_bpsrx_result_entry * S ((S (bcf_index_bpsrx_result)) * c) + (bcf_value_bpsrx_result))) /\ ((bcf_index_bpsrx_result = 0 /\ bcf_value_bpsrx_result = 1) \/ exists bcf_predecessor_bpsrx_result bcf_left_bpsrx_result bcf_right_bpsrx_result. bcf_index_bpsrx_result = S bcf_predecessor_bpsrx_result /\ ((((exists bcf_height_bpsrx_result_previous_left. bcf_height_bpsrx_result_previous_left + S (bcf_left_bpsrx_result) = S ((S (bcf_predecessor_bpsrx_result)) * pc)) /\ exists bcf_quotient_bpsrx_result_previous_left. pb = bcf_quotient_bpsrx_result_previous_left * S ((S (bcf_predecessor_bpsrx_result)) * pc) + (bcf_left_bpsrx_result))) /\ ((((exists bcf_height_bpsrx_result_previous_right. bcf_height_bpsrx_result_previous_right + S (bcf_right_bpsrx_result) = S ((S (S (bcf_predecessor_bpsrx_result))) * pc)) /\ exists bcf_quotient_bpsrx_result_previous_right. pb = bcf_quotient_bpsrx_result_previous_right * S ((S (S (bcf_predecessor_bpsrx_result))) * pc) + (bcf_right_bpsrx_result))) /\ bcf_value_bpsrx_result = bcf_left_bpsrx_result + bcf_right_bpsrx_result)))))Proof neighborhood
Direct theorem prerequisites
Direct theorem dependents
Definition-aware tactic body
Only local propositions introduced by have or suffices are compacted. Every changed line has an exact-AST conservative-expansion receipt; the kernel still receives the immutable original tactic script.
Read the argument
Proof checkpoints
This is a reading aid, not a new proof or a proof-tree certificate. Checkpoint groups are consecutive commands, not inferred branch boundaries. Every step links to the preserved script.
Named ingredients (3)
01Fix variables and assumptionsL1–2
02Induction on wL3–3
Split the argument into the base and successor obligations. The induction hypothesis is available only in the successor branch.
- L3
induction w
03Construct an explicit witnessL4–5
04Fix variables and assumptionsL6–7
05Separate the logical casesL8–9
06Establish hsiL10–17
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply add eq zero right.
07Establish hpreviousL18–19
Establish this local claim before using it. It is not an additional assumption.
- L18
have hprevious : ∃ b. ∃ c. ∀ x. Lt(x,w) → ∃ y. BetaAt(b,c,x,y) ∧ (x = 0 ∧ y = 1 ∨ (∃ z. ∃ n. ∃ m. x = S z ∧ (BetaAt(pb,pc,z,n) ∧ (BetaAt(pb,pc,S z,m) ∧ y = n + m))))Definitions: Lt(x,w)BetaAt(b,c,x,y)BetaAt(pb,pc,z,n)BetaAt(pb,pc,S z,m)Original native command in the exact edition - L19
exact IH
08Separate the logical casesL20–21
09Establish hnextL22–30
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta pascal row step extend.
- L22
have hnext : ∃ b. ∃ c. ∀ x. Lt(x,S w) → ∃ y. BetaAt(b,c,x,y) ∧ (x = 0 ∧ y = 1 ∨ (∃ z. ∃ n. ∃ m. x = S z ∧ (BetaAt(pb,pc,z,n) ∧ (BetaAt(pb,pc,S z,m) ∧ y = n + m))))Definitions: Lt(x,S w)BetaAt(b,c,x,y)BetaAt(pb,pc,z,n)BetaAt(pb,pc,S z,m)Original native command in the exact edition - L23
specialize beta_pascal_row_step_extend pb - L24
specialize beta_pascal_row_step_extend pc - L25
specialize beta_pascal_row_step_extend x - L26
specialize beta_pascal_row_step_extend x1 - L27
specialize beta_pascal_row_step_extend w - L28
apply beta_pascal_row_step_extend - L29
exact hprevious_witness_witness - L30
exact hnext
Original defined command ledger · 30 lines
- 0001
intro pb - 0002
intro pc - 0003
induction w - 0004
exists 0 - 0005
exists 0 - 0006
intro i - 0007
intro hi - 0008
exfalso - 0009
cases hi - 0010
have hsi : S i = 0 - 0011
specialize add_eq_zero_right x - 0012
specialize add_eq_zero_right (S i) - 0013
apply add_eq_zero_right - 0014
exact hi_witness - 0015
specialize succ_ne_zero i - 0016
apply succ_ne_zero - 0017
exact hsi - 0018
have hprevious : ∃ b. ∃ c. ∀ x. Lt(x,w) → ∃ y. BetaAt(b,c,x,y) ∧ (x = 0 ∧ y = 1 ∨ (∃ z. ∃ n. ∃ m. x = S z ∧ (BetaAt(pb,pc,z,n) ∧ (BetaAt(pb,pc,S z,m) ∧ y = n + m))))Exact native replay line
have hprevious : exists b c. (forall bcf_index_bpsrx_previous. (exists bcf_lt_gap_bpsrx_previous_bound. bcf_lt_gap_bpsrx_previous_bound + S (bcf_index_bpsrx_previous) = w) -> exists bcf_value_bpsrx_previous. ((((exists bcf_height_bpsrx_previous_entry. bcf_height_bpsrx_previous_entry + S (bcf_value_bpsrx_previous) = S ((S (bcf_index_bpsrx_previous)) * c)) /\ exists bcf_quotient_bpsrx_previous_entry. b = bcf_quotient_bpsrx_previous_entry * S ((S (bcf_index_bpsrx_previous)) * c) + (bcf_value_bpsrx_previous))) /\ ((bcf_index_bpsrx_previous = 0 /\ bcf_value_bpsrx_previous = 1) \/ exists bcf_predecessor_bpsrx_previous bcf_left_bpsrx_previous bcf_right_bpsrx_previous. bcf_index_bpsrx_previous = S bcf_predecessor_bpsrx_previous /\ ((((exists bcf_height_bpsrx_previous_previous_left. bcf_height_bpsrx_previous_previous_left + S (bcf_left_bpsrx_previous) = S ((S (bcf_predecessor_bpsrx_previous)) * pc)) /\ exists bcf_quotient_bpsrx_previous_previous_left. pb = bcf_quotient_bpsrx_previous_previous_left * S ((S (bcf_predecessor_bpsrx_previous)) * pc) + (bcf_left_bpsrx_previous))) /\ ((((exists bcf_height_bpsrx_previous_previous_right. bcf_height_bpsrx_previous_previous_right + S (bcf_right_bpsrx_previous) = S ((S (S (bcf_predecessor_bpsrx_previous))) * pc)) /\ exists bcf_quotient_bpsrx_previous_previous_right. pb = bcf_quotient_bpsrx_previous_previous_right * S ((S (S (bcf_predecessor_bpsrx_previous))) * pc) + (bcf_right_bpsrx_previous))) /\ bcf_value_bpsrx_previous = bcf_left_bpsrx_previous + bcf_right_bpsrx_previous))))) - 0019
exact IH - 0020
cases hprevious - 0021
cases hprevious_witness - 0022
have hnext : ∃ b. ∃ c. ∀ x. Lt(x,S w) → ∃ y. BetaAt(b,c,x,y) ∧ (x = 0 ∧ y = 1 ∨ (∃ z. ∃ n. ∃ m. x = S z ∧ (BetaAt(pb,pc,z,n) ∧ (BetaAt(pb,pc,S z,m) ∧ y = n + m))))Exact native replay line
have hnext : exists b c. (forall bcf_index_bpsrx_successor. (exists bcf_lt_gap_bpsrx_successor_bound. bcf_lt_gap_bpsrx_successor_bound + S (bcf_index_bpsrx_successor) = S (w)) -> exists bcf_value_bpsrx_successor. ((((exists bcf_height_bpsrx_successor_entry. bcf_height_bpsrx_successor_entry + S (bcf_value_bpsrx_successor) = S ((S (bcf_index_bpsrx_successor)) * c)) /\ exists bcf_quotient_bpsrx_successor_entry. b = bcf_quotient_bpsrx_successor_entry * S ((S (bcf_index_bpsrx_successor)) * c) + (bcf_value_bpsrx_successor))) /\ ((bcf_index_bpsrx_successor = 0 /\ bcf_value_bpsrx_successor = 1) \/ exists bcf_predecessor_bpsrx_successor bcf_left_bpsrx_successor bcf_right_bpsrx_successor. bcf_index_bpsrx_successor = S bcf_predecessor_bpsrx_successor /\ ((((exists bcf_height_bpsrx_successor_previous_left. bcf_height_bpsrx_successor_previous_left + S (bcf_left_bpsrx_successor) = S ((S (bcf_predecessor_bpsrx_successor)) * pc)) /\ exists bcf_quotient_bpsrx_successor_previous_left. pb = bcf_quotient_bpsrx_successor_previous_left * S ((S (bcf_predecessor_bpsrx_successor)) * pc) + (bcf_left_bpsrx_successor))) /\ ((((exists bcf_height_bpsrx_successor_previous_right. bcf_height_bpsrx_successor_previous_right + S (bcf_right_bpsrx_successor) = S ((S (S (bcf_predecessor_bpsrx_successor))) * pc)) /\ exists bcf_quotient_bpsrx_successor_previous_right. pb = bcf_quotient_bpsrx_successor_previous_right * S ((S (S (bcf_predecessor_bpsrx_successor))) * pc) + (bcf_right_bpsrx_successor))) /\ bcf_value_bpsrx_successor = bcf_left_bpsrx_successor + bcf_right_bpsrx_successor))))) - 0023
specialize beta_pascal_row_step_extend pb - 0024
specialize beta_pascal_row_step_extend pc - 0025
specialize beta_pascal_row_step_extend x - 0026
specialize beta_pascal_row_step_extend x1 - 0027
specialize beta_pascal_row_step_extend w - 0028
apply beta_pascal_row_step_extend - 0029
exact hprevious_witness_witness - 0030
exact hnext