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
∀ a. ∀ l. ∃ b. ∃ c. ∀ x. Lt(x,l) → ∃ y. BetaAt(b,c,x,y) ∧ (Prime(S (a + x)) ∧ y = S (a + x) ∨ ¬Prime(S (a + x)) ∧ y = 1)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 a l. exists b c. (forall bpr_index_bpifpx_result. (exists bpr_gap_bpifpx_result_bound. bpr_gap_bpifpx_result_bound + S (bpr_index_bpifpx_result) = l) -> exists bpr_value_bpifpx_result. ((((exists bpr_height_bpifpx_result_decoded. bpr_height_bpifpx_result_decoded + S (bpr_value_bpifpx_result) = S ((S (bpr_index_bpifpx_result)) * c)) /\ exists bpr_quotient_bpifpx_result_decoded. b = bpr_quotient_bpifpx_result_decoded * S ((S (bpr_index_bpifpx_result)) * c) + (bpr_value_bpifpx_result))) /\ (((((~(S (a + bpr_index_bpifpx_result) = 1) /\ forall bpr_left_bpifpx_result_choice_prime bpr_right_bpifpx_result_choice_prime. S (a + bpr_index_bpifpx_result) = bpr_left_bpifpx_result_choice_prime * bpr_right_bpifpx_result_choice_prime -> bpr_left_bpifpx_result_choice_prime = 1 \/ bpr_right_bpifpx_result_choice_prime = 1)) /\ bpr_value_bpifpx_result = S (a + bpr_index_bpifpx_result)) \/ (~((~(S (a + bpr_index_bpifpx_result) = 1) /\ forall bpr_left_bpifpx_result_choice_prime bpr_right_bpifpx_result_choice_prime. S (a + bpr_index_bpifpx_result) = bpr_left_bpifpx_result_choice_prime * bpr_right_bpifpx_result_choice_prime -> bpr_left_bpifpx_result_choice_prime = 1 \/ bpr_right_bpifpx_result_choice_prime = 1)) /\ bpr_value_bpifpx_result = 1)))))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–1
Work with arbitrary variables or the premises of the current implication.
- L1
intro a
02Induction on lL2–2
Split the argument into the base and successor obligations. The induction hypothesis is available only in the successor branch.
- L2
induction l
03Construct an explicit witnessL3–4
04Fix variables and assumptionsL5–6
05Separate the logical casesL7–8
06Establish hsiL9–13
07Establish hpreviousL14–15
Establish this local claim before using it. It is not an additional assumption.
- L14
have hprevious : ∃ b. ∃ c. ∀ x. Lt(x,l) → ∃ y. BetaAt(b,c,x,y) ∧ (Prime(S (a + x)) ∧ y = S (a + x) ∨ ¬Prime(S (a + x)) ∧ y = 1)Definitions: Lt(x,l)BetaAt(b,c,x,y)Prime(S (a + x))Original native command in the exact edition - L15
exact IH
08Separate the logical casesL16–17
09Establish hnextL18–21
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply primorial interval factor prefix extend.
- L18
have hnext : ∃ b. ∃ c. ∀ x. Lt(x,S l) → ∃ y. BetaAt(b,c,x,y) ∧ (Prime(S (a + x)) ∧ y = S (a + x) ∨ ¬Prime(S (a + x)) ∧ y = 1)Definitions: Lt(x,S l)BetaAt(b,c,x,y)Prime(S (a + x))Original native command in the exact edition - L19
apply primorial_interval_factor_prefix_extend - L20
exact hprevious_witness_witness - L21
exact hnext
Original defined command ledger · 21 lines
- 0001
intro a - 0002
induction l - 0003
exists 0 - 0004
exists 0 - 0005
intro i - 0006
intro hi - 0007
exfalso - 0008
cases hi - 0009
have hsi : S i = 0 - 0010
apply add_eq_zero_right - 0011
exact hi_witness - 0012
apply succ_ne_zero - 0013
exact hsi - 0014
have hprevious : ∃ b. ∃ c. ∀ x. Lt(x,l) → ∃ y. BetaAt(b,c,x,y) ∧ (Prime(S (a + x)) ∧ y = S (a + x) ∨ ¬Prime(S (a + x)) ∧ y = 1)Exact native replay line
have hprevious : exists b c. (forall bpr_index_bpifpx_previous. (exists bpr_gap_bpifpx_previous_bound. bpr_gap_bpifpx_previous_bound + S (bpr_index_bpifpx_previous) = l) -> exists bpr_value_bpifpx_previous. ((((exists bpr_height_bpifpx_previous_decoded. bpr_height_bpifpx_previous_decoded + S (bpr_value_bpifpx_previous) = S ((S (bpr_index_bpifpx_previous)) * c)) /\ exists bpr_quotient_bpifpx_previous_decoded. b = bpr_quotient_bpifpx_previous_decoded * S ((S (bpr_index_bpifpx_previous)) * c) + (bpr_value_bpifpx_previous))) /\ (((((~(S (a + bpr_index_bpifpx_previous) = 1) /\ forall bpr_left_bpifpx_previous_choice_prime bpr_right_bpifpx_previous_choice_prime. S (a + bpr_index_bpifpx_previous) = bpr_left_bpifpx_previous_choice_prime * bpr_right_bpifpx_previous_choice_prime -> bpr_left_bpifpx_previous_choice_prime = 1 \/ bpr_right_bpifpx_previous_choice_prime = 1)) /\ bpr_value_bpifpx_previous = S (a + bpr_index_bpifpx_previous)) \/ (~((~(S (a + bpr_index_bpifpx_previous) = 1) /\ forall bpr_left_bpifpx_previous_choice_prime bpr_right_bpifpx_previous_choice_prime. S (a + bpr_index_bpifpx_previous) = bpr_left_bpifpx_previous_choice_prime * bpr_right_bpifpx_previous_choice_prime -> bpr_left_bpifpx_previous_choice_prime = 1 \/ bpr_right_bpifpx_previous_choice_prime = 1)) /\ bpr_value_bpifpx_previous = 1))))) - 0015
exact IH - 0016
cases hprevious - 0017
cases hprevious_witness - 0018
have hnext : ∃ b. ∃ c. ∀ x. Lt(x,S l) → ∃ y. BetaAt(b,c,x,y) ∧ (Prime(S (a + x)) ∧ y = S (a + x) ∨ ¬Prime(S (a + x)) ∧ y = 1)Exact native replay line
have hnext : exists b c. (forall bpr_index_bpifpx_successor. (exists bpr_gap_bpifpx_successor_bound. bpr_gap_bpifpx_successor_bound + S (bpr_index_bpifpx_successor) = S l) -> exists bpr_value_bpifpx_successor. ((((exists bpr_height_bpifpx_successor_decoded. bpr_height_bpifpx_successor_decoded + S (bpr_value_bpifpx_successor) = S ((S (bpr_index_bpifpx_successor)) * c)) /\ exists bpr_quotient_bpifpx_successor_decoded. b = bpr_quotient_bpifpx_successor_decoded * S ((S (bpr_index_bpifpx_successor)) * c) + (bpr_value_bpifpx_successor))) /\ (((((~(S (a + bpr_index_bpifpx_successor) = 1) /\ forall bpr_left_bpifpx_successor_choice_prime bpr_right_bpifpx_successor_choice_prime. S (a + bpr_index_bpifpx_successor) = bpr_left_bpifpx_successor_choice_prime * bpr_right_bpifpx_successor_choice_prime -> bpr_left_bpifpx_successor_choice_prime = 1 \/ bpr_right_bpifpx_successor_choice_prime = 1)) /\ bpr_value_bpifpx_successor = S (a + bpr_index_bpifpx_successor)) \/ (~((~(S (a + bpr_index_bpifpx_successor) = 1) /\ forall bpr_left_bpifpx_successor_choice_prime bpr_right_bpifpx_successor_choice_prime. S (a + bpr_index_bpifpx_successor) = bpr_left_bpifpx_successor_choice_prime * bpr_right_bpifpx_successor_choice_prime -> bpr_left_bpifpx_successor_choice_prime = 1 \/ bpr_right_bpifpx_successor_choice_prime = 1)) /\ bpr_value_bpifpx_successor = 1))))) - 0019
apply primorial_interval_factor_prefix_extend - 0020
exact hprevious_witness_witness - 0021
exact hnext