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.
The original division, gcd, cancellation, and factor-existence foundations are exposed through checked wrappers. Unordered uniqueness adds an actual bounded, injective, surjective index map matching repeated prime occurrences. The empty factor list represents one, not zero.
Exact theorem in conservative defined notation
∀ n. ¬n = 0 → ∃ x. ∃ y. ∃ z. PrimeFactorList(n,y,z,x)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 19 original proof lines are preserved. Only local proposition formulas are abbreviated; every abbreviation has an exact binder-safe expansion check. The linked exact edition contains the unchanged replay 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.
01Fix variables and assumptionsL1–2
02Use earlier factsL3–3
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L3
specialize prime_factorization_existence n
03Establish hexistsL4–6
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime factorization existence.
- L4
have hexists : ∃ l. ∃ b. ∃ c. Product(b,c,l,n) ∧ (AllPrime(b,c,l) ∧ (∀ x. Lt(S x,l) → ∃ y. ∃ z. BetaAt(b,c,x,y) ∧ (BetaAt(b,c,S x,z) ∧ y ≤ z)))Definitions: Product(b,c,l,n)AllPrime(b,c,l)Lt(S x,l)BetaAt(b,c,x,y)BetaAt(b,c,S x,z)Original native command in the exact edition - L5
apply prime_factorization_existence - L6
exact hn
04Separate the logical casesL7–11
05Construct an explicit witnessL12–14
06Separate the logical casesL15–15
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L15
split
07Use earlier factsL16–16
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L16
exact hn
08Separate the logical casesL17–17
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L17
split
Original defined command ledger · 19 lines
- 0001
intro n - 0002
intro hn - 0003
specialize prime_factorization_existence n - 0004
have hexists : ∃ l. ∃ b. ∃ c. Product(b,c,l,n) ∧ (AllPrime(b,c,l) ∧ (∀ x. Lt(S x,l) → ∃ y. ∃ z. BetaAt(b,c,x,y) ∧ (BetaAt(b,c,S x,z) ∧ y ≤ z))) - 0005
apply prime_factorization_existence - 0006
exact hn - 0007
cases hexists - 0008
cases hexists_witness - 0009
cases hexists_witness_witness - 0010
cases hexists_witness_witness_witness - 0011
cases hexists_witness_witness_witness_right - 0012
exists x - 0013
exists x1 - 0014
exists x2 - 0015
split - 0016
exact hn - 0017
split - 0018
exact hexists_witness_witness_witness_left - 0019
exact hexists_witness_witness_witness_right_left