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
∀ n. ∀ p. ∀ b. ∀ c. ∀ l. ∀ i. ∀ q. DivisorPrimeTogglePrefix(n,p,b,c,l) → Lt(i,l) → BetaAt(b,c,i,q) → DivisorPrimeToggle(n,p,i,q)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 31 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–10
02Establish hvL11–14
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply hp.
- L11
have hv : ∃ v. BetaAt(b,c,i,v) ∧ DivisorPrimeToggle(n,p,i,v)Definitions: BetaAt(b,c,i,v)DivisorPrimeToggle(n,p,i,v)Original native command in the exact edition - L12
specialize hp (i) - L13
apply hp - L14
exact hi
03Separate the logical casesL15–16
04Establish heqL17–26
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta at unique.
05Calculate and transport equalitiesL27–30
06Use earlier factsL31–31
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L31
exact hv_witness_right
Original defined command ledger · 31 lines
- 0001
intro n - 0002
intro p - 0003
intro b - 0004
intro c - 0005
intro l - 0006
intro i - 0007
intro q - 0008
intro hp - 0009
intro hi - 0010
intro hat - 0011
have hv : ∃ v. BetaAt(b,c,i,v) ∧ DivisorPrimeToggle(n,p,i,v) - 0012
specialize hp (i) - 0013
apply hp - 0014
exact hi - 0015
cases hv - 0016
cases hv_witness - 0017
have heq : q=x - 0018
specialize beta_at_unique (b) - 0019
specialize beta_at_unique (c) - 0020
specialize beta_at_unique (i) - 0021
specialize beta_at_unique (q) - 0022
specialize beta_at_unique (x) - 0023
apply beta_at_unique - 0024
exact hat - 0025
exact hv_witness_left - 0026
rewrite heq - 0027
rewrite heq - 0028
rewrite heq - 0029
rewrite heq - 0030
rewrite heq - 0031
exact hv_witness_right