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.
The natural-code carrier consists of genuine pairs of the existing signed integers; no new primitive arithmetic is trusted. The theorem constructs quotient, remainder, and actual norm witnesses. Gaussian gcd, unique factorization, and prime classification are separate targets.
Exact theorem in conservative defined notation
∀ a. ∀ b. ∀ c. ∀ d. ∀ e. ∀ f. ∀ g. ∀ h. ∀ N. a + f = e + b ∧ c + h = g + d → GaussianSignedNorm(a,b,c,d,N) → GaussianSignedNorm(e,f,g,h,N)
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 (1)
01Fix variables and assumptionsL1–10
02Fix variables and assumptionsL11–11
Work with arbitrary variables or the premises of the current implication.
- L11
intro hnorm
03Separate the logical casesL12–16
04Construct an explicit witnessL17–18
05Separate the logical casesL19–19
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L19
split
06Use earlier factsL20–27
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L20
specialize gaussian_signed_square_integer_transport a - L21
specialize gaussian_signed_square_integer_transport b - L22
specialize gaussian_signed_square_integer_transport e - L23
specialize gaussian_signed_square_integer_transport f - L24
specialize gaussian_signed_square_integer_transport x - L25
apply gaussian_signed_square_integer_transport - L26
exact hequal_left - L27
exact hnorm_witness_witness_left
07Separate the logical casesL28–28
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L28
split
08Use earlier factsL29–37
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L29
specialize gaussian_signed_square_integer_transport c - L30
specialize gaussian_signed_square_integer_transport d - L31
specialize gaussian_signed_square_integer_transport g - L32
specialize gaussian_signed_square_integer_transport h - L33
specialize gaussian_signed_square_integer_transport x1 - L34
apply gaussian_signed_square_integer_transport - L35
exact hequal_right - L36
exact hnorm_witness_witness_right_left - L37
exact hnorm_witness_witness_right_right
Original defined command ledger · 37 lines
- 0001
intro a - 0002
intro b - 0003
intro c - 0004
intro d - 0005
intro e - 0006
intro f - 0007
intro g - 0008
intro h - 0009
intro N - 0010
intro hequal - 0011
intro hnorm - 0012
cases hequal - 0013
cases hnorm - 0014
cases hnorm_witness - 0015
cases hnorm_witness_witness - 0016
cases hnorm_witness_witness_right - 0017
exists x - 0018
exists x1 - 0019
split - 0020
specialize gaussian_signed_square_integer_transport a - 0021
specialize gaussian_signed_square_integer_transport b - 0022
specialize gaussian_signed_square_integer_transport e - 0023
specialize gaussian_signed_square_integer_transport f - 0024
specialize gaussian_signed_square_integer_transport x - 0025
apply gaussian_signed_square_integer_transport - 0026
exact hequal_left - 0027
exact hnorm_witness_witness_left - 0028
split - 0029
specialize gaussian_signed_square_integer_transport c - 0030
specialize gaussian_signed_square_integer_transport d - 0031
specialize gaussian_signed_square_integer_transport g - 0032
specialize gaussian_signed_square_integer_transport h - 0033
specialize gaussian_signed_square_integer_transport x1 - 0034
apply gaussian_signed_square_integer_transport - 0035
exact hequal_right - 0036
exact hnorm_witness_witness_right_left - 0037
exact hnorm_witness_witness_right_right