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. ∀ k. ContinuedFractionTrace(a,b,s,h,e,S k) → ∃ x. ∃ y. Convergent(s,k,x,y) ∧ a · y = b · x
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 36 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 (2)
01Fix variables and assumptionsL1–7
02Establish hcL8–17
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply continued fraction convergent exists at history index.
- L8
have hc : ∃ u. ∃ v. Convergent(s,k,u,v)Definitions: Convergent(s,k,u,v)Original native command in the exact edition - L9
specialize continued_fraction_convergent_exists_at_history_index (k) - L10
specialize continued_fraction_convergent_exists_at_history_index (a) - L11
specialize continued_fraction_convergent_exists_at_history_index (b) - L12
specialize continued_fraction_convergent_exists_at_history_index (s) - L13
specialize continued_fraction_convergent_exists_at_history_index (h) - L14
specialize continued_fraction_convergent_exists_at_history_index (e) - L15
specialize continued_fraction_convergent_exists_at_history_index (S k) - L16
apply continued_fraction_convergent_exists_at_history_index - L17
exact ht
03Construct an explicit witnessL18–18
Supply the displayed value, then prove that it has the required property.
- L18
exists 0
04Use earlier factsL19–19
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L19
apply zero_add
05Separate the logical casesL20–21
06Construct an explicit witnessL22–23
07Separate the logical casesL24–24
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L24
split
08Use earlier factsL25–34
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L25
exact hc_witness_witness - L26
specialize continued_fraction_terminal_convergent_is_exact (a) - L27
specialize continued_fraction_terminal_convergent_is_exact (b) - L28
specialize continued_fraction_terminal_convergent_is_exact (s) - L29
specialize continued_fraction_terminal_convergent_is_exact (h) - L30
specialize continued_fraction_terminal_convergent_is_exact (e) - L31
specialize continued_fraction_terminal_convergent_is_exact (k) - L32
specialize continued_fraction_terminal_convergent_is_exact (x) - L33
specialize continued_fraction_terminal_convergent_is_exact (x1) - L34
apply continued_fraction_terminal_convergent_is_exact
Original defined command ledger · 36 lines
- 0001
intro a - 0002
intro b - 0003
intro s - 0004
intro h - 0005
intro e - 0006
intro k - 0007
intro ht - 0008
have hc : ∃ u. ∃ v. Convergent(s,k,u,v) - 0009
specialize continued_fraction_convergent_exists_at_history_index (k) - 0010
specialize continued_fraction_convergent_exists_at_history_index (a) - 0011
specialize continued_fraction_convergent_exists_at_history_index (b) - 0012
specialize continued_fraction_convergent_exists_at_history_index (s) - 0013
specialize continued_fraction_convergent_exists_at_history_index (h) - 0014
specialize continued_fraction_convergent_exists_at_history_index (e) - 0015
specialize continued_fraction_convergent_exists_at_history_index (S k) - 0016
apply continued_fraction_convergent_exists_at_history_index - 0017
exact ht - 0018
exists 0 - 0019
apply zero_add - 0020
cases hc - 0021
cases hc_witness - 0022
exists x - 0023
exists x1 - 0024
split - 0025
exact hc_witness_witness - 0026
specialize continued_fraction_terminal_convergent_is_exact (a) - 0027
specialize continued_fraction_terminal_convergent_is_exact (b) - 0028
specialize continued_fraction_terminal_convergent_is_exact (s) - 0029
specialize continued_fraction_terminal_convergent_is_exact (h) - 0030
specialize continued_fraction_terminal_convergent_is_exact (e) - 0031
specialize continued_fraction_terminal_convergent_is_exact (k) - 0032
specialize continued_fraction_terminal_convergent_is_exact (x) - 0033
specialize continued_fraction_terminal_convergent_is_exact (x1) - 0034
apply continued_fraction_terminal_convergent_is_exact - 0035
exact ht - 0036
exact hc_witness_witness