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.
A floor quotient in the fundamental parallelogram already gives the required strict norm decrease; global nearest-point optimality is not asserted. The shared carrier is identical to the Gaussian carrier, but the multiplication law and norm are different. Eisenstein gcd, factorization, and prime classification remain separate targets.
Exact theorem in conservative defined notation
∀ ap. ∀ an. ∀ bp. ∀ bn. ∀ sa. ∀ sb. ∀ sh. ∀ N. SignedDifferenceSquare(ap,an,sa) → SignedDifferenceSquare(bp,bn,sb) → SignedDifferenceSquare(2 · ap + bn,2 · an + bp,sh) → EisensteinCoordinateNorm(ap,an,bp,bn,N) → sh + 3 · sb = 4 · N
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 58 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 (2)
01Fix variables and assumptionsL1–10
02Fix variables and assumptionsL11–12
03Establish hdoubleL13–19
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply gaussian signed square scaled.
- L13
have hdouble : SignedDifferenceSquare(2 · ap,2 · an,2 · 2 · sa)Definitions: SignedDifferenceSquare(2 · ap,2 · an,2 · 2 · sa)Original native command in the exact edition - L14
specialize gaussian_signed_square_scaled ap - L15
specialize gaussian_signed_square_scaled an - L16
specialize gaussian_signed_square_scaled sa - L17
specialize gaussian_signed_square_scaled 2 - L18
apply gaussian_signed_square_scaled - L19
exact ha
04Establish hdifferenceL20–29
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply gaussian signed square difference compensation.
- L20
have hdifference : sh + (((((((((2) * (ap))) * (bp))) + (((((2) * (an))) * (bn))))) + (((((((2) * (ap))) * (bp))) + (((((2) * (an))) * (bn))))))) = ((2 * 2) * sa + sb) + (((((((((2) * (ap))) * (bn))) + (((((2) * (an))) * (bp))))) + (((((((2) * (ap))) * (bn))) + (((((2) * (an))) * (bp))))))) - L21
specialize gaussian_signed_square_difference_compensation ((2) * (ap)) - L22
specialize gaussian_signed_square_difference_compensation ((2) * (an)) - L23
specialize gaussian_signed_square_difference_compensation bp - L24
specialize gaussian_signed_square_difference_compensation bn - L25
specialize gaussian_signed_square_difference_compensation ((2 * 2) * sa) - L26
specialize gaussian_signed_square_difference_compensation sb - L27
specialize gaussian_signed_square_difference_compensation sh - L28
apply gaussian_signed_square_difference_compensation - L29
exact hdouble
05Use earlier factsL30–31
06Establish hpL32–33
07Establish hnL34–43
Establish this local claim before using it. It is not an additional assumption.
- L34
have hn : ((((((2) * (ap))) * (bn))) + (((((2) * (an))) * (bp)))) = 2 * (((((ap) * (bn))) + (((an) * (bp))))) - L35
simp [mul_assoc, mul_add] - L36
rewrite hp at hdifference - L37
rewrite hp at hdifference - L38
rewrite hn at hdifference - L39
rewrite hn at hdifference - L40
specialize eisenstein_weighted_embedding_compensation sa - L41
specialize eisenstein_weighted_embedding_compensation sb - L42
specialize eisenstein_weighted_embedding_compensation ((((ap) * (bp))) + (((an) * (bn)))) - L43
specialize eisenstein_weighted_embedding_compensation ((((ap) * (bn))) + (((an) * (bp))))
08Use earlier factsL44–53
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L44
specialize eisenstein_weighted_embedding_compensation sh - L45
specialize eisenstein_weighted_embedding_compensation N - L46
apply eisenstein_weighted_embedding_compensation - L47
specialize eisenstein_norm_square_balance ap - L48
specialize eisenstein_norm_square_balance an - L49
specialize eisenstein_norm_square_balance bp - L50
specialize eisenstein_norm_square_balance bn - L51
specialize eisenstein_norm_square_balance sa - L52
specialize eisenstein_norm_square_balance sb - L53
specialize eisenstein_norm_square_balance N
Original defined command ledger · 58 lines
- 0001
intro ap - 0002
intro an - 0003
intro bp - 0004
intro bn - 0005
intro sa - 0006
intro sb - 0007
intro sh - 0008
intro N - 0009
intro ha - 0010
intro hb - 0011
intro htransformed - 0012
intro hnorm - 0013
have hdouble : SignedDifferenceSquare(2 · ap,2 · an,2 · 2 · sa) - 0014
specialize gaussian_signed_square_scaled ap - 0015
specialize gaussian_signed_square_scaled an - 0016
specialize gaussian_signed_square_scaled sa - 0017
specialize gaussian_signed_square_scaled 2 - 0018
apply gaussian_signed_square_scaled - 0019
exact ha - 0020
have hdifference : sh + (((((((((2) * (ap))) * (bp))) + (((((2) * (an))) * (bn))))) + (((((((2) * (ap))) * (bp))) + (((((2) * (an))) * (bn))))))) = ((2 * 2) * sa + sb) + (((((((((2) * (ap))) * (bn))) + (((((2) * (an))) * (bp))))) + (((((((2) * (ap))) * (bn))) + (((((2) * (an))) * (bp))))))) - 0021
specialize gaussian_signed_square_difference_compensation ((2) * (ap)) - 0022
specialize gaussian_signed_square_difference_compensation ((2) * (an)) - 0023
specialize gaussian_signed_square_difference_compensation bp - 0024
specialize gaussian_signed_square_difference_compensation bn - 0025
specialize gaussian_signed_square_difference_compensation ((2 * 2) * sa) - 0026
specialize gaussian_signed_square_difference_compensation sb - 0027
specialize gaussian_signed_square_difference_compensation sh - 0028
apply gaussian_signed_square_difference_compensation - 0029
exact hdouble - 0030
exact hb - 0031
exact htransformed - 0032
have hp : ((((((2) * (ap))) * (bp))) + (((((2) * (an))) * (bn)))) = 2 * (((((ap) * (bp))) + (((an) * (bn))))) - 0033
simp [mul_assoc, mul_add] - 0034
have hn : ((((((2) * (ap))) * (bn))) + (((((2) * (an))) * (bp)))) = 2 * (((((ap) * (bn))) + (((an) * (bp))))) - 0035
simp [mul_assoc, mul_add] - 0036
rewrite hp at hdifference - 0037
rewrite hp at hdifference - 0038
rewrite hn at hdifference - 0039
rewrite hn at hdifference - 0040
specialize eisenstein_weighted_embedding_compensation sa - 0041
specialize eisenstein_weighted_embedding_compensation sb - 0042
specialize eisenstein_weighted_embedding_compensation ((((ap) * (bp))) + (((an) * (bn)))) - 0043
specialize eisenstein_weighted_embedding_compensation ((((ap) * (bn))) + (((an) * (bp)))) - 0044
specialize eisenstein_weighted_embedding_compensation sh - 0045
specialize eisenstein_weighted_embedding_compensation N - 0046
apply eisenstein_weighted_embedding_compensation - 0047
specialize eisenstein_norm_square_balance ap - 0048
specialize eisenstein_norm_square_balance an - 0049
specialize eisenstein_norm_square_balance bp - 0050
specialize eisenstein_norm_square_balance bn - 0051
specialize eisenstein_norm_square_balance sa - 0052
specialize eisenstein_norm_square_balance sb - 0053
specialize eisenstein_norm_square_balance N - 0054
apply eisenstein_norm_square_balance - 0055
exact ha - 0056
exact hb - 0057
exact hnorm - 0058
exact hdifference