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.
Statement with defined notation
∀ m. ∀ a. ∀ b. ∀ c. ∀ d. ModEq(m,a,b) → ModEq(m,c,d) → ModEq(m,a · c,b · d)Every purple notation token opens its conservative definition. This is a reading surface; the compiler expands the statement before the unchanged kernel checks it.
Definitions used by this theorem
In the theorem statement
3 occurrences
In local proof propositions
2 occurrences
Exact expanded native-PA statement
forall m a b c d. (exists u v. a + m * u = b + m * v) -> (exists r s. c + m * r = d + m * s) -> exists x y. (a * c) + m * x = (b * d) + m * yProof neighborhood
Direct theorem prerequisites
Direct theorem dependents
Definition-aware tactic body
Only local propositions introduced by have or suffices are compacted. The untrusted compiler re-expands each one before the original tactic script is replayed; defined notation is never accepted by the kernel. Open the exact replay line beneath every changed command.
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–7
02Establish hacbcL8–14
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mod eq mul right.
- L8
have hacbc : ModEq(m,a · c,b · c)Definitions: ModEq(m,a · c,b · c)Original native command in the exact edition - L9
specialize mod_eq_mul_right m - L10
specialize mod_eq_mul_right a - L11
specialize mod_eq_mul_right b - L12
specialize mod_eq_mul_right c - L13
apply mod_eq_mul_right - L14
exact hab
03Establish hbcbdL15–24
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mod eq mul left.
- L15
have hbcbd : ModEq(m,b · c,b · d)Definitions: ModEq(m,b · c,b · d)Original native command in the exact edition - L16
specialize mod_eq_mul_left m - L17
specialize mod_eq_mul_left c - L18
specialize mod_eq_mul_left d - L19
specialize mod_eq_mul_left b - L20
apply mod_eq_mul_left - L21
exact hcd - L22
specialize mod_eq_trans m - L23
specialize mod_eq_trans (a * c) - L24
specialize mod_eq_trans (b * c)
Original defined command ledger · 28 lines
- 0001
intro m - 0002
intro a - 0003
intro b - 0004
intro c - 0005
intro d - 0006
intro hab - 0007
intro hcd - 0008
have hacbc : ModEq(m,a · c,b · c)Exact native replay line
have hacbc : exists r s. (a * c) + m * r = (b * c) + m * s - 0009
specialize mod_eq_mul_right m - 0010
specialize mod_eq_mul_right a - 0011
specialize mod_eq_mul_right b - 0012
specialize mod_eq_mul_right c - 0013
apply mod_eq_mul_right - 0014
exact hab - 0015
have hbcbd : ModEq(m,b · c,b · d)Exact native replay line
have hbcbd : exists r s. (b * c) + m * r = (b * d) + m * s - 0016
specialize mod_eq_mul_left m - 0017
specialize mod_eq_mul_left c - 0018
specialize mod_eq_mul_left d - 0019
specialize mod_eq_mul_left b - 0020
apply mod_eq_mul_left - 0021
exact hcd - 0022
specialize mod_eq_trans m - 0023
specialize mod_eq_trans (a * c) - 0024
specialize mod_eq_trans (b * c) - 0025
specialize mod_eq_trans (b * d) - 0026
apply mod_eq_trans - 0027
exact hacbc - 0028
exact hbcbd