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) ∧ (∀ m. ∀ k. ∀ i. PrimeFactorList(n,k,i,m) → ∃ j. ∃ u. PrimeFactorListPermutation(y,z,x,k,i,m,j,u))
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 29 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.
Named ingredients (2)
01Fix variables and assumptionsL1–2
02Establish hsourceL3–6
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply foundation prime factor list exists.
- L3
have hsource : ∃ l. ∃ b. ∃ c. PrimeFactorList(n,b,c,l)Definitions: PrimeFactorList(n,b,c,l)Original native command in the exact edition - L4
specialize foundation_prime_factor_list_exists (n) - L5
apply foundation_prime_factor_list_exists - L6
exact hn
03Separate the logical casesL7–9
04Construct an explicit witnessL10–12
05Separate the logical casesL13–13
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L13
split
06Use earlier factsL14–14
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L14
exact hsource_witness_witness_witness
07Fix variables and assumptionsL15–18
08Use earlier factsL19–26
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L19
specialize prime_factor_lists_permutation_exists (n) - L20
specialize prime_factor_lists_permutation_exists (x1) - L21
specialize prime_factor_lists_permutation_exists (x2) - L22
specialize prime_factor_lists_permutation_exists (x) - L23
specialize prime_factor_lists_permutation_exists (d) - L24
specialize prime_factor_lists_permutation_exists (e) - L25
specialize prime_factor_lists_permutation_exists (m) - L26
apply prime_factor_lists_permutation_exists
09Separate the logical casesL27–27
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L27
split
Original defined command ledger · 29 lines
- 0001
intro n - 0002
intro hn - 0003
have hsource : ∃ l. ∃ b. ∃ c. PrimeFactorList(n,b,c,l) - 0004
specialize foundation_prime_factor_list_exists (n) - 0005
apply foundation_prime_factor_list_exists - 0006
exact hn - 0007
cases hsource - 0008
cases hsource_witness - 0009
cases hsource_witness_witness - 0010
exists x - 0011
exists x1 - 0012
exists x2 - 0013
split - 0014
exact hsource_witness_witness_witness - 0015
intro m - 0016
intro d - 0017
intro e - 0018
intro htarget - 0019
specialize prime_factor_lists_permutation_exists (n) - 0020
specialize prime_factor_lists_permutation_exists (x1) - 0021
specialize prime_factor_lists_permutation_exists (x2) - 0022
specialize prime_factor_lists_permutation_exists (x) - 0023
specialize prime_factor_lists_permutation_exists (d) - 0024
specialize prime_factor_lists_permutation_exists (e) - 0025
specialize prime_factor_lists_permutation_exists (m) - 0026
apply prime_factor_lists_permutation_exists - 0027
split - 0028
exact hsource_witness_witness_witness - 0029
exact htarget