Exact expanded PA statement
forall b. (forall bpt_a_hjas_iterator bpt_e_hjas_iterator. exists bpt_x_hjas_iterator. (exists ff_b_bpt_value_hjas_iterator ff_c_bpt_value_hjas_iterator. ((forall ff_i_bpt_value_hjas_iterator_repeat. (exists ff_lt_bpt_value_hjas_iterator_repeat_bound. ff_lt_bpt_value_hjas_iterator_repeat_bound + S ff_i_bpt_value_hjas_iterator_repeat = bpt_e_hjas_iterator) -> (((exists ff_h_bpt_value_hjas_iterator_repeat_decoded. ff_h_bpt_value_hjas_iterator_repeat_decoded + S (bpt_a_hjas_iterator) = S ((S (ff_i_bpt_value_hjas_iterator_repeat)) * ff_c_bpt_value_hjas_iterator)) /\ exists ff_q_bpt_value_hjas_iterator_repeat_decoded. ff_b_bpt_value_hjas_iterator = ff_q_bpt_value_hjas_iterator_repeat_decoded * S ((S (ff_i_bpt_value_hjas_iterator_repeat)) * ff_c_bpt_value_hjas_iterator) + (bpt_a_hjas_iterator)))) /\ (exists ff_u_bpt_value_hjas_iterator_product ff_v_bpt_value_hjas_iterator_product. ((((exists ff_h_bpt_value_hjas_iterator_product_start. ff_h_bpt_value_hjas_iterator_product_start + S (1) = S ((S (0)) * ff_v_bpt_value_hjas_iterator_product)) /\ exists ff_q_bpt_value_hjas_iterator_product_start. ff_u_bpt_value_hjas_iterator_product = ff_q_bpt_value_hjas_iterator_product_start * S ((S (0)) * ff_v_bpt_value_hjas_iterator_product) + (1))) /\ ((((exists ff_h_bpt_value_hjas_iterator_product_terminal. ff_h_bpt_value_hjas_iterator_product_terminal + S (bpt_x_hjas_iterator) = S ((S (bpt_e_hjas_iterator)) * ff_v_bpt_value_hjas_iterator_product)) /\ exists ff_q_bpt_value_hjas_iterator_product_terminal. ff_u_bpt_value_hjas_iterator_product = ff_q_bpt_value_hjas_iterator_product_terminal * S ((S (bpt_e_hjas_iterator)) * ff_v_bpt_value_hjas_iterator_product) + (bpt_x_hjas_iterator))) /\ forall ff_i_bpt_value_hjas_iterator_product. (exists ff_lt_bpt_value_hjas_iterator_product_bound. ff_lt_bpt_value_hjas_iterator_product_bound + S ff_i_bpt_value_hjas_iterator_product = bpt_e_hjas_iterator) -> exists ff_p_bpt_value_hjas_iterator_product ff_r_bpt_value_hjas_iterator_product ff_s_bpt_value_hjas_iterator_product. ((((exists ff_h_bpt_value_hjas_iterator_product_factor. ff_h_bpt_value_hjas_iterator_product_factor + S (ff_p_bpt_value_hjas_iterator_product) = S ((S (ff_i_bpt_value_hjas_iterator_product)) * ff_c_bpt_value_hjas_iterator)) /\ exists ff_q_bpt_value_hjas_iterator_product_factor. ff_b_bpt_value_hjas_iterator = ff_q_bpt_value_hjas_iterator_product_factor * S ((S (ff_i_bpt_value_hjas_iterator_product)) * ff_c_bpt_value_hjas_iterator) + (ff_p_bpt_value_hjas_iterator_product))) /\ ((((exists ff_h_bpt_value_hjas_iterator_product_partial. ff_h_bpt_value_hjas_iterator_product_partial + S (ff_r_bpt_value_hjas_iterator_product) = S ((S (ff_i_bpt_value_hjas_iterator_product)) * ff_v_bpt_value_hjas_iterator_product)) /\ exists ff_q_bpt_value_hjas_iterator_product_partial. ff_u_bpt_value_hjas_iterator_product = ff_q_bpt_value_hjas_iterator_product_partial * S ((S (ff_i_bpt_value_hjas_iterator_product)) * ff_v_bpt_value_hjas_iterator_product) + (ff_r_bpt_value_hjas_iterator_product))) /\ ((((exists ff_h_bpt_value_hjas_iterator_product_successor. ff_h_bpt_value_hjas_iterator_product_successor + S (ff_s_bpt_value_hjas_iterator_product) = S ((S (S ff_i_bpt_value_hjas_iterator_product)) * ff_v_bpt_value_hjas_iterator_product)) /\ exists ff_q_bpt_value_hjas_iterator_product_successor. ff_u_bpt_value_hjas_iterator_product = ff_q_bpt_value_hjas_iterator_product_successor * S ((S (S ff_i_bpt_value_hjas_iterator_product)) * ff_v_bpt_value_hjas_iterator_product) + (ff_s_bpt_value_hjas_iterator_product))) /\ ff_s_bpt_value_hjas_iterator_product = ff_r_bpt_value_hjas_iterator_product * ff_p_bpt_value_hjas_iterator_product))))))))) -> (exists bqb_le_gap_hjas_iterator_base_lower. bqb_le_gap_hjas_iterator_base_lower + (32) = (b)) -> (exists bqb_le_gap_hjas_iterator_base_upper. bqb_le_gap_hjas_iterator_base_upper + (b) = (37)) -> forall k e h u j g. (((exists bcs_lower_gap_hjas_iterator_ceiling. bcs_lower_gap_hjas_iterator_ceiling + ((b + 6 * k) * (b + 6 * k)) = 6 * (e)) /\ exists bcs_upper_gap_hjas_iterator_ceiling. bcs_upper_gap_hjas_iterator_ceiling + S (6 * (e)) = ((b + 6 * k) * (b + 6 * k)) + 6)) -> (exists pa_b_hjas_iterator_h pa_c_hjas_iterator_h. ((forall pa_i_hjas_iterator_h_repeat. (exists pa_lt_hjas_iterator_h_repeat_bound. pa_lt_hjas_iterator_h_repeat_bound + S pa_i_hjas_iterator_h_repeat = 2 * (b + 6 * k) + 2) -> (((exists pa_h_hjas_iterator_h_repeat_decoded. pa_h_hjas_iterator_h_repeat_decoded + S ((b + 6 * k) + 1) = S ((S (pa_i_hjas_iterator_h_repeat)) * pa_c_hjas_iterator_h)) /\ exists pa_q_hjas_iterator_h_repeat_decoded. pa_b_hjas_iterator_h = pa_q_hjas_iterator_h_repeat_decoded * S ((S (pa_i_hjas_iterator_h_repeat)) * pa_c_hjas_iterator_h) + ((b + 6 * k) + 1)))) /\ (exists pa_u_hjas_iterator_h_product pa_v_hjas_iterator_h_product. ((((exists pa_h_hjas_iterator_h_product_start. pa_h_hjas_iterator_h_product_start + S (1) = S ((S (0)) * pa_v_hjas_iterator_h_product)) /\ exists pa_q_hjas_iterator_h_product_start. pa_u_hjas_iterator_h_product = pa_q_hjas_iterator_h_product_start * S ((S (0)) * pa_v_hjas_iterator_h_product) + (1))) /\ ((((exists pa_h_hjas_iterator_h_product_terminal. pa_h_hjas_iterator_h_product_terminal + S (h) = S ((S (2 * (b + 6 * k) + 2)) * pa_v_hjas_iterator_h_product)) /\ exists pa_q_hjas_iterator_h_product_terminal. pa_u_hjas_iterator_h_product = pa_q_hjas_iterator_h_product_terminal * S ((S (2 * (b + 6 * k) + 2)) * pa_v_hjas_iterator_h_product) + (h))) /\ forall pa_i_hjas_iterator_h_product. (exists pa_lt_hjas_iterator_h_product_bound. pa_lt_hjas_iterator_h_product_bound + S pa_i_hjas_iterator_h_product = 2 * (b + 6 * k) + 2) -> exists pa_p_hjas_iterator_h_product pa_r_hjas_iterator_h_product pa_s_hjas_iterator_h_product. ((((exists pa_h_hjas_iterator_h_product_factor. pa_h_hjas_iterator_h_product_factor + S (pa_p_hjas_iterator_h_product) = S ((S (pa_i_hjas_iterator_h_product)) * pa_c_hjas_iterator_h)) /\ exists pa_q_hjas_iterator_h_product_factor. pa_b_hjas_iterator_h = pa_q_hjas_iterator_h_product_factor * S ((S (pa_i_hjas_iterator_h_product)) * pa_c_hjas_iterator_h) + (pa_p_hjas_iterator_h_product))) /\ ((((exists pa_h_hjas_iterator_h_product_partial. pa_h_hjas_iterator_h_product_partial + S (pa_r_hjas_iterator_h_product) = S ((S (pa_i_hjas_iterator_h_product)) * pa_v_hjas_iterator_h_product)) /\ exists pa_q_hjas_iterator_h_product_partial. pa_u_hjas_iterator_h_product = pa_q_hjas_iterator_h_product_partial * S ((S (pa_i_hjas_iterator_h_product)) * pa_v_hjas_iterator_h_product) + (pa_r_hjas_iterator_h_product))) /\ ((((exists pa_h_hjas_iterator_h_product_successor. pa_h_hjas_iterator_h_product_successor + S (pa_s_hjas_iterator_h_product) = S ((S (S pa_i_hjas_iterator_h_product)) * pa_v_hjas_iterator_h_product)) /\ exists pa_q_hjas_iterator_h_product_successor. pa_u_hjas_iterator_h_product = pa_q_hjas_iterator_h_product_successor * S ((S (S pa_i_hjas_iterator_h_product)) * pa_v_hjas_iterator_h_product) + (pa_s_hjas_iterator_h_product))) /\ pa_s_hjas_iterator_h_product = pa_r_hjas_iterator_h_product * pa_p_hjas_iterator_h_product)))))))) -> (exists pa_b_hjas_iterator_h_bound pa_c_hjas_iterator_h_bound. ((forall pa_i_hjas_iterator_h_bound_repeat. (exists pa_lt_hjas_iterator_h_bound_repeat_bound. pa_lt_hjas_iterator_h_bound_repeat_bound + S pa_i_hjas_iterator_h_bound_repeat = e) -> (((exists pa_h_hjas_iterator_h_bound_repeat_decoded. pa_h_hjas_iterator_h_bound_repeat_decoded + S (4) = S ((S (pa_i_hjas_iterator_h_bound_repeat)) * pa_c_hjas_iterator_h_bound)) /\ exists pa_q_hjas_iterator_h_bound_repeat_decoded. pa_b_hjas_iterator_h_bound = pa_q_hjas_iterator_h_bound_repeat_decoded * S ((S (pa_i_hjas_iterator_h_bound_repeat)) * pa_c_hjas_iterator_h_bound) + (4)))) /\ (exists pa_u_hjas_iterator_h_bound_product pa_v_hjas_iterator_h_bound_product. ((((exists pa_h_hjas_iterator_h_bound_product_start. pa_h_hjas_iterator_h_bound_product_start + S (1) = S ((S (0)) * pa_v_hjas_iterator_h_bound_product)) /\ exists pa_q_hjas_iterator_h_bound_product_start. pa_u_hjas_iterator_h_bound_product = pa_q_hjas_iterator_h_bound_product_start * S ((S (0)) * pa_v_hjas_iterator_h_bound_product) + (1))) /\ ((((exists pa_h_hjas_iterator_h_bound_product_terminal. pa_h_hjas_iterator_h_bound_product_terminal + S (u) = S ((S (e)) * pa_v_hjas_iterator_h_bound_product)) /\ exists pa_q_hjas_iterator_h_bound_product_terminal. pa_u_hjas_iterator_h_bound_product = pa_q_hjas_iterator_h_bound_product_terminal * S ((S (e)) * pa_v_hjas_iterator_h_bound_product) + (u))) /\ forall pa_i_hjas_iterator_h_bound_product. (exists pa_lt_hjas_iterator_h_bound_product_bound. pa_lt_hjas_iterator_h_bound_product_bound + S pa_i_hjas_iterator_h_bound_product = e) -> exists pa_p_hjas_iterator_h_bound_product pa_r_hjas_iterator_h_bound_product pa_s_hjas_iterator_h_bound_product. ((((exists pa_h_hjas_iterator_h_bound_product_factor. pa_h_hjas_iterator_h_bound_product_factor + S (pa_p_hjas_iterator_h_bound_product) = S ((S (pa_i_hjas_iterator_h_bound_product)) * pa_c_hjas_iterator_h_bound)) /\ exists pa_q_hjas_iterator_h_bound_product_factor. pa_b_hjas_iterator_h_bound = pa_q_hjas_iterator_h_bound_product_factor * S ((S (pa_i_hjas_iterator_h_bound_product)) * pa_c_hjas_iterator_h_bound) + (pa_p_hjas_iterator_h_bound_product))) /\ ((((exists pa_h_hjas_iterator_h_bound_product_partial. pa_h_hjas_iterator_h_bound_product_partial + S (pa_r_hjas_iterator_h_bound_product) = S ((S (pa_i_hjas_iterator_h_bound_product)) * pa_v_hjas_iterator_h_bound_product)) /\ exists pa_q_hjas_iterator_h_bound_product_partial. pa_u_hjas_iterator_h_bound_product = pa_q_hjas_iterator_h_bound_product_partial * S ((S (pa_i_hjas_iterator_h_bound_product)) * pa_v_hjas_iterator_h_bound_product) + (pa_r_hjas_iterator_h_bound_product))) /\ ((((exists pa_h_hjas_iterator_h_bound_product_successor. pa_h_hjas_iterator_h_bound_product_successor + S (pa_s_hjas_iterator_h_bound_product) = S ((S (S pa_i_hjas_iterator_h_bound_product)) * pa_v_hjas_iterator_h_bound_product)) /\ exists pa_q_hjas_iterator_h_bound_product_successor. pa_u_hjas_iterator_h_bound_product = pa_q_hjas_iterator_h_bound_product_successor * S ((S (S pa_i_hjas_iterator_h_bound_product)) * pa_v_hjas_iterator_h_bound_product) + (pa_s_hjas_iterator_h_bound_product))) /\ pa_s_hjas_iterator_h_bound_product = pa_r_hjas_iterator_h_bound_product * pa_p_hjas_iterator_h_bound_product)))))))) -> (exists pa_b_hjas_iterator_j pa_c_hjas_iterator_j. ((forall pa_i_hjas_iterator_j_repeat. (exists pa_lt_hjas_iterator_j_repeat_bound. pa_lt_hjas_iterator_j_repeat_bound + S pa_i_hjas_iterator_j_repeat = 12) -> (((exists pa_h_hjas_iterator_j_repeat_decoded. pa_h_hjas_iterator_j_repeat_decoded + S ((b + 6 * k) + 7) = S ((S (pa_i_hjas_iterator_j_repeat)) * pa_c_hjas_iterator_j)) /\ exists pa_q_hjas_iterator_j_repeat_decoded. pa_b_hjas_iterator_j = pa_q_hjas_iterator_j_repeat_decoded * S ((S (pa_i_hjas_iterator_j_repeat)) * pa_c_hjas_iterator_j) + ((b + 6 * k) + 7)))) /\ (exists pa_u_hjas_iterator_j_product pa_v_hjas_iterator_j_product. ((((exists pa_h_hjas_iterator_j_product_start. pa_h_hjas_iterator_j_product_start + S (1) = S ((S (0)) * pa_v_hjas_iterator_j_product)) /\ exists pa_q_hjas_iterator_j_product_start. pa_u_hjas_iterator_j_product = pa_q_hjas_iterator_j_product_start * S ((S (0)) * pa_v_hjas_iterator_j_product) + (1))) /\ ((((exists pa_h_hjas_iterator_j_product_terminal. pa_h_hjas_iterator_j_product_terminal + S (j) = S ((S (12)) * pa_v_hjas_iterator_j_product)) /\ exists pa_q_hjas_iterator_j_product_terminal. pa_u_hjas_iterator_j_product = pa_q_hjas_iterator_j_product_terminal * S ((S (12)) * pa_v_hjas_iterator_j_product) + (j))) /\ forall pa_i_hjas_iterator_j_product. (exists pa_lt_hjas_iterator_j_product_bound. pa_lt_hjas_iterator_j_product_bound + S pa_i_hjas_iterator_j_product = 12) -> exists pa_p_hjas_iterator_j_product pa_r_hjas_iterator_j_product pa_s_hjas_iterator_j_product. ((((exists pa_h_hjas_iterator_j_product_factor. pa_h_hjas_iterator_j_product_factor + S (pa_p_hjas_iterator_j_product) = S ((S (pa_i_hjas_iterator_j_product)) * pa_c_hjas_iterator_j)) /\ exists pa_q_hjas_iterator_j_product_factor. pa_b_hjas_iterator_j = pa_q_hjas_iterator_j_product_factor * S ((S (pa_i_hjas_iterator_j_product)) * pa_c_hjas_iterator_j) + (pa_p_hjas_iterator_j_product))) /\ ((((exists pa_h_hjas_iterator_j_product_partial. pa_h_hjas_iterator_j_product_partial + S (pa_r_hjas_iterator_j_product) = S ((S (pa_i_hjas_iterator_j_product)) * pa_v_hjas_iterator_j_product)) /\ exists pa_q_hjas_iterator_j_product_partial. pa_u_hjas_iterator_j_product = pa_q_hjas_iterator_j_product_partial * S ((S (pa_i_hjas_iterator_j_product)) * pa_v_hjas_iterator_j_product) + (pa_r_hjas_iterator_j_product))) /\ ((((exists pa_h_hjas_iterator_j_product_successor. pa_h_hjas_iterator_j_product_successor + S (pa_s_hjas_iterator_j_product) = S ((S (S pa_i_hjas_iterator_j_product)) * pa_v_hjas_iterator_j_product)) /\ exists pa_q_hjas_iterator_j_product_successor. pa_u_hjas_iterator_j_product = pa_q_hjas_iterator_j_product_successor * S ((S (S pa_i_hjas_iterator_j_product)) * pa_v_hjas_iterator_j_product) + (pa_s_hjas_iterator_j_product))) /\ pa_s_hjas_iterator_j_product = pa_r_hjas_iterator_j_product * pa_p_hjas_iterator_j_product)))))))) -> (exists pa_b_hjas_iterator_j_bound pa_c_hjas_iterator_j_bound. ((forall pa_i_hjas_iterator_j_bound_repeat. (exists pa_lt_hjas_iterator_j_bound_repeat_bound. pa_lt_hjas_iterator_j_bound_repeat_bound + S pa_i_hjas_iterator_j_bound_repeat = (b + 6 * k) + 5) -> (((exists pa_h_hjas_iterator_j_bound_repeat_decoded. pa_h_hjas_iterator_j_bound_repeat_decoded + S (4) = S ((S (pa_i_hjas_iterator_j_bound_repeat)) * pa_c_hjas_iterator_j_bound)) /\ exists pa_q_hjas_iterator_j_bound_repeat_decoded. pa_b_hjas_iterator_j_bound = pa_q_hjas_iterator_j_bound_repeat_decoded * S ((S (pa_i_hjas_iterator_j_bound_repeat)) * pa_c_hjas_iterator_j_bound) + (4)))) /\ (exists pa_u_hjas_iterator_j_bound_product pa_v_hjas_iterator_j_bound_product. ((((exists pa_h_hjas_iterator_j_bound_product_start. pa_h_hjas_iterator_j_bound_product_start + S (1) = S ((S (0)) * pa_v_hjas_iterator_j_bound_product)) /\ exists pa_q_hjas_iterator_j_bound_product_start. pa_u_hjas_iterator_j_bound_product = pa_q_hjas_iterator_j_bound_product_start * S ((S (0)) * pa_v_hjas_iterator_j_bound_product) + (1))) /\ ((((exists pa_h_hjas_iterator_j_bound_product_terminal. pa_h_hjas_iterator_j_bound_product_terminal + S (g) = S ((S ((b + 6 * k) + 5)) * pa_v_hjas_iterator_j_bound_product)) /\ exists pa_q_hjas_iterator_j_bound_product_terminal. pa_u_hjas_iterator_j_bound_product = pa_q_hjas_iterator_j_bound_product_terminal * S ((S ((b + 6 * k) + 5)) * pa_v_hjas_iterator_j_bound_product) + (g))) /\ forall pa_i_hjas_iterator_j_bound_product. (exists pa_lt_hjas_iterator_j_bound_product_bound. pa_lt_hjas_iterator_j_bound_product_bound + S pa_i_hjas_iterator_j_bound_product = (b + 6 * k) + 5) -> exists pa_p_hjas_iterator_j_bound_product pa_r_hjas_iterator_j_bound_product pa_s_hjas_iterator_j_bound_product. ((((exists pa_h_hjas_iterator_j_bound_product_factor. pa_h_hjas_iterator_j_bound_product_factor + S (pa_p_hjas_iterator_j_bound_product) = S ((S (pa_i_hjas_iterator_j_bound_product)) * pa_c_hjas_iterator_j_bound)) /\ exists pa_q_hjas_iterator_j_bound_product_factor. pa_b_hjas_iterator_j_bound = pa_q_hjas_iterator_j_bound_product_factor * S ((S (pa_i_hjas_iterator_j_bound_product)) * pa_c_hjas_iterator_j_bound) + (pa_p_hjas_iterator_j_bound_product))) /\ ((((exists pa_h_hjas_iterator_j_bound_product_partial. pa_h_hjas_iterator_j_bound_product_partial + S (pa_r_hjas_iterator_j_bound_product) = S ((S (pa_i_hjas_iterator_j_bound_product)) * pa_v_hjas_iterator_j_bound_product)) /\ exists pa_q_hjas_iterator_j_bound_product_partial. pa_u_hjas_iterator_j_bound_product = pa_q_hjas_iterator_j_bound_product_partial * S ((S (pa_i_hjas_iterator_j_bound_product)) * pa_v_hjas_iterator_j_bound_product) + (pa_r_hjas_iterator_j_bound_product))) /\ ((((exists pa_h_hjas_iterator_j_bound_product_successor. pa_h_hjas_iterator_j_bound_product_successor + S (pa_s_hjas_iterator_j_bound_product) = S ((S (S pa_i_hjas_iterator_j_bound_product)) * pa_v_hjas_iterator_j_bound_product)) /\ exists pa_q_hjas_iterator_j_bound_product_successor. pa_u_hjas_iterator_j_bound_product = pa_q_hjas_iterator_j_bound_product_successor * S ((S (S pa_i_hjas_iterator_j_bound_product)) * pa_v_hjas_iterator_j_bound_product) + (pa_s_hjas_iterator_j_bound_product))) /\ pa_s_hjas_iterator_j_bound_product = pa_r_hjas_iterator_j_bound_product * pa_p_hjas_iterator_j_bound_product)))))))) -> (((exists bqb_le_gap_hjas_iterator_h_result. bqb_le_gap_hjas_iterator_h_result + (h) = (u)) /\ (exists bqb_le_gap_hjas_iterator_j_result. bqb_le_gap_hjas_iterator_j_result + (j) = (g))))Structural proof guide
The common H/J invariant iterates constructively over every six-step block.
Direct prerequisites: bertrand_hj_base_window_thirty_two_from_total, bertrand_hj_six_step_from_total, ceil_div_six_total, le_add_right, le_trans, mul_add, add_assoc. The authored body proceeds by structural induction (1), case analysis (6), intermediate claims (22), equality transport (24), closed numeral normalization (1).
Proof neighborhood
Direct dependencies
BT00WW bertrand_hj_base_window_thirty_two_from_total BT00SY bertrand_hj_six_step_from_total BT00R1 ceil_div_six_total BT0013 le_add_right BT000F le_trans BT0007 mul_add BT0003 add_assocDirect dependents
Formal native tactic body
Dependencies are hypotheses of this body receipt. The focused endpoint audits separately check the complete empty-context certificates.
- 0001
intro b - 0002
intro htotal - 0003
intro hlower - 0004
intro hupper - 0005
induction k - 0006
intro e - 0007
intro h - 0008
intro u - 0009
intro j - 0010
intro g - 0011
intro hceiling - 0012
intro hh - 0013
intro hu - 0014
intro hj - 0015
intro hg - 0016
have hroot_zero : b + 6 * 0 = b - 0017
rewrite PA5 - 0018
apply PA3 - 0019
have hzero_lower : exists bqb_le_gap_hjas_iterator_zero_lower. bqb_le_gap_hjas_iterator_zero_lower + (32) = (b + 6 * 0) - 0020
rewrite hroot_zero - 0021
exact hlower - 0022
have hzero_upper : exists bqb_le_gap_hjas_iterator_zero_upper. bqb_le_gap_hjas_iterator_zero_upper + (b + 6 * 0) = (37) - 0023
rewrite hroot_zero - 0024
exact hupper - 0025
specialize bertrand_hj_base_window_thirty_two_from_total (b + 6 * 0) - 0026
specialize bertrand_hj_base_window_thirty_two_from_total e - 0027
specialize bertrand_hj_base_window_thirty_two_from_total h - 0028
specialize bertrand_hj_base_window_thirty_two_from_total u - 0029
specialize bertrand_hj_base_window_thirty_two_from_total j - 0030
specialize bertrand_hj_base_window_thirty_two_from_total g - 0031
apply bertrand_hj_base_window_thirty_two_from_total - 0032
exact htotal - 0033
exact hzero_lower - 0034
exact hzero_upper - 0035
exact hceiling - 0036
exact hh - 0037
exact hu - 0038
exact hj - 0039
exact hg - 0040
intro e - 0041
intro h - 0042
intro u - 0043
intro j - 0044
intro g - 0045
intro hceiling - 0046
intro hh - 0047
intro hu - 0048
intro hj - 0049
intro hg - 0050
have hcurrent_ceiling : exists ce. (((exists bcs_lower_gap_hjas_current_ceiling_exists. bcs_lower_gap_hjas_current_ceiling_exists + ((b + 6 * k) * (b + 6 * k)) = 6 * (ce)) /\ exists bcs_upper_gap_hjas_current_ceiling_exists. bcs_upper_gap_hjas_current_ceiling_exists + S (6 * (ce)) = ((b + 6 * k) * (b + 6 * k)) + 6)) - 0051
specialize ceil_div_six_total ((b + 6 * k) * (b + 6 * k)) - 0052
exact ceil_div_six_total - 0053
cases hcurrent_ceiling - 0054
have hcurrent_h : exists hh. (exists pa_b_hjas_current_h_exists pa_c_hjas_current_h_exists. ((forall pa_i_hjas_current_h_exists_repeat. (exists pa_lt_hjas_current_h_exists_repeat_bound. pa_lt_hjas_current_h_exists_repeat_bound + S pa_i_hjas_current_h_exists_repeat = 2 * (b + 6 * k) + 2) -> (((exists pa_h_hjas_current_h_exists_repeat_decoded. pa_h_hjas_current_h_exists_repeat_decoded + S ((b + 6 * k) + 1) = S ((S (pa_i_hjas_current_h_exists_repeat)) * pa_c_hjas_current_h_exists)) /\ exists pa_q_hjas_current_h_exists_repeat_decoded. pa_b_hjas_current_h_exists = pa_q_hjas_current_h_exists_repeat_decoded * S ((S (pa_i_hjas_current_h_exists_repeat)) * pa_c_hjas_current_h_exists) + ((b + 6 * k) + 1)))) /\ (exists pa_u_hjas_current_h_exists_product pa_v_hjas_current_h_exists_product. ((((exists pa_h_hjas_current_h_exists_product_start. pa_h_hjas_current_h_exists_product_start + S (1) = S ((S (0)) * pa_v_hjas_current_h_exists_product)) /\ exists pa_q_hjas_current_h_exists_product_start. pa_u_hjas_current_h_exists_product = pa_q_hjas_current_h_exists_product_start * S ((S (0)) * pa_v_hjas_current_h_exists_product) + (1))) /\ ((((exists pa_h_hjas_current_h_exists_product_terminal. pa_h_hjas_current_h_exists_product_terminal + S (hh) = S ((S (2 * (b + 6 * k) + 2)) * pa_v_hjas_current_h_exists_product)) /\ exists pa_q_hjas_current_h_exists_product_terminal. pa_u_hjas_current_h_exists_product = pa_q_hjas_current_h_exists_product_terminal * S ((S (2 * (b + 6 * k) + 2)) * pa_v_hjas_current_h_exists_product) + (hh))) /\ forall pa_i_hjas_current_h_exists_product. (exists pa_lt_hjas_current_h_exists_product_bound. pa_lt_hjas_current_h_exists_product_bound + S pa_i_hjas_current_h_exists_product = 2 * (b + 6 * k) + 2) -> exists pa_p_hjas_current_h_exists_product pa_r_hjas_current_h_exists_product pa_s_hjas_current_h_exists_product. ((((exists pa_h_hjas_current_h_exists_product_factor. pa_h_hjas_current_h_exists_product_factor + S (pa_p_hjas_current_h_exists_product) = S ((S (pa_i_hjas_current_h_exists_product)) * pa_c_hjas_current_h_exists)) /\ exists pa_q_hjas_current_h_exists_product_factor. pa_b_hjas_current_h_exists = pa_q_hjas_current_h_exists_product_factor * S ((S (pa_i_hjas_current_h_exists_product)) * pa_c_hjas_current_h_exists) + (pa_p_hjas_current_h_exists_product))) /\ ((((exists pa_h_hjas_current_h_exists_product_partial. pa_h_hjas_current_h_exists_product_partial + S (pa_r_hjas_current_h_exists_product) = S ((S (pa_i_hjas_current_h_exists_product)) * pa_v_hjas_current_h_exists_product)) /\ exists pa_q_hjas_current_h_exists_product_partial. pa_u_hjas_current_h_exists_product = pa_q_hjas_current_h_exists_product_partial * S ((S (pa_i_hjas_current_h_exists_product)) * pa_v_hjas_current_h_exists_product) + (pa_r_hjas_current_h_exists_product))) /\ ((((exists pa_h_hjas_current_h_exists_product_successor. pa_h_hjas_current_h_exists_product_successor + S (pa_s_hjas_current_h_exists_product) = S ((S (S pa_i_hjas_current_h_exists_product)) * pa_v_hjas_current_h_exists_product)) /\ exists pa_q_hjas_current_h_exists_product_successor. pa_u_hjas_current_h_exists_product = pa_q_hjas_current_h_exists_product_successor * S ((S (S pa_i_hjas_current_h_exists_product)) * pa_v_hjas_current_h_exists_product) + (pa_s_hjas_current_h_exists_product))) /\ pa_s_hjas_current_h_exists_product = pa_r_hjas_current_h_exists_product * pa_p_hjas_current_h_exists_product)))))))) - 0055
specialize htotal ((b + 6 * k) + 1) - 0056
specialize htotal (2 * (b + 6 * k) + 2) - 0057
exact htotal - 0058
cases hcurrent_h - 0059
have hcurrent_u : exists hu. (exists pa_b_hjas_current_u_exists pa_c_hjas_current_u_exists. ((forall pa_i_hjas_current_u_exists_repeat. (exists pa_lt_hjas_current_u_exists_repeat_bound. pa_lt_hjas_current_u_exists_repeat_bound + S pa_i_hjas_current_u_exists_repeat = x) -> (((exists pa_h_hjas_current_u_exists_repeat_decoded. pa_h_hjas_current_u_exists_repeat_decoded + S (4) = S ((S (pa_i_hjas_current_u_exists_repeat)) * pa_c_hjas_current_u_exists)) /\ exists pa_q_hjas_current_u_exists_repeat_decoded. pa_b_hjas_current_u_exists = pa_q_hjas_current_u_exists_repeat_decoded * S ((S (pa_i_hjas_current_u_exists_repeat)) * pa_c_hjas_current_u_exists) + (4)))) /\ (exists pa_u_hjas_current_u_exists_product pa_v_hjas_current_u_exists_product. ((((exists pa_h_hjas_current_u_exists_product_start. pa_h_hjas_current_u_exists_product_start + S (1) = S ((S (0)) * pa_v_hjas_current_u_exists_product)) /\ exists pa_q_hjas_current_u_exists_product_start. pa_u_hjas_current_u_exists_product = pa_q_hjas_current_u_exists_product_start * S ((S (0)) * pa_v_hjas_current_u_exists_product) + (1))) /\ ((((exists pa_h_hjas_current_u_exists_product_terminal. pa_h_hjas_current_u_exists_product_terminal + S (hu) = S ((S (x)) * pa_v_hjas_current_u_exists_product)) /\ exists pa_q_hjas_current_u_exists_product_terminal. pa_u_hjas_current_u_exists_product = pa_q_hjas_current_u_exists_product_terminal * S ((S (x)) * pa_v_hjas_current_u_exists_product) + (hu))) /\ forall pa_i_hjas_current_u_exists_product. (exists pa_lt_hjas_current_u_exists_product_bound. pa_lt_hjas_current_u_exists_product_bound + S pa_i_hjas_current_u_exists_product = x) -> exists pa_p_hjas_current_u_exists_product pa_r_hjas_current_u_exists_product pa_s_hjas_current_u_exists_product. ((((exists pa_h_hjas_current_u_exists_product_factor. pa_h_hjas_current_u_exists_product_factor + S (pa_p_hjas_current_u_exists_product) = S ((S (pa_i_hjas_current_u_exists_product)) * pa_c_hjas_current_u_exists)) /\ exists pa_q_hjas_current_u_exists_product_factor. pa_b_hjas_current_u_exists = pa_q_hjas_current_u_exists_product_factor * S ((S (pa_i_hjas_current_u_exists_product)) * pa_c_hjas_current_u_exists) + (pa_p_hjas_current_u_exists_product))) /\ ((((exists pa_h_hjas_current_u_exists_product_partial. pa_h_hjas_current_u_exists_product_partial + S (pa_r_hjas_current_u_exists_product) = S ((S (pa_i_hjas_current_u_exists_product)) * pa_v_hjas_current_u_exists_product)) /\ exists pa_q_hjas_current_u_exists_product_partial. pa_u_hjas_current_u_exists_product = pa_q_hjas_current_u_exists_product_partial * S ((S (pa_i_hjas_current_u_exists_product)) * pa_v_hjas_current_u_exists_product) + (pa_r_hjas_current_u_exists_product))) /\ ((((exists pa_h_hjas_current_u_exists_product_successor. pa_h_hjas_current_u_exists_product_successor + S (pa_s_hjas_current_u_exists_product) = S ((S (S pa_i_hjas_current_u_exists_product)) * pa_v_hjas_current_u_exists_product)) /\ exists pa_q_hjas_current_u_exists_product_successor. pa_u_hjas_current_u_exists_product = pa_q_hjas_current_u_exists_product_successor * S ((S (S pa_i_hjas_current_u_exists_product)) * pa_v_hjas_current_u_exists_product) + (pa_s_hjas_current_u_exists_product))) /\ pa_s_hjas_current_u_exists_product = pa_r_hjas_current_u_exists_product * pa_p_hjas_current_u_exists_product)))))))) - 0060
specialize htotal 4 - 0061
specialize htotal x - 0062
exact htotal - 0063
cases hcurrent_u - 0064
have hcurrent_j : exists jj. (exists pa_b_hjas_current_j_exists pa_c_hjas_current_j_exists. ((forall pa_i_hjas_current_j_exists_repeat. (exists pa_lt_hjas_current_j_exists_repeat_bound. pa_lt_hjas_current_j_exists_repeat_bound + S pa_i_hjas_current_j_exists_repeat = 12) -> (((exists pa_h_hjas_current_j_exists_repeat_decoded. pa_h_hjas_current_j_exists_repeat_decoded + S ((b + 6 * k) + 7) = S ((S (pa_i_hjas_current_j_exists_repeat)) * pa_c_hjas_current_j_exists)) /\ exists pa_q_hjas_current_j_exists_repeat_decoded. pa_b_hjas_current_j_exists = pa_q_hjas_current_j_exists_repeat_decoded * S ((S (pa_i_hjas_current_j_exists_repeat)) * pa_c_hjas_current_j_exists) + ((b + 6 * k) + 7)))) /\ (exists pa_u_hjas_current_j_exists_product pa_v_hjas_current_j_exists_product. ((((exists pa_h_hjas_current_j_exists_product_start. pa_h_hjas_current_j_exists_product_start + S (1) = S ((S (0)) * pa_v_hjas_current_j_exists_product)) /\ exists pa_q_hjas_current_j_exists_product_start. pa_u_hjas_current_j_exists_product = pa_q_hjas_current_j_exists_product_start * S ((S (0)) * pa_v_hjas_current_j_exists_product) + (1))) /\ ((((exists pa_h_hjas_current_j_exists_product_terminal. pa_h_hjas_current_j_exists_product_terminal + S (jj) = S ((S (12)) * pa_v_hjas_current_j_exists_product)) /\ exists pa_q_hjas_current_j_exists_product_terminal. pa_u_hjas_current_j_exists_product = pa_q_hjas_current_j_exists_product_terminal * S ((S (12)) * pa_v_hjas_current_j_exists_product) + (jj))) /\ forall pa_i_hjas_current_j_exists_product. (exists pa_lt_hjas_current_j_exists_product_bound. pa_lt_hjas_current_j_exists_product_bound + S pa_i_hjas_current_j_exists_product = 12) -> exists pa_p_hjas_current_j_exists_product pa_r_hjas_current_j_exists_product pa_s_hjas_current_j_exists_product. ((((exists pa_h_hjas_current_j_exists_product_factor. pa_h_hjas_current_j_exists_product_factor + S (pa_p_hjas_current_j_exists_product) = S ((S (pa_i_hjas_current_j_exists_product)) * pa_c_hjas_current_j_exists)) /\ exists pa_q_hjas_current_j_exists_product_factor. pa_b_hjas_current_j_exists = pa_q_hjas_current_j_exists_product_factor * S ((S (pa_i_hjas_current_j_exists_product)) * pa_c_hjas_current_j_exists) + (pa_p_hjas_current_j_exists_product))) /\ ((((exists pa_h_hjas_current_j_exists_product_partial. pa_h_hjas_current_j_exists_product_partial + S (pa_r_hjas_current_j_exists_product) = S ((S (pa_i_hjas_current_j_exists_product)) * pa_v_hjas_current_j_exists_product)) /\ exists pa_q_hjas_current_j_exists_product_partial. pa_u_hjas_current_j_exists_product = pa_q_hjas_current_j_exists_product_partial * S ((S (pa_i_hjas_current_j_exists_product)) * pa_v_hjas_current_j_exists_product) + (pa_r_hjas_current_j_exists_product))) /\ ((((exists pa_h_hjas_current_j_exists_product_successor. pa_h_hjas_current_j_exists_product_successor + S (pa_s_hjas_current_j_exists_product) = S ((S (S pa_i_hjas_current_j_exists_product)) * pa_v_hjas_current_j_exists_product)) /\ exists pa_q_hjas_current_j_exists_product_successor. pa_u_hjas_current_j_exists_product = pa_q_hjas_current_j_exists_product_successor * S ((S (S pa_i_hjas_current_j_exists_product)) * pa_v_hjas_current_j_exists_product) + (pa_s_hjas_current_j_exists_product))) /\ pa_s_hjas_current_j_exists_product = pa_r_hjas_current_j_exists_product * pa_p_hjas_current_j_exists_product)))))))) - 0065
specialize htotal ((b + 6 * k) + 7) - 0066
specialize htotal 12 - 0067
exact htotal - 0068
cases hcurrent_j - 0069
have hcurrent_g : exists gg. (exists pa_b_hjas_current_g_exists pa_c_hjas_current_g_exists. ((forall pa_i_hjas_current_g_exists_repeat. (exists pa_lt_hjas_current_g_exists_repeat_bound. pa_lt_hjas_current_g_exists_repeat_bound + S pa_i_hjas_current_g_exists_repeat = (b + 6 * k) + 5) -> (((exists pa_h_hjas_current_g_exists_repeat_decoded. pa_h_hjas_current_g_exists_repeat_decoded + S (4) = S ((S (pa_i_hjas_current_g_exists_repeat)) * pa_c_hjas_current_g_exists)) /\ exists pa_q_hjas_current_g_exists_repeat_decoded. pa_b_hjas_current_g_exists = pa_q_hjas_current_g_exists_repeat_decoded * S ((S (pa_i_hjas_current_g_exists_repeat)) * pa_c_hjas_current_g_exists) + (4)))) /\ (exists pa_u_hjas_current_g_exists_product pa_v_hjas_current_g_exists_product. ((((exists pa_h_hjas_current_g_exists_product_start. pa_h_hjas_current_g_exists_product_start + S (1) = S ((S (0)) * pa_v_hjas_current_g_exists_product)) /\ exists pa_q_hjas_current_g_exists_product_start. pa_u_hjas_current_g_exists_product = pa_q_hjas_current_g_exists_product_start * S ((S (0)) * pa_v_hjas_current_g_exists_product) + (1))) /\ ((((exists pa_h_hjas_current_g_exists_product_terminal. pa_h_hjas_current_g_exists_product_terminal + S (gg) = S ((S ((b + 6 * k) + 5)) * pa_v_hjas_current_g_exists_product)) /\ exists pa_q_hjas_current_g_exists_product_terminal. pa_u_hjas_current_g_exists_product = pa_q_hjas_current_g_exists_product_terminal * S ((S ((b + 6 * k) + 5)) * pa_v_hjas_current_g_exists_product) + (gg))) /\ forall pa_i_hjas_current_g_exists_product. (exists pa_lt_hjas_current_g_exists_product_bound. pa_lt_hjas_current_g_exists_product_bound + S pa_i_hjas_current_g_exists_product = (b + 6 * k) + 5) -> exists pa_p_hjas_current_g_exists_product pa_r_hjas_current_g_exists_product pa_s_hjas_current_g_exists_product. ((((exists pa_h_hjas_current_g_exists_product_factor. pa_h_hjas_current_g_exists_product_factor + S (pa_p_hjas_current_g_exists_product) = S ((S (pa_i_hjas_current_g_exists_product)) * pa_c_hjas_current_g_exists)) /\ exists pa_q_hjas_current_g_exists_product_factor. pa_b_hjas_current_g_exists = pa_q_hjas_current_g_exists_product_factor * S ((S (pa_i_hjas_current_g_exists_product)) * pa_c_hjas_current_g_exists) + (pa_p_hjas_current_g_exists_product))) /\ ((((exists pa_h_hjas_current_g_exists_product_partial. pa_h_hjas_current_g_exists_product_partial + S (pa_r_hjas_current_g_exists_product) = S ((S (pa_i_hjas_current_g_exists_product)) * pa_v_hjas_current_g_exists_product)) /\ exists pa_q_hjas_current_g_exists_product_partial. pa_u_hjas_current_g_exists_product = pa_q_hjas_current_g_exists_product_partial * S ((S (pa_i_hjas_current_g_exists_product)) * pa_v_hjas_current_g_exists_product) + (pa_r_hjas_current_g_exists_product))) /\ ((((exists pa_h_hjas_current_g_exists_product_successor. pa_h_hjas_current_g_exists_product_successor + S (pa_s_hjas_current_g_exists_product) = S ((S (S pa_i_hjas_current_g_exists_product)) * pa_v_hjas_current_g_exists_product)) /\ exists pa_q_hjas_current_g_exists_product_successor. pa_u_hjas_current_g_exists_product = pa_q_hjas_current_g_exists_product_successor * S ((S (S pa_i_hjas_current_g_exists_product)) * pa_v_hjas_current_g_exists_product) + (pa_s_hjas_current_g_exists_product))) /\ pa_s_hjas_current_g_exists_product = pa_r_hjas_current_g_exists_product * pa_p_hjas_current_g_exists_product)))))))) - 0070
specialize htotal 4 - 0071
specialize htotal ((b + 6 * k) + 5) - 0072
exact htotal - 0073
cases hcurrent_g - 0074
have hcurrent_bounds : ((exists bqb_le_gap_hjas_current_h_result. bqb_le_gap_hjas_current_h_result + (x1) = (x2)) /\ (exists bqb_le_gap_hjas_current_j_result. bqb_le_gap_hjas_current_j_result + (x3) = (x4))) - 0075
specialize IH x - 0076
specialize IH x1 - 0077
specialize IH x2 - 0078
specialize IH x3 - 0079
specialize IH x4 - 0080
apply IH - 0081
exact hcurrent_ceiling_witness - 0082
exact hcurrent_h_witness - 0083
exact hcurrent_u_witness - 0084
exact hcurrent_j_witness - 0085
exact hcurrent_g_witness - 0086
cases hcurrent_bounds - 0087
have hfive_thirty_two : exists bqb_le_gap_hjas_five_le_thirty_two. bqb_le_gap_hjas_five_le_thirty_two + (5) = (32) - 0088
exists 27 - 0089
norm_num - 0090
have hfive_base : exists bqb_le_gap_hjas_five_le_base. bqb_le_gap_hjas_five_le_base + (5) = (b) - 0091
specialize le_trans 5 - 0092
specialize le_trans 32 - 0093
specialize le_trans b - 0094
apply le_trans - 0095
exact hfive_thirty_two - 0096
exact hlower - 0097
have hbase_current : exists bqb_le_gap_hjas_base_le_current. bqb_le_gap_hjas_base_le_current + (b) = (b + 6 * k) - 0098
specialize le_add_right b - 0099
specialize le_add_right (6 * k) - 0100
exact le_add_right - 0101
have hfive_current : exists bqb_le_gap_hjas_five_le_current. bqb_le_gap_hjas_five_le_current + (5) = (b + 6 * k) - 0102
specialize le_trans 5 - 0103
specialize le_trans b - 0104
specialize le_trans (b + 6 * k) - 0105
apply le_trans - 0106
exact hfive_base - 0107
exact hbase_current - 0108
have hroot_step : b + 6 * S k = (b + 6 * k) + 6 - 0109
rewrite PA6 - 0110
symm - 0111
specialize add_assoc b - 0112
specialize add_assoc (6 * k) - 0113
specialize add_assoc 6 - 0114
apply add_assoc - 0115
have hnext_h_base : (b + 6 * S k) + 1 = (b + 6 * k) + 7 - 0116
rewrite hroot_step - 0117
simp - 0118
have hnext_h_exponent : 2 * (b + 6 * S k) + 2 = 2 * (b + 6 * k) + 14 - 0119
rewrite hroot_step - 0120
simp [mul_add, add_assoc] - 0121
have hnext_j_base : (b + 6 * S k) + 7 = (b + 6 * k) + 13 - 0122
rewrite hroot_step - 0123
simp [add_assoc] - 0124
have hnext_j_exponent : (b + 6 * S k) + 5 = (b + 6 * k) + 11 - 0125
rewrite hroot_step - 0126
simp [add_assoc] - 0127
have hnext_ceiling : ((exists bcs_lower_gap_hjas_transport_next_ceiling. bcs_lower_gap_hjas_transport_next_ceiling + (((b + 6 * k) + 6) * ((b + 6 * k) + 6)) = 6 * (e)) /\ exists bcs_upper_gap_hjas_transport_next_ceiling. bcs_upper_gap_hjas_transport_next_ceiling + S (6 * (e)) = (((b + 6 * k) + 6) * ((b + 6 * k) + 6)) + 6) - 0128
rewrite <- hroot_step - 0129
rewrite <- hroot_step - 0130
rewrite <- hroot_step - 0131
rewrite <- hroot_step - 0132
exact hceiling - 0133
have hnext_h : exists pa_b_hjas_transport_next_h pa_c_hjas_transport_next_h. ((forall pa_i_hjas_transport_next_h_repeat. (exists pa_lt_hjas_transport_next_h_repeat_bound. pa_lt_hjas_transport_next_h_repeat_bound + S pa_i_hjas_transport_next_h_repeat = 2 * (b + 6 * k) + 14) -> (((exists pa_h_hjas_transport_next_h_repeat_decoded. pa_h_hjas_transport_next_h_repeat_decoded + S ((b + 6 * k) + 7) = S ((S (pa_i_hjas_transport_next_h_repeat)) * pa_c_hjas_transport_next_h)) /\ exists pa_q_hjas_transport_next_h_repeat_decoded. pa_b_hjas_transport_next_h = pa_q_hjas_transport_next_h_repeat_decoded * S ((S (pa_i_hjas_transport_next_h_repeat)) * pa_c_hjas_transport_next_h) + ((b + 6 * k) + 7)))) /\ (exists pa_u_hjas_transport_next_h_product pa_v_hjas_transport_next_h_product. ((((exists pa_h_hjas_transport_next_h_product_start. pa_h_hjas_transport_next_h_product_start + S (1) = S ((S (0)) * pa_v_hjas_transport_next_h_product)) /\ exists pa_q_hjas_transport_next_h_product_start. pa_u_hjas_transport_next_h_product = pa_q_hjas_transport_next_h_product_start * S ((S (0)) * pa_v_hjas_transport_next_h_product) + (1))) /\ ((((exists pa_h_hjas_transport_next_h_product_terminal. pa_h_hjas_transport_next_h_product_terminal + S (h) = S ((S (2 * (b + 6 * k) + 14)) * pa_v_hjas_transport_next_h_product)) /\ exists pa_q_hjas_transport_next_h_product_terminal. pa_u_hjas_transport_next_h_product = pa_q_hjas_transport_next_h_product_terminal * S ((S (2 * (b + 6 * k) + 14)) * pa_v_hjas_transport_next_h_product) + (h))) /\ forall pa_i_hjas_transport_next_h_product. (exists pa_lt_hjas_transport_next_h_product_bound. pa_lt_hjas_transport_next_h_product_bound + S pa_i_hjas_transport_next_h_product = 2 * (b + 6 * k) + 14) -> exists pa_p_hjas_transport_next_h_product pa_r_hjas_transport_next_h_product pa_s_hjas_transport_next_h_product. ((((exists pa_h_hjas_transport_next_h_product_factor. pa_h_hjas_transport_next_h_product_factor + S (pa_p_hjas_transport_next_h_product) = S ((S (pa_i_hjas_transport_next_h_product)) * pa_c_hjas_transport_next_h)) /\ exists pa_q_hjas_transport_next_h_product_factor. pa_b_hjas_transport_next_h = pa_q_hjas_transport_next_h_product_factor * S ((S (pa_i_hjas_transport_next_h_product)) * pa_c_hjas_transport_next_h) + (pa_p_hjas_transport_next_h_product))) /\ ((((exists pa_h_hjas_transport_next_h_product_partial. pa_h_hjas_transport_next_h_product_partial + S (pa_r_hjas_transport_next_h_product) = S ((S (pa_i_hjas_transport_next_h_product)) * pa_v_hjas_transport_next_h_product)) /\ exists pa_q_hjas_transport_next_h_product_partial. pa_u_hjas_transport_next_h_product = pa_q_hjas_transport_next_h_product_partial * S ((S (pa_i_hjas_transport_next_h_product)) * pa_v_hjas_transport_next_h_product) + (pa_r_hjas_transport_next_h_product))) /\ ((((exists pa_h_hjas_transport_next_h_product_successor. pa_h_hjas_transport_next_h_product_successor + S (pa_s_hjas_transport_next_h_product) = S ((S (S pa_i_hjas_transport_next_h_product)) * pa_v_hjas_transport_next_h_product)) /\ exists pa_q_hjas_transport_next_h_product_successor. pa_u_hjas_transport_next_h_product = pa_q_hjas_transport_next_h_product_successor * S ((S (S pa_i_hjas_transport_next_h_product)) * pa_v_hjas_transport_next_h_product) + (pa_s_hjas_transport_next_h_product))) /\ pa_s_hjas_transport_next_h_product = pa_r_hjas_transport_next_h_product * pa_p_hjas_transport_next_h_product))))))) - 0134
rewrite <- hnext_h_base - 0135
rewrite <- hnext_h_base - 0136
rewrite <- hnext_h_exponent - 0137
rewrite <- hnext_h_exponent - 0138
rewrite <- hnext_h_exponent - 0139
rewrite <- hnext_h_exponent - 0140
exact hh - 0141
have hnext_j : exists pa_b_hjas_transport_next_j pa_c_hjas_transport_next_j. ((forall pa_i_hjas_transport_next_j_repeat. (exists pa_lt_hjas_transport_next_j_repeat_bound. pa_lt_hjas_transport_next_j_repeat_bound + S pa_i_hjas_transport_next_j_repeat = 12) -> (((exists pa_h_hjas_transport_next_j_repeat_decoded. pa_h_hjas_transport_next_j_repeat_decoded + S ((b + 6 * k) + 13) = S ((S (pa_i_hjas_transport_next_j_repeat)) * pa_c_hjas_transport_next_j)) /\ exists pa_q_hjas_transport_next_j_repeat_decoded. pa_b_hjas_transport_next_j = pa_q_hjas_transport_next_j_repeat_decoded * S ((S (pa_i_hjas_transport_next_j_repeat)) * pa_c_hjas_transport_next_j) + ((b + 6 * k) + 13)))) /\ (exists pa_u_hjas_transport_next_j_product pa_v_hjas_transport_next_j_product. ((((exists pa_h_hjas_transport_next_j_product_start. pa_h_hjas_transport_next_j_product_start + S (1) = S ((S (0)) * pa_v_hjas_transport_next_j_product)) /\ exists pa_q_hjas_transport_next_j_product_start. pa_u_hjas_transport_next_j_product = pa_q_hjas_transport_next_j_product_start * S ((S (0)) * pa_v_hjas_transport_next_j_product) + (1))) /\ ((((exists pa_h_hjas_transport_next_j_product_terminal. pa_h_hjas_transport_next_j_product_terminal + S (j) = S ((S (12)) * pa_v_hjas_transport_next_j_product)) /\ exists pa_q_hjas_transport_next_j_product_terminal. pa_u_hjas_transport_next_j_product = pa_q_hjas_transport_next_j_product_terminal * S ((S (12)) * pa_v_hjas_transport_next_j_product) + (j))) /\ forall pa_i_hjas_transport_next_j_product. (exists pa_lt_hjas_transport_next_j_product_bound. pa_lt_hjas_transport_next_j_product_bound + S pa_i_hjas_transport_next_j_product = 12) -> exists pa_p_hjas_transport_next_j_product pa_r_hjas_transport_next_j_product pa_s_hjas_transport_next_j_product. ((((exists pa_h_hjas_transport_next_j_product_factor. pa_h_hjas_transport_next_j_product_factor + S (pa_p_hjas_transport_next_j_product) = S ((S (pa_i_hjas_transport_next_j_product)) * pa_c_hjas_transport_next_j)) /\ exists pa_q_hjas_transport_next_j_product_factor. pa_b_hjas_transport_next_j = pa_q_hjas_transport_next_j_product_factor * S ((S (pa_i_hjas_transport_next_j_product)) * pa_c_hjas_transport_next_j) + (pa_p_hjas_transport_next_j_product))) /\ ((((exists pa_h_hjas_transport_next_j_product_partial. pa_h_hjas_transport_next_j_product_partial + S (pa_r_hjas_transport_next_j_product) = S ((S (pa_i_hjas_transport_next_j_product)) * pa_v_hjas_transport_next_j_product)) /\ exists pa_q_hjas_transport_next_j_product_partial. pa_u_hjas_transport_next_j_product = pa_q_hjas_transport_next_j_product_partial * S ((S (pa_i_hjas_transport_next_j_product)) * pa_v_hjas_transport_next_j_product) + (pa_r_hjas_transport_next_j_product))) /\ ((((exists pa_h_hjas_transport_next_j_product_successor. pa_h_hjas_transport_next_j_product_successor + S (pa_s_hjas_transport_next_j_product) = S ((S (S pa_i_hjas_transport_next_j_product)) * pa_v_hjas_transport_next_j_product)) /\ exists pa_q_hjas_transport_next_j_product_successor. pa_u_hjas_transport_next_j_product = pa_q_hjas_transport_next_j_product_successor * S ((S (S pa_i_hjas_transport_next_j_product)) * pa_v_hjas_transport_next_j_product) + (pa_s_hjas_transport_next_j_product))) /\ pa_s_hjas_transport_next_j_product = pa_r_hjas_transport_next_j_product * pa_p_hjas_transport_next_j_product))))))) - 0142
rewrite <- hnext_j_base - 0143
rewrite <- hnext_j_base - 0144
exact hj - 0145
have hnext_g : exists pa_b_hjas_transport_next_g pa_c_hjas_transport_next_g. ((forall pa_i_hjas_transport_next_g_repeat. (exists pa_lt_hjas_transport_next_g_repeat_bound. pa_lt_hjas_transport_next_g_repeat_bound + S pa_i_hjas_transport_next_g_repeat = (b + 6 * k) + 11) -> (((exists pa_h_hjas_transport_next_g_repeat_decoded. pa_h_hjas_transport_next_g_repeat_decoded + S (4) = S ((S (pa_i_hjas_transport_next_g_repeat)) * pa_c_hjas_transport_next_g)) /\ exists pa_q_hjas_transport_next_g_repeat_decoded. pa_b_hjas_transport_next_g = pa_q_hjas_transport_next_g_repeat_decoded * S ((S (pa_i_hjas_transport_next_g_repeat)) * pa_c_hjas_transport_next_g) + (4)))) /\ (exists pa_u_hjas_transport_next_g_product pa_v_hjas_transport_next_g_product. ((((exists pa_h_hjas_transport_next_g_product_start. pa_h_hjas_transport_next_g_product_start + S (1) = S ((S (0)) * pa_v_hjas_transport_next_g_product)) /\ exists pa_q_hjas_transport_next_g_product_start. pa_u_hjas_transport_next_g_product = pa_q_hjas_transport_next_g_product_start * S ((S (0)) * pa_v_hjas_transport_next_g_product) + (1))) /\ ((((exists pa_h_hjas_transport_next_g_product_terminal. pa_h_hjas_transport_next_g_product_terminal + S (g) = S ((S ((b + 6 * k) + 11)) * pa_v_hjas_transport_next_g_product)) /\ exists pa_q_hjas_transport_next_g_product_terminal. pa_u_hjas_transport_next_g_product = pa_q_hjas_transport_next_g_product_terminal * S ((S ((b + 6 * k) + 11)) * pa_v_hjas_transport_next_g_product) + (g))) /\ forall pa_i_hjas_transport_next_g_product. (exists pa_lt_hjas_transport_next_g_product_bound. pa_lt_hjas_transport_next_g_product_bound + S pa_i_hjas_transport_next_g_product = (b + 6 * k) + 11) -> exists pa_p_hjas_transport_next_g_product pa_r_hjas_transport_next_g_product pa_s_hjas_transport_next_g_product. ((((exists pa_h_hjas_transport_next_g_product_factor. pa_h_hjas_transport_next_g_product_factor + S (pa_p_hjas_transport_next_g_product) = S ((S (pa_i_hjas_transport_next_g_product)) * pa_c_hjas_transport_next_g)) /\ exists pa_q_hjas_transport_next_g_product_factor. pa_b_hjas_transport_next_g = pa_q_hjas_transport_next_g_product_factor * S ((S (pa_i_hjas_transport_next_g_product)) * pa_c_hjas_transport_next_g) + (pa_p_hjas_transport_next_g_product))) /\ ((((exists pa_h_hjas_transport_next_g_product_partial. pa_h_hjas_transport_next_g_product_partial + S (pa_r_hjas_transport_next_g_product) = S ((S (pa_i_hjas_transport_next_g_product)) * pa_v_hjas_transport_next_g_product)) /\ exists pa_q_hjas_transport_next_g_product_partial. pa_u_hjas_transport_next_g_product = pa_q_hjas_transport_next_g_product_partial * S ((S (pa_i_hjas_transport_next_g_product)) * pa_v_hjas_transport_next_g_product) + (pa_r_hjas_transport_next_g_product))) /\ ((((exists pa_h_hjas_transport_next_g_product_successor. pa_h_hjas_transport_next_g_product_successor + S (pa_s_hjas_transport_next_g_product) = S ((S (S pa_i_hjas_transport_next_g_product)) * pa_v_hjas_transport_next_g_product)) /\ exists pa_q_hjas_transport_next_g_product_successor. pa_u_hjas_transport_next_g_product = pa_q_hjas_transport_next_g_product_successor * S ((S (S pa_i_hjas_transport_next_g_product)) * pa_v_hjas_transport_next_g_product) + (pa_s_hjas_transport_next_g_product))) /\ pa_s_hjas_transport_next_g_product = pa_r_hjas_transport_next_g_product * pa_p_hjas_transport_next_g_product))))))) - 0146
rewrite <- hnext_j_exponent - 0147
rewrite <- hnext_j_exponent - 0148
rewrite <- hnext_j_exponent - 0149
rewrite <- hnext_j_exponent - 0150
exact hg - 0151
specialize bertrand_hj_six_step_from_total (b + 6 * k) - 0152
specialize bertrand_hj_six_step_from_total x - 0153
specialize bertrand_hj_six_step_from_total e - 0154
specialize bertrand_hj_six_step_from_total x1 - 0155
specialize bertrand_hj_six_step_from_total x2 - 0156
specialize bertrand_hj_six_step_from_total x3 - 0157
specialize bertrand_hj_six_step_from_total x4 - 0158
specialize bertrand_hj_six_step_from_total h - 0159
specialize bertrand_hj_six_step_from_total u - 0160
specialize bertrand_hj_six_step_from_total j - 0161
specialize bertrand_hj_six_step_from_total g - 0162
apply bertrand_hj_six_step_from_total - 0163
exact htotal - 0164
exact hfive_current - 0165
exact hcurrent_ceiling_witness - 0166
exact hnext_ceiling - 0167
exact hcurrent_h_witness - 0168
exact hcurrent_u_witness - 0169
exact hcurrent_j_witness - 0170
exact hcurrent_g_witness - 0171
split - 0172
exact hcurrent_bounds_left - 0173
exact hcurrent_bounds_right - 0174
exact hnext_h - 0175
exact hu - 0176
exact hnext_j - 0177
exact hnext_g