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. ∀ b. Coprime(a,b) → ∃ x. ∃ y. ∃ z. ∃ n. a · x + b · y = 1 + (a · z + b · n)Every purple notation token opens its conservative definition. Expanding the displayed statement recovers the exact first-order Peano-arithmetic formula checked by the unchanged kernel.
Definitions used by this theorem
In the theorem statement
1 occurrences
In local proof propositions
1 occurrences
Exact expanded native-PA statement
forall a b. (forall d. (exists x. a = d * x) -> (exists y. b = d * y) -> d = 1) -> exists xp yp xn yn. a * xp + b * yp = 1 + (a * xn + b * yn)Proof neighborhood
Direct theorem prerequisites
Direct theorem dependents
Definition-aware tactic body
Only local propositions introduced by have or suffices are compacted. Every changed line has an exact-AST conservative-expansion receipt; the kernel still receives the immutable original tactic script.
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–3
02Establish hgbL4–5
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply gcd balanced bezout exists.
- L4
have hgb : ∃ d. IsGCD(d,a,b) ∧ (∃ x. ∃ y. ∃ z. ∃ n. a · x + b · y = d + (a · z + b · n))Definitions: IsGCD(d,a,b)Original native command in the exact edition - L5
apply gcd_balanced_bezout_exists
03Separate the logical casesL6–9
04Establish hdL10–14
05Separate the logical casesL15–18
06Construct an explicit witnessL19–22
07Calculate and transport equalitiesL23–23
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L23
rewrite hd at hgb_witness_right_witness_witness_witness_witness
08Use earlier factsL24–24
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L24
exact hgb_witness_right_witness_witness_witness_witness
Original defined command ledger · 24 lines
- 0001
intro a - 0002
intro b - 0003
intro hcop - 0004
have hgb : ∃ d. IsGCD(d,a,b) ∧ (∃ x. ∃ y. ∃ z. ∃ n. a · x + b · y = d + (a · z + b · n))Exact native replay line
have hgb : exists d. ((((exists x. a = d * x) /\ (exists y. b = d * y)) /\ forall c. (exists u. a = c * u) -> (exists v. b = c * v) -> exists w. d = c * w) /\ exists xp yp xn yn. a * xp + b * yp = d + (a * xn + b * yn)) - 0005
apply gcd_balanced_bezout_exists - 0006
cases hgb - 0007
cases hgb_witness - 0008
cases hgb_witness_left - 0009
cases hgb_witness_left_left - 0010
have hd : x = 1 - 0011
specialize hcop x - 0012
apply hcop - 0013
exact hgb_witness_left_left_left - 0014
exact hgb_witness_left_left_right - 0015
cases hgb_witness_right - 0016
cases hgb_witness_right_witness - 0017
cases hgb_witness_right_witness_witness - 0018
cases hgb_witness_right_witness_witness_witness - 0019
exists x1 - 0020
exists x2 - 0021
exists x3 - 0022
exists x4 - 0023
rewrite hd at hgb_witness_right_witness_witness_witness_witness - 0024
exact hgb_witness_right_witness_witness_witness_witness