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.
G102 was OPEN when this family was first admitted in Alpha v21. It is now CLOSED in Alpha v23: every arbitrary exponent has actual canonical beta-coded digits, a complete modular execution, and exact counted bound operations≤3*BitLen(e)+2.
Exact theorem in conservative defined notation
∀ m. ∀ n. BinaryModulus(m) → ∃ x. CanonicalModularResidue(m,n,x)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete unchanged native tactic proof
All 32 lines are the exact independently kernel-checked original 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–3
02Establish hnonzeroL4–9
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply binary modulus nontrivial nonzero.
03Establish hdivisionL10–14
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply division remainder exists.
04Separate the logical casesL15–17
05Establish hdecompositionL18–23
06Construct an explicit witnessL24–24
Supply the displayed value, then prove that it has the required property.
- L24
exists x1
07Separate the logical casesL25–25
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L25
split
08Use earlier factsL26–32
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L26
exact hdivision_witness_witness_right - L27
specialize remainder_decomposition_to_mod_eq m - L28
specialize remainder_decomposition_to_mod_eq n - L29
specialize remainder_decomposition_to_mod_eq x - L30
specialize remainder_decomposition_to_mod_eq x1 - L31
apply remainder_decomposition_to_mod_eq - L32
exact hdecomposition
Original defined command ledger · 32 lines
- 0001
intro m - 0002
intro n - 0003
intro hmodulus - 0004
have hnonzero : ~(m = 0) - 0005
intro hzero - 0006
specialize binary_modulus_nontrivial_nonzero m - 0007
apply binary_modulus_nontrivial_nonzero - 0008
exact hmodulus - 0009
exact hzero - 0010
have hdivision : exists q r. n = m * q + r /\ exists gap. gap + S r = m - 0011
specialize division_remainder_exists m - 0012
specialize division_remainder_exists n - 0013
apply division_remainder_exists - 0014
exact hnonzero - 0015
cases hdivision - 0016
cases hdivision_witness - 0017
cases hdivision_witness_witness - 0018
have hdecomposition : n = x * m + x1 - 0019
trans m * x + x1 - 0020
exact hdivision_witness_witness_left - 0021
congr - 0022
apply mul_comm - 0023
refl - 0024
exists x1 - 0025
split - 0026
exact hdivision_witness_witness_right - 0027
specialize remainder_decomposition_to_mod_eq m - 0028
specialize remainder_decomposition_to_mod_eq n - 0029
specialize remainder_decomposition_to_mod_eq x - 0030
specialize remainder_decomposition_to_mod_eq x1 - 0031
apply remainder_decomposition_to_mod_eq - 0032
exact hdecomposition