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
∀ a. ∀ m. Coprime(a,m) → ∃ x. ∃ y. ModEq(m,a · x,1 + a · y)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 a m. (forall d. (exists x. a = d * x) -> (exists y. m = d * y) -> d = 1) -> exists xp xn u v. a * xp + m * u = (1 + a * xn) + m * vProof 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–3
02Establish hbezL4–8
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply coprime balanced bezout.
03Separate the logical casesL9–12
04Construct an explicit witnessL13–16
05Calculate and transport equalitiesL17–17
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L17
trans 1 + (a * x2 + m * x3)
06Use earlier factsL18–18
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L18
exact hbez_witness_witness_witness_witness
07Calculate and transport equalitiesL19–19
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L19
symm
08Use earlier factsL20–20
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L20
apply add_assoc
Original defined command ledger · 20 lines
- 0001
intro a - 0002
intro m - 0003
intro hcop - 0004
have hbez : exists xp yp xn yn. a * xp + m * yp = 1 + (a * xn + m * yn) - 0005
specialize coprime_balanced_bezout a - 0006
specialize coprime_balanced_bezout m - 0007
apply coprime_balanced_bezout - 0008
exact hcop - 0009
cases hbez - 0010
cases hbez_witness - 0011
cases hbez_witness_witness - 0012
cases hbez_witness_witness_witness - 0013
exists x - 0014
exists x2 - 0015
exists x1 - 0016
exists x3 - 0017
trans 1 + (a * x2 + m * x3) - 0018
exact hbez_witness_witness_witness_witness - 0019
symm - 0020
apply add_assoc