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.
Exact expanded first-order arithmetic statement
forall a b s h e k u v. (exists cf_gcd_terminal_history. ((((exists ff_h_cf_terminal_history_initial_state. ff_h_cf_terminal_history_initial_state + S (((cf_gcd_terminal_history) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) * S ((cf_gcd_terminal_history) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) + ((((0) + (0)) * S ((0) + (0)) + ((0) + (0))) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0))))) = S ((S (0)) * e)) /\ exists ff_q_cf_terminal_history_initial_state. h = ff_q_cf_terminal_history_initial_state * S ((S (0)) * e) + (((cf_gcd_terminal_history) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) * S ((cf_gcd_terminal_history) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) + ((((0) + (0)) * S ((0) + (0)) + ((0) + (0))) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0))))))) /\ ((((exists ff_h_cf_terminal_history_terminal_state. ff_h_cf_terminal_history_terminal_state + S (((a) + (((b) + (s)) * S ((b) + (s)) + ((s) + (s)))) * S ((a) + (((b) + (s)) * S ((b) + (s)) + ((s) + (s)))) + ((((b) + (s)) * S ((b) + (s)) + ((s) + (s))) + (((b) + (s)) * S ((b) + (s)) + ((s) + (s))))) = S ((S (S k)) * e)) /\ exists ff_q_cf_terminal_history_terminal_state. h = ff_q_cf_terminal_history_terminal_state * S ((S (S k)) * e) + (((a) + (((b) + (s)) * S ((b) + (s)) + ((s) + (s)))) * S ((a) + (((b) + (s)) * S ((b) + (s)) + ((s) + (s)))) + ((((b) + (s)) * S ((b) + (s)) + ((s) + (s))) + (((b) + (s)) * S ((b) + (s)) + ((s) + (s))))))) /\ forall cf_index_terminal_history. (exists ff_lt_cf_terminal_history_index. ff_lt_cf_terminal_history_index + S cf_index_terminal_history = S k) -> exists cf_old_a_terminal_history cf_old_b_terminal_history cf_tail_terminal_history cf_new_a_terminal_history cf_new_b_terminal_history cf_head_terminal_history cf_quotient_terminal_history. ((((exists ff_h_cf_terminal_history_previous_state. ff_h_cf_terminal_history_previous_state + S (((cf_old_a_terminal_history) + (((cf_old_b_terminal_history) + (cf_tail_terminal_history)) * S ((cf_old_b_terminal_history) + (cf_tail_terminal_history)) + ((cf_tail_terminal_history) + (cf_tail_terminal_history)))) * S ((cf_old_a_terminal_history) + (((cf_old_b_terminal_history) + (cf_tail_terminal_history)) * S ((cf_old_b_terminal_history) + (cf_tail_terminal_history)) + ((cf_tail_terminal_history) + (cf_tail_terminal_history)))) + ((((cf_old_b_terminal_history) + (cf_tail_terminal_history)) * S ((cf_old_b_terminal_history) + (cf_tail_terminal_history)) + ((cf_tail_terminal_history) + (cf_tail_terminal_history))) + (((cf_old_b_terminal_history) + (cf_tail_terminal_history)) * S ((cf_old_b_terminal_history) + (cf_tail_terminal_history)) + ((cf_tail_terminal_history) + (cf_tail_terminal_history))))) = S ((S (cf_index_terminal_history)) * e)) /\ exists ff_q_cf_terminal_history_previous_state. h = ff_q_cf_terminal_history_previous_state * S ((S (cf_index_terminal_history)) * e) + (((cf_old_a_terminal_history) + (((cf_old_b_terminal_history) + (cf_tail_terminal_history)) * S ((cf_old_b_terminal_history) + (cf_tail_terminal_history)) + ((cf_tail_terminal_history) + (cf_tail_terminal_history)))) * S ((cf_old_a_terminal_history) + (((cf_old_b_terminal_history) + (cf_tail_terminal_history)) * S ((cf_old_b_terminal_history) + (cf_tail_terminal_history)) + ((cf_tail_terminal_history) + (cf_tail_terminal_history)))) + ((((cf_old_b_terminal_history) + (cf_tail_terminal_history)) * S ((cf_old_b_terminal_history) + (cf_tail_terminal_history)) + ((cf_tail_terminal_history) + (cf_tail_terminal_history))) + (((cf_old_b_terminal_history) + (cf_tail_terminal_history)) * S ((cf_old_b_terminal_history) + (cf_tail_terminal_history)) + ((cf_tail_terminal_history) + (cf_tail_terminal_history))))))) /\ ((((exists ff_h_cf_terminal_history_following_state. ff_h_cf_terminal_history_following_state + S (((cf_new_a_terminal_history) + (((cf_new_b_terminal_history) + (cf_head_terminal_history)) * S ((cf_new_b_terminal_history) + (cf_head_terminal_history)) + ((cf_head_terminal_history) + (cf_head_terminal_history)))) * S ((cf_new_a_terminal_history) + (((cf_new_b_terminal_history) + (cf_head_terminal_history)) * S ((cf_new_b_terminal_history) + (cf_head_terminal_history)) + ((cf_head_terminal_history) + (cf_head_terminal_history)))) + ((((cf_new_b_terminal_history) + (cf_head_terminal_history)) * S ((cf_new_b_terminal_history) + (cf_head_terminal_history)) + ((cf_head_terminal_history) + (cf_head_terminal_history))) + (((cf_new_b_terminal_history) + (cf_head_terminal_history)) * S ((cf_new_b_terminal_history) + (cf_head_terminal_history)) + ((cf_head_terminal_history) + (cf_head_terminal_history))))) = S ((S (S cf_index_terminal_history)) * e)) /\ exists ff_q_cf_terminal_history_following_state. h = ff_q_cf_terminal_history_following_state * S ((S (S cf_index_terminal_history)) * e) + (((cf_new_a_terminal_history) + (((cf_new_b_terminal_history) + (cf_head_terminal_history)) * S ((cf_new_b_terminal_history) + (cf_head_terminal_history)) + ((cf_head_terminal_history) + (cf_head_terminal_history)))) * S ((cf_new_a_terminal_history) + (((cf_new_b_terminal_history) + (cf_head_terminal_history)) * S ((cf_new_b_terminal_history) + (cf_head_terminal_history)) + ((cf_head_terminal_history) + (cf_head_terminal_history)))) + ((((cf_new_b_terminal_history) + (cf_head_terminal_history)) * S ((cf_new_b_terminal_history) + (cf_head_terminal_history)) + ((cf_head_terminal_history) + (cf_head_terminal_history))) + (((cf_new_b_terminal_history) + (cf_head_terminal_history)) * S ((cf_new_b_terminal_history) + (cf_head_terminal_history)) + ((cf_head_terminal_history) + (cf_head_terminal_history))))))) /\ (cf_new_b_terminal_history = cf_old_a_terminal_history /\ (cf_new_a_terminal_history = cf_new_b_terminal_history * cf_quotient_terminal_history + cf_old_b_terminal_history /\ ((exists ff_lt_cf_terminal_history_remainder. ff_lt_cf_terminal_history_remainder + S cf_old_b_terminal_history = cf_new_b_terminal_history) /\ (cf_head_terminal_history = S ((cf_quotient_terminal_history + cf_tail_terminal_history) * S (cf_quotient_terminal_history + cf_tail_terminal_history) + (cf_tail_terminal_history + cf_tail_terminal_history))))))))))) -> (exists cfc_previous_numerator_terminal_convergent cfc_previous_denominator_terminal_convergent cfc_code_terminal_convergent cfc_scale_terminal_convergent. ((~(v = 0)) /\ (exists cfc_tail_terminal_convergentcomputation. ((exists cfc_state_terminal_convergentcomputationinitial. ((exists cfc_left_terminal_convergentcomputationinitialcode cfc_right_terminal_convergentcomputationinitialcode cfc_matrix_terminal_convergentcomputationinitialcode. ((cfc_left_terminal_convergentcomputationinitialcode = ((1) + (0)) * S ((1) + (0)) + ((0) + (0))) /\ ((cfc_right_terminal_convergentcomputationinitialcode = ((0) + (1)) * S ((0) + (1)) + ((1) + (1))) /\ ((cfc_matrix_terminal_convergentcomputationinitialcode = ((cfc_left_terminal_convergentcomputationinitialcode) + (cfc_right_terminal_convergentcomputationinitialcode)) * S ((cfc_left_terminal_convergentcomputationinitialcode) + (cfc_right_terminal_convergentcomputationinitialcode)) + ((cfc_right_terminal_convergentcomputationinitialcode) + (cfc_right_terminal_convergentcomputationinitialcode))) /\ ((cfc_state_terminal_convergentcomputationinitial) = ((cfc_tail_terminal_convergentcomputation) + (cfc_matrix_terminal_convergentcomputationinitialcode)) * S ((cfc_tail_terminal_convergentcomputation) + (cfc_matrix_terminal_convergentcomputationinitialcode)) + ((cfc_matrix_terminal_convergentcomputationinitialcode) + (cfc_matrix_terminal_convergentcomputationinitialcode))))))) /\ (((exists ff_h_terminal_convergentcomputationinitialentry. ff_h_terminal_convergentcomputationinitialentry + S (cfc_state_terminal_convergentcomputationinitial) = S ((S (0)) * cfc_scale_terminal_convergent)) /\ exists ff_q_terminal_convergentcomputationinitialentry. cfc_code_terminal_convergent = ff_q_terminal_convergentcomputationinitialentry * S ((S (0)) * cfc_scale_terminal_convergent) + (cfc_state_terminal_convergentcomputationinitial))))) /\ ((exists cfc_state_terminal_convergentcomputationterminal. ((exists cfc_left_terminal_convergentcomputationterminalcode cfc_right_terminal_convergentcomputationterminalcode cfc_matrix_terminal_convergentcomputationterminalcode. ((cfc_left_terminal_convergentcomputationterminalcode = ((u) + (cfc_previous_numerator_terminal_convergent)) * S ((u) + (cfc_previous_numerator_terminal_convergent)) + ((cfc_previous_numerator_terminal_convergent) + (cfc_previous_numerator_terminal_convergent))) /\ ((cfc_right_terminal_convergentcomputationterminalcode = ((v) + (cfc_previous_denominator_terminal_convergent)) * S ((v) + (cfc_previous_denominator_terminal_convergent)) + ((cfc_previous_denominator_terminal_convergent) + (cfc_previous_denominator_terminal_convergent))) /\ ((cfc_matrix_terminal_convergentcomputationterminalcode = ((cfc_left_terminal_convergentcomputationterminalcode) + (cfc_right_terminal_convergentcomputationterminalcode)) * S ((cfc_left_terminal_convergentcomputationterminalcode) + (cfc_right_terminal_convergentcomputationterminalcode)) + ((cfc_right_terminal_convergentcomputationterminalcode) + (cfc_right_terminal_convergentcomputationterminalcode))) /\ ((cfc_state_terminal_convergentcomputationterminal) = ((s) + (cfc_matrix_terminal_convergentcomputationterminalcode)) * S ((s) + (cfc_matrix_terminal_convergentcomputationterminalcode)) + ((cfc_matrix_terminal_convergentcomputationterminalcode) + (cfc_matrix_terminal_convergentcomputationterminalcode))))))) /\ (((exists ff_h_terminal_convergentcomputationterminalentry. ff_h_terminal_convergentcomputationterminalentry + S (cfc_state_terminal_convergentcomputationterminal) = S ((S (S (k))) * cfc_scale_terminal_convergent)) /\ exists ff_q_terminal_convergentcomputationterminalentry. cfc_code_terminal_convergent = ff_q_terminal_convergentcomputationterminalentry * S ((S (S (k))) * cfc_scale_terminal_convergent) + (cfc_state_terminal_convergentcomputationterminal))))) /\ (forall cfc_index_terminal_convergentcomputation. (exists cfba_gap_terminal_convergentcomputationbound. cfba_gap_terminal_convergentcomputationbound + S (cfc_index_terminal_convergentcomputation) = (S (k))) -> exists cfc_old_terminal_convergentcomputation cfc_a_terminal_convergentcomputation cfc_b_terminal_convergentcomputation cfc_c_terminal_convergentcomputation cfc_d_terminal_convergentcomputation cfc_new_terminal_convergentcomputation cfc_quotient_terminal_convergentcomputation. ((exists cfc_state_terminal_convergentcomputationprevious. ((exists cfc_left_terminal_convergentcomputationpreviouscode cfc_right_terminal_convergentcomputationpreviouscode cfc_matrix_terminal_convergentcomputationpreviouscode. ((cfc_left_terminal_convergentcomputationpreviouscode = ((cfc_a_terminal_convergentcomputation) + (cfc_b_terminal_convergentcomputation)) * S ((cfc_a_terminal_convergentcomputation) + (cfc_b_terminal_convergentcomputation)) + ((cfc_b_terminal_convergentcomputation) + (cfc_b_terminal_convergentcomputation))) /\ ((cfc_right_terminal_convergentcomputationpreviouscode = ((cfc_c_terminal_convergentcomputation) + (cfc_d_terminal_convergentcomputation)) * S ((cfc_c_terminal_convergentcomputation) + (cfc_d_terminal_convergentcomputation)) + ((cfc_d_terminal_convergentcomputation) + (cfc_d_terminal_convergentcomputation))) /\ ((cfc_matrix_terminal_convergentcomputationpreviouscode = ((cfc_left_terminal_convergentcomputationpreviouscode) + (cfc_right_terminal_convergentcomputationpreviouscode)) * S ((cfc_left_terminal_convergentcomputationpreviouscode) + (cfc_right_terminal_convergentcomputationpreviouscode)) + ((cfc_right_terminal_convergentcomputationpreviouscode) + (cfc_right_terminal_convergentcomputationpreviouscode))) /\ ((cfc_state_terminal_convergentcomputationprevious) = ((cfc_old_terminal_convergentcomputation) + (cfc_matrix_terminal_convergentcomputationpreviouscode)) * S ((cfc_old_terminal_convergentcomputation) + (cfc_matrix_terminal_convergentcomputationpreviouscode)) + ((cfc_matrix_terminal_convergentcomputationpreviouscode) + (cfc_matrix_terminal_convergentcomputationpreviouscode))))))) /\ (((exists ff_h_terminal_convergentcomputationpreviousentry. ff_h_terminal_convergentcomputationpreviousentry + S (cfc_state_terminal_convergentcomputationprevious) = S ((S (cfc_index_terminal_convergentcomputation)) * cfc_scale_terminal_convergent)) /\ exists ff_q_terminal_convergentcomputationpreviousentry. cfc_code_terminal_convergent = ff_q_terminal_convergentcomputationpreviousentry * S ((S (cfc_index_terminal_convergentcomputation)) * cfc_scale_terminal_convergent) + (cfc_state_terminal_convergentcomputationprevious))))) /\ ((exists cfc_state_terminal_convergentcomputationfollowing. ((exists cfc_left_terminal_convergentcomputationfollowingcode cfc_right_terminal_convergentcomputationfollowingcode cfc_matrix_terminal_convergentcomputationfollowingcode. ((cfc_left_terminal_convergentcomputationfollowingcode = (((cfc_quotient_terminal_convergentcomputation * cfc_a_terminal_convergentcomputation + cfc_c_terminal_convergentcomputation)) + ((cfc_quotient_terminal_convergentcomputation * cfc_b_terminal_convergentcomputation + cfc_d_terminal_convergentcomputation))) * S (((cfc_quotient_terminal_convergentcomputation * cfc_a_terminal_convergentcomputation + cfc_c_terminal_convergentcomputation)) + ((cfc_quotient_terminal_convergentcomputation * cfc_b_terminal_convergentcomputation + cfc_d_terminal_convergentcomputation))) + (((cfc_quotient_terminal_convergentcomputation * cfc_b_terminal_convergentcomputation + cfc_d_terminal_convergentcomputation)) + ((cfc_quotient_terminal_convergentcomputation * cfc_b_terminal_convergentcomputation + cfc_d_terminal_convergentcomputation)))) /\ ((cfc_right_terminal_convergentcomputationfollowingcode = ((cfc_a_terminal_convergentcomputation) + (cfc_b_terminal_convergentcomputation)) * S ((cfc_a_terminal_convergentcomputation) + (cfc_b_terminal_convergentcomputation)) + ((cfc_b_terminal_convergentcomputation) + (cfc_b_terminal_convergentcomputation))) /\ ((cfc_matrix_terminal_convergentcomputationfollowingcode = ((cfc_left_terminal_convergentcomputationfollowingcode) + (cfc_right_terminal_convergentcomputationfollowingcode)) * S ((cfc_left_terminal_convergentcomputationfollowingcode) + (cfc_right_terminal_convergentcomputationfollowingcode)) + ((cfc_right_terminal_convergentcomputationfollowingcode) + (cfc_right_terminal_convergentcomputationfollowingcode))) /\ ((cfc_state_terminal_convergentcomputationfollowing) = ((cfc_new_terminal_convergentcomputation) + (cfc_matrix_terminal_convergentcomputationfollowingcode)) * S ((cfc_new_terminal_convergentcomputation) + (cfc_matrix_terminal_convergentcomputationfollowingcode)) + ((cfc_matrix_terminal_convergentcomputationfollowingcode) + (cfc_matrix_terminal_convergentcomputationfollowingcode))))))) /\ (((exists ff_h_terminal_convergentcomputationfollowingentry. ff_h_terminal_convergentcomputationfollowingentry + S (cfc_state_terminal_convergentcomputationfollowing) = S ((S (S cfc_index_terminal_convergentcomputation)) * cfc_scale_terminal_convergent)) /\ exists ff_q_terminal_convergentcomputationfollowingentry. cfc_code_terminal_convergent = ff_q_terminal_convergentcomputationfollowingentry * S ((S (S cfc_index_terminal_convergentcomputation)) * cfc_scale_terminal_convergent) + (cfc_state_terminal_convergentcomputationfollowing))))) /\ (cfc_new_terminal_convergentcomputation = S ((cfc_quotient_terminal_convergentcomputation + cfc_old_terminal_convergentcomputation) * S (cfc_quotient_terminal_convergentcomputation + cfc_old_terminal_convergentcomputation) + (cfc_old_terminal_convergentcomputation + cfc_old_terminal_convergentcomputation))))))))))) -> a * v = b * uConstructive proof overview
Generated structural guide
Every actual terminal convergent has zero cross-product error; the best-approximation theorem does not exclude this rational endpoint.
The unchanged tactic script uses 1 declared prerequisite and contains 30 exact native proof lines.
Alpha v34 checked-use · first admitted v29 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
Direct dependents
Formal native tactic body
Dependencies are introduced as named hypotheses before line 1. Local theorem links identify exact declared prerequisites. This exact body belongs to a complete independently kernel-checked constructive proof bundle and has Alpha checked-use authority; it does not imply Stable membership.
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–10
02Separate the logical casesL11–15
03Use earlier factsL16–25
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L16
specialize cf_convergent_full_matrix_is_exact (S k) - L17
specialize cf_convergent_full_matrix_is_exact (a) - L18
specialize cf_convergent_full_matrix_is_exact (b) - L19
specialize cf_convergent_full_matrix_is_exact (s) - L20
specialize cf_convergent_full_matrix_is_exact (h) - L21
specialize cf_convergent_full_matrix_is_exact (e) - L22
specialize cf_convergent_full_matrix_is_exact (x2) - L23
specialize cf_convergent_full_matrix_is_exact (x3) - L24
specialize cf_convergent_full_matrix_is_exact (u) - L25
specialize cf_convergent_full_matrix_is_exact (x)
04Use earlier factsL26–30
Original exact command ledger · 30 lines
- 0001
intro a - 0002
intro b - 0003
intro s - 0004
intro h - 0005
intro e - 0006
intro k - 0007
intro u - 0008
intro v - 0009
intro ht - 0010
intro hc - 0011
cases hc - 0012
cases hc_witness - 0013
cases hc_witness_witness - 0014
cases hc_witness_witness_witness - 0015
cases hc_witness_witness_witness_witness - 0016
specialize cf_convergent_full_matrix_is_exact (S k) - 0017
specialize cf_convergent_full_matrix_is_exact (a) - 0018
specialize cf_convergent_full_matrix_is_exact (b) - 0019
specialize cf_convergent_full_matrix_is_exact (s) - 0020
specialize cf_convergent_full_matrix_is_exact (h) - 0021
specialize cf_convergent_full_matrix_is_exact (e) - 0022
specialize cf_convergent_full_matrix_is_exact (x2) - 0023
specialize cf_convergent_full_matrix_is_exact (x3) - 0024
specialize cf_convergent_full_matrix_is_exact (u) - 0025
specialize cf_convergent_full_matrix_is_exact (x) - 0026
specialize cf_convergent_full_matrix_is_exact (v) - 0027
specialize cf_convergent_full_matrix_is_exact (x1) - 0028
apply cf_convergent_full_matrix_is_exact - 0029
exact ht - 0030
exact hc_witness_witness_witness_witness_right