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
forall n a b. n = 2 * a + 1 -> n = 2 * b + 1 -> a = bEvery 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
0 occurrences
In local proof propositions
0 occurrences
Exact expanded native-PA statement
forall n a b. n = 2 * a + 1 -> n = 2 * b + 1 -> a = bProof 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
02Establish hsL6–10
03Establish hmL11–20
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply add right cancel.
- L11
have hm : 2 * a = 2 * b - L12
specialize add_right_cancel (2 * a) - L13
specialize add_right_cancel (2 * b) - L14
specialize add_right_cancel 1 - L15
apply add_right_cancel - L16
exact hs - L17
specialize mul_left_cancel_nonzero 2 - L18
specialize mul_left_cancel_nonzero a - L19
specialize mul_left_cancel_nonzero b - L20
apply mul_left_cancel_nonzero
04Fix variables and assumptionsL21–21
Work with arbitrary variables or the premises of the current implication.
- L21
intro htwo
Original defined command ledger · 24 lines
- 0001
intro n - 0002
intro a - 0003
intro b - 0004
intro ha - 0005
intro hb - 0006
have hs : 2 * a + 1 = 2 * b + 1 - 0007
trans n - 0008
symm - 0009
exact ha - 0010
exact hb - 0011
have hm : 2 * a = 2 * b - 0012
specialize add_right_cancel (2 * a) - 0013
specialize add_right_cancel (2 * b) - 0014
specialize add_right_cancel 1 - 0015
apply add_right_cancel - 0016
exact hs - 0017
specialize mul_left_cancel_nonzero 2 - 0018
specialize mul_left_cancel_nonzero a - 0019
specialize mul_left_cancel_nonzero b - 0020
apply mul_left_cancel_nonzero - 0021
intro htwo - 0022
apply PA1 - 0023
exact htwo - 0024
exact hm