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
∀ b. ∀ c. ∀ l. ∀ n. (∀ x. Lt(x,n) → ContainsPrefix(b,c,l,x)) → ∃ x. ∃ y. ∀ z. Lt(z,n) → ∃ m. BetaAt(x,y,z,m) ∧ (Lt(m,l) ∧ BetaAt(b,c,m,z))Every purple notation token opens its conservative definition. This is a reading surface; the compiler expands the statement before the unchanged kernel checks it.
Definitions used by this theorem
In the theorem statement
6 occurrences
In local proof propositions
13 occurrences
Exact expanded native-PA statement
forall b c l n. (forall fom_value_exists_cover. (exists fom_gap_exists_cover_value_bound. fom_gap_exists_cover_value_bound + S (fom_value_exists_cover) = n) -> exists fom_index_exists_cover. ((exists fom_gap_exists_cover_index_bound. fom_gap_exists_cover_index_bound + S (fom_index_exists_cover) = l) /\ (((exists fom_beta_height_exists_cover_entry. fom_beta_height_exists_cover_entry + S (fom_value_exists_cover) = S ((S (fom_index_exists_cover)) * c)) /\ exists fom_beta_quotient_exists_cover_entry. b = fom_beta_quotient_exists_cover_entry * S ((S (fom_index_exists_cover)) * c) + (fom_value_exists_cover))))) -> exists z d. (forall fom_value_exists_result. (exists fom_gap_exists_result_value_bound. fom_gap_exists_result_value_bound + S (fom_value_exists_result) = n) -> exists fom_index_exists_result. ((((exists fom_beta_height_exists_result_choice_entry. fom_beta_height_exists_result_choice_entry + S (fom_index_exists_result) = S ((S (fom_value_exists_result)) * d)) /\ exists fom_beta_quotient_exists_result_choice_entry. z = fom_beta_quotient_exists_result_choice_entry * S ((S (fom_value_exists_result)) * d) + (fom_index_exists_result))) /\ ((exists fom_gap_exists_result_index_bound. fom_gap_exists_result_index_bound + S (fom_index_exists_result) = l) /\ (((exists fom_beta_height_exists_result_source_entry. fom_beta_height_exists_result_source_entry + S (fom_value_exists_result) = S ((S (fom_index_exists_result)) * c)) /\ exists fom_beta_quotient_exists_result_source_entry. b = fom_beta_quotient_exists_result_source_entry * S ((S (fom_index_exists_result)) * c) + (fom_value_exists_result))))))Proof neighborhood
Direct theorem prerequisites
PA0004 add_eq_zero_right PA0005 succ_ne_zero PA002O le_succ PA001A le_refl PA0093 finite_inverse_choice_prefix_extendDirect theorem dependents
Definition-aware tactic body
Only local propositions introduced by have or suffices are compacted. The untrusted compiler re-expands each one before the original tactic script is replayed; defined notation is never accepted by the kernel. Open the exact replay line beneath every changed command.
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 (5)
01Fix variables and assumptionsL1–3
02Induction on nL4–5
03Construct an explicit witnessL6–7
04Fix variables and assumptionsL8–9
05Separate the logical casesL10–11
06Establish hsyL12–20
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply add eq zero right.
07Establish hcover_allL21–22
Establish this local claim before using it. It is not an additional assumption.
- L21
have hcover_all : ∀ fom_value_exists_successor_cover. Lt(fom_value_exists_successor_cover,S n) → ContainsPrefix(b,c,l,fom_value_exists_successor_cover)Definitions: Lt(fom_value_exists_successor_cover,S n)ContainsPrefix(b,c,l,fom_value_exists_successor_cover)Original native command in the exact edition - L22
exact hcover
08Establish hpastL23–31
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hcover all.
- L23
have hpast : ∀ fom_value_exists_previous_cover. Lt(fom_value_exists_previous_cover,n) → ContainsPrefix(b,c,l,fom_value_exists_previous_cover)Definitions: Lt(fom_value_exists_previous_cover,n)ContainsPrefix(b,c,l,fom_value_exists_previous_cover)Original native command in the exact edition - L24
intro y - L25
intro hy - L26
specialize hcover_all y - L27
apply hcover_all - L28
specialize le_succ (S y) - L29
specialize le_succ n - L30
apply le_succ - L31
exact hy
09Establish hpreviousL32–34
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply IH.
- L32
have hprevious : ∃ z. ∃ d. ∀ x. Lt(x,n) → ∃ y. BetaAt(z,d,x,y) ∧ (Lt(y,l) ∧ BetaAt(b,c,y,x))Definitions: Lt(x,n)BetaAt(z,d,x,y)Lt(y,l)BetaAt(b,c,y,x)Original native command in the exact edition - L33
apply IH - L34
exact hpast
10Separate the logical casesL35–36
11Establish htopL37–41
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hcover.
- L37
have htop : ContainsPrefix(b,c,l,n)Definitions: ContainsPrefix(b,c,l,n)Original native command in the exact edition - L38
specialize hcover n - L39
apply hcover - L40
specialize le_refl (S n) - L41
exact le_refl
12Establish hnextL42–51
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply finite inverse choice prefix extend.
- L42
have hnext : ∃ z. ∃ d. ∀ x. Lt(x,S n) → ∃ y. BetaAt(z,d,x,y) ∧ (Lt(y,l) ∧ BetaAt(b,c,y,x))Definitions: Lt(x,S n)BetaAt(z,d,x,y)Lt(y,l)BetaAt(b,c,y,x)Original native command in the exact edition - L43
specialize finite_inverse_choice_prefix_extend b - L44
specialize finite_inverse_choice_prefix_extend c - L45
specialize finite_inverse_choice_prefix_extend l - L46
specialize finite_inverse_choice_prefix_extend x - L47
specialize finite_inverse_choice_prefix_extend x1 - L48
specialize finite_inverse_choice_prefix_extend n - L49
apply finite_inverse_choice_prefix_extend - L50
exact htop - L51
exact hprevious_witness_witness
13Use earlier factsL52–52
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L52
exact hnext
Original defined command ledger · 52 lines
- 0001
intro b - 0002
intro c - 0003
intro l - 0004
induction n - 0005
intro hcover - 0006
exists 0 - 0007
exists 0 - 0008
intro y - 0009
intro hy - 0010
exfalso - 0011
cases hy - 0012
have hsy : S y = 0 - 0013
specialize add_eq_zero_right x - 0014
specialize add_eq_zero_right (S y) - 0015
apply add_eq_zero_right - 0016
exact hy_witness - 0017
specialize succ_ne_zero y - 0018
apply succ_ne_zero - 0019
exact hsy - 0020
intro hcover - 0021
have hcover_all : ∀ fom_value_exists_successor_cover. Lt(fom_value_exists_successor_cover,S n) → ContainsPrefix(b,c,l,fom_value_exists_successor_cover)Exact native replay line
have hcover_all : forall fom_value_exists_successor_cover. (exists fom_gap_exists_successor_cover_value_bound. fom_gap_exists_successor_cover_value_bound + S (fom_value_exists_successor_cover) = S n) -> exists fom_index_exists_successor_cover. ((exists fom_gap_exists_successor_cover_index_bound. fom_gap_exists_successor_cover_index_bound + S (fom_index_exists_successor_cover) = l) /\ (((exists fom_beta_height_exists_successor_cover_entry. fom_beta_height_exists_successor_cover_entry + S (fom_value_exists_successor_cover) = S ((S (fom_index_exists_successor_cover)) * c)) /\ exists fom_beta_quotient_exists_successor_cover_entry. b = fom_beta_quotient_exists_successor_cover_entry * S ((S (fom_index_exists_successor_cover)) * c) + (fom_value_exists_successor_cover)))) - 0022
exact hcover - 0023
have hpast : ∀ fom_value_exists_previous_cover. Lt(fom_value_exists_previous_cover,n) → ContainsPrefix(b,c,l,fom_value_exists_previous_cover)Exact native replay line
have hpast : forall fom_value_exists_previous_cover. (exists fom_gap_exists_previous_cover_value_bound. fom_gap_exists_previous_cover_value_bound + S (fom_value_exists_previous_cover) = n) -> exists fom_index_exists_previous_cover. ((exists fom_gap_exists_previous_cover_index_bound. fom_gap_exists_previous_cover_index_bound + S (fom_index_exists_previous_cover) = l) /\ (((exists fom_beta_height_exists_previous_cover_entry. fom_beta_height_exists_previous_cover_entry + S (fom_value_exists_previous_cover) = S ((S (fom_index_exists_previous_cover)) * c)) /\ exists fom_beta_quotient_exists_previous_cover_entry. b = fom_beta_quotient_exists_previous_cover_entry * S ((S (fom_index_exists_previous_cover)) * c) + (fom_value_exists_previous_cover)))) - 0024
intro y - 0025
intro hy - 0026
specialize hcover_all y - 0027
apply hcover_all - 0028
specialize le_succ (S y) - 0029
specialize le_succ n - 0030
apply le_succ - 0031
exact hy - 0032
have hprevious : ∃ z. ∃ d. ∀ x. Lt(x,n) → ∃ y. BetaAt(z,d,x,y) ∧ (Lt(y,l) ∧ BetaAt(b,c,y,x))Exact native replay line
have hprevious : exists z d. (forall fom_value_exists_previous_choice. (exists fom_gap_exists_previous_choice_value_bound. fom_gap_exists_previous_choice_value_bound + S (fom_value_exists_previous_choice) = n) -> exists fom_index_exists_previous_choice. ((((exists fom_beta_height_exists_previous_choice_choice_entry. fom_beta_height_exists_previous_choice_choice_entry + S (fom_index_exists_previous_choice) = S ((S (fom_value_exists_previous_choice)) * d)) /\ exists fom_beta_quotient_exists_previous_choice_choice_entry. z = fom_beta_quotient_exists_previous_choice_choice_entry * S ((S (fom_value_exists_previous_choice)) * d) + (fom_index_exists_previous_choice))) /\ ((exists fom_gap_exists_previous_choice_index_bound. fom_gap_exists_previous_choice_index_bound + S (fom_index_exists_previous_choice) = l) /\ (((exists fom_beta_height_exists_previous_choice_source_entry. fom_beta_height_exists_previous_choice_source_entry + S (fom_value_exists_previous_choice) = S ((S (fom_index_exists_previous_choice)) * c)) /\ exists fom_beta_quotient_exists_previous_choice_source_entry. b = fom_beta_quotient_exists_previous_choice_source_entry * S ((S (fom_index_exists_previous_choice)) * c) + (fom_value_exists_previous_choice)))))) - 0033
apply IH - 0034
exact hpast - 0035
cases hprevious - 0036
cases hprevious_witness - 0037
have htop : ContainsPrefix(b,c,l,n)Exact native replay line
have htop : exists fp_i_exists_top_contains. ((exists fp_gap_exists_top_contains_index. fp_gap_exists_top_contains_index + S fp_i_exists_top_contains = l) /\ (((exists ff_h_exists_top_contains_entry. ff_h_exists_top_contains_entry + S (n) = S ((S (fp_i_exists_top_contains)) * c)) /\ exists ff_q_exists_top_contains_entry. b = ff_q_exists_top_contains_entry * S ((S (fp_i_exists_top_contains)) * c) + (n)))) - 0038
specialize hcover n - 0039
apply hcover - 0040
specialize le_refl (S n) - 0041
exact le_refl - 0042
have hnext : ∃ z. ∃ d. ∀ x. Lt(x,S n) → ∃ y. BetaAt(z,d,x,y) ∧ (Lt(y,l) ∧ BetaAt(b,c,y,x))Exact native replay line
have hnext : exists z d. (forall fom_value_exists_successor_choice. (exists fom_gap_exists_successor_choice_value_bound. fom_gap_exists_successor_choice_value_bound + S (fom_value_exists_successor_choice) = S n) -> exists fom_index_exists_successor_choice. ((((exists fom_beta_height_exists_successor_choice_choice_entry. fom_beta_height_exists_successor_choice_choice_entry + S (fom_index_exists_successor_choice) = S ((S (fom_value_exists_successor_choice)) * d)) /\ exists fom_beta_quotient_exists_successor_choice_choice_entry. z = fom_beta_quotient_exists_successor_choice_choice_entry * S ((S (fom_value_exists_successor_choice)) * d) + (fom_index_exists_successor_choice))) /\ ((exists fom_gap_exists_successor_choice_index_bound. fom_gap_exists_successor_choice_index_bound + S (fom_index_exists_successor_choice) = l) /\ (((exists fom_beta_height_exists_successor_choice_source_entry. fom_beta_height_exists_successor_choice_source_entry + S (fom_value_exists_successor_choice) = S ((S (fom_index_exists_successor_choice)) * c)) /\ exists fom_beta_quotient_exists_successor_choice_source_entry. b = fom_beta_quotient_exists_successor_choice_source_entry * S ((S (fom_index_exists_successor_choice)) * c) + (fom_value_exists_successor_choice)))))) - 0043
specialize finite_inverse_choice_prefix_extend b - 0044
specialize finite_inverse_choice_prefix_extend c - 0045
specialize finite_inverse_choice_prefix_extend l - 0046
specialize finite_inverse_choice_prefix_extend x - 0047
specialize finite_inverse_choice_prefix_extend x1 - 0048
specialize finite_inverse_choice_prefix_extend n - 0049
apply finite_inverse_choice_prefix_extend - 0050
exact htop - 0051
exact hprevious_witness_witness - 0052
exact hnext