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
∀ x. ∀ q. ∀ s. ModEq(2,x,q + x + s) → ModEq(2,0,q + s)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
0 occurrences
Exact expanded native-PA statement
forall x q s. (exists fspm_u_cancel_middle_input fspm_v_cancel_middle_input. (x) + 2 * fspm_u_cancel_middle_input = (q + x + s) + 2 * fspm_v_cancel_middle_input) -> (exists fspm_u_cancel_middle_result fspm_v_cancel_middle_result. (0) + 2 * fspm_u_cancel_middle_result = (q + s) + 2 * fspm_v_cancel_middle_result)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 (1)
01Fix variables and assumptionsL1–4
02Establish hreorderL5–12
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mod eq add cancel left.
Original defined command ledger · 16 lines
- 0001
intro x - 0002
intro q - 0003
intro s - 0004
intro hmod - 0005
have hreorder : q + x + s = x + (q + s) - 0006
simp [add_assoc, add_comm] - 0007
rewrite hreorder at hmod - 0008
specialize mod_eq_add_cancel_left 2 - 0009
specialize mod_eq_add_cancel_left x - 0010
specialize mod_eq_add_cancel_left 0 - 0011
specialize mod_eq_add_cancel_left (q + s) - 0012
apply mod_eq_add_cancel_left - 0013
have hxzero : x + 0 = x - 0014
apply PA3 - 0015
rewrite hxzero - 0016
exact hmod