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. ModEq(m,a,b) → ModEq(m,c · a,c · b)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
2 occurrences
In local proof propositions
1 occurrences
Exact expanded native-PA statement
forall m a b c. (exists u v. a + m * u = b + m * v) -> exists r s. (c * a) + m * r = (c * b) + m * sProof 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 (2)
01Fix variables and assumptionsL1–5
02Use earlier factsL6–9
03Establish hrL10–12
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mod eq mul right.
- L10
have hr : ModEq(m,a · c,b · c)Definitions: ModEq(m,a · c,b · c)Original native command in the exact edition - L11
apply mod_eq_mul_right - L12
exact h
04Separate the logical casesL13–14
05Construct an explicit witnessL15–16
06Calculate and transport equalitiesL17–18
07Use earlier factsL19–19
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L19
apply mul_comm
08Calculate and transport equalitiesL20–21
09Use earlier factsL22–22
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L22
exact hr_witness_witness
10Calculate and transport equalitiesL23–23
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L23
congr
11Use earlier factsL24–24
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L24
apply mul_comm
12Calculate and transport equalitiesL25–25
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L25
refl
Original defined command ledger · 25 lines
- 0001
intro m - 0002
intro a - 0003
intro b - 0004
intro c - 0005
intro h - 0006
specialize mod_eq_mul_right m - 0007
specialize mod_eq_mul_right a - 0008
specialize mod_eq_mul_right b - 0009
specialize mod_eq_mul_right c - 0010
have hr : ModEq(m,a · c,b · c)Exact native replay line
have hr : exists r s. (a * c) + m * r = (b * c) + m * s - 0011
apply mod_eq_mul_right - 0012
exact h - 0013
cases hr - 0014
cases hr_witness - 0015
exists x - 0016
exists x1 - 0017
trans a * c + m * x - 0018
congr - 0019
apply mul_comm - 0020
refl - 0021
trans b * c + m * x1 - 0022
exact hr_witness_witness - 0023
congr - 0024
apply mul_comm - 0025
refl