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. (exists cf_gcd_terminal_exists_history. ((((exists ff_h_cf_terminal_exists_history_initial_state. ff_h_cf_terminal_exists_history_initial_state + S (((cf_gcd_terminal_exists_history) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) * S ((cf_gcd_terminal_exists_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_exists_history_initial_state. h = ff_q_cf_terminal_exists_history_initial_state * S ((S (0)) * e) + (((cf_gcd_terminal_exists_history) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) * S ((cf_gcd_terminal_exists_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_exists_history_terminal_state. ff_h_cf_terminal_exists_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_exists_history_terminal_state. h = ff_q_cf_terminal_exists_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_exists_history. (exists ff_lt_cf_terminal_exists_history_index. ff_lt_cf_terminal_exists_history_index + S cf_index_terminal_exists_history = S k) -> exists cf_old_a_terminal_exists_history cf_old_b_terminal_exists_history cf_tail_terminal_exists_history cf_new_a_terminal_exists_history cf_new_b_terminal_exists_history cf_head_terminal_exists_history cf_quotient_terminal_exists_history. ((((exists ff_h_cf_terminal_exists_history_previous_state. ff_h_cf_terminal_exists_history_previous_state + S (((cf_old_a_terminal_exists_history) + (((cf_old_b_terminal_exists_history) + (cf_tail_terminal_exists_history)) * S ((cf_old_b_terminal_exists_history) + (cf_tail_terminal_exists_history)) + ((cf_tail_terminal_exists_history) + (cf_tail_terminal_exists_history)))) * S ((cf_old_a_terminal_exists_history) + (((cf_old_b_terminal_exists_history) + (cf_tail_terminal_exists_history)) * S ((cf_old_b_terminal_exists_history) + (cf_tail_terminal_exists_history)) + ((cf_tail_terminal_exists_history) + (cf_tail_terminal_exists_history)))) + ((((cf_old_b_terminal_exists_history) + (cf_tail_terminal_exists_history)) * S ((cf_old_b_terminal_exists_history) + (cf_tail_terminal_exists_history)) + ((cf_tail_terminal_exists_history) + (cf_tail_terminal_exists_history))) + (((cf_old_b_terminal_exists_history) + (cf_tail_terminal_exists_history)) * S ((cf_old_b_terminal_exists_history) + (cf_tail_terminal_exists_history)) + ((cf_tail_terminal_exists_history) + (cf_tail_terminal_exists_history))))) = S ((S (cf_index_terminal_exists_history)) * e)) /\ exists ff_q_cf_terminal_exists_history_previous_state. h = ff_q_cf_terminal_exists_history_previous_state * S ((S (cf_index_terminal_exists_history)) * e) + (((cf_old_a_terminal_exists_history) + (((cf_old_b_terminal_exists_history) + (cf_tail_terminal_exists_history)) * S ((cf_old_b_terminal_exists_history) + (cf_tail_terminal_exists_history)) + ((cf_tail_terminal_exists_history) + (cf_tail_terminal_exists_history)))) * S ((cf_old_a_terminal_exists_history) + (((cf_old_b_terminal_exists_history) + (cf_tail_terminal_exists_history)) * S ((cf_old_b_terminal_exists_history) + (cf_tail_terminal_exists_history)) + ((cf_tail_terminal_exists_history) + (cf_tail_terminal_exists_history)))) + ((((cf_old_b_terminal_exists_history) + (cf_tail_terminal_exists_history)) * S ((cf_old_b_terminal_exists_history) + (cf_tail_terminal_exists_history)) + ((cf_tail_terminal_exists_history) + (cf_tail_terminal_exists_history))) + (((cf_old_b_terminal_exists_history) + (cf_tail_terminal_exists_history)) * S ((cf_old_b_terminal_exists_history) + (cf_tail_terminal_exists_history)) + ((cf_tail_terminal_exists_history) + (cf_tail_terminal_exists_history))))))) /\ ((((exists ff_h_cf_terminal_exists_history_following_state. ff_h_cf_terminal_exists_history_following_state + S (((cf_new_a_terminal_exists_history) + (((cf_new_b_terminal_exists_history) + (cf_head_terminal_exists_history)) * S ((cf_new_b_terminal_exists_history) + (cf_head_terminal_exists_history)) + ((cf_head_terminal_exists_history) + (cf_head_terminal_exists_history)))) * S ((cf_new_a_terminal_exists_history) + (((cf_new_b_terminal_exists_history) + (cf_head_terminal_exists_history)) * S ((cf_new_b_terminal_exists_history) + (cf_head_terminal_exists_history)) + ((cf_head_terminal_exists_history) + (cf_head_terminal_exists_history)))) + ((((cf_new_b_terminal_exists_history) + (cf_head_terminal_exists_history)) * S ((cf_new_b_terminal_exists_history) + (cf_head_terminal_exists_history)) + ((cf_head_terminal_exists_history) + (cf_head_terminal_exists_history))) + (((cf_new_b_terminal_exists_history) + (cf_head_terminal_exists_history)) * S ((cf_new_b_terminal_exists_history) + (cf_head_terminal_exists_history)) + ((cf_head_terminal_exists_history) + (cf_head_terminal_exists_history))))) = S ((S (S cf_index_terminal_exists_history)) * e)) /\ exists ff_q_cf_terminal_exists_history_following_state. h = ff_q_cf_terminal_exists_history_following_state * S ((S (S cf_index_terminal_exists_history)) * e) + (((cf_new_a_terminal_exists_history) + (((cf_new_b_terminal_exists_history) + (cf_head_terminal_exists_history)) * S ((cf_new_b_terminal_exists_history) + (cf_head_terminal_exists_history)) + ((cf_head_terminal_exists_history) + (cf_head_terminal_exists_history)))) * S ((cf_new_a_terminal_exists_history) + (((cf_new_b_terminal_exists_history) + (cf_head_terminal_exists_history)) * S ((cf_new_b_terminal_exists_history) + (cf_head_terminal_exists_history)) + ((cf_head_terminal_exists_history) + (cf_head_terminal_exists_history)))) + ((((cf_new_b_terminal_exists_history) + (cf_head_terminal_exists_history)) * S ((cf_new_b_terminal_exists_history) + (cf_head_terminal_exists_history)) + ((cf_head_terminal_exists_history) + (cf_head_terminal_exists_history))) + (((cf_new_b_terminal_exists_history) + (cf_head_terminal_exists_history)) * S ((cf_new_b_terminal_exists_history) + (cf_head_terminal_exists_history)) + ((cf_head_terminal_exists_history) + (cf_head_terminal_exists_history))))))) /\ (cf_new_b_terminal_exists_history = cf_old_a_terminal_exists_history /\ (cf_new_a_terminal_exists_history = cf_new_b_terminal_exists_history * cf_quotient_terminal_exists_history + cf_old_b_terminal_exists_history /\ ((exists ff_lt_cf_terminal_exists_history_remainder. ff_lt_cf_terminal_exists_history_remainder + S cf_old_b_terminal_exists_history = cf_new_b_terminal_exists_history) /\ (cf_head_terminal_exists_history = S ((cf_quotient_terminal_exists_history + cf_tail_terminal_exists_history) * S (cf_quotient_terminal_exists_history + cf_tail_terminal_exists_history) + (cf_tail_terminal_exists_history + cf_tail_terminal_exists_history))))))))))) -> exists u v. ((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 * u))Constructive proof overview
Generated structural guide
The terminal convergent is constructively present and exact for every nonempty complete history, not merely a conditional assertion about a hypothetical endpoint.
The unchanged tactic script uses 3 declared prerequisites and contains 36 exact native proof lines.
Alpha v34 checked-use · first admitted v29 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
BA0041 continued_fraction_convergent_exists_at_history_index BA0048 continued_fraction_terminal_convergent_is_exact zero_add Stable theorem; checked-use authorizedDirect 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 (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 - 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 exact 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 : exists u v. 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)))))))))) - 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