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.
Exact expanded first-order arithmetic statement
forall m n. (exists ff_modulus_gap_binary_guard. ff_modulus_gap_binary_guard + S 1 = m) -> exists r. (((exists ff_gap_binary_value. ff_gap_binary_value + S (r) = m) /\ (exists ff_left_binary_value_congruence ff_right_binary_value_congruence. (n) + m * ff_left_binary_value_congruence = (r) + m * ff_right_binary_value_congruence)))Constructive proof overview
Generated structural guide
Every value has a witnessed canonical residue below every modulus m>1.
The unchanged tactic script uses 4 declared prerequisites and contains 32 exact native proof lines.
Alpha v34 checked-use · first admitted v21 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
BX0001 binary_modulus_nontrivial_nonzero division_remainder_exists Stable theorem; checked-use authorized mul_comm Stable theorem; checked-use authorized remainder_decomposition_to_mod_eq Stable theorem; checked-use authorizedDirect dependents
Formal native tactic body
Dependencies are introduced as named hypotheses before line 1. Local theorem links identify exact declared prerequisites. This exact body belongs to a complete independently kernel-checked constructive proof bundle and has Alpha checked-use authority; it does not imply Stable membership.
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 exact 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