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. ∀ b. ∀ c. ∀ l. ∀ d. ∀ e. ∀ m. PrimeFactorList(n,b,c,l) ∧ PrimeFactorList(n,d,e,m) → ∃ x. ∃ y. PrimeFactorListPermutation(b,c,l,d,e,m,x,y)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 28 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 (1)
01Fix variables and assumptionsL1–8
02Separate the logical casesL9–9
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L9
cases hf
03Establish hresultL10–19
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime factor lists matching by length.
- L10
have hresult : l = m ∧ (∃ x. ∃ y. PermutationPrefix(x,y,l) ∧ FactorListMatching(b,c,d,e,x,y,l))Definitions: PermutationPrefix(x,y,l)FactorListMatching(b,c,d,e,x,y,l)Original native command in the exact edition - L11
specialize prime_factor_lists_matching_by_length (l) - L12
specialize prime_factor_lists_matching_by_length (n) - L13
specialize prime_factor_lists_matching_by_length (b) - L14
specialize prime_factor_lists_matching_by_length (c) - L15
specialize prime_factor_lists_matching_by_length (m) - L16
specialize prime_factor_lists_matching_by_length (d) - L17
specialize prime_factor_lists_matching_by_length (e) - L18
apply prime_factor_lists_matching_by_length - L19
exact hf_left
04Use earlier factsL20–20
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L20
exact hf_right
05Separate the logical casesL21–23
06Construct an explicit witnessL24–25
07Separate the logical casesL26–26
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L26
split
Original defined command ledger · 28 lines
- 0001
intro n - 0002
intro b - 0003
intro c - 0004
intro l - 0005
intro d - 0006
intro e - 0007
intro m - 0008
intro hf - 0009
cases hf - 0010
have hresult : l = m ∧ (∃ x. ∃ y. PermutationPrefix(x,y,l) ∧ FactorListMatching(b,c,d,e,x,y,l)) - 0011
specialize prime_factor_lists_matching_by_length (l) - 0012
specialize prime_factor_lists_matching_by_length (n) - 0013
specialize prime_factor_lists_matching_by_length (b) - 0014
specialize prime_factor_lists_matching_by_length (c) - 0015
specialize prime_factor_lists_matching_by_length (m) - 0016
specialize prime_factor_lists_matching_by_length (d) - 0017
specialize prime_factor_lists_matching_by_length (e) - 0018
apply prime_factor_lists_matching_by_length - 0019
exact hf_left - 0020
exact hf_right - 0021
cases hresult - 0022
cases hresult_right - 0023
cases hresult_right_witness - 0024
exists x - 0025
exists x1 - 0026
split - 0027
exact hresult_left - 0028
exact hresult_right_witness_witness