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.
For n>1 the exponent gcd and a real beta table classify and witness all positive root degrees. The unit n=1 has a separate uniform certificate for every positive degree. Zero is excluded. NaturalSquarefreeDecomposition is deliberately distinct from the unrelated polynomial definition.
Exact theorem in conservative defined notation
∀ n. ¬n = 0 → Squarefree(n) ∨ (∃ x. Prime(x) ∧ Dvd(x · x,n))
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 30 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–2
02Establish hsearchL3–6
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply bounded prime square divisor search.
- L3
have hsearch : (∀ x. Lt(x,S n) → Prime(x) → ¬Dvd(x · x,n)) ∨ (∃ x. Lt(x,S n) ∧ (Prime(x) ∧ Dvd(x · x,n)))Definitions: Lt(x,S n)Prime(x)Dvd(x · x,n)Original native command in the exact edition - L4
specialize bounded_prime_square_divisor_search (S n) - L5
specialize bounded_prime_square_divisor_search (n) - L6
apply bounded_prime_square_divisor_search
03Separate the logical casesL7–9
04Use earlier factsL10–10
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L10
exact hn
05Fix variables and assumptionsL11–14
06Use earlier factsL15–22
07Separate the logical casesL23–26
08Construct an explicit witnessL27–27
Supply the displayed value, then prove that it has the required property.
- L27
exists x
09Separate the logical casesL28–28
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L28
split
Original defined command ledger · 30 lines
- 0001
intro n - 0002
intro hn - 0003
have hsearch : (∀ x. Lt(x,S n) → Prime(x) → ¬Dvd(x · x,n)) ∨ (∃ x. Lt(x,S n) ∧ (Prime(x) ∧ Dvd(x · x,n))) - 0004
specialize bounded_prime_square_divisor_search (S n) - 0005
specialize bounded_prime_square_divisor_search (n) - 0006
apply bounded_prime_square_divisor_search - 0007
cases hsearch - 0008
left - 0009
split - 0010
exact hn - 0011
intro p - 0012
intro hp - 0013
intro hle - 0014
intro hdiv - 0015
specialize hsearch_left (p) - 0016
apply hsearch_left - 0017
specialize succ_le_succ (p) - 0018
specialize succ_le_succ (n) - 0019
apply succ_le_succ - 0020
exact hle - 0021
exact hp - 0022
exact hdiv - 0023
right - 0024
cases hsearch_right - 0025
cases hsearch_right_witness - 0026
cases hsearch_right_witness_right - 0027
exists x - 0028
split - 0029
exact hsearch_right_witness_right_left - 0030
exact hsearch_right_witness_right_right