Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved.
Mobius(n,z) is positive-domain only, independently defined from squarefreeness and actual prime-factor parity. Signed codes 0, 2 and 1 represent zero, +1 and -1. This family proves values and prime-adjunction laws; the separate Möbius-inversion family supplies the complete G007 endpoint.
Exact theorem in conservative defined notation
∀ n. ¬n = 0 → ∃ x. Mobius(n,x)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 37 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 (3)
01Fix variables and assumptionsL1–2
02Establish hcaseL3–6
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply squarefree or prime square divisor.
- L3
have hcase : Squarefree(n) ∨ HasPrimeSquareDivisor(n)Definitions: Squarefree(n)HasPrimeSquareDivisor(n)Original native command in the exact edition - L4
specialize squarefree_or_prime_square_divisor (n) - L5
apply squarefree_or_prime_square_divisor - L6
exact hn
03Separate the logical casesL7–7
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L7
cases hcase
04Establish hfL8–11
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply foundation prime factor list exists.
- L8
have hf : ∃ l. ∃ b. ∃ c. PrimeFactorList(n,b,c,l)Definitions: PrimeFactorList(n,b,c,l)Original native command in the exact edition - L9
specialize foundation_prime_factor_list_exists (n) - L10
apply foundation_prime_factor_list_exists - L11
exact hn
05Separate the logical casesL12–14
06Establish hsL15–17
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply alternating signed unit exists.
- L15
have hs : ∃ z. AlternatingSignedUnit(x,z)Definitions: AlternatingSignedUnit(x,z)Original native command in the exact edition - L16
specialize alternating_signed_unit_exists (x) - L17
apply alternating_signed_unit_exists
07Separate the logical casesL18–18
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L18
cases hs
08Construct an explicit witnessL19–19
Supply the displayed value, then prove that it has the required property.
- L19
exists x3
09Use earlier factsL20–28
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L20
specialize mobius_from_squarefree_factor_count (n) - L21
specialize mobius_from_squarefree_factor_count (x1) - L22
specialize mobius_from_squarefree_factor_count (x2) - L23
specialize mobius_from_squarefree_factor_count (x) - L24
specialize mobius_from_squarefree_factor_count (x3) - L25
apply mobius_from_squarefree_factor_count - L26
exact hcase_left - L27
exact hf_witness_witness_witness - L28
exact hs_witness
10Separate the logical casesL29–30
11Construct an explicit witnessL31–31
Supply the displayed value, then prove that it has the required property.
- L31
exists 0
12Use earlier factsL32–37
Original defined command ledger · 37 lines
- 0001
intro n - 0002
intro hn - 0003
have hcase : Squarefree(n) ∨ HasPrimeSquareDivisor(n) - 0004
specialize squarefree_or_prime_square_divisor (n) - 0005
apply squarefree_or_prime_square_divisor - 0006
exact hn - 0007
cases hcase - 0008
have hf : ∃ l. ∃ b. ∃ c. PrimeFactorList(n,b,c,l) - 0009
specialize foundation_prime_factor_list_exists (n) - 0010
apply foundation_prime_factor_list_exists - 0011
exact hn - 0012
cases hf - 0013
cases hf_witness - 0014
cases hf_witness_witness - 0015
have hs : ∃ z. AlternatingSignedUnit(x,z) - 0016
specialize alternating_signed_unit_exists (x) - 0017
apply alternating_signed_unit_exists - 0018
cases hs - 0019
exists x3 - 0020
specialize mobius_from_squarefree_factor_count (n) - 0021
specialize mobius_from_squarefree_factor_count (x1) - 0022
specialize mobius_from_squarefree_factor_count (x2) - 0023
specialize mobius_from_squarefree_factor_count (x) - 0024
specialize mobius_from_squarefree_factor_count (x3) - 0025
apply mobius_from_squarefree_factor_count - 0026
exact hcase_left - 0027
exact hf_witness_witness_witness - 0028
exact hs_witness - 0029
cases hcase_right - 0030
cases hcase_right_witness - 0031
exists 0 - 0032
specialize mobius_from_prime_square (n) - 0033
specialize mobius_from_prime_square (x) - 0034
apply mobius_from_prime_square - 0035
exact hn - 0036
exact hcase_right_witness_left - 0037
exact hcase_right_witness_right