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. ∀ q. ∀ q2. ∀ r. ∀ s. ∀ k. Lt(r,m) → S k + q = q2 → ¬m · q + r = m · q2 + sEvery 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
1 occurrences
In local proof propositions
0 occurrences
Exact expanded native-PA statement
forall m q q2 r s k. (exists z. z + S r = m) -> S k + q = q2 -> ~(m * q + r = m * q2 + s)Proof 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 (5)
01Fix variables and assumptionsL1–9
02Use earlier factsL10–19
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L10
specialize lt_not_eq_add_middle r - L11
specialize lt_not_eq_add_middle m - L12
specialize lt_not_eq_add_middle (m * k) - L13
specialize lt_not_eq_add_middle s - L14
apply lt_not_eq_add_middle - L15
exact hr - L16
specialize add_left_cancel (m * q) - L17
specialize add_left_cancel r - L18
specialize add_left_cancel ((m * k + m) + s) - L19
apply add_left_cancel
03Calculate and transport equalitiesL20–20
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L20
trans m * q2 + s
04Use earlier factsL21–21
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L21
exact heq
05Calculate and transport equalitiesL22–22
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L22
rewrite <- hgap
06Use earlier factsL23–24
07Calculate and transport equalitiesL25–25
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L25
rewrite add_comm
08Use earlier factsL26–28
09Calculate and transport equalitiesL29–30
Original defined command ledger · 34 lines
- 0001
intro m - 0002
intro q - 0003
intro q2 - 0004
intro r - 0005
intro s - 0006
intro k - 0007
intro hr - 0008
intro hgap - 0009
intro heq - 0010
specialize lt_not_eq_add_middle r - 0011
specialize lt_not_eq_add_middle m - 0012
specialize lt_not_eq_add_middle (m * k) - 0013
specialize lt_not_eq_add_middle s - 0014
apply lt_not_eq_add_middle - 0015
exact hr - 0016
specialize add_left_cancel (m * q) - 0017
specialize add_left_cancel r - 0018
specialize add_left_cancel ((m * k + m) + s) - 0019
apply add_left_cancel - 0020
trans m * q2 + s - 0021
exact heq - 0022
rewrite <- hgap - 0023
specialize add_comm S k - 0024
specialize add_comm q - 0025
rewrite add_comm - 0026
specialize mul_add m - 0027
specialize mul_add q - 0028
specialize mul_add S k - 0029
rewrite mul_add - 0030
rewrite PA6 - 0031
specialize add_assoc (m * q) - 0032
specialize add_assoc (m * k + m) - 0033
specialize add_assoc s - 0034
apply add_assoc