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 r s. (((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))) -> (((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 = sConstructive proof overview
Generated structural guide
Two canonical residues of the same natural and modulus are equal.
The unchanged tactic script uses 3 declared prerequisites and contains 29 exact native proof lines.
Alpha v34 checked-use · first admitted v21 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
mod_eq_symm Stable theorem; checked-use authorized mod_eq_trans Stable theorem; checked-use authorized mod_eq_bounded_unique 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.
01Fix variables and assumptionsL1–6
02Separate the logical casesL7–8
03Establish hreverseL9–14
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mod eq symm.
- L9
have hreverse : exists ff_left_binary_functional_reverse ff_right_binary_functional_reverse. (r) + m * ff_left_binary_functional_reverse = (n) + m * ff_right_binary_functional_reverse - L10
specialize mod_eq_symm m - L11
specialize mod_eq_symm n - L12
specialize mod_eq_symm r - L13
apply mod_eq_symm - L14
exact hr_right
04Establish hrelatedL15–24
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mod eq trans.
- L15
have hrelated : exists ff_left_binary_functional_related ff_right_binary_functional_related. (r) + m * ff_left_binary_functional_related = (s) + m * ff_right_binary_functional_related - L16
specialize mod_eq_trans m - L17
specialize mod_eq_trans r - L18
specialize mod_eq_trans n - L19
specialize mod_eq_trans s - L20
apply mod_eq_trans - L21
exact hreverse - L22
exact hs_right - L23
specialize mod_eq_bounded_unique m - L24
specialize mod_eq_bounded_unique r
Original exact command ledger · 29 lines
- 0001
intro m - 0002
intro n - 0003
intro r - 0004
intro s - 0005
intro hr - 0006
intro hs - 0007
cases hr - 0008
cases hs - 0009
have hreverse : exists ff_left_binary_functional_reverse ff_right_binary_functional_reverse. (r) + m * ff_left_binary_functional_reverse = (n) + m * ff_right_binary_functional_reverse - 0010
specialize mod_eq_symm m - 0011
specialize mod_eq_symm n - 0012
specialize mod_eq_symm r - 0013
apply mod_eq_symm - 0014
exact hr_right - 0015
have hrelated : exists ff_left_binary_functional_related ff_right_binary_functional_related. (r) + m * ff_left_binary_functional_related = (s) + m * ff_right_binary_functional_related - 0016
specialize mod_eq_trans m - 0017
specialize mod_eq_trans r - 0018
specialize mod_eq_trans n - 0019
specialize mod_eq_trans s - 0020
apply mod_eq_trans - 0021
exact hreverse - 0022
exact hs_right - 0023
specialize mod_eq_bounded_unique m - 0024
specialize mod_eq_bounded_unique r - 0025
specialize mod_eq_bounded_unique s - 0026
apply mod_eq_bounded_unique - 0027
exact hr_left - 0028
exact hs_left - 0029
exact hrelated