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 g l. (exists ec_list_egt_execution ec_history_egt_execution ec_scale_egt_execution. ((exists cf_gcd_ec_egt_execution_trace. ((((exists ff_h_cf_ec_egt_execution_trace_initial_state. ff_h_cf_ec_egt_execution_trace_initial_state + S (((cf_gcd_ec_egt_execution_trace) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) * S ((cf_gcd_ec_egt_execution_trace) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) + ((((0) + (0)) * S ((0) + (0)) + ((0) + (0))) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0))))) = S ((S (0)) * ec_scale_egt_execution)) /\ exists ff_q_cf_ec_egt_execution_trace_initial_state. ec_history_egt_execution = ff_q_cf_ec_egt_execution_trace_initial_state * S ((S (0)) * ec_scale_egt_execution) + (((cf_gcd_ec_egt_execution_trace) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) * S ((cf_gcd_ec_egt_execution_trace) + (((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_ec_egt_execution_trace_terminal_state. ff_h_cf_ec_egt_execution_trace_terminal_state + S (((a) + (((b) + (ec_list_egt_execution)) * S ((b) + (ec_list_egt_execution)) + ((ec_list_egt_execution) + (ec_list_egt_execution)))) * S ((a) + (((b) + (ec_list_egt_execution)) * S ((b) + (ec_list_egt_execution)) + ((ec_list_egt_execution) + (ec_list_egt_execution)))) + ((((b) + (ec_list_egt_execution)) * S ((b) + (ec_list_egt_execution)) + ((ec_list_egt_execution) + (ec_list_egt_execution))) + (((b) + (ec_list_egt_execution)) * S ((b) + (ec_list_egt_execution)) + ((ec_list_egt_execution) + (ec_list_egt_execution))))) = S ((S (l)) * ec_scale_egt_execution)) /\ exists ff_q_cf_ec_egt_execution_trace_terminal_state. ec_history_egt_execution = ff_q_cf_ec_egt_execution_trace_terminal_state * S ((S (l)) * ec_scale_egt_execution) + (((a) + (((b) + (ec_list_egt_execution)) * S ((b) + (ec_list_egt_execution)) + ((ec_list_egt_execution) + (ec_list_egt_execution)))) * S ((a) + (((b) + (ec_list_egt_execution)) * S ((b) + (ec_list_egt_execution)) + ((ec_list_egt_execution) + (ec_list_egt_execution)))) + ((((b) + (ec_list_egt_execution)) * S ((b) + (ec_list_egt_execution)) + ((ec_list_egt_execution) + (ec_list_egt_execution))) + (((b) + (ec_list_egt_execution)) * S ((b) + (ec_list_egt_execution)) + ((ec_list_egt_execution) + (ec_list_egt_execution))))))) /\ forall cf_index_ec_egt_execution_trace. (exists ff_lt_cf_ec_egt_execution_trace_index. ff_lt_cf_ec_egt_execution_trace_index + S cf_index_ec_egt_execution_trace = l) -> exists cf_old_a_ec_egt_execution_trace cf_old_b_ec_egt_execution_trace cf_tail_ec_egt_execution_trace cf_new_a_ec_egt_execution_trace cf_new_b_ec_egt_execution_trace cf_head_ec_egt_execution_trace cf_quotient_ec_egt_execution_trace. ((((exists ff_h_cf_ec_egt_execution_trace_previous_state. ff_h_cf_ec_egt_execution_trace_previous_state + S (((cf_old_a_ec_egt_execution_trace) + (((cf_old_b_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace)) * S ((cf_old_b_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace)) + ((cf_tail_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace)))) * S ((cf_old_a_ec_egt_execution_trace) + (((cf_old_b_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace)) * S ((cf_old_b_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace)) + ((cf_tail_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace)))) + ((((cf_old_b_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace)) * S ((cf_old_b_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace)) + ((cf_tail_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace))) + (((cf_old_b_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace)) * S ((cf_old_b_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace)) + ((cf_tail_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace))))) = S ((S (cf_index_ec_egt_execution_trace)) * ec_scale_egt_execution)) /\ exists ff_q_cf_ec_egt_execution_trace_previous_state. ec_history_egt_execution = ff_q_cf_ec_egt_execution_trace_previous_state * S ((S (cf_index_ec_egt_execution_trace)) * ec_scale_egt_execution) + (((cf_old_a_ec_egt_execution_trace) + (((cf_old_b_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace)) * S ((cf_old_b_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace)) + ((cf_tail_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace)))) * S ((cf_old_a_ec_egt_execution_trace) + (((cf_old_b_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace)) * S ((cf_old_b_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace)) + ((cf_tail_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace)))) + ((((cf_old_b_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace)) * S ((cf_old_b_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace)) + ((cf_tail_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace))) + (((cf_old_b_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace)) * S ((cf_old_b_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace)) + ((cf_tail_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace))))))) /\ ((((exists ff_h_cf_ec_egt_execution_trace_following_state. ff_h_cf_ec_egt_execution_trace_following_state + S (((cf_new_a_ec_egt_execution_trace) + (((cf_new_b_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace)) * S ((cf_new_b_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace)) + ((cf_head_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace)))) * S ((cf_new_a_ec_egt_execution_trace) + (((cf_new_b_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace)) * S ((cf_new_b_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace)) + ((cf_head_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace)))) + ((((cf_new_b_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace)) * S ((cf_new_b_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace)) + ((cf_head_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace))) + (((cf_new_b_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace)) * S ((cf_new_b_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace)) + ((cf_head_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace))))) = S ((S (S cf_index_ec_egt_execution_trace)) * ec_scale_egt_execution)) /\ exists ff_q_cf_ec_egt_execution_trace_following_state. ec_history_egt_execution = ff_q_cf_ec_egt_execution_trace_following_state * S ((S (S cf_index_ec_egt_execution_trace)) * ec_scale_egt_execution) + (((cf_new_a_ec_egt_execution_trace) + (((cf_new_b_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace)) * S ((cf_new_b_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace)) + ((cf_head_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace)))) * S ((cf_new_a_ec_egt_execution_trace) + (((cf_new_b_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace)) * S ((cf_new_b_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace)) + ((cf_head_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace)))) + ((((cf_new_b_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace)) * S ((cf_new_b_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace)) + ((cf_head_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace))) + (((cf_new_b_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace)) * S ((cf_new_b_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace)) + ((cf_head_ec_egt_execution_trace) + (cf_head_ec_egt_execution_trace))))))) /\ (cf_new_b_ec_egt_execution_trace = cf_old_a_ec_egt_execution_trace /\ (cf_new_a_ec_egt_execution_trace = cf_new_b_ec_egt_execution_trace * cf_quotient_ec_egt_execution_trace + cf_old_b_ec_egt_execution_trace /\ ((exists ff_lt_cf_ec_egt_execution_trace_remainder. ff_lt_cf_ec_egt_execution_trace_remainder + S cf_old_b_ec_egt_execution_trace = cf_new_b_ec_egt_execution_trace) /\ (cf_head_ec_egt_execution_trace = S ((cf_quotient_ec_egt_execution_trace + cf_tail_ec_egt_execution_trace) * S (cf_quotient_ec_egt_execution_trace + cf_tail_ec_egt_execution_trace) + (cf_tail_ec_egt_execution_trace + cf_tail_ec_egt_execution_trace))))))))))) /\ ((((exists ec_gcd_left_egt_execution_result. a = g * ec_gcd_left_egt_execution_result) /\ (exists ec_gcd_right_egt_execution_result. b = g * ec_gcd_right_egt_execution_result)) /\ forall ec_gcd_common_egt_execution_result. (exists ec_gcd_common_left_egt_execution_result. a = ec_gcd_common_egt_execution_result * ec_gcd_common_left_egt_execution_result) -> (exists ec_gcd_common_right_egt_execution_result. b = ec_gcd_common_egt_execution_result * ec_gcd_common_right_egt_execution_result) -> exists ec_gcd_greatest_egt_execution_result. g = ec_gcd_common_egt_execution_result * ec_gcd_greatest_egt_execution_result)))) -> exists s h e. ((exists cf_gcd_egt_projected. ((((exists ff_h_cf_egt_projected_initial_state. ff_h_cf_egt_projected_initial_state + S (((cf_gcd_egt_projected) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) * S ((cf_gcd_egt_projected) + (((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_egt_projected_initial_state. h = ff_q_cf_egt_projected_initial_state * S ((S (0)) * e) + (((cf_gcd_egt_projected) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) * S ((cf_gcd_egt_projected) + (((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_egt_projected_terminal_state. ff_h_cf_egt_projected_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_egt_projected_terminal_state. h = ff_q_cf_egt_projected_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_egt_projected. (exists ff_lt_cf_egt_projected_index. ff_lt_cf_egt_projected_index + S cf_index_egt_projected = l) -> exists cf_old_a_egt_projected cf_old_b_egt_projected cf_tail_egt_projected cf_new_a_egt_projected cf_new_b_egt_projected cf_head_egt_projected cf_quotient_egt_projected. ((((exists ff_h_cf_egt_projected_previous_state. ff_h_cf_egt_projected_previous_state + S (((cf_old_a_egt_projected) + (((cf_old_b_egt_projected) + (cf_tail_egt_projected)) * S ((cf_old_b_egt_projected) + (cf_tail_egt_projected)) + ((cf_tail_egt_projected) + (cf_tail_egt_projected)))) * S ((cf_old_a_egt_projected) + (((cf_old_b_egt_projected) + (cf_tail_egt_projected)) * S ((cf_old_b_egt_projected) + (cf_tail_egt_projected)) + ((cf_tail_egt_projected) + (cf_tail_egt_projected)))) + ((((cf_old_b_egt_projected) + (cf_tail_egt_projected)) * S ((cf_old_b_egt_projected) + (cf_tail_egt_projected)) + ((cf_tail_egt_projected) + (cf_tail_egt_projected))) + (((cf_old_b_egt_projected) + (cf_tail_egt_projected)) * S ((cf_old_b_egt_projected) + (cf_tail_egt_projected)) + ((cf_tail_egt_projected) + (cf_tail_egt_projected))))) = S ((S (cf_index_egt_projected)) * e)) /\ exists ff_q_cf_egt_projected_previous_state. h = ff_q_cf_egt_projected_previous_state * S ((S (cf_index_egt_projected)) * e) + (((cf_old_a_egt_projected) + (((cf_old_b_egt_projected) + (cf_tail_egt_projected)) * S ((cf_old_b_egt_projected) + (cf_tail_egt_projected)) + ((cf_tail_egt_projected) + (cf_tail_egt_projected)))) * S ((cf_old_a_egt_projected) + (((cf_old_b_egt_projected) + (cf_tail_egt_projected)) * S ((cf_old_b_egt_projected) + (cf_tail_egt_projected)) + ((cf_tail_egt_projected) + (cf_tail_egt_projected)))) + ((((cf_old_b_egt_projected) + (cf_tail_egt_projected)) * S ((cf_old_b_egt_projected) + (cf_tail_egt_projected)) + ((cf_tail_egt_projected) + (cf_tail_egt_projected))) + (((cf_old_b_egt_projected) + (cf_tail_egt_projected)) * S ((cf_old_b_egt_projected) + (cf_tail_egt_projected)) + ((cf_tail_egt_projected) + (cf_tail_egt_projected))))))) /\ ((((exists ff_h_cf_egt_projected_following_state. ff_h_cf_egt_projected_following_state + S (((cf_new_a_egt_projected) + (((cf_new_b_egt_projected) + (cf_head_egt_projected)) * S ((cf_new_b_egt_projected) + (cf_head_egt_projected)) + ((cf_head_egt_projected) + (cf_head_egt_projected)))) * S ((cf_new_a_egt_projected) + (((cf_new_b_egt_projected) + (cf_head_egt_projected)) * S ((cf_new_b_egt_projected) + (cf_head_egt_projected)) + ((cf_head_egt_projected) + (cf_head_egt_projected)))) + ((((cf_new_b_egt_projected) + (cf_head_egt_projected)) * S ((cf_new_b_egt_projected) + (cf_head_egt_projected)) + ((cf_head_egt_projected) + (cf_head_egt_projected))) + (((cf_new_b_egt_projected) + (cf_head_egt_projected)) * S ((cf_new_b_egt_projected) + (cf_head_egt_projected)) + ((cf_head_egt_projected) + (cf_head_egt_projected))))) = S ((S (S cf_index_egt_projected)) * e)) /\ exists ff_q_cf_egt_projected_following_state. h = ff_q_cf_egt_projected_following_state * S ((S (S cf_index_egt_projected)) * e) + (((cf_new_a_egt_projected) + (((cf_new_b_egt_projected) + (cf_head_egt_projected)) * S ((cf_new_b_egt_projected) + (cf_head_egt_projected)) + ((cf_head_egt_projected) + (cf_head_egt_projected)))) * S ((cf_new_a_egt_projected) + (((cf_new_b_egt_projected) + (cf_head_egt_projected)) * S ((cf_new_b_egt_projected) + (cf_head_egt_projected)) + ((cf_head_egt_projected) + (cf_head_egt_projected)))) + ((((cf_new_b_egt_projected) + (cf_head_egt_projected)) * S ((cf_new_b_egt_projected) + (cf_head_egt_projected)) + ((cf_head_egt_projected) + (cf_head_egt_projected))) + (((cf_new_b_egt_projected) + (cf_head_egt_projected)) * S ((cf_new_b_egt_projected) + (cf_head_egt_projected)) + ((cf_head_egt_projected) + (cf_head_egt_projected))))))) /\ (cf_new_b_egt_projected = cf_old_a_egt_projected /\ (cf_new_a_egt_projected = cf_new_b_egt_projected * cf_quotient_egt_projected + cf_old_b_egt_projected /\ ((exists ff_lt_cf_egt_projected_remainder. ff_lt_cf_egt_projected_remainder + S cf_old_b_egt_projected = cf_new_b_egt_projected) /\ (cf_head_egt_projected = S ((cf_quotient_egt_projected + cf_tail_egt_projected) * S (cf_quotient_egt_projected + cf_tail_egt_projected) + (cf_tail_egt_projected + cf_tail_egt_projected))))))))))) /\ (((exists ff_h_cf_egt_projected_state. ff_h_cf_egt_projected_state + S (((g) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) * S ((g) + (((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_egt_projected_state. h = ff_q_cf_egt_projected_state * S ((S (0)) * e) + (((g) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) * S ((g) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) + ((((0) + (0)) * S ((0) + (0)) + ((0) + (0))) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0))))))))Constructive proof overview
Generated structural guide
The independently certified output of every Alpha-v21 EuclidExecution is exactly the natural encoded in its actual terminal zero-divisor beta state.
The unchanged tactic script uses 2 declared prerequisites and contains 38 exact native proof lines.
Alpha v34 checked-use · first admitted v22 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
GT000F euclidean_trace_terminal_gcd_exists is_gcd_unique 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 (1)
01Fix variables and assumptionsL1–5
02Separate the logical casesL6–9
03Construct an explicit witnessL10–12
04Separate the logical casesL13–13
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L13
split
05Use earlier factsL14–14
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L14
exact hexecution_witness_witness_witness_left
06Establish hterminalL15–23
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply euclidean trace terminal gcd exists.
- L15
have hterminal : ∃ G. EuclideanStateAt(x1,x2,0,G,0,0) ∧ IsGCD(G,a,b)Definitions: EuclideanStateAtIsGCD - L16
specialize euclidean_trace_terminal_gcd_exists a - L17
specialize euclidean_trace_terminal_gcd_exists b - L18
specialize euclidean_trace_terminal_gcd_exists x - L19
specialize euclidean_trace_terminal_gcd_exists x1 - L20
specialize euclidean_trace_terminal_gcd_exists x2 - L21
specialize euclidean_trace_terminal_gcd_exists l - L22
apply euclidean_trace_terminal_gcd_exists - L23
exact hexecution_witness_witness_witness_left
07Separate the logical casesL24–25
08Establish hequalL26–35
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply is gcd unique.
- L26
have hequal : x3 = g - L27
specialize is_gcd_unique x3 - L28
specialize is_gcd_unique g - L29
specialize is_gcd_unique a - L30
specialize is_gcd_unique b - L31
apply is_gcd_unique - L32
exact hterminal_witness_right - L33
exact hexecution_witness_witness_witness_right - L34
rewrite hequal at hterminal_witness_left - L35
rewrite hequal at hterminal_witness_left
09Calculate and transport equalitiesL36–37
10Use earlier factsL38–38
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L38
exact hterminal_witness_left
Original exact command ledger · 38 lines
- 0001
intro a - 0002
intro b - 0003
intro g - 0004
intro l - 0005
intro hexecution - 0006
cases hexecution - 0007
cases hexecution_witness - 0008
cases hexecution_witness_witness - 0009
cases hexecution_witness_witness_witness - 0010
exists x - 0011
exists x1 - 0012
exists x2 - 0013
split - 0014
exact hexecution_witness_witness_witness_left - 0015
have hterminal : exists G. ((((exists ff_h_cf_egt_identified_terminal_state. ff_h_cf_egt_identified_terminal_state + S (((G) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) * S ((G) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) + ((((0) + (0)) * S ((0) + (0)) + ((0) + (0))) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0))))) = S ((S (0)) * x2)) /\ exists ff_q_cf_egt_identified_terminal_state. x1 = ff_q_cf_egt_identified_terminal_state * S ((S (0)) * x2) + (((G) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) * S ((G) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0)))) + ((((0) + (0)) * S ((0) + (0)) + ((0) + (0))) + (((0) + (0)) * S ((0) + (0)) + ((0) + (0))))))) /\ ((((exists hag_left_factor_egt_identified_terminal. a = G * hag_left_factor_egt_identified_terminal) /\ (exists hag_right_factor_egt_identified_terminal. b = G * hag_right_factor_egt_identified_terminal)) /\ forall hag_divisor_egt_identified_terminal. (exists hag_common_left_egt_identified_terminal. a = hag_divisor_egt_identified_terminal * hag_common_left_egt_identified_terminal) -> (exists hag_common_right_egt_identified_terminal. b = hag_divisor_egt_identified_terminal * hag_common_right_egt_identified_terminal) -> exists hag_greatest_factor_egt_identified_terminal. G = hag_divisor_egt_identified_terminal * hag_greatest_factor_egt_identified_terminal))) - 0016
specialize euclidean_trace_terminal_gcd_exists a - 0017
specialize euclidean_trace_terminal_gcd_exists b - 0018
specialize euclidean_trace_terminal_gcd_exists x - 0019
specialize euclidean_trace_terminal_gcd_exists x1 - 0020
specialize euclidean_trace_terminal_gcd_exists x2 - 0021
specialize euclidean_trace_terminal_gcd_exists l - 0022
apply euclidean_trace_terminal_gcd_exists - 0023
exact hexecution_witness_witness_witness_left - 0024
cases hterminal - 0025
cases hterminal_witness - 0026
have hequal : x3 = g - 0027
specialize is_gcd_unique x3 - 0028
specialize is_gcd_unique g - 0029
specialize is_gcd_unique a - 0030
specialize is_gcd_unique b - 0031
apply is_gcd_unique - 0032
exact hterminal_witness_right - 0033
exact hexecution_witness_witness_witness_right - 0034
rewrite hequal at hterminal_witness_left - 0035
rewrite hequal at hterminal_witness_left - 0036
rewrite hequal at hterminal_witness_left - 0037
rewrite hequal at hterminal_witness_left - 0038
exact hterminal_witness_left