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 L k a b s h e. (exists cf_gcd_complete_source. ((((exists ff_h_cf_complete_source_initial_state. ff_h_cf_complete_source_initial_state + S (((cf_gcd_complete_source) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) * S ((cf_gcd_complete_source) + (((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_complete_source_initial_state. h = ff_q_cf_complete_source_initial_state * S ((S (0)) * e) + (((cf_gcd_complete_source) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) * S ((cf_gcd_complete_source) + (((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_complete_source_terminal_state. ff_h_cf_complete_source_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 (L)) * e)) /\ exists ff_q_cf_complete_source_terminal_state. h = ff_q_cf_complete_source_terminal_state * S ((S (L)) * 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_complete_source. (exists ff_lt_cf_complete_source_index. ff_lt_cf_complete_source_index + S cf_index_complete_source = L) -> exists cf_old_a_complete_source cf_old_b_complete_source cf_tail_complete_source cf_new_a_complete_source cf_new_b_complete_source cf_head_complete_source cf_quotient_complete_source. ((((exists ff_h_cf_complete_source_previous_state. ff_h_cf_complete_source_previous_state + S (((cf_old_a_complete_source) + (((cf_old_b_complete_source) + (cf_tail_complete_source)) * S ((cf_old_b_complete_source) + (cf_tail_complete_source)) + ((cf_tail_complete_source) + (cf_tail_complete_source)))) * S ((cf_old_a_complete_source) + (((cf_old_b_complete_source) + (cf_tail_complete_source)) * S ((cf_old_b_complete_source) + (cf_tail_complete_source)) + ((cf_tail_complete_source) + (cf_tail_complete_source)))) + ((((cf_old_b_complete_source) + (cf_tail_complete_source)) * S ((cf_old_b_complete_source) + (cf_tail_complete_source)) + ((cf_tail_complete_source) + (cf_tail_complete_source))) + (((cf_old_b_complete_source) + (cf_tail_complete_source)) * S ((cf_old_b_complete_source) + (cf_tail_complete_source)) + ((cf_tail_complete_source) + (cf_tail_complete_source))))) = S ((S (cf_index_complete_source)) * e)) /\ exists ff_q_cf_complete_source_previous_state. h = ff_q_cf_complete_source_previous_state * S ((S (cf_index_complete_source)) * e) + (((cf_old_a_complete_source) + (((cf_old_b_complete_source) + (cf_tail_complete_source)) * S ((cf_old_b_complete_source) + (cf_tail_complete_source)) + ((cf_tail_complete_source) + (cf_tail_complete_source)))) * S ((cf_old_a_complete_source) + (((cf_old_b_complete_source) + (cf_tail_complete_source)) * S ((cf_old_b_complete_source) + (cf_tail_complete_source)) + ((cf_tail_complete_source) + (cf_tail_complete_source)))) + ((((cf_old_b_complete_source) + (cf_tail_complete_source)) * S ((cf_old_b_complete_source) + (cf_tail_complete_source)) + ((cf_tail_complete_source) + (cf_tail_complete_source))) + (((cf_old_b_complete_source) + (cf_tail_complete_source)) * S ((cf_old_b_complete_source) + (cf_tail_complete_source)) + ((cf_tail_complete_source) + (cf_tail_complete_source))))))) /\ ((((exists ff_h_cf_complete_source_following_state. ff_h_cf_complete_source_following_state + S (((cf_new_a_complete_source) + (((cf_new_b_complete_source) + (cf_head_complete_source)) * S ((cf_new_b_complete_source) + (cf_head_complete_source)) + ((cf_head_complete_source) + (cf_head_complete_source)))) * S ((cf_new_a_complete_source) + (((cf_new_b_complete_source) + (cf_head_complete_source)) * S ((cf_new_b_complete_source) + (cf_head_complete_source)) + ((cf_head_complete_source) + (cf_head_complete_source)))) + ((((cf_new_b_complete_source) + (cf_head_complete_source)) * S ((cf_new_b_complete_source) + (cf_head_complete_source)) + ((cf_head_complete_source) + (cf_head_complete_source))) + (((cf_new_b_complete_source) + (cf_head_complete_source)) * S ((cf_new_b_complete_source) + (cf_head_complete_source)) + ((cf_head_complete_source) + (cf_head_complete_source))))) = S ((S (S cf_index_complete_source)) * e)) /\ exists ff_q_cf_complete_source_following_state. h = ff_q_cf_complete_source_following_state * S ((S (S cf_index_complete_source)) * e) + (((cf_new_a_complete_source) + (((cf_new_b_complete_source) + (cf_head_complete_source)) * S ((cf_new_b_complete_source) + (cf_head_complete_source)) + ((cf_head_complete_source) + (cf_head_complete_source)))) * S ((cf_new_a_complete_source) + (((cf_new_b_complete_source) + (cf_head_complete_source)) * S ((cf_new_b_complete_source) + (cf_head_complete_source)) + ((cf_head_complete_source) + (cf_head_complete_source)))) + ((((cf_new_b_complete_source) + (cf_head_complete_source)) * S ((cf_new_b_complete_source) + (cf_head_complete_source)) + ((cf_head_complete_source) + (cf_head_complete_source))) + (((cf_new_b_complete_source) + (cf_head_complete_source)) * S ((cf_new_b_complete_source) + (cf_head_complete_source)) + ((cf_head_complete_source) + (cf_head_complete_source))))))) /\ (cf_new_b_complete_source = cf_old_a_complete_source /\ (cf_new_a_complete_source = cf_new_b_complete_source * cf_quotient_complete_source + cf_old_b_complete_source /\ ((exists ff_lt_cf_complete_source_remainder. ff_lt_cf_complete_source_remainder + S cf_old_b_complete_source = cf_new_b_complete_source) /\ (cf_head_complete_source = S ((cf_quotient_complete_source + cf_tail_complete_source) * S (cf_quotient_complete_source + cf_tail_complete_source) + (cf_tail_complete_source + cf_tail_complete_source))))))))))) -> (exists cfba_bound_complete_index. cfba_bound_complete_index + (k) = (L)) -> (exists cfc_h_complete_result cfc_e_complete_result cfc_u_complete_result cfc_U_complete_result cfc_v_complete_result cfc_V_complete_result. exists cfc_tail_complete_resultbody. ((exists cfc_state_complete_resultbodyinitial. ((exists cfc_left_complete_resultbodyinitialcode cfc_right_complete_resultbodyinitialcode cfc_matrix_complete_resultbodyinitialcode. ((cfc_left_complete_resultbodyinitialcode = ((1) + (0)) * S ((1) + (0)) + ((0) + (0))) /\ ((cfc_right_complete_resultbodyinitialcode = ((0) + (1)) * S ((0) + (1)) + ((1) + (1))) /\ ((cfc_matrix_complete_resultbodyinitialcode = ((cfc_left_complete_resultbodyinitialcode) + (cfc_right_complete_resultbodyinitialcode)) * S ((cfc_left_complete_resultbodyinitialcode) + (cfc_right_complete_resultbodyinitialcode)) + ((cfc_right_complete_resultbodyinitialcode) + (cfc_right_complete_resultbodyinitialcode))) /\ ((cfc_state_complete_resultbodyinitial) = ((cfc_tail_complete_resultbody) + (cfc_matrix_complete_resultbodyinitialcode)) * S ((cfc_tail_complete_resultbody) + (cfc_matrix_complete_resultbodyinitialcode)) + ((cfc_matrix_complete_resultbodyinitialcode) + (cfc_matrix_complete_resultbodyinitialcode))))))) /\ (((exists ff_h_complete_resultbodyinitialentry. ff_h_complete_resultbodyinitialentry + S (cfc_state_complete_resultbodyinitial) = S ((S (0)) * cfc_e_complete_result)) /\ exists ff_q_complete_resultbodyinitialentry. cfc_h_complete_result = ff_q_complete_resultbodyinitialentry * S ((S (0)) * cfc_e_complete_result) + (cfc_state_complete_resultbodyinitial))))) /\ ((exists cfc_state_complete_resultbodyterminal. ((exists cfc_left_complete_resultbodyterminalcode cfc_right_complete_resultbodyterminalcode cfc_matrix_complete_resultbodyterminalcode. ((cfc_left_complete_resultbodyterminalcode = ((cfc_u_complete_result) + (cfc_U_complete_result)) * S ((cfc_u_complete_result) + (cfc_U_complete_result)) + ((cfc_U_complete_result) + (cfc_U_complete_result))) /\ ((cfc_right_complete_resultbodyterminalcode = ((cfc_v_complete_result) + (cfc_V_complete_result)) * S ((cfc_v_complete_result) + (cfc_V_complete_result)) + ((cfc_V_complete_result) + (cfc_V_complete_result))) /\ ((cfc_matrix_complete_resultbodyterminalcode = ((cfc_left_complete_resultbodyterminalcode) + (cfc_right_complete_resultbodyterminalcode)) * S ((cfc_left_complete_resultbodyterminalcode) + (cfc_right_complete_resultbodyterminalcode)) + ((cfc_right_complete_resultbodyterminalcode) + (cfc_right_complete_resultbodyterminalcode))) /\ ((cfc_state_complete_resultbodyterminal) = ((s) + (cfc_matrix_complete_resultbodyterminalcode)) * S ((s) + (cfc_matrix_complete_resultbodyterminalcode)) + ((cfc_matrix_complete_resultbodyterminalcode) + (cfc_matrix_complete_resultbodyterminalcode))))))) /\ (((exists ff_h_complete_resultbodyterminalentry. ff_h_complete_resultbodyterminalentry + S (cfc_state_complete_resultbodyterminal) = S ((S (k)) * cfc_e_complete_result)) /\ exists ff_q_complete_resultbodyterminalentry. cfc_h_complete_result = ff_q_complete_resultbodyterminalentry * S ((S (k)) * cfc_e_complete_result) + (cfc_state_complete_resultbodyterminal))))) /\ (forall cfc_index_complete_resultbody. (exists cfba_gap_complete_resultbodybound. cfba_gap_complete_resultbodybound + S (cfc_index_complete_resultbody) = (k)) -> exists cfc_old_complete_resultbody cfc_a_complete_resultbody cfc_b_complete_resultbody cfc_c_complete_resultbody cfc_d_complete_resultbody cfc_new_complete_resultbody cfc_quotient_complete_resultbody. ((exists cfc_state_complete_resultbodyprevious. ((exists cfc_left_complete_resultbodypreviouscode cfc_right_complete_resultbodypreviouscode cfc_matrix_complete_resultbodypreviouscode. ((cfc_left_complete_resultbodypreviouscode = ((cfc_a_complete_resultbody) + (cfc_b_complete_resultbody)) * S ((cfc_a_complete_resultbody) + (cfc_b_complete_resultbody)) + ((cfc_b_complete_resultbody) + (cfc_b_complete_resultbody))) /\ ((cfc_right_complete_resultbodypreviouscode = ((cfc_c_complete_resultbody) + (cfc_d_complete_resultbody)) * S ((cfc_c_complete_resultbody) + (cfc_d_complete_resultbody)) + ((cfc_d_complete_resultbody) + (cfc_d_complete_resultbody))) /\ ((cfc_matrix_complete_resultbodypreviouscode = ((cfc_left_complete_resultbodypreviouscode) + (cfc_right_complete_resultbodypreviouscode)) * S ((cfc_left_complete_resultbodypreviouscode) + (cfc_right_complete_resultbodypreviouscode)) + ((cfc_right_complete_resultbodypreviouscode) + (cfc_right_complete_resultbodypreviouscode))) /\ ((cfc_state_complete_resultbodyprevious) = ((cfc_old_complete_resultbody) + (cfc_matrix_complete_resultbodypreviouscode)) * S ((cfc_old_complete_resultbody) + (cfc_matrix_complete_resultbodypreviouscode)) + ((cfc_matrix_complete_resultbodypreviouscode) + (cfc_matrix_complete_resultbodypreviouscode))))))) /\ (((exists ff_h_complete_resultbodypreviousentry. ff_h_complete_resultbodypreviousentry + S (cfc_state_complete_resultbodyprevious) = S ((S (cfc_index_complete_resultbody)) * cfc_e_complete_result)) /\ exists ff_q_complete_resultbodypreviousentry. cfc_h_complete_result = ff_q_complete_resultbodypreviousentry * S ((S (cfc_index_complete_resultbody)) * cfc_e_complete_result) + (cfc_state_complete_resultbodyprevious))))) /\ ((exists cfc_state_complete_resultbodyfollowing. ((exists cfc_left_complete_resultbodyfollowingcode cfc_right_complete_resultbodyfollowingcode cfc_matrix_complete_resultbodyfollowingcode. ((cfc_left_complete_resultbodyfollowingcode = (((cfc_quotient_complete_resultbody * cfc_a_complete_resultbody + cfc_c_complete_resultbody)) + ((cfc_quotient_complete_resultbody * cfc_b_complete_resultbody + cfc_d_complete_resultbody))) * S (((cfc_quotient_complete_resultbody * cfc_a_complete_resultbody + cfc_c_complete_resultbody)) + ((cfc_quotient_complete_resultbody * cfc_b_complete_resultbody + cfc_d_complete_resultbody))) + (((cfc_quotient_complete_resultbody * cfc_b_complete_resultbody + cfc_d_complete_resultbody)) + ((cfc_quotient_complete_resultbody * cfc_b_complete_resultbody + cfc_d_complete_resultbody)))) /\ ((cfc_right_complete_resultbodyfollowingcode = ((cfc_a_complete_resultbody) + (cfc_b_complete_resultbody)) * S ((cfc_a_complete_resultbody) + (cfc_b_complete_resultbody)) + ((cfc_b_complete_resultbody) + (cfc_b_complete_resultbody))) /\ ((cfc_matrix_complete_resultbodyfollowingcode = ((cfc_left_complete_resultbodyfollowingcode) + (cfc_right_complete_resultbodyfollowingcode)) * S ((cfc_left_complete_resultbodyfollowingcode) + (cfc_right_complete_resultbodyfollowingcode)) + ((cfc_right_complete_resultbodyfollowingcode) + (cfc_right_complete_resultbodyfollowingcode))) /\ ((cfc_state_complete_resultbodyfollowing) = ((cfc_new_complete_resultbody) + (cfc_matrix_complete_resultbodyfollowingcode)) * S ((cfc_new_complete_resultbody) + (cfc_matrix_complete_resultbodyfollowingcode)) + ((cfc_matrix_complete_resultbodyfollowingcode) + (cfc_matrix_complete_resultbodyfollowingcode))))))) /\ (((exists ff_h_complete_resultbodyfollowingentry. ff_h_complete_resultbodyfollowingentry + S (cfc_state_complete_resultbodyfollowing) = S ((S (S cfc_index_complete_resultbody)) * cfc_e_complete_result)) /\ exists ff_q_complete_resultbodyfollowingentry. cfc_h_complete_result = ff_q_complete_resultbodyfollowingentry * S ((S (S cfc_index_complete_resultbody)) * cfc_e_complete_result) + (cfc_state_complete_resultbodyfollowing))))) /\ (cfc_new_complete_resultbody = S ((cfc_quotient_complete_resultbody + cfc_old_complete_resultbody) * S (cfc_quotient_complete_resultbody + cfc_old_complete_resultbody) + (cfc_old_complete_resultbody + cfc_old_complete_resultbody)))))))))Constructive proof overview
Generated structural guide
HA induction on the actual complete Euclidean history constructs every valid quotient-matrix prefix, including the empty, initial, and full terminal products.
The unchanged tactic script uses 7 declared prerequisites and contains 144 exact native proof lines.
Alpha v34 checked-use · first admitted v29 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
le_zero Stable theorem; checked-use authorized zero_or_succ Stable theorem; checked-use authorized BA003A cf_convergent_matrix_empty_exists BA0036 cf_convergent_matrix_length_transport BA002A cf_convergent_old_history_successor_elimination le_of_succ_le_succ Stable theorem; checked-use authorized BA003C cf_convergent_matrix_prepend_existsDirect 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 (4)
01Induction on LL1–9
02Establish hkzeroL10–13
03Establish hzL14–16
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply cf convergent matrix empty exists.
- L14
have hz : ∃ H. ∃ E. ConvergentMatrixTrace(s,H,E,0,1,0,0,1)Definitions: ConvergentMatrixTrace - L15
specialize cf_convergent_matrix_empty_exists (s) - L16
apply cf_convergent_matrix_empty_exists
04Separate the logical casesL17–18
05Construct an explicit witnessL19–24
06Use earlier factsL25–34
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L25
specialize cf_convergent_matrix_length_transport (s) - L26
specialize cf_convergent_matrix_length_transport (x) - L27
specialize cf_convergent_matrix_length_transport (x1) - L28
specialize cf_convergent_matrix_length_transport (0) - L29
specialize cf_convergent_matrix_length_transport (k) - L30
specialize cf_convergent_matrix_length_transport (1) - L31
specialize cf_convergent_matrix_length_transport (0) - L32
specialize cf_convergent_matrix_length_transport (0) - L33
specialize cf_convergent_matrix_length_transport (1) - L34
apply cf_convergent_matrix_length_transport
07Calculate and transport equalitiesL35–35
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L35
symm
08Use earlier factsL36–37
09Fix variables and assumptionsL38–45
10Establish hkcaseL46–48
11Separate the logical casesL49–49
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L49
cases hkcase
12Establish hzL50–52
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply cf convergent matrix empty exists.
- L50
have hz : ∃ H. ∃ E. ConvergentMatrixTrace(s,H,E,0,1,0,0,1)Definitions: ConvergentMatrixTrace - L51
specialize cf_convergent_matrix_empty_exists (s) - L52
apply cf_convergent_matrix_empty_exists
13Separate the logical casesL53–54
14Construct an explicit witnessL55–60
15Use earlier factsL61–70
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L61
specialize cf_convergent_matrix_length_transport (s) - L62
specialize cf_convergent_matrix_length_transport (x) - L63
specialize cf_convergent_matrix_length_transport (x1) - L64
specialize cf_convergent_matrix_length_transport (0) - L65
specialize cf_convergent_matrix_length_transport (k) - L66
specialize cf_convergent_matrix_length_transport (1) - L67
specialize cf_convergent_matrix_length_transport (0) - L68
specialize cf_convergent_matrix_length_transport (0) - L69
specialize cf_convergent_matrix_length_transport (1) - L70
apply cf_convergent_matrix_length_transport
16Calculate and transport equalitiesL71–71
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L71
symm
17Use earlier factsL72–73
18Separate the logical casesL74–74
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L74
cases hkcase_right
19Establish hpL75–83
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply cf convergent old history successor elimination.
- L75
have hp : ∃ q. ∃ r. ∃ t. a = b · q + r ∧ (Lt(r,b) ∧ (ListCell(s,q,t) ∧ ContinuedFractionTrace(b,r,t,h,e,L)))Definitions: ListCellContinuedFractionTraceLt - L76
specialize cf_convergent_old_history_successor_elimination (a) - L77
specialize cf_convergent_old_history_successor_elimination (b) - L78
specialize cf_convergent_old_history_successor_elimination (s) - L79
specialize cf_convergent_old_history_successor_elimination (h) - L80
specialize cf_convergent_old_history_successor_elimination (e) - L81
specialize cf_convergent_old_history_successor_elimination (L) - L82
apply cf_convergent_old_history_successor_elimination - L83
exact ht
20Separate the logical casesL84–89
21Establish hcL90–99
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply IH.
- L90
have hc : ∃ cfc_h_complete_child. ∃ cfc_e_complete_child. ∃ cfc_u_complete_child. ∃ cfc_U_complete_child. ∃ cfc_v_complete_child. ∃ cfc_V_complete_child. ConvergentMatrixTrace(x3,cfc_h_complete_child,cfc_e_complete_child,x,cfc_u_complete_child,cfc_U_complete_child,cfc_v_complete_child,cfc_V_complete_child)Definitions: ConvergentMatrixTrace - L91
specialize IH (x) - L92
specialize IH (b) - L93
specialize IH (x2) - L94
specialize IH (x3) - L95
specialize IH (h) - L96
specialize IH (e) - L97
apply IH - L98
exact hp_witness_witness_witness_right_right_right - L99
specialize le_of_succ_le_succ (x)
22Use earlier factsL100–101
23Calculate and transport equalitiesL102–102
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L102
rewrite <- hkcase_right_witness
24Use earlier factsL103–103
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L103
exact hk
25Separate the logical casesL104–109
26Establish hextL110–119
Establish this local claim before using it. It is not an additional assumption.
- L110
have hext : ∃ H. ∃ E. ConvergentMatrixTrace(s,H,E,S x,x1 · x6 + x8,x1 · x7 + x9,x6,x7)Definitions: ConvergentMatrixTrace - L111
specialize cf_convergent_matrix_prepend_exists (x3) - L112
specialize cf_convergent_matrix_prepend_exists (x4) - L113
specialize cf_convergent_matrix_prepend_exists (x5) - L114
specialize cf_convergent_matrix_prepend_exists (x) - L115
specialize cf_convergent_matrix_prepend_exists (x6) - L116
specialize cf_convergent_matrix_prepend_exists (x7) - L117
specialize cf_convergent_matrix_prepend_exists (x8) - L118
specialize cf_convergent_matrix_prepend_exists (x9) - L119
specialize cf_convergent_matrix_prepend_exists (x1)
27Use earlier factsL120–123
28Separate the logical casesL124–125
29Construct an explicit witnessL126–131
30Use earlier factsL132–141
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L132
specialize cf_convergent_matrix_length_transport (s) - L133
specialize cf_convergent_matrix_length_transport (x10) - L134
specialize cf_convergent_matrix_length_transport (x11) - L135
specialize cf_convergent_matrix_length_transport (S x) - L136
specialize cf_convergent_matrix_length_transport (k) - L137
specialize cf_convergent_matrix_length_transport (x1 * x6 + x8) - L138
specialize cf_convergent_matrix_length_transport (x1 * x7 + x9) - L139
specialize cf_convergent_matrix_length_transport (x6) - L140
specialize cf_convergent_matrix_length_transport (x7) - L141
apply cf_convergent_matrix_length_transport
31Calculate and transport equalitiesL142–142
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L142
symm
Original exact command ledger · 144 lines
- 0001
induction L - 0002
intro k - 0003
intro a - 0004
intro b - 0005
intro s - 0006
intro h - 0007
intro e - 0008
intro ht - 0009
intro hk - 0010
have hkzero : k = 0 - 0011
specialize le_zero (k) - 0012
apply le_zero - 0013
exact hk - 0014
have hz : exists H E. exists cfc_tail_complete_empty. ((exists cfc_state_complete_emptyinitial. ((exists cfc_left_complete_emptyinitialcode cfc_right_complete_emptyinitialcode cfc_matrix_complete_emptyinitialcode. ((cfc_left_complete_emptyinitialcode = ((1) + (0)) * S ((1) + (0)) + ((0) + (0))) /\ ((cfc_right_complete_emptyinitialcode = ((0) + (1)) * S ((0) + (1)) + ((1) + (1))) /\ ((cfc_matrix_complete_emptyinitialcode = ((cfc_left_complete_emptyinitialcode) + (cfc_right_complete_emptyinitialcode)) * S ((cfc_left_complete_emptyinitialcode) + (cfc_right_complete_emptyinitialcode)) + ((cfc_right_complete_emptyinitialcode) + (cfc_right_complete_emptyinitialcode))) /\ ((cfc_state_complete_emptyinitial) = ((cfc_tail_complete_empty) + (cfc_matrix_complete_emptyinitialcode)) * S ((cfc_tail_complete_empty) + (cfc_matrix_complete_emptyinitialcode)) + ((cfc_matrix_complete_emptyinitialcode) + (cfc_matrix_complete_emptyinitialcode))))))) /\ (((exists ff_h_complete_emptyinitialentry. ff_h_complete_emptyinitialentry + S (cfc_state_complete_emptyinitial) = S ((S (0)) * E)) /\ exists ff_q_complete_emptyinitialentry. H = ff_q_complete_emptyinitialentry * S ((S (0)) * E) + (cfc_state_complete_emptyinitial))))) /\ ((exists cfc_state_complete_emptyterminal. ((exists cfc_left_complete_emptyterminalcode cfc_right_complete_emptyterminalcode cfc_matrix_complete_emptyterminalcode. ((cfc_left_complete_emptyterminalcode = ((1) + (0)) * S ((1) + (0)) + ((0) + (0))) /\ ((cfc_right_complete_emptyterminalcode = ((0) + (1)) * S ((0) + (1)) + ((1) + (1))) /\ ((cfc_matrix_complete_emptyterminalcode = ((cfc_left_complete_emptyterminalcode) + (cfc_right_complete_emptyterminalcode)) * S ((cfc_left_complete_emptyterminalcode) + (cfc_right_complete_emptyterminalcode)) + ((cfc_right_complete_emptyterminalcode) + (cfc_right_complete_emptyterminalcode))) /\ ((cfc_state_complete_emptyterminal) = ((s) + (cfc_matrix_complete_emptyterminalcode)) * S ((s) + (cfc_matrix_complete_emptyterminalcode)) + ((cfc_matrix_complete_emptyterminalcode) + (cfc_matrix_complete_emptyterminalcode))))))) /\ (((exists ff_h_complete_emptyterminalentry. ff_h_complete_emptyterminalentry + S (cfc_state_complete_emptyterminal) = S ((S (0)) * E)) /\ exists ff_q_complete_emptyterminalentry. H = ff_q_complete_emptyterminalentry * S ((S (0)) * E) + (cfc_state_complete_emptyterminal))))) /\ (forall cfc_index_complete_empty. (exists cfba_gap_complete_emptybound. cfba_gap_complete_emptybound + S (cfc_index_complete_empty) = (0)) -> exists cfc_old_complete_empty cfc_a_complete_empty cfc_b_complete_empty cfc_c_complete_empty cfc_d_complete_empty cfc_new_complete_empty cfc_quotient_complete_empty. ((exists cfc_state_complete_emptyprevious. ((exists cfc_left_complete_emptypreviouscode cfc_right_complete_emptypreviouscode cfc_matrix_complete_emptypreviouscode. ((cfc_left_complete_emptypreviouscode = ((cfc_a_complete_empty) + (cfc_b_complete_empty)) * S ((cfc_a_complete_empty) + (cfc_b_complete_empty)) + ((cfc_b_complete_empty) + (cfc_b_complete_empty))) /\ ((cfc_right_complete_emptypreviouscode = ((cfc_c_complete_empty) + (cfc_d_complete_empty)) * S ((cfc_c_complete_empty) + (cfc_d_complete_empty)) + ((cfc_d_complete_empty) + (cfc_d_complete_empty))) /\ ((cfc_matrix_complete_emptypreviouscode = ((cfc_left_complete_emptypreviouscode) + (cfc_right_complete_emptypreviouscode)) * S ((cfc_left_complete_emptypreviouscode) + (cfc_right_complete_emptypreviouscode)) + ((cfc_right_complete_emptypreviouscode) + (cfc_right_complete_emptypreviouscode))) /\ ((cfc_state_complete_emptyprevious) = ((cfc_old_complete_empty) + (cfc_matrix_complete_emptypreviouscode)) * S ((cfc_old_complete_empty) + (cfc_matrix_complete_emptypreviouscode)) + ((cfc_matrix_complete_emptypreviouscode) + (cfc_matrix_complete_emptypreviouscode))))))) /\ (((exists ff_h_complete_emptypreviousentry. ff_h_complete_emptypreviousentry + S (cfc_state_complete_emptyprevious) = S ((S (cfc_index_complete_empty)) * E)) /\ exists ff_q_complete_emptypreviousentry. H = ff_q_complete_emptypreviousentry * S ((S (cfc_index_complete_empty)) * E) + (cfc_state_complete_emptyprevious))))) /\ ((exists cfc_state_complete_emptyfollowing. ((exists cfc_left_complete_emptyfollowingcode cfc_right_complete_emptyfollowingcode cfc_matrix_complete_emptyfollowingcode. ((cfc_left_complete_emptyfollowingcode = (((cfc_quotient_complete_empty * cfc_a_complete_empty + cfc_c_complete_empty)) + ((cfc_quotient_complete_empty * cfc_b_complete_empty + cfc_d_complete_empty))) * S (((cfc_quotient_complete_empty * cfc_a_complete_empty + cfc_c_complete_empty)) + ((cfc_quotient_complete_empty * cfc_b_complete_empty + cfc_d_complete_empty))) + (((cfc_quotient_complete_empty * cfc_b_complete_empty + cfc_d_complete_empty)) + ((cfc_quotient_complete_empty * cfc_b_complete_empty + cfc_d_complete_empty)))) /\ ((cfc_right_complete_emptyfollowingcode = ((cfc_a_complete_empty) + (cfc_b_complete_empty)) * S ((cfc_a_complete_empty) + (cfc_b_complete_empty)) + ((cfc_b_complete_empty) + (cfc_b_complete_empty))) /\ ((cfc_matrix_complete_emptyfollowingcode = ((cfc_left_complete_emptyfollowingcode) + (cfc_right_complete_emptyfollowingcode)) * S ((cfc_left_complete_emptyfollowingcode) + (cfc_right_complete_emptyfollowingcode)) + ((cfc_right_complete_emptyfollowingcode) + (cfc_right_complete_emptyfollowingcode))) /\ ((cfc_state_complete_emptyfollowing) = ((cfc_new_complete_empty) + (cfc_matrix_complete_emptyfollowingcode)) * S ((cfc_new_complete_empty) + (cfc_matrix_complete_emptyfollowingcode)) + ((cfc_matrix_complete_emptyfollowingcode) + (cfc_matrix_complete_emptyfollowingcode))))))) /\ (((exists ff_h_complete_emptyfollowingentry. ff_h_complete_emptyfollowingentry + S (cfc_state_complete_emptyfollowing) = S ((S (S cfc_index_complete_empty)) * E)) /\ exists ff_q_complete_emptyfollowingentry. H = ff_q_complete_emptyfollowingentry * S ((S (S cfc_index_complete_empty)) * E) + (cfc_state_complete_emptyfollowing))))) /\ (cfc_new_complete_empty = S ((cfc_quotient_complete_empty + cfc_old_complete_empty) * S (cfc_quotient_complete_empty + cfc_old_complete_empty) + (cfc_old_complete_empty + cfc_old_complete_empty)))))))) - 0015
specialize cf_convergent_matrix_empty_exists (s) - 0016
apply cf_convergent_matrix_empty_exists - 0017
cases hz - 0018
cases hz_witness - 0019
exists x - 0020
exists x1 - 0021
exists 1 - 0022
exists 0 - 0023
exists 0 - 0024
exists 1 - 0025
specialize cf_convergent_matrix_length_transport (s) - 0026
specialize cf_convergent_matrix_length_transport (x) - 0027
specialize cf_convergent_matrix_length_transport (x1) - 0028
specialize cf_convergent_matrix_length_transport (0) - 0029
specialize cf_convergent_matrix_length_transport (k) - 0030
specialize cf_convergent_matrix_length_transport (1) - 0031
specialize cf_convergent_matrix_length_transport (0) - 0032
specialize cf_convergent_matrix_length_transport (0) - 0033
specialize cf_convergent_matrix_length_transport (1) - 0034
apply cf_convergent_matrix_length_transport - 0035
symm - 0036
exact hkzero - 0037
exact hz_witness_witness - 0038
intro k - 0039
intro a - 0040
intro b - 0041
intro s - 0042
intro h - 0043
intro e - 0044
intro ht - 0045
intro hk - 0046
have hkcase : k = 0 \/ exists i. k = S i - 0047
specialize zero_or_succ (k) - 0048
apply zero_or_succ - 0049
cases hkcase - 0050
have hz : exists H E. exists cfc_tail_complete_empty. ((exists cfc_state_complete_emptyinitial. ((exists cfc_left_complete_emptyinitialcode cfc_right_complete_emptyinitialcode cfc_matrix_complete_emptyinitialcode. ((cfc_left_complete_emptyinitialcode = ((1) + (0)) * S ((1) + (0)) + ((0) + (0))) /\ ((cfc_right_complete_emptyinitialcode = ((0) + (1)) * S ((0) + (1)) + ((1) + (1))) /\ ((cfc_matrix_complete_emptyinitialcode = ((cfc_left_complete_emptyinitialcode) + (cfc_right_complete_emptyinitialcode)) * S ((cfc_left_complete_emptyinitialcode) + (cfc_right_complete_emptyinitialcode)) + ((cfc_right_complete_emptyinitialcode) + (cfc_right_complete_emptyinitialcode))) /\ ((cfc_state_complete_emptyinitial) = ((cfc_tail_complete_empty) + (cfc_matrix_complete_emptyinitialcode)) * S ((cfc_tail_complete_empty) + (cfc_matrix_complete_emptyinitialcode)) + ((cfc_matrix_complete_emptyinitialcode) + (cfc_matrix_complete_emptyinitialcode))))))) /\ (((exists ff_h_complete_emptyinitialentry. ff_h_complete_emptyinitialentry + S (cfc_state_complete_emptyinitial) = S ((S (0)) * E)) /\ exists ff_q_complete_emptyinitialentry. H = ff_q_complete_emptyinitialentry * S ((S (0)) * E) + (cfc_state_complete_emptyinitial))))) /\ ((exists cfc_state_complete_emptyterminal. ((exists cfc_left_complete_emptyterminalcode cfc_right_complete_emptyterminalcode cfc_matrix_complete_emptyterminalcode. ((cfc_left_complete_emptyterminalcode = ((1) + (0)) * S ((1) + (0)) + ((0) + (0))) /\ ((cfc_right_complete_emptyterminalcode = ((0) + (1)) * S ((0) + (1)) + ((1) + (1))) /\ ((cfc_matrix_complete_emptyterminalcode = ((cfc_left_complete_emptyterminalcode) + (cfc_right_complete_emptyterminalcode)) * S ((cfc_left_complete_emptyterminalcode) + (cfc_right_complete_emptyterminalcode)) + ((cfc_right_complete_emptyterminalcode) + (cfc_right_complete_emptyterminalcode))) /\ ((cfc_state_complete_emptyterminal) = ((s) + (cfc_matrix_complete_emptyterminalcode)) * S ((s) + (cfc_matrix_complete_emptyterminalcode)) + ((cfc_matrix_complete_emptyterminalcode) + (cfc_matrix_complete_emptyterminalcode))))))) /\ (((exists ff_h_complete_emptyterminalentry. ff_h_complete_emptyterminalentry + S (cfc_state_complete_emptyterminal) = S ((S (0)) * E)) /\ exists ff_q_complete_emptyterminalentry. H = ff_q_complete_emptyterminalentry * S ((S (0)) * E) + (cfc_state_complete_emptyterminal))))) /\ (forall cfc_index_complete_empty. (exists cfba_gap_complete_emptybound. cfba_gap_complete_emptybound + S (cfc_index_complete_empty) = (0)) -> exists cfc_old_complete_empty cfc_a_complete_empty cfc_b_complete_empty cfc_c_complete_empty cfc_d_complete_empty cfc_new_complete_empty cfc_quotient_complete_empty. ((exists cfc_state_complete_emptyprevious. ((exists cfc_left_complete_emptypreviouscode cfc_right_complete_emptypreviouscode cfc_matrix_complete_emptypreviouscode. ((cfc_left_complete_emptypreviouscode = ((cfc_a_complete_empty) + (cfc_b_complete_empty)) * S ((cfc_a_complete_empty) + (cfc_b_complete_empty)) + ((cfc_b_complete_empty) + (cfc_b_complete_empty))) /\ ((cfc_right_complete_emptypreviouscode = ((cfc_c_complete_empty) + (cfc_d_complete_empty)) * S ((cfc_c_complete_empty) + (cfc_d_complete_empty)) + ((cfc_d_complete_empty) + (cfc_d_complete_empty))) /\ ((cfc_matrix_complete_emptypreviouscode = ((cfc_left_complete_emptypreviouscode) + (cfc_right_complete_emptypreviouscode)) * S ((cfc_left_complete_emptypreviouscode) + (cfc_right_complete_emptypreviouscode)) + ((cfc_right_complete_emptypreviouscode) + (cfc_right_complete_emptypreviouscode))) /\ ((cfc_state_complete_emptyprevious) = ((cfc_old_complete_empty) + (cfc_matrix_complete_emptypreviouscode)) * S ((cfc_old_complete_empty) + (cfc_matrix_complete_emptypreviouscode)) + ((cfc_matrix_complete_emptypreviouscode) + (cfc_matrix_complete_emptypreviouscode))))))) /\ (((exists ff_h_complete_emptypreviousentry. ff_h_complete_emptypreviousentry + S (cfc_state_complete_emptyprevious) = S ((S (cfc_index_complete_empty)) * E)) /\ exists ff_q_complete_emptypreviousentry. H = ff_q_complete_emptypreviousentry * S ((S (cfc_index_complete_empty)) * E) + (cfc_state_complete_emptyprevious))))) /\ ((exists cfc_state_complete_emptyfollowing. ((exists cfc_left_complete_emptyfollowingcode cfc_right_complete_emptyfollowingcode cfc_matrix_complete_emptyfollowingcode. ((cfc_left_complete_emptyfollowingcode = (((cfc_quotient_complete_empty * cfc_a_complete_empty + cfc_c_complete_empty)) + ((cfc_quotient_complete_empty * cfc_b_complete_empty + cfc_d_complete_empty))) * S (((cfc_quotient_complete_empty * cfc_a_complete_empty + cfc_c_complete_empty)) + ((cfc_quotient_complete_empty * cfc_b_complete_empty + cfc_d_complete_empty))) + (((cfc_quotient_complete_empty * cfc_b_complete_empty + cfc_d_complete_empty)) + ((cfc_quotient_complete_empty * cfc_b_complete_empty + cfc_d_complete_empty)))) /\ ((cfc_right_complete_emptyfollowingcode = ((cfc_a_complete_empty) + (cfc_b_complete_empty)) * S ((cfc_a_complete_empty) + (cfc_b_complete_empty)) + ((cfc_b_complete_empty) + (cfc_b_complete_empty))) /\ ((cfc_matrix_complete_emptyfollowingcode = ((cfc_left_complete_emptyfollowingcode) + (cfc_right_complete_emptyfollowingcode)) * S ((cfc_left_complete_emptyfollowingcode) + (cfc_right_complete_emptyfollowingcode)) + ((cfc_right_complete_emptyfollowingcode) + (cfc_right_complete_emptyfollowingcode))) /\ ((cfc_state_complete_emptyfollowing) = ((cfc_new_complete_empty) + (cfc_matrix_complete_emptyfollowingcode)) * S ((cfc_new_complete_empty) + (cfc_matrix_complete_emptyfollowingcode)) + ((cfc_matrix_complete_emptyfollowingcode) + (cfc_matrix_complete_emptyfollowingcode))))))) /\ (((exists ff_h_complete_emptyfollowingentry. ff_h_complete_emptyfollowingentry + S (cfc_state_complete_emptyfollowing) = S ((S (S cfc_index_complete_empty)) * E)) /\ exists ff_q_complete_emptyfollowingentry. H = ff_q_complete_emptyfollowingentry * S ((S (S cfc_index_complete_empty)) * E) + (cfc_state_complete_emptyfollowing))))) /\ (cfc_new_complete_empty = S ((cfc_quotient_complete_empty + cfc_old_complete_empty) * S (cfc_quotient_complete_empty + cfc_old_complete_empty) + (cfc_old_complete_empty + cfc_old_complete_empty)))))))) - 0051
specialize cf_convergent_matrix_empty_exists (s) - 0052
apply cf_convergent_matrix_empty_exists - 0053
cases hz - 0054
cases hz_witness - 0055
exists x - 0056
exists x1 - 0057
exists 1 - 0058
exists 0 - 0059
exists 0 - 0060
exists 1 - 0061
specialize cf_convergent_matrix_length_transport (s) - 0062
specialize cf_convergent_matrix_length_transport (x) - 0063
specialize cf_convergent_matrix_length_transport (x1) - 0064
specialize cf_convergent_matrix_length_transport (0) - 0065
specialize cf_convergent_matrix_length_transport (k) - 0066
specialize cf_convergent_matrix_length_transport (1) - 0067
specialize cf_convergent_matrix_length_transport (0) - 0068
specialize cf_convergent_matrix_length_transport (0) - 0069
specialize cf_convergent_matrix_length_transport (1) - 0070
apply cf_convergent_matrix_length_transport - 0071
symm - 0072
exact hkcase_left - 0073
exact hz_witness_witness - 0074
cases hkcase_right - 0075
have hp : exists q r t. ((a = b * q + r) /\ ((exists cfba_gap_complete_remainder. cfba_gap_complete_remainder + S (r) = (b)) /\ ((s = S ((q + t) * S (q + t) + (t + t))) /\ (exists cf_gcd_complete_predecessor. ((((exists ff_h_cf_complete_predecessor_initial_state. ff_h_cf_complete_predecessor_initial_state + S (((cf_gcd_complete_predecessor) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) * S ((cf_gcd_complete_predecessor) + (((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_complete_predecessor_initial_state. h = ff_q_cf_complete_predecessor_initial_state * S ((S (0)) * e) + (((cf_gcd_complete_predecessor) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) * S ((cf_gcd_complete_predecessor) + (((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_complete_predecessor_terminal_state. ff_h_cf_complete_predecessor_terminal_state + S (((b) + (((r) + (t)) * S ((r) + (t)) + ((t) + (t)))) * S ((b) + (((r) + (t)) * S ((r) + (t)) + ((t) + (t)))) + ((((r) + (t)) * S ((r) + (t)) + ((t) + (t))) + (((r) + (t)) * S ((r) + (t)) + ((t) + (t))))) = S ((S (L)) * e)) /\ exists ff_q_cf_complete_predecessor_terminal_state. h = ff_q_cf_complete_predecessor_terminal_state * S ((S (L)) * e) + (((b) + (((r) + (t)) * S ((r) + (t)) + ((t) + (t)))) * S ((b) + (((r) + (t)) * S ((r) + (t)) + ((t) + (t)))) + ((((r) + (t)) * S ((r) + (t)) + ((t) + (t))) + (((r) + (t)) * S ((r) + (t)) + ((t) + (t))))))) /\ forall cf_index_complete_predecessor. (exists ff_lt_cf_complete_predecessor_index. ff_lt_cf_complete_predecessor_index + S cf_index_complete_predecessor = L) -> exists cf_old_a_complete_predecessor cf_old_b_complete_predecessor cf_tail_complete_predecessor cf_new_a_complete_predecessor cf_new_b_complete_predecessor cf_head_complete_predecessor cf_quotient_complete_predecessor. ((((exists ff_h_cf_complete_predecessor_previous_state. ff_h_cf_complete_predecessor_previous_state + S (((cf_old_a_complete_predecessor) + (((cf_old_b_complete_predecessor) + (cf_tail_complete_predecessor)) * S ((cf_old_b_complete_predecessor) + (cf_tail_complete_predecessor)) + ((cf_tail_complete_predecessor) + (cf_tail_complete_predecessor)))) * S ((cf_old_a_complete_predecessor) + (((cf_old_b_complete_predecessor) + (cf_tail_complete_predecessor)) * S ((cf_old_b_complete_predecessor) + (cf_tail_complete_predecessor)) + ((cf_tail_complete_predecessor) + (cf_tail_complete_predecessor)))) + ((((cf_old_b_complete_predecessor) + (cf_tail_complete_predecessor)) * S ((cf_old_b_complete_predecessor) + (cf_tail_complete_predecessor)) + ((cf_tail_complete_predecessor) + (cf_tail_complete_predecessor))) + (((cf_old_b_complete_predecessor) + (cf_tail_complete_predecessor)) * S ((cf_old_b_complete_predecessor) + (cf_tail_complete_predecessor)) + ((cf_tail_complete_predecessor) + (cf_tail_complete_predecessor))))) = S ((S (cf_index_complete_predecessor)) * e)) /\ exists ff_q_cf_complete_predecessor_previous_state. h = ff_q_cf_complete_predecessor_previous_state * S ((S (cf_index_complete_predecessor)) * e) + (((cf_old_a_complete_predecessor) + (((cf_old_b_complete_predecessor) + (cf_tail_complete_predecessor)) * S ((cf_old_b_complete_predecessor) + (cf_tail_complete_predecessor)) + ((cf_tail_complete_predecessor) + (cf_tail_complete_predecessor)))) * S ((cf_old_a_complete_predecessor) + (((cf_old_b_complete_predecessor) + (cf_tail_complete_predecessor)) * S ((cf_old_b_complete_predecessor) + (cf_tail_complete_predecessor)) + ((cf_tail_complete_predecessor) + (cf_tail_complete_predecessor)))) + ((((cf_old_b_complete_predecessor) + (cf_tail_complete_predecessor)) * S ((cf_old_b_complete_predecessor) + (cf_tail_complete_predecessor)) + ((cf_tail_complete_predecessor) + (cf_tail_complete_predecessor))) + (((cf_old_b_complete_predecessor) + (cf_tail_complete_predecessor)) * S ((cf_old_b_complete_predecessor) + (cf_tail_complete_predecessor)) + ((cf_tail_complete_predecessor) + (cf_tail_complete_predecessor))))))) /\ ((((exists ff_h_cf_complete_predecessor_following_state. ff_h_cf_complete_predecessor_following_state + S (((cf_new_a_complete_predecessor) + (((cf_new_b_complete_predecessor) + (cf_head_complete_predecessor)) * S ((cf_new_b_complete_predecessor) + (cf_head_complete_predecessor)) + ((cf_head_complete_predecessor) + (cf_head_complete_predecessor)))) * S ((cf_new_a_complete_predecessor) + (((cf_new_b_complete_predecessor) + (cf_head_complete_predecessor)) * S ((cf_new_b_complete_predecessor) + (cf_head_complete_predecessor)) + ((cf_head_complete_predecessor) + (cf_head_complete_predecessor)))) + ((((cf_new_b_complete_predecessor) + (cf_head_complete_predecessor)) * S ((cf_new_b_complete_predecessor) + (cf_head_complete_predecessor)) + ((cf_head_complete_predecessor) + (cf_head_complete_predecessor))) + (((cf_new_b_complete_predecessor) + (cf_head_complete_predecessor)) * S ((cf_new_b_complete_predecessor) + (cf_head_complete_predecessor)) + ((cf_head_complete_predecessor) + (cf_head_complete_predecessor))))) = S ((S (S cf_index_complete_predecessor)) * e)) /\ exists ff_q_cf_complete_predecessor_following_state. h = ff_q_cf_complete_predecessor_following_state * S ((S (S cf_index_complete_predecessor)) * e) + (((cf_new_a_complete_predecessor) + (((cf_new_b_complete_predecessor) + (cf_head_complete_predecessor)) * S ((cf_new_b_complete_predecessor) + (cf_head_complete_predecessor)) + ((cf_head_complete_predecessor) + (cf_head_complete_predecessor)))) * S ((cf_new_a_complete_predecessor) + (((cf_new_b_complete_predecessor) + (cf_head_complete_predecessor)) * S ((cf_new_b_complete_predecessor) + (cf_head_complete_predecessor)) + ((cf_head_complete_predecessor) + (cf_head_complete_predecessor)))) + ((((cf_new_b_complete_predecessor) + (cf_head_complete_predecessor)) * S ((cf_new_b_complete_predecessor) + (cf_head_complete_predecessor)) + ((cf_head_complete_predecessor) + (cf_head_complete_predecessor))) + (((cf_new_b_complete_predecessor) + (cf_head_complete_predecessor)) * S ((cf_new_b_complete_predecessor) + (cf_head_complete_predecessor)) + ((cf_head_complete_predecessor) + (cf_head_complete_predecessor))))))) /\ (cf_new_b_complete_predecessor = cf_old_a_complete_predecessor /\ (cf_new_a_complete_predecessor = cf_new_b_complete_predecessor * cf_quotient_complete_predecessor + cf_old_b_complete_predecessor /\ ((exists ff_lt_cf_complete_predecessor_remainder. ff_lt_cf_complete_predecessor_remainder + S cf_old_b_complete_predecessor = cf_new_b_complete_predecessor) /\ (cf_head_complete_predecessor = S ((cf_quotient_complete_predecessor + cf_tail_complete_predecessor) * S (cf_quotient_complete_predecessor + cf_tail_complete_predecessor) + (cf_tail_complete_predecessor + cf_tail_complete_predecessor)))))))))))))) - 0076
specialize cf_convergent_old_history_successor_elimination (a) - 0077
specialize cf_convergent_old_history_successor_elimination (b) - 0078
specialize cf_convergent_old_history_successor_elimination (s) - 0079
specialize cf_convergent_old_history_successor_elimination (h) - 0080
specialize cf_convergent_old_history_successor_elimination (e) - 0081
specialize cf_convergent_old_history_successor_elimination (L) - 0082
apply cf_convergent_old_history_successor_elimination - 0083
exact ht - 0084
cases hp - 0085
cases hp_witness - 0086
cases hp_witness_witness - 0087
cases hp_witness_witness_witness - 0088
cases hp_witness_witness_witness_right - 0089
cases hp_witness_witness_witness_right_right - 0090
have hc : exists cfc_h_complete_child cfc_e_complete_child cfc_u_complete_child cfc_U_complete_child cfc_v_complete_child cfc_V_complete_child. exists cfc_tail_complete_childbody. ((exists cfc_state_complete_childbodyinitial. ((exists cfc_left_complete_childbodyinitialcode cfc_right_complete_childbodyinitialcode cfc_matrix_complete_childbodyinitialcode. ((cfc_left_complete_childbodyinitialcode = ((1) + (0)) * S ((1) + (0)) + ((0) + (0))) /\ ((cfc_right_complete_childbodyinitialcode = ((0) + (1)) * S ((0) + (1)) + ((1) + (1))) /\ ((cfc_matrix_complete_childbodyinitialcode = ((cfc_left_complete_childbodyinitialcode) + (cfc_right_complete_childbodyinitialcode)) * S ((cfc_left_complete_childbodyinitialcode) + (cfc_right_complete_childbodyinitialcode)) + ((cfc_right_complete_childbodyinitialcode) + (cfc_right_complete_childbodyinitialcode))) /\ ((cfc_state_complete_childbodyinitial) = ((cfc_tail_complete_childbody) + (cfc_matrix_complete_childbodyinitialcode)) * S ((cfc_tail_complete_childbody) + (cfc_matrix_complete_childbodyinitialcode)) + ((cfc_matrix_complete_childbodyinitialcode) + (cfc_matrix_complete_childbodyinitialcode))))))) /\ (((exists ff_h_complete_childbodyinitialentry. ff_h_complete_childbodyinitialentry + S (cfc_state_complete_childbodyinitial) = S ((S (0)) * cfc_e_complete_child)) /\ exists ff_q_complete_childbodyinitialentry. cfc_h_complete_child = ff_q_complete_childbodyinitialentry * S ((S (0)) * cfc_e_complete_child) + (cfc_state_complete_childbodyinitial))))) /\ ((exists cfc_state_complete_childbodyterminal. ((exists cfc_left_complete_childbodyterminalcode cfc_right_complete_childbodyterminalcode cfc_matrix_complete_childbodyterminalcode. ((cfc_left_complete_childbodyterminalcode = ((cfc_u_complete_child) + (cfc_U_complete_child)) * S ((cfc_u_complete_child) + (cfc_U_complete_child)) + ((cfc_U_complete_child) + (cfc_U_complete_child))) /\ ((cfc_right_complete_childbodyterminalcode = ((cfc_v_complete_child) + (cfc_V_complete_child)) * S ((cfc_v_complete_child) + (cfc_V_complete_child)) + ((cfc_V_complete_child) + (cfc_V_complete_child))) /\ ((cfc_matrix_complete_childbodyterminalcode = ((cfc_left_complete_childbodyterminalcode) + (cfc_right_complete_childbodyterminalcode)) * S ((cfc_left_complete_childbodyterminalcode) + (cfc_right_complete_childbodyterminalcode)) + ((cfc_right_complete_childbodyterminalcode) + (cfc_right_complete_childbodyterminalcode))) /\ ((cfc_state_complete_childbodyterminal) = ((x3) + (cfc_matrix_complete_childbodyterminalcode)) * S ((x3) + (cfc_matrix_complete_childbodyterminalcode)) + ((cfc_matrix_complete_childbodyterminalcode) + (cfc_matrix_complete_childbodyterminalcode))))))) /\ (((exists ff_h_complete_childbodyterminalentry. ff_h_complete_childbodyterminalentry + S (cfc_state_complete_childbodyterminal) = S ((S (x)) * cfc_e_complete_child)) /\ exists ff_q_complete_childbodyterminalentry. cfc_h_complete_child = ff_q_complete_childbodyterminalentry * S ((S (x)) * cfc_e_complete_child) + (cfc_state_complete_childbodyterminal))))) /\ (forall cfc_index_complete_childbody. (exists cfba_gap_complete_childbodybound. cfba_gap_complete_childbodybound + S (cfc_index_complete_childbody) = (x)) -> exists cfc_old_complete_childbody cfc_a_complete_childbody cfc_b_complete_childbody cfc_c_complete_childbody cfc_d_complete_childbody cfc_new_complete_childbody cfc_quotient_complete_childbody. ((exists cfc_state_complete_childbodyprevious. ((exists cfc_left_complete_childbodypreviouscode cfc_right_complete_childbodypreviouscode cfc_matrix_complete_childbodypreviouscode. ((cfc_left_complete_childbodypreviouscode = ((cfc_a_complete_childbody) + (cfc_b_complete_childbody)) * S ((cfc_a_complete_childbody) + (cfc_b_complete_childbody)) + ((cfc_b_complete_childbody) + (cfc_b_complete_childbody))) /\ ((cfc_right_complete_childbodypreviouscode = ((cfc_c_complete_childbody) + (cfc_d_complete_childbody)) * S ((cfc_c_complete_childbody) + (cfc_d_complete_childbody)) + ((cfc_d_complete_childbody) + (cfc_d_complete_childbody))) /\ ((cfc_matrix_complete_childbodypreviouscode = ((cfc_left_complete_childbodypreviouscode) + (cfc_right_complete_childbodypreviouscode)) * S ((cfc_left_complete_childbodypreviouscode) + (cfc_right_complete_childbodypreviouscode)) + ((cfc_right_complete_childbodypreviouscode) + (cfc_right_complete_childbodypreviouscode))) /\ ((cfc_state_complete_childbodyprevious) = ((cfc_old_complete_childbody) + (cfc_matrix_complete_childbodypreviouscode)) * S ((cfc_old_complete_childbody) + (cfc_matrix_complete_childbodypreviouscode)) + ((cfc_matrix_complete_childbodypreviouscode) + (cfc_matrix_complete_childbodypreviouscode))))))) /\ (((exists ff_h_complete_childbodypreviousentry. ff_h_complete_childbodypreviousentry + S (cfc_state_complete_childbodyprevious) = S ((S (cfc_index_complete_childbody)) * cfc_e_complete_child)) /\ exists ff_q_complete_childbodypreviousentry. cfc_h_complete_child = ff_q_complete_childbodypreviousentry * S ((S (cfc_index_complete_childbody)) * cfc_e_complete_child) + (cfc_state_complete_childbodyprevious))))) /\ ((exists cfc_state_complete_childbodyfollowing. ((exists cfc_left_complete_childbodyfollowingcode cfc_right_complete_childbodyfollowingcode cfc_matrix_complete_childbodyfollowingcode. ((cfc_left_complete_childbodyfollowingcode = (((cfc_quotient_complete_childbody * cfc_a_complete_childbody + cfc_c_complete_childbody)) + ((cfc_quotient_complete_childbody * cfc_b_complete_childbody + cfc_d_complete_childbody))) * S (((cfc_quotient_complete_childbody * cfc_a_complete_childbody + cfc_c_complete_childbody)) + ((cfc_quotient_complete_childbody * cfc_b_complete_childbody + cfc_d_complete_childbody))) + (((cfc_quotient_complete_childbody * cfc_b_complete_childbody + cfc_d_complete_childbody)) + ((cfc_quotient_complete_childbody * cfc_b_complete_childbody + cfc_d_complete_childbody)))) /\ ((cfc_right_complete_childbodyfollowingcode = ((cfc_a_complete_childbody) + (cfc_b_complete_childbody)) * S ((cfc_a_complete_childbody) + (cfc_b_complete_childbody)) + ((cfc_b_complete_childbody) + (cfc_b_complete_childbody))) /\ ((cfc_matrix_complete_childbodyfollowingcode = ((cfc_left_complete_childbodyfollowingcode) + (cfc_right_complete_childbodyfollowingcode)) * S ((cfc_left_complete_childbodyfollowingcode) + (cfc_right_complete_childbodyfollowingcode)) + ((cfc_right_complete_childbodyfollowingcode) + (cfc_right_complete_childbodyfollowingcode))) /\ ((cfc_state_complete_childbodyfollowing) = ((cfc_new_complete_childbody) + (cfc_matrix_complete_childbodyfollowingcode)) * S ((cfc_new_complete_childbody) + (cfc_matrix_complete_childbodyfollowingcode)) + ((cfc_matrix_complete_childbodyfollowingcode) + (cfc_matrix_complete_childbodyfollowingcode))))))) /\ (((exists ff_h_complete_childbodyfollowingentry. ff_h_complete_childbodyfollowingentry + S (cfc_state_complete_childbodyfollowing) = S ((S (S cfc_index_complete_childbody)) * cfc_e_complete_child)) /\ exists ff_q_complete_childbodyfollowingentry. cfc_h_complete_child = ff_q_complete_childbodyfollowingentry * S ((S (S cfc_index_complete_childbody)) * cfc_e_complete_child) + (cfc_state_complete_childbodyfollowing))))) /\ (cfc_new_complete_childbody = S ((cfc_quotient_complete_childbody + cfc_old_complete_childbody) * S (cfc_quotient_complete_childbody + cfc_old_complete_childbody) + (cfc_old_complete_childbody + cfc_old_complete_childbody)))))))) - 0091
specialize IH (x) - 0092
specialize IH (b) - 0093
specialize IH (x2) - 0094
specialize IH (x3) - 0095
specialize IH (h) - 0096
specialize IH (e) - 0097
apply IH - 0098
exact hp_witness_witness_witness_right_right_right - 0099
specialize le_of_succ_le_succ (x) - 0100
specialize le_of_succ_le_succ (L) - 0101
apply le_of_succ_le_succ - 0102
rewrite <- hkcase_right_witness - 0103
exact hk - 0104
cases hc - 0105
cases hc_witness - 0106
cases hc_witness_witness - 0107
cases hc_witness_witness_witness - 0108
cases hc_witness_witness_witness_witness - 0109
cases hc_witness_witness_witness_witness_witness - 0110
have hext : exists H E. exists cfc_tail_complete_extension. ((exists cfc_state_complete_extensioninitial. ((exists cfc_left_complete_extensioninitialcode cfc_right_complete_extensioninitialcode cfc_matrix_complete_extensioninitialcode. ((cfc_left_complete_extensioninitialcode = ((1) + (0)) * S ((1) + (0)) + ((0) + (0))) /\ ((cfc_right_complete_extensioninitialcode = ((0) + (1)) * S ((0) + (1)) + ((1) + (1))) /\ ((cfc_matrix_complete_extensioninitialcode = ((cfc_left_complete_extensioninitialcode) + (cfc_right_complete_extensioninitialcode)) * S ((cfc_left_complete_extensioninitialcode) + (cfc_right_complete_extensioninitialcode)) + ((cfc_right_complete_extensioninitialcode) + (cfc_right_complete_extensioninitialcode))) /\ ((cfc_state_complete_extensioninitial) = ((cfc_tail_complete_extension) + (cfc_matrix_complete_extensioninitialcode)) * S ((cfc_tail_complete_extension) + (cfc_matrix_complete_extensioninitialcode)) + ((cfc_matrix_complete_extensioninitialcode) + (cfc_matrix_complete_extensioninitialcode))))))) /\ (((exists ff_h_complete_extensioninitialentry. ff_h_complete_extensioninitialentry + S (cfc_state_complete_extensioninitial) = S ((S (0)) * E)) /\ exists ff_q_complete_extensioninitialentry. H = ff_q_complete_extensioninitialentry * S ((S (0)) * E) + (cfc_state_complete_extensioninitial))))) /\ ((exists cfc_state_complete_extensionterminal. ((exists cfc_left_complete_extensionterminalcode cfc_right_complete_extensionterminalcode cfc_matrix_complete_extensionterminalcode. ((cfc_left_complete_extensionterminalcode = (((x1 * x6 + x8)) + ((x1 * x7 + x9))) * S (((x1 * x6 + x8)) + ((x1 * x7 + x9))) + (((x1 * x7 + x9)) + ((x1 * x7 + x9)))) /\ ((cfc_right_complete_extensionterminalcode = ((x6) + (x7)) * S ((x6) + (x7)) + ((x7) + (x7))) /\ ((cfc_matrix_complete_extensionterminalcode = ((cfc_left_complete_extensionterminalcode) + (cfc_right_complete_extensionterminalcode)) * S ((cfc_left_complete_extensionterminalcode) + (cfc_right_complete_extensionterminalcode)) + ((cfc_right_complete_extensionterminalcode) + (cfc_right_complete_extensionterminalcode))) /\ ((cfc_state_complete_extensionterminal) = ((s) + (cfc_matrix_complete_extensionterminalcode)) * S ((s) + (cfc_matrix_complete_extensionterminalcode)) + ((cfc_matrix_complete_extensionterminalcode) + (cfc_matrix_complete_extensionterminalcode))))))) /\ (((exists ff_h_complete_extensionterminalentry. ff_h_complete_extensionterminalentry + S (cfc_state_complete_extensionterminal) = S ((S (S x)) * E)) /\ exists ff_q_complete_extensionterminalentry. H = ff_q_complete_extensionterminalentry * S ((S (S x)) * E) + (cfc_state_complete_extensionterminal))))) /\ (forall cfc_index_complete_extension. (exists cfba_gap_complete_extensionbound. cfba_gap_complete_extensionbound + S (cfc_index_complete_extension) = (S x)) -> exists cfc_old_complete_extension cfc_a_complete_extension cfc_b_complete_extension cfc_c_complete_extension cfc_d_complete_extension cfc_new_complete_extension cfc_quotient_complete_extension. ((exists cfc_state_complete_extensionprevious. ((exists cfc_left_complete_extensionpreviouscode cfc_right_complete_extensionpreviouscode cfc_matrix_complete_extensionpreviouscode. ((cfc_left_complete_extensionpreviouscode = ((cfc_a_complete_extension) + (cfc_b_complete_extension)) * S ((cfc_a_complete_extension) + (cfc_b_complete_extension)) + ((cfc_b_complete_extension) + (cfc_b_complete_extension))) /\ ((cfc_right_complete_extensionpreviouscode = ((cfc_c_complete_extension) + (cfc_d_complete_extension)) * S ((cfc_c_complete_extension) + (cfc_d_complete_extension)) + ((cfc_d_complete_extension) + (cfc_d_complete_extension))) /\ ((cfc_matrix_complete_extensionpreviouscode = ((cfc_left_complete_extensionpreviouscode) + (cfc_right_complete_extensionpreviouscode)) * S ((cfc_left_complete_extensionpreviouscode) + (cfc_right_complete_extensionpreviouscode)) + ((cfc_right_complete_extensionpreviouscode) + (cfc_right_complete_extensionpreviouscode))) /\ ((cfc_state_complete_extensionprevious) = ((cfc_old_complete_extension) + (cfc_matrix_complete_extensionpreviouscode)) * S ((cfc_old_complete_extension) + (cfc_matrix_complete_extensionpreviouscode)) + ((cfc_matrix_complete_extensionpreviouscode) + (cfc_matrix_complete_extensionpreviouscode))))))) /\ (((exists ff_h_complete_extensionpreviousentry. ff_h_complete_extensionpreviousentry + S (cfc_state_complete_extensionprevious) = S ((S (cfc_index_complete_extension)) * E)) /\ exists ff_q_complete_extensionpreviousentry. H = ff_q_complete_extensionpreviousentry * S ((S (cfc_index_complete_extension)) * E) + (cfc_state_complete_extensionprevious))))) /\ ((exists cfc_state_complete_extensionfollowing. ((exists cfc_left_complete_extensionfollowingcode cfc_right_complete_extensionfollowingcode cfc_matrix_complete_extensionfollowingcode. ((cfc_left_complete_extensionfollowingcode = (((cfc_quotient_complete_extension * cfc_a_complete_extension + cfc_c_complete_extension)) + ((cfc_quotient_complete_extension * cfc_b_complete_extension + cfc_d_complete_extension))) * S (((cfc_quotient_complete_extension * cfc_a_complete_extension + cfc_c_complete_extension)) + ((cfc_quotient_complete_extension * cfc_b_complete_extension + cfc_d_complete_extension))) + (((cfc_quotient_complete_extension * cfc_b_complete_extension + cfc_d_complete_extension)) + ((cfc_quotient_complete_extension * cfc_b_complete_extension + cfc_d_complete_extension)))) /\ ((cfc_right_complete_extensionfollowingcode = ((cfc_a_complete_extension) + (cfc_b_complete_extension)) * S ((cfc_a_complete_extension) + (cfc_b_complete_extension)) + ((cfc_b_complete_extension) + (cfc_b_complete_extension))) /\ ((cfc_matrix_complete_extensionfollowingcode = ((cfc_left_complete_extensionfollowingcode) + (cfc_right_complete_extensionfollowingcode)) * S ((cfc_left_complete_extensionfollowingcode) + (cfc_right_complete_extensionfollowingcode)) + ((cfc_right_complete_extensionfollowingcode) + (cfc_right_complete_extensionfollowingcode))) /\ ((cfc_state_complete_extensionfollowing) = ((cfc_new_complete_extension) + (cfc_matrix_complete_extensionfollowingcode)) * S ((cfc_new_complete_extension) + (cfc_matrix_complete_extensionfollowingcode)) + ((cfc_matrix_complete_extensionfollowingcode) + (cfc_matrix_complete_extensionfollowingcode))))))) /\ (((exists ff_h_complete_extensionfollowingentry. ff_h_complete_extensionfollowingentry + S (cfc_state_complete_extensionfollowing) = S ((S (S cfc_index_complete_extension)) * E)) /\ exists ff_q_complete_extensionfollowingentry. H = ff_q_complete_extensionfollowingentry * S ((S (S cfc_index_complete_extension)) * E) + (cfc_state_complete_extensionfollowing))))) /\ (cfc_new_complete_extension = S ((cfc_quotient_complete_extension + cfc_old_complete_extension) * S (cfc_quotient_complete_extension + cfc_old_complete_extension) + (cfc_old_complete_extension + cfc_old_complete_extension)))))))) - 0111
specialize cf_convergent_matrix_prepend_exists (x3) - 0112
specialize cf_convergent_matrix_prepend_exists (x4) - 0113
specialize cf_convergent_matrix_prepend_exists (x5) - 0114
specialize cf_convergent_matrix_prepend_exists (x) - 0115
specialize cf_convergent_matrix_prepend_exists (x6) - 0116
specialize cf_convergent_matrix_prepend_exists (x7) - 0117
specialize cf_convergent_matrix_prepend_exists (x8) - 0118
specialize cf_convergent_matrix_prepend_exists (x9) - 0119
specialize cf_convergent_matrix_prepend_exists (x1) - 0120
specialize cf_convergent_matrix_prepend_exists (s) - 0121
apply cf_convergent_matrix_prepend_exists - 0122
exact hc_witness_witness_witness_witness_witness_witness - 0123
exact hp_witness_witness_witness_right_right_left - 0124
cases hext - 0125
cases hext_witness - 0126
exists x10 - 0127
exists x11 - 0128
exists x1 * x6 + x8 - 0129
exists x1 * x7 + x9 - 0130
exists x6 - 0131
exists x7 - 0132
specialize cf_convergent_matrix_length_transport (s) - 0133
specialize cf_convergent_matrix_length_transport (x10) - 0134
specialize cf_convergent_matrix_length_transport (x11) - 0135
specialize cf_convergent_matrix_length_transport (S x) - 0136
specialize cf_convergent_matrix_length_transport (k) - 0137
specialize cf_convergent_matrix_length_transport (x1 * x6 + x8) - 0138
specialize cf_convergent_matrix_length_transport (x1 * x7 + x9) - 0139
specialize cf_convergent_matrix_length_transport (x6) - 0140
specialize cf_convergent_matrix_length_transport (x7) - 0141
apply cf_convergent_matrix_length_transport - 0142
symm - 0143
exact hkcase_right_witness - 0144
exact hext_witness_witness