Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved.
The input n is positive. Signed code 2 denotes +1, so the actual sum is +1 at n=1 and zero for n>1. The positive-values result permits arbitrary F(0), which the divisor mask excludes. Prime-square multiples contribute zero. Full G007 inversion is established in its separate family.
Exact theorem in conservative defined notation
∀ p. ∀ d. ∀ q. ¬p = 0 → d = p · q → Dvd(p · p,d) → Dvd(p,q)
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–6
02Separate the logical casesL7–7
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L7
cases hs
03Construct an explicit witnessL8–8
Supply the displayed value, then prove that it has the required property.
- L8
exists x
04Use earlier factsL9–13
05Calculate and transport equalitiesL14–15
06Use earlier factsL16–16
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L16
exact heq
07Calculate and transport equalitiesL17–17
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L17
trans (p*p)*x
Original defined command ledger · 19 lines
- 0001
intro p - 0002
intro d - 0003
intro q - 0004
intro hp - 0005
intro heq - 0006
intro hs - 0007
cases hs - 0008
exists x - 0009
specialize mul_left_cancel_nonzero (p) - 0010
specialize mul_left_cancel_nonzero (q) - 0011
specialize mul_left_cancel_nonzero (p*x) - 0012
apply mul_left_cancel_nonzero - 0013
exact hp - 0014
trans d - 0015
symm - 0016
exact heq - 0017
trans (p*p)*x - 0018
exact hs_witness - 0019
apply mul_assoc