Exact expanded first-order arithmetic statement
forall b c l r a. (exists fs_u_dst_natural_step_prefix fs_v_dst_natural_step_prefix. ((((exists fs_h_dst_natural_step_prefix_body_start. fs_h_dst_natural_step_prefix_body_start + S (0) = S ((S (0)) * fs_v_dst_natural_step_prefix)) /\ exists fs_q_dst_natural_step_prefix_body_start. fs_u_dst_natural_step_prefix = fs_q_dst_natural_step_prefix_body_start * S ((S (0)) * fs_v_dst_natural_step_prefix) + (0))) /\ ((((exists fs_h_dst_natural_step_prefix_body_terminal. fs_h_dst_natural_step_prefix_body_terminal + S (r) = S ((S (l)) * fs_v_dst_natural_step_prefix)) /\ exists fs_q_dst_natural_step_prefix_body_terminal. fs_u_dst_natural_step_prefix = fs_q_dst_natural_step_prefix_body_terminal * S ((S (l)) * fs_v_dst_natural_step_prefix) + (r))) /\ forall fs_i_dst_natural_step_prefix_body_steps. (exists fs_lt_dst_natural_step_prefix_body_steps_bound. fs_lt_dst_natural_step_prefix_body_steps_bound + S fs_i_dst_natural_step_prefix_body_steps = l) -> exists fs_a_dst_natural_step_prefix_body_steps fs_r_dst_natural_step_prefix_body_steps fs_s_dst_natural_step_prefix_body_steps. ((((exists fs_h_dst_natural_step_prefix_body_steps_summand. fs_h_dst_natural_step_prefix_body_steps_summand + S (fs_a_dst_natural_step_prefix_body_steps) = S ((S (fs_i_dst_natural_step_prefix_body_steps)) * c)) /\ exists fs_q_dst_natural_step_prefix_body_steps_summand. b = fs_q_dst_natural_step_prefix_body_steps_summand * S ((S (fs_i_dst_natural_step_prefix_body_steps)) * c) + (fs_a_dst_natural_step_prefix_body_steps))) /\ ((((exists fs_h_dst_natural_step_prefix_body_steps_partial. fs_h_dst_natural_step_prefix_body_steps_partial + S (fs_r_dst_natural_step_prefix_body_steps) = S ((S (fs_i_dst_natural_step_prefix_body_steps)) * fs_v_dst_natural_step_prefix)) /\ exists fs_q_dst_natural_step_prefix_body_steps_partial. fs_u_dst_natural_step_prefix = fs_q_dst_natural_step_prefix_body_steps_partial * S ((S (fs_i_dst_natural_step_prefix_body_steps)) * fs_v_dst_natural_step_prefix) + (fs_r_dst_natural_step_prefix_body_steps))) /\ ((((exists fs_h_dst_natural_step_prefix_body_steps_successor. fs_h_dst_natural_step_prefix_body_steps_successor + S (fs_s_dst_natural_step_prefix_body_steps) = S ((S (S fs_i_dst_natural_step_prefix_body_steps)) * fs_v_dst_natural_step_prefix)) /\ exists fs_q_dst_natural_step_prefix_body_steps_successor. fs_u_dst_natural_step_prefix = fs_q_dst_natural_step_prefix_body_steps_successor * S ((S (S fs_i_dst_natural_step_prefix_body_steps)) * fs_v_dst_natural_step_prefix) + (fs_s_dst_natural_step_prefix_body_steps))) /\ fs_s_dst_natural_step_prefix_body_steps = fs_r_dst_natural_step_prefix_body_steps + fs_a_dst_natural_step_prefix_body_steps)))))) -> (((exists ff_h_pvs_natural_step_last. ff_h_pvs_natural_step_last + S (a) = S ((S (l)) * c)) /\ exists ff_q_pvs_natural_step_last. b = ff_q_pvs_natural_step_last * S ((S (l)) * c) + (a))) -> (exists fs_u_dst_natural_step_result fs_v_dst_natural_step_result. ((((exists fs_h_dst_natural_step_result_body_start. fs_h_dst_natural_step_result_body_start + S (0) = S ((S (0)) * fs_v_dst_natural_step_result)) /\ exists fs_q_dst_natural_step_result_body_start. fs_u_dst_natural_step_result = fs_q_dst_natural_step_result_body_start * S ((S (0)) * fs_v_dst_natural_step_result) + (0))) /\ ((((exists fs_h_dst_natural_step_result_body_terminal. fs_h_dst_natural_step_result_body_terminal + S (r + a) = S ((S (S l)) * fs_v_dst_natural_step_result)) /\ exists fs_q_dst_natural_step_result_body_terminal. fs_u_dst_natural_step_result = fs_q_dst_natural_step_result_body_terminal * S ((S (S l)) * fs_v_dst_natural_step_result) + (r + a))) /\ forall fs_i_dst_natural_step_result_body_steps. (exists fs_lt_dst_natural_step_result_body_steps_bound. fs_lt_dst_natural_step_result_body_steps_bound + S fs_i_dst_natural_step_result_body_steps = S l) -> exists fs_a_dst_natural_step_result_body_steps fs_r_dst_natural_step_result_body_steps fs_s_dst_natural_step_result_body_steps. ((((exists fs_h_dst_natural_step_result_body_steps_summand. fs_h_dst_natural_step_result_body_steps_summand + S (fs_a_dst_natural_step_result_body_steps) = S ((S (fs_i_dst_natural_step_result_body_steps)) * c)) /\ exists fs_q_dst_natural_step_result_body_steps_summand. b = fs_q_dst_natural_step_result_body_steps_summand * S ((S (fs_i_dst_natural_step_result_body_steps)) * c) + (fs_a_dst_natural_step_result_body_steps))) /\ ((((exists fs_h_dst_natural_step_result_body_steps_partial. fs_h_dst_natural_step_result_body_steps_partial + S (fs_r_dst_natural_step_result_body_steps) = S ((S (fs_i_dst_natural_step_result_body_steps)) * fs_v_dst_natural_step_result)) /\ exists fs_q_dst_natural_step_result_body_steps_partial. fs_u_dst_natural_step_result = fs_q_dst_natural_step_result_body_steps_partial * S ((S (fs_i_dst_natural_step_result_body_steps)) * fs_v_dst_natural_step_result) + (fs_r_dst_natural_step_result_body_steps))) /\ ((((exists fs_h_dst_natural_step_result_body_steps_successor. fs_h_dst_natural_step_result_body_steps_successor + S (fs_s_dst_natural_step_result_body_steps) = S ((S (S fs_i_dst_natural_step_result_body_steps)) * fs_v_dst_natural_step_result)) /\ exists fs_q_dst_natural_step_result_body_steps_successor. fs_u_dst_natural_step_result = fs_q_dst_natural_step_result_body_steps_successor * S ((S (S fs_i_dst_natural_step_result_body_steps)) * fs_v_dst_natural_step_result) + (fs_s_dst_natural_step_result_body_steps))) /\ fs_s_dst_natural_step_result_body_steps = fs_r_dst_natural_step_result_body_steps + fs_a_dst_natural_step_result_body_steps))))))Constructive proof overview
Generated structural guide
The successor natural sum is genuinely constructed and identified with the previous sum plus the actual last beta entry.
The unchanged tactic script uses 4 declared prerequisites and contains 51 exact native proof lines.
Public research checkpoint: original HA and independently compiled Lean verified; not Alpha-enrolled, no Alpha checked-use authority; not Stable
Proof neighborhood
Direct dependencies
beta_sum_exists Alpha theorem; checked-use authorized beta_sum_succ_decompose Alpha theorem; checked-use authorized beta_at_unique Alpha theorem; checked-use authorized beta_sum_functional Alpha 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. The literal dependency-closed bundle is checked by original HA and the independently compiled Lean verifier. Public delivery grants no Alpha checked-use authority or 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.
01Fix variables and assumptionsL1–7
02Establish htL8–12
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta sum exists.
03Separate the logical casesL13–13
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L13
cases ht
04Establish hdL14–20
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta sum succ decompose.
05Separate the logical casesL21–24
06Establish heqaL25–33
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta at unique.
07Establish heqrL34–42
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta sum functional.
Original exact command ledger · 51 lines
- 0001
intro b - 0002
intro c - 0003
intro l - 0004
intro r - 0005
intro a - 0006
intro hs - 0007
intro ha - 0008
have ht : exists t. (exists fs_u_dst_natural_step_exists fs_v_dst_natural_step_exists. ((((exists fs_h_dst_natural_step_exists_body_start. fs_h_dst_natural_step_exists_body_start + S (0) = S ((S (0)) * fs_v_dst_natural_step_exists)) /\ exists fs_q_dst_natural_step_exists_body_start. fs_u_dst_natural_step_exists = fs_q_dst_natural_step_exists_body_start * S ((S (0)) * fs_v_dst_natural_step_exists) + (0))) /\ ((((exists fs_h_dst_natural_step_exists_body_terminal. fs_h_dst_natural_step_exists_body_terminal + S (t) = S ((S (S l)) * fs_v_dst_natural_step_exists)) /\ exists fs_q_dst_natural_step_exists_body_terminal. fs_u_dst_natural_step_exists = fs_q_dst_natural_step_exists_body_terminal * S ((S (S l)) * fs_v_dst_natural_step_exists) + (t))) /\ forall fs_i_dst_natural_step_exists_body_steps. (exists fs_lt_dst_natural_step_exists_body_steps_bound. fs_lt_dst_natural_step_exists_body_steps_bound + S fs_i_dst_natural_step_exists_body_steps = S l) -> exists fs_a_dst_natural_step_exists_body_steps fs_r_dst_natural_step_exists_body_steps fs_s_dst_natural_step_exists_body_steps. ((((exists fs_h_dst_natural_step_exists_body_steps_summand. fs_h_dst_natural_step_exists_body_steps_summand + S (fs_a_dst_natural_step_exists_body_steps) = S ((S (fs_i_dst_natural_step_exists_body_steps)) * c)) /\ exists fs_q_dst_natural_step_exists_body_steps_summand. b = fs_q_dst_natural_step_exists_body_steps_summand * S ((S (fs_i_dst_natural_step_exists_body_steps)) * c) + (fs_a_dst_natural_step_exists_body_steps))) /\ ((((exists fs_h_dst_natural_step_exists_body_steps_partial. fs_h_dst_natural_step_exists_body_steps_partial + S (fs_r_dst_natural_step_exists_body_steps) = S ((S (fs_i_dst_natural_step_exists_body_steps)) * fs_v_dst_natural_step_exists)) /\ exists fs_q_dst_natural_step_exists_body_steps_partial. fs_u_dst_natural_step_exists = fs_q_dst_natural_step_exists_body_steps_partial * S ((S (fs_i_dst_natural_step_exists_body_steps)) * fs_v_dst_natural_step_exists) + (fs_r_dst_natural_step_exists_body_steps))) /\ ((((exists fs_h_dst_natural_step_exists_body_steps_successor. fs_h_dst_natural_step_exists_body_steps_successor + S (fs_s_dst_natural_step_exists_body_steps) = S ((S (S fs_i_dst_natural_step_exists_body_steps)) * fs_v_dst_natural_step_exists)) /\ exists fs_q_dst_natural_step_exists_body_steps_successor. fs_u_dst_natural_step_exists = fs_q_dst_natural_step_exists_body_steps_successor * S ((S (S fs_i_dst_natural_step_exists_body_steps)) * fs_v_dst_natural_step_exists) + (fs_s_dst_natural_step_exists_body_steps))) /\ fs_s_dst_natural_step_exists_body_steps = fs_r_dst_natural_step_exists_body_steps + fs_a_dst_natural_step_exists_body_steps)))))) - 0009
specialize beta_sum_exists (b) - 0010
specialize beta_sum_exists (c) - 0011
specialize beta_sum_exists (S l) - 0012
apply beta_sum_exists - 0013
cases ht - 0014
have hd : exists dsa_summand_natural_step_decomp dsa_partial_natural_step_decomp. ((((exists ff_h_pvs_natural_step_decomplast. ff_h_pvs_natural_step_decomplast + S (dsa_summand_natural_step_decomp) = S ((S (l)) * c)) /\ exists ff_q_pvs_natural_step_decomplast. b = ff_q_pvs_natural_step_decomplast * S ((S (l)) * c) + (dsa_summand_natural_step_decomp))) /\ (((exists fs_u_dst_natural_step_decompprefix fs_v_dst_natural_step_decompprefix. ((((exists fs_h_dst_natural_step_decompprefix_body_start. fs_h_dst_natural_step_decompprefix_body_start + S (0) = S ((S (0)) * fs_v_dst_natural_step_decompprefix)) /\ exists fs_q_dst_natural_step_decompprefix_body_start. fs_u_dst_natural_step_decompprefix = fs_q_dst_natural_step_decompprefix_body_start * S ((S (0)) * fs_v_dst_natural_step_decompprefix) + (0))) /\ ((((exists fs_h_dst_natural_step_decompprefix_body_terminal. fs_h_dst_natural_step_decompprefix_body_terminal + S (dsa_partial_natural_step_decomp) = S ((S (l)) * fs_v_dst_natural_step_decompprefix)) /\ exists fs_q_dst_natural_step_decompprefix_body_terminal. fs_u_dst_natural_step_decompprefix = fs_q_dst_natural_step_decompprefix_body_terminal * S ((S (l)) * fs_v_dst_natural_step_decompprefix) + (dsa_partial_natural_step_decomp))) /\ forall fs_i_dst_natural_step_decompprefix_body_steps. (exists fs_lt_dst_natural_step_decompprefix_body_steps_bound. fs_lt_dst_natural_step_decompprefix_body_steps_bound + S fs_i_dst_natural_step_decompprefix_body_steps = l) -> exists fs_a_dst_natural_step_decompprefix_body_steps fs_r_dst_natural_step_decompprefix_body_steps fs_s_dst_natural_step_decompprefix_body_steps. ((((exists fs_h_dst_natural_step_decompprefix_body_steps_summand. fs_h_dst_natural_step_decompprefix_body_steps_summand + S (fs_a_dst_natural_step_decompprefix_body_steps) = S ((S (fs_i_dst_natural_step_decompprefix_body_steps)) * c)) /\ exists fs_q_dst_natural_step_decompprefix_body_steps_summand. b = fs_q_dst_natural_step_decompprefix_body_steps_summand * S ((S (fs_i_dst_natural_step_decompprefix_body_steps)) * c) + (fs_a_dst_natural_step_decompprefix_body_steps))) /\ ((((exists fs_h_dst_natural_step_decompprefix_body_steps_partial. fs_h_dst_natural_step_decompprefix_body_steps_partial + S (fs_r_dst_natural_step_decompprefix_body_steps) = S ((S (fs_i_dst_natural_step_decompprefix_body_steps)) * fs_v_dst_natural_step_decompprefix)) /\ exists fs_q_dst_natural_step_decompprefix_body_steps_partial. fs_u_dst_natural_step_decompprefix = fs_q_dst_natural_step_decompprefix_body_steps_partial * S ((S (fs_i_dst_natural_step_decompprefix_body_steps)) * fs_v_dst_natural_step_decompprefix) + (fs_r_dst_natural_step_decompprefix_body_steps))) /\ ((((exists fs_h_dst_natural_step_decompprefix_body_steps_successor. fs_h_dst_natural_step_decompprefix_body_steps_successor + S (fs_s_dst_natural_step_decompprefix_body_steps) = S ((S (S fs_i_dst_natural_step_decompprefix_body_steps)) * fs_v_dst_natural_step_decompprefix)) /\ exists fs_q_dst_natural_step_decompprefix_body_steps_successor. fs_u_dst_natural_step_decompprefix = fs_q_dst_natural_step_decompprefix_body_steps_successor * S ((S (S fs_i_dst_natural_step_decompprefix_body_steps)) * fs_v_dst_natural_step_decompprefix) + (fs_s_dst_natural_step_decompprefix_body_steps))) /\ fs_s_dst_natural_step_decompprefix_body_steps = fs_r_dst_natural_step_decompprefix_body_steps + fs_a_dst_natural_step_decompprefix_body_steps)))))) /\ ((x) = dsa_partial_natural_step_decomp + dsa_summand_natural_step_decomp)))) - 0015
specialize beta_sum_succ_decompose (b) - 0016
specialize beta_sum_succ_decompose (c) - 0017
specialize beta_sum_succ_decompose (l) - 0018
specialize beta_sum_succ_decompose (x) - 0019
apply beta_sum_succ_decompose - 0020
exact ht_witness - 0021
cases hd - 0022
cases hd_witness - 0023
cases hd_witness_witness - 0024
cases hd_witness_witness_right - 0025
have heqa : x1 = a - 0026
specialize beta_at_unique (b) - 0027
specialize beta_at_unique (c) - 0028
specialize beta_at_unique (l) - 0029
specialize beta_at_unique (x1) - 0030
specialize beta_at_unique (a) - 0031
apply beta_at_unique - 0032
exact hd_witness_witness_left - 0033
exact ha - 0034
have heqr : x2 = r - 0035
specialize beta_sum_functional (b) - 0036
specialize beta_sum_functional (c) - 0037
specialize beta_sum_functional (l) - 0038
specialize beta_sum_functional (x2) - 0039
specialize beta_sum_functional (r) - 0040
apply beta_sum_functional - 0041
exact hd_witness_witness_right_left - 0042
exact hs - 0043
have heq : x = r + a - 0044
trans x2 + x1 - 0045
exact hd_witness_witness_right_right - 0046
rewrite heqr - 0047
rewrite heqa - 0048
refl - 0049
rewrite heq at ht_witness - 0050
rewrite heq at ht_witness - 0051
exact ht_witness