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))) /\ forall s. (((exists ff_gap_binary_other. ff_gap_binary_other + S (s) = m) /\ (exists ff_left_binary_other_congruence ff_right_binary_other_congruence. (n) + m * ff_left_binary_other_congruence = (s) + m * ff_right_binary_other_congruence))) -> r = s)Constructive proof overview
Generated structural guide
Each guarded modulus admits exactly one actual bounded residue.
The unchanged tactic script uses 2 declared prerequisites and contains 21 exact native proof lines.
Alpha v34 checked-use · first admitted v21 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
Direct 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 (2)
01Fix variables and assumptionsL1–3
02Use earlier factsL4–5
03Establish hexistsL6–8
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply binary canonical residue exists.
- L6
have hexists : 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))) - L7
apply binary_canonical_residue_exists - L8
exact hmodulus
04Separate the logical casesL9–9
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L9
cases hexists
05Construct an explicit witnessL10–10
Supply the displayed value, then prove that it has the required property.
- L10
exists x
06Separate the logical casesL11–11
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L11
split
07Use earlier factsL12–12
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L12
exact hexists_witness
08Fix variables and assumptionsL13–14
09Use earlier factsL15–21
Instantiate or apply named facts and discharge the corresponding proof obligations.
Original exact command ledger · 21 lines
- 0001
intro m - 0002
intro n - 0003
intro hmodulus - 0004
specialize binary_canonical_residue_exists m - 0005
specialize binary_canonical_residue_exists n - 0006
have hexists : 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))) - 0007
apply binary_canonical_residue_exists - 0008
exact hmodulus - 0009
cases hexists - 0010
exists x - 0011
split - 0012
exact hexists_witness - 0013
intro s - 0014
intro hs - 0015
specialize binary_canonical_residue_functional m - 0016
specialize binary_canonical_residue_functional n - 0017
specialize binary_canonical_residue_functional x - 0018
specialize binary_canonical_residue_functional s - 0019
apply binary_canonical_residue_functional - 0020
exact hexists_witness - 0021
exact hs