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.
Exact expanded first-order arithmetic statement
forall a. exists p. (((~(p = 1) /\ forall bpr_left_pc_pen_unique_exists_prime bpr_right_pc_pen_unique_exists_prime. p = bpr_left_pc_pen_unique_exists_prime * bpr_right_pc_pen_unique_exists_prime -> bpr_left_pc_pen_unique_exists_prime = 1 \/ bpr_right_pc_pen_unique_exists_prime = 1)) /\ ((exists pc_lt_pen_unique_exists_greater. pc_lt_pen_unique_exists_greater + S (a) = (p)) /\ forall pen_comparison_unique_exists. ((~(pen_comparison_unique_exists = 1) /\ forall bpr_left_pc_pen_unique_exists_comparison bpr_right_pc_pen_unique_exists_comparison. pen_comparison_unique_exists = bpr_left_pc_pen_unique_exists_comparison * bpr_right_pc_pen_unique_exists_comparison -> bpr_left_pc_pen_unique_exists_comparison = 1 \/ bpr_right_pc_pen_unique_exists_comparison = 1)) -> (exists pc_lt_pen_unique_exists_above. pc_lt_pen_unique_exists_above + S (a) = (pen_comparison_unique_exists)) -> (exists pc_le_pen_unique_exists_minimal. pc_le_pen_unique_exists_minimal + (p) = (pen_comparison_unique_exists)))) /\ forall q. (((~(q = 1) /\ forall bpr_left_pc_pen_unique_exists_other_prime bpr_right_pc_pen_unique_exists_other_prime. q = bpr_left_pc_pen_unique_exists_other_prime * bpr_right_pc_pen_unique_exists_other_prime -> bpr_left_pc_pen_unique_exists_other_prime = 1 \/ bpr_right_pc_pen_unique_exists_other_prime = 1)) /\ ((exists pc_lt_pen_unique_exists_other_greater. pc_lt_pen_unique_exists_other_greater + S (a) = (q)) /\ forall pen_comparison_unique_exists_other. ((~(pen_comparison_unique_exists_other = 1) /\ forall bpr_left_pc_pen_unique_exists_other_comparison bpr_right_pc_pen_unique_exists_other_comparison. pen_comparison_unique_exists_other = bpr_left_pc_pen_unique_exists_other_comparison * bpr_right_pc_pen_unique_exists_other_comparison -> bpr_left_pc_pen_unique_exists_other_comparison = 1 \/ bpr_right_pc_pen_unique_exists_other_comparison = 1)) -> (exists pc_lt_pen_unique_exists_other_above. pc_lt_pen_unique_exists_other_above + S (a) = (pen_comparison_unique_exists_other)) -> (exists pc_le_pen_unique_exists_other_minimal. pc_le_pen_unique_exists_other_minimal + (q) = (pen_comparison_unique_exists_other)))) -> q = pConstructive proof overview
Generated structural guide
Least-prime search is a total, uniquely valued constructive relation for every natural input.
The unchanged tactic script uses 2 declared prerequisites and contains 14 exact native proof lines.
Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
Direct dependents
Formal native tactic body
Dependencies are introduced as named hypotheses before line 1. Local theorem links identify exact declared prerequisites. This exact body belongs to a complete independently kernel-checked constructive proof bundle and has Alpha checked-use authority; it does not imply Stable membership.
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 (2)
01Fix variables and assumptionsL1–1
Work with arbitrary variables or the premises of the current implication.
- L1
intro a
02Use earlier factsL2–2
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L2
specialize least_prime_above_exists a
03Separate the logical casesL3–3
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L3
cases least_prime_above_exists
04Construct an explicit witnessL4–4
Supply the displayed value, then prove that it has the required property.
- L4
exists x
05Separate the logical casesL5–5
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L5
split
06Use earlier factsL6–6
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L6
exact least_prime_above_exists_witness
07Fix variables and assumptionsL7–8
08Use earlier factsL9–14
Original exact command ledger · 14 lines
- 0001
intro a - 0002
specialize least_prime_above_exists a - 0003
cases least_prime_above_exists - 0004
exists x - 0005
split - 0006
exact least_prime_above_exists_witness - 0007
intro q - 0008
intro hq - 0009
specialize least_prime_above_unique a - 0010
specialize least_prime_above_unique q - 0011
specialize least_prime_above_unique x - 0012
apply least_prime_above_unique - 0013
exact hq - 0014
exact least_prime_above_exists_witness