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
∀ z. ZPairValid(z) → ∃ x. GNorm(z,x)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 29 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
02Separate the logical casesL3–6
03Establish hnormL7–12
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply gaussian signed norm exists.
- L7
have hnorm : ∃ N. GaussianSignedNorm(x,x1,x2,x3,N)Definitions: GaussianSignedNorm(x,x1,x2,x3,N)Original native command in the exact edition - L8
specialize gaussian_signed_norm_exists x - L9
specialize gaussian_signed_norm_exists x1 - L10
specialize gaussian_signed_norm_exists x2 - L11
specialize gaussian_signed_norm_exists x3 - L12
apply gaussian_signed_norm_exists
04Separate the logical casesL13–13
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L13
cases hnorm
05Construct an explicit witnessL14–14
Supply the displayed value, then prove that it has the required property.
- L14
exists x4
06Use earlier factsL15–24
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L15
specialize gaussian_norm_of_representation z - L16
specialize gaussian_norm_of_representation x - L17
specialize gaussian_norm_of_representation x1 - L18
specialize gaussian_norm_of_representation x2 - L19
specialize gaussian_norm_of_representation x3 - L20
specialize gaussian_norm_of_representation x4 - L21
apply gaussian_norm_of_representation - L22
specialize gaussian_decode_representation z - L23
specialize gaussian_decode_representation x - L24
specialize gaussian_decode_representation x1
07Use earlier factsL25–29
Original defined command ledger · 29 lines
- 0001
intro z - 0002
intro hvalid - 0003
cases hvalid - 0004
cases hvalid_witness - 0005
cases hvalid_witness_witness - 0006
cases hvalid_witness_witness_witness - 0007
have hnorm : ∃ N. GaussianSignedNorm(x,x1,x2,x3,N) - 0008
specialize gaussian_signed_norm_exists x - 0009
specialize gaussian_signed_norm_exists x1 - 0010
specialize gaussian_signed_norm_exists x2 - 0011
specialize gaussian_signed_norm_exists x3 - 0012
apply gaussian_signed_norm_exists - 0013
cases hnorm - 0014
exists x4 - 0015
specialize gaussian_norm_of_representation z - 0016
specialize gaussian_norm_of_representation x - 0017
specialize gaussian_norm_of_representation x1 - 0018
specialize gaussian_norm_of_representation x2 - 0019
specialize gaussian_norm_of_representation x3 - 0020
specialize gaussian_norm_of_representation x4 - 0021
apply gaussian_norm_of_representation - 0022
specialize gaussian_decode_representation z - 0023
specialize gaussian_decode_representation x - 0024
specialize gaussian_decode_representation x1 - 0025
specialize gaussian_decode_representation x2 - 0026
specialize gaussian_decode_representation x3 - 0027
apply gaussian_decode_representation - 0028
exact hvalid_witness_witness_witness_witness - 0029
exact hnorm_witness