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.
The initial 0/1 convergent is included: u is natural, not necessarily positive. Comparison denominators are strictly smaller and positive. Signed competitors are represented by an arbitrary difference rp−rn. Approximation inequalities are proved from the trace, never stored as assumptions in Convergent.
Exact theorem in conservative defined notation
∀ a. ∀ b. ∀ s. ∀ h. ∀ e. ContinuedFractionTrace(a,b,s,h,e,0) → b = 0 ∧ s = 0
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 24 original proof lines are preserved. Only local proposition formulas are abbreviated; every abbreviation has an exact binder-safe expansion check. The linked exact edition contains the unchanged replay 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–6
02Separate the logical casesL7–9
03Establish heqL10–19
Establish this local claim before using it. It is not an additional assumption.
- L10
have heq : ((a = x) /\ ((b = 0) /\ (s = 0))) - L11
specialize cf_convergent_old_history_state_unique (h) - L12
specialize cf_convergent_old_history_state_unique (e) - L13
specialize cf_convergent_old_history_state_unique (0) - L14
specialize cf_convergent_old_history_state_unique (a) - L15
specialize cf_convergent_old_history_state_unique (b) - L16
specialize cf_convergent_old_history_state_unique (s) - L17
specialize cf_convergent_old_history_state_unique (x) - L18
specialize cf_convergent_old_history_state_unique (0) - L19
specialize cf_convergent_old_history_state_unique (0)
04Use earlier factsL20–22
05Separate the logical casesL23–23
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L23
cases heq
06Use earlier factsL24–24
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L24
exact heq_right
Original defined command ledger · 24 lines
- 0001
intro a - 0002
intro b - 0003
intro s - 0004
intro h - 0005
intro e - 0006
intro ht - 0007
cases ht - 0008
cases ht_witness - 0009
cases ht_witness_right - 0010
have heq : ((a = x) /\ ((b = 0) /\ (s = 0))) - 0011
specialize cf_convergent_old_history_state_unique (h) - 0012
specialize cf_convergent_old_history_state_unique (e) - 0013
specialize cf_convergent_old_history_state_unique (0) - 0014
specialize cf_convergent_old_history_state_unique (a) - 0015
specialize cf_convergent_old_history_state_unique (b) - 0016
specialize cf_convergent_old_history_state_unique (s) - 0017
specialize cf_convergent_old_history_state_unique (x) - 0018
specialize cf_convergent_old_history_state_unique (0) - 0019
specialize cf_convergent_old_history_state_unique (0) - 0020
apply cf_convergent_old_history_state_unique - 0021
exact ht_witness_right_left - 0022
exact ht_witness_left - 0023
cases heq - 0024
exact heq_right