KU0004 · theorem body

choose_legendre_valuation_balance

Alpha v34 checked-use · independently kernel and Lean verified; not Stable

The valuation of any in-range binomial coefficient is its exact Legendre-sum deficit.

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.

Statement with defined notation

forall p n k j c e A B D. k + j = n -> ((~(p = 1) /\ forall frm_prime_left_kmvclvb_prime frm_prime_right_kmvclvb_prime. p = frm_prime_left_kmvclvb_prime * frm_prime_right_kmvclvb_prime -> frm_prime_left_kmvclvb_prime = 1 \/ frm_prime_right_kmvclvb_prime = 1)) -> (((exists bcf_lt_gap_kmvclvb_choose_out_of_range. bcf_lt_gap_kmvclvb_choose_out_of_range + S (n) = k) /\ c = 0) \/ ((exists bcf_le_gap_kmvclvb_choose_in_range. bcf_le_gap_kmvclvb_choose_in_range + (k) = n) /\ (exists bcf_row_code_code_kmvclvb_choose bcf_row_code_scale_kmvclvb_choose bcf_row_scale_code_kmvclvb_choose bcf_row_scale_scale_kmvclvb_choose bcf_row_code_kmvclvb_choose bcf_row_scale_kmvclvb_choose. ((forall bcf_row_index_kmvclvb_choose_table. (exists bcf_lt_gap_kmvclvb_choose_table_row_bound. bcf_lt_gap_kmvclvb_choose_table_row_bound + S (bcf_row_index_kmvclvb_choose_table) = S (n)) -> exists bcf_row_code_kmvclvb_choose_table bcf_row_scale_kmvclvb_choose_table. ((((exists bcf_height_kmvclvb_choose_table_decoded_row_code. bcf_height_kmvclvb_choose_table_decoded_row_code + S (bcf_row_code_kmvclvb_choose_table) = S ((S (bcf_row_index_kmvclvb_choose_table)) * bcf_row_code_scale_kmvclvb_choose)) /\ exists bcf_quotient_kmvclvb_choose_table_decoded_row_code. bcf_row_code_code_kmvclvb_choose = bcf_quotient_kmvclvb_choose_table_decoded_row_code * S ((S (bcf_row_index_kmvclvb_choose_table)) * bcf_row_code_scale_kmvclvb_choose) + (bcf_row_code_kmvclvb_choose_table))) /\ ((((exists bcf_height_kmvclvb_choose_table_decoded_row_scale. bcf_height_kmvclvb_choose_table_decoded_row_scale + S (bcf_row_scale_kmvclvb_choose_table) = S ((S (bcf_row_index_kmvclvb_choose_table)) * bcf_row_scale_scale_kmvclvb_choose)) /\ exists bcf_quotient_kmvclvb_choose_table_decoded_row_scale. bcf_row_scale_code_kmvclvb_choose = bcf_quotient_kmvclvb_choose_table_decoded_row_scale * S ((S (bcf_row_index_kmvclvb_choose_table)) * bcf_row_scale_scale_kmvclvb_choose) + (bcf_row_scale_kmvclvb_choose_table))) /\ ((bcf_row_index_kmvclvb_choose_table = 0 /\ (forall bcf_index_kmvclvb_choose_table_zero_row. (exists bcf_lt_gap_kmvclvb_choose_table_zero_row_bound. bcf_lt_gap_kmvclvb_choose_table_zero_row_bound + S (bcf_index_kmvclvb_choose_table_zero_row) = S (n)) -> exists bcf_value_kmvclvb_choose_table_zero_row. ((((exists bcf_height_kmvclvb_choose_table_zero_row_entry. bcf_height_kmvclvb_choose_table_zero_row_entry + S (bcf_value_kmvclvb_choose_table_zero_row) = S ((S (bcf_index_kmvclvb_choose_table_zero_row)) * bcf_row_scale_kmvclvb_choose_table)) /\ exists bcf_quotient_kmvclvb_choose_table_zero_row_entry. bcf_row_code_kmvclvb_choose_table = bcf_quotient_kmvclvb_choose_table_zero_row_entry * S ((S (bcf_index_kmvclvb_choose_table_zero_row)) * bcf_row_scale_kmvclvb_choose_table) + (bcf_value_kmvclvb_choose_table_zero_row))) /\ ((bcf_index_kmvclvb_choose_table_zero_row = 0 /\ bcf_value_kmvclvb_choose_table_zero_row = 1) \/ exists bcf_predecessor_kmvclvb_choose_table_zero_row. bcf_index_kmvclvb_choose_table_zero_row = S bcf_predecessor_kmvclvb_choose_table_zero_row /\ bcf_value_kmvclvb_choose_table_zero_row = 0)))) \/ exists bcf_predecessor_kmvclvb_choose_table bcf_previous_code_kmvclvb_choose_table bcf_previous_scale_kmvclvb_choose_table. bcf_row_index_kmvclvb_choose_table = S bcf_predecessor_kmvclvb_choose_table /\ ((((exists bcf_height_kmvclvb_choose_table_decoded_previous_code. bcf_height_kmvclvb_choose_table_decoded_previous_code + S (bcf_previous_code_kmvclvb_choose_table) = S ((S (bcf_predecessor_kmvclvb_choose_table)) * bcf_row_code_scale_kmvclvb_choose)) /\ exists bcf_quotient_kmvclvb_choose_table_decoded_previous_code. bcf_row_code_code_kmvclvb_choose = bcf_quotient_kmvclvb_choose_table_decoded_previous_code * S ((S (bcf_predecessor_kmvclvb_choose_table)) * bcf_row_code_scale_kmvclvb_choose) + (bcf_previous_code_kmvclvb_choose_table))) /\ ((((exists bcf_height_kmvclvb_choose_table_decoded_previous_scale. bcf_height_kmvclvb_choose_table_decoded_previous_scale + S (bcf_previous_scale_kmvclvb_choose_table) = S ((S (bcf_predecessor_kmvclvb_choose_table)) * bcf_row_scale_scale_kmvclvb_choose)) /\ exists bcf_quotient_kmvclvb_choose_table_decoded_previous_scale. bcf_row_scale_code_kmvclvb_choose = bcf_quotient_kmvclvb_choose_table_decoded_previous_scale * S ((S (bcf_predecessor_kmvclvb_choose_table)) * bcf_row_scale_scale_kmvclvb_choose) + (bcf_previous_scale_kmvclvb_choose_table))) /\ (forall bcf_index_kmvclvb_choose_table_row_step. (exists bcf_lt_gap_kmvclvb_choose_table_row_step_bound. bcf_lt_gap_kmvclvb_choose_table_row_step_bound + S (bcf_index_kmvclvb_choose_table_row_step) = S (n)) -> exists bcf_value_kmvclvb_choose_table_row_step. ((((exists bcf_height_kmvclvb_choose_table_row_step_entry. bcf_height_kmvclvb_choose_table_row_step_entry + S (bcf_value_kmvclvb_choose_table_row_step) = S ((S (bcf_index_kmvclvb_choose_table_row_step)) * bcf_row_scale_kmvclvb_choose_table)) /\ exists bcf_quotient_kmvclvb_choose_table_row_step_entry. bcf_row_code_kmvclvb_choose_table = bcf_quotient_kmvclvb_choose_table_row_step_entry * S ((S (bcf_index_kmvclvb_choose_table_row_step)) * bcf_row_scale_kmvclvb_choose_table) + (bcf_value_kmvclvb_choose_table_row_step))) /\ ((bcf_index_kmvclvb_choose_table_row_step = 0 /\ bcf_value_kmvclvb_choose_table_row_step = 1) \/ exists bcf_predecessor_kmvclvb_choose_table_row_step bcf_left_kmvclvb_choose_table_row_step bcf_right_kmvclvb_choose_table_row_step. bcf_index_kmvclvb_choose_table_row_step = S bcf_predecessor_kmvclvb_choose_table_row_step /\ ((((exists bcf_height_kmvclvb_choose_table_row_step_previous_left. bcf_height_kmvclvb_choose_table_row_step_previous_left + S (bcf_left_kmvclvb_choose_table_row_step) = S ((S (bcf_predecessor_kmvclvb_choose_table_row_step)) * bcf_previous_scale_kmvclvb_choose_table)) /\ exists bcf_quotient_kmvclvb_choose_table_row_step_previous_left. bcf_previous_code_kmvclvb_choose_table = bcf_quotient_kmvclvb_choose_table_row_step_previous_left * S ((S (bcf_predecessor_kmvclvb_choose_table_row_step)) * bcf_previous_scale_kmvclvb_choose_table) + (bcf_left_kmvclvb_choose_table_row_step))) /\ ((((exists bcf_height_kmvclvb_choose_table_row_step_previous_right. bcf_height_kmvclvb_choose_table_row_step_previous_right + S (bcf_right_kmvclvb_choose_table_row_step) = S ((S (S (bcf_predecessor_kmvclvb_choose_table_row_step))) * bcf_previous_scale_kmvclvb_choose_table)) /\ exists bcf_quotient_kmvclvb_choose_table_row_step_previous_right. bcf_previous_code_kmvclvb_choose_table = bcf_quotient_kmvclvb_choose_table_row_step_previous_right * S ((S (S (bcf_predecessor_kmvclvb_choose_table_row_step))) * bcf_previous_scale_kmvclvb_choose_table) + (bcf_right_kmvclvb_choose_table_row_step))) /\ bcf_value_kmvclvb_choose_table_row_step = bcf_left_kmvclvb_choose_table_row_step + bcf_right_kmvclvb_choose_table_row_step))))))))))) /\ ((((exists bcf_height_kmvclvb_choose_decoded_row_code. bcf_height_kmvclvb_choose_decoded_row_code + S (bcf_row_code_kmvclvb_choose) = S ((S (n)) * bcf_row_code_scale_kmvclvb_choose)) /\ exists bcf_quotient_kmvclvb_choose_decoded_row_code. bcf_row_code_code_kmvclvb_choose = bcf_quotient_kmvclvb_choose_decoded_row_code * S ((S (n)) * bcf_row_code_scale_kmvclvb_choose) + (bcf_row_code_kmvclvb_choose))) /\ ((((exists bcf_height_kmvclvb_choose_decoded_row_scale. bcf_height_kmvclvb_choose_decoded_row_scale + S (bcf_row_scale_kmvclvb_choose) = S ((S (n)) * bcf_row_scale_scale_kmvclvb_choose)) /\ exists bcf_quotient_kmvclvb_choose_decoded_row_scale. bcf_row_scale_code_kmvclvb_choose = bcf_quotient_kmvclvb_choose_decoded_row_scale * S ((S (n)) * bcf_row_scale_scale_kmvclvb_choose) + (bcf_row_scale_kmvclvb_choose))) /\ (((exists bcf_height_kmvclvb_choose_decoded_value. bcf_height_kmvclvb_choose_decoded_value + S (c) = S ((S (k)) * bcf_row_scale_kmvclvb_choose)) /\ exists bcf_quotient_kmvclvb_choose_decoded_value. bcf_row_code_kmvclvb_choose = bcf_quotient_kmvclvb_choose_decoded_value * S ((S (k)) * bcf_row_scale_kmvclvb_choose) + (c))))))))) -> (((exists bpv_gap_kmvclvb_value_exponent_bound. bpv_gap_kmvclvb_value_exponent_bound + e = c) /\ (exists bpv_result_kmvclvb_value_selected. ((exists ff_b_kmvclvb_value_selected_power ff_c_kmvclvb_value_selected_power. ((forall ff_i_kmvclvb_value_selected_power_repeat. (exists ff_lt_kmvclvb_value_selected_power_repeat_bound. ff_lt_kmvclvb_value_selected_power_repeat_bound + S ff_i_kmvclvb_value_selected_power_repeat = e) -> (((exists ff_h_kmvclvb_value_selected_power_repeat_decoded. ff_h_kmvclvb_value_selected_power_repeat_decoded + S (p) = S ((S (ff_i_kmvclvb_value_selected_power_repeat)) * ff_c_kmvclvb_value_selected_power)) /\ exists ff_q_kmvclvb_value_selected_power_repeat_decoded. ff_b_kmvclvb_value_selected_power = ff_q_kmvclvb_value_selected_power_repeat_decoded * S ((S (ff_i_kmvclvb_value_selected_power_repeat)) * ff_c_kmvclvb_value_selected_power) + (p)))) /\ (exists ff_u_kmvclvb_value_selected_power_product ff_v_kmvclvb_value_selected_power_product. ((((exists ff_h_kmvclvb_value_selected_power_product_start. ff_h_kmvclvb_value_selected_power_product_start + S (1) = S ((S (0)) * ff_v_kmvclvb_value_selected_power_product)) /\ exists ff_q_kmvclvb_value_selected_power_product_start. ff_u_kmvclvb_value_selected_power_product = ff_q_kmvclvb_value_selected_power_product_start * S ((S (0)) * ff_v_kmvclvb_value_selected_power_product) + (1))) /\ ((((exists ff_h_kmvclvb_value_selected_power_product_terminal. ff_h_kmvclvb_value_selected_power_product_terminal + S (bpv_result_kmvclvb_value_selected) = S ((S (e)) * ff_v_kmvclvb_value_selected_power_product)) /\ exists ff_q_kmvclvb_value_selected_power_product_terminal. ff_u_kmvclvb_value_selected_power_product = ff_q_kmvclvb_value_selected_power_product_terminal * S ((S (e)) * ff_v_kmvclvb_value_selected_power_product) + (bpv_result_kmvclvb_value_selected))) /\ forall ff_i_kmvclvb_value_selected_power_product. (exists ff_lt_kmvclvb_value_selected_power_product_bound. ff_lt_kmvclvb_value_selected_power_product_bound + S ff_i_kmvclvb_value_selected_power_product = e) -> exists ff_p_kmvclvb_value_selected_power_product ff_r_kmvclvb_value_selected_power_product ff_s_kmvclvb_value_selected_power_product. ((((exists ff_h_kmvclvb_value_selected_power_product_factor. ff_h_kmvclvb_value_selected_power_product_factor + S (ff_p_kmvclvb_value_selected_power_product) = S ((S (ff_i_kmvclvb_value_selected_power_product)) * ff_c_kmvclvb_value_selected_power)) /\ exists ff_q_kmvclvb_value_selected_power_product_factor. ff_b_kmvclvb_value_selected_power = ff_q_kmvclvb_value_selected_power_product_factor * S ((S (ff_i_kmvclvb_value_selected_power_product)) * ff_c_kmvclvb_value_selected_power) + (ff_p_kmvclvb_value_selected_power_product))) /\ ((((exists ff_h_kmvclvb_value_selected_power_product_partial. ff_h_kmvclvb_value_selected_power_product_partial + S (ff_r_kmvclvb_value_selected_power_product) = S ((S (ff_i_kmvclvb_value_selected_power_product)) * ff_v_kmvclvb_value_selected_power_product)) /\ exists ff_q_kmvclvb_value_selected_power_product_partial. ff_u_kmvclvb_value_selected_power_product = ff_q_kmvclvb_value_selected_power_product_partial * S ((S (ff_i_kmvclvb_value_selected_power_product)) * ff_v_kmvclvb_value_selected_power_product) + (ff_r_kmvclvb_value_selected_power_product))) /\ ((((exists ff_h_kmvclvb_value_selected_power_product_successor. ff_h_kmvclvb_value_selected_power_product_successor + S (ff_s_kmvclvb_value_selected_power_product) = S ((S (S ff_i_kmvclvb_value_selected_power_product)) * ff_v_kmvclvb_value_selected_power_product)) /\ exists ff_q_kmvclvb_value_selected_power_product_successor. ff_u_kmvclvb_value_selected_power_product = ff_q_kmvclvb_value_selected_power_product_successor * S ((S (S ff_i_kmvclvb_value_selected_power_product)) * ff_v_kmvclvb_value_selected_power_product) + (ff_s_kmvclvb_value_selected_power_product))) /\ ff_s_kmvclvb_value_selected_power_product = ff_r_kmvclvb_value_selected_power_product * ff_p_kmvclvb_value_selected_power_product)))))))) /\ (exists bpv_factor_kmvclvb_value_selected_divides. c = bpv_result_kmvclvb_value_selected * bpv_factor_kmvclvb_value_selected_divides)))) /\ forall bpv_candidate_kmvclvb_value. (exists bpv_gap_kmvclvb_value_candidate_bound. bpv_gap_kmvclvb_value_candidate_bound + bpv_candidate_kmvclvb_value = c) -> (exists bpv_result_kmvclvb_value_candidate. ((exists ff_b_kmvclvb_value_candidate_power ff_c_kmvclvb_value_candidate_power. ((forall ff_i_kmvclvb_value_candidate_power_repeat. (exists ff_lt_kmvclvb_value_candidate_power_repeat_bound. ff_lt_kmvclvb_value_candidate_power_repeat_bound + S ff_i_kmvclvb_value_candidate_power_repeat = bpv_candidate_kmvclvb_value) -> (((exists ff_h_kmvclvb_value_candidate_power_repeat_decoded. ff_h_kmvclvb_value_candidate_power_repeat_decoded + S (p) = S ((S (ff_i_kmvclvb_value_candidate_power_repeat)) * ff_c_kmvclvb_value_candidate_power)) /\ exists ff_q_kmvclvb_value_candidate_power_repeat_decoded. ff_b_kmvclvb_value_candidate_power = ff_q_kmvclvb_value_candidate_power_repeat_decoded * S ((S (ff_i_kmvclvb_value_candidate_power_repeat)) * ff_c_kmvclvb_value_candidate_power) + (p)))) /\ (exists ff_u_kmvclvb_value_candidate_power_product ff_v_kmvclvb_value_candidate_power_product. ((((exists ff_h_kmvclvb_value_candidate_power_product_start. ff_h_kmvclvb_value_candidate_power_product_start + S (1) = S ((S (0)) * ff_v_kmvclvb_value_candidate_power_product)) /\ exists ff_q_kmvclvb_value_candidate_power_product_start. ff_u_kmvclvb_value_candidate_power_product = ff_q_kmvclvb_value_candidate_power_product_start * S ((S (0)) * ff_v_kmvclvb_value_candidate_power_product) + (1))) /\ ((((exists ff_h_kmvclvb_value_candidate_power_product_terminal. ff_h_kmvclvb_value_candidate_power_product_terminal + S (bpv_result_kmvclvb_value_candidate) = S ((S (bpv_candidate_kmvclvb_value)) * ff_v_kmvclvb_value_candidate_power_product)) /\ exists ff_q_kmvclvb_value_candidate_power_product_terminal. ff_u_kmvclvb_value_candidate_power_product = ff_q_kmvclvb_value_candidate_power_product_terminal * S ((S (bpv_candidate_kmvclvb_value)) * ff_v_kmvclvb_value_candidate_power_product) + (bpv_result_kmvclvb_value_candidate))) /\ forall ff_i_kmvclvb_value_candidate_power_product. (exists ff_lt_kmvclvb_value_candidate_power_product_bound. ff_lt_kmvclvb_value_candidate_power_product_bound + S ff_i_kmvclvb_value_candidate_power_product = bpv_candidate_kmvclvb_value) -> exists ff_p_kmvclvb_value_candidate_power_product ff_r_kmvclvb_value_candidate_power_product ff_s_kmvclvb_value_candidate_power_product. ((((exists ff_h_kmvclvb_value_candidate_power_product_factor. ff_h_kmvclvb_value_candidate_power_product_factor + S (ff_p_kmvclvb_value_candidate_power_product) = S ((S (ff_i_kmvclvb_value_candidate_power_product)) * ff_c_kmvclvb_value_candidate_power)) /\ exists ff_q_kmvclvb_value_candidate_power_product_factor. ff_b_kmvclvb_value_candidate_power = ff_q_kmvclvb_value_candidate_power_product_factor * S ((S (ff_i_kmvclvb_value_candidate_power_product)) * ff_c_kmvclvb_value_candidate_power) + (ff_p_kmvclvb_value_candidate_power_product))) /\ ((((exists ff_h_kmvclvb_value_candidate_power_product_partial. ff_h_kmvclvb_value_candidate_power_product_partial + S (ff_r_kmvclvb_value_candidate_power_product) = S ((S (ff_i_kmvclvb_value_candidate_power_product)) * ff_v_kmvclvb_value_candidate_power_product)) /\ exists ff_q_kmvclvb_value_candidate_power_product_partial. ff_u_kmvclvb_value_candidate_power_product = ff_q_kmvclvb_value_candidate_power_product_partial * S ((S (ff_i_kmvclvb_value_candidate_power_product)) * ff_v_kmvclvb_value_candidate_power_product) + (ff_r_kmvclvb_value_candidate_power_product))) /\ ((((exists ff_h_kmvclvb_value_candidate_power_product_successor. ff_h_kmvclvb_value_candidate_power_product_successor + S (ff_s_kmvclvb_value_candidate_power_product) = S ((S (S ff_i_kmvclvb_value_candidate_power_product)) * ff_v_kmvclvb_value_candidate_power_product)) /\ exists ff_q_kmvclvb_value_candidate_power_product_successor. ff_u_kmvclvb_value_candidate_power_product = ff_q_kmvclvb_value_candidate_power_product_successor * S ((S (S ff_i_kmvclvb_value_candidate_power_product)) * ff_v_kmvclvb_value_candidate_power_product) + (ff_s_kmvclvb_value_candidate_power_product))) /\ ff_s_kmvclvb_value_candidate_power_product = ff_r_kmvclvb_value_candidate_power_product * ff_p_kmvclvb_value_candidate_power_product)))))))) /\ (exists bpv_factor_kmvclvb_value_candidate_divides. c = bpv_result_kmvclvb_value_candidate * bpv_factor_kmvclvb_value_candidate_divides))) -> (exists bpv_gap_kmvclvb_value_maximal. bpv_gap_kmvclvb_value_maximal + bpv_candidate_kmvclvb_value = e)) -> (exists bls_code_kmvclvb_total bls_scale_kmvclvb_total. ((forall bls_index_kmvclvb_total_prefix. (exists bls_gap_kmvclvb_total_prefix_bound. bls_gap_kmvclvb_total_prefix_bound + S (bls_index_kmvclvb_total_prefix) = (n)) -> exists bls_power_kmvclvb_total_prefix bls_quotient_kmvclvb_total_prefix bls_remainder_kmvclvb_total_prefix. ((exists bpvi_b_bls_kmvclvb_total_prefix_power bpvi_c_bls_kmvclvb_total_prefix_power. ((forall bpvi_i_bls_kmvclvb_total_prefix_power. (exists bpvi_repeat_gap_bls_kmvclvb_total_prefix_power. bpvi_repeat_gap_bls_kmvclvb_total_prefix_power + S bpvi_i_bls_kmvclvb_total_prefix_power = S bls_index_kmvclvb_total_prefix) -> (((exists bpvi_h_bls_kmvclvb_total_prefix_power_repeat. bpvi_h_bls_kmvclvb_total_prefix_power_repeat + S (p) = S ((S (bpvi_i_bls_kmvclvb_total_prefix_power)) * bpvi_c_bls_kmvclvb_total_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_total_prefix_power_repeat. bpvi_b_bls_kmvclvb_total_prefix_power = bpvi_q_bls_kmvclvb_total_prefix_power_repeat * S ((S (bpvi_i_bls_kmvclvb_total_prefix_power)) * bpvi_c_bls_kmvclvb_total_prefix_power) + (p)))) /\ (exists bpvi_u_bls_kmvclvb_total_prefix_power bpvi_v_bls_kmvclvb_total_prefix_power. ((((exists bpvi_h_bls_kmvclvb_total_prefix_power_start. bpvi_h_bls_kmvclvb_total_prefix_power_start + S (1) = S ((S (0)) * bpvi_v_bls_kmvclvb_total_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_total_prefix_power_start. bpvi_u_bls_kmvclvb_total_prefix_power = bpvi_q_bls_kmvclvb_total_prefix_power_start * S ((S (0)) * bpvi_v_bls_kmvclvb_total_prefix_power) + (1))) /\ ((((exists bpvi_h_bls_kmvclvb_total_prefix_power_terminal. bpvi_h_bls_kmvclvb_total_prefix_power_terminal + S (bls_power_kmvclvb_total_prefix) = S ((S (S bls_index_kmvclvb_total_prefix)) * bpvi_v_bls_kmvclvb_total_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_total_prefix_power_terminal. bpvi_u_bls_kmvclvb_total_prefix_power = bpvi_q_bls_kmvclvb_total_prefix_power_terminal * S ((S (S bls_index_kmvclvb_total_prefix)) * bpvi_v_bls_kmvclvb_total_prefix_power) + (bls_power_kmvclvb_total_prefix))) /\ forall bpvi_j_bls_kmvclvb_total_prefix_power. (exists bpvi_product_gap_bls_kmvclvb_total_prefix_power. bpvi_product_gap_bls_kmvclvb_total_prefix_power + S bpvi_j_bls_kmvclvb_total_prefix_power = S bls_index_kmvclvb_total_prefix) -> exists bpvi_factor_bls_kmvclvb_total_prefix_power bpvi_partial_bls_kmvclvb_total_prefix_power bpvi_successor_bls_kmvclvb_total_prefix_power. ((((exists bpvi_h_bls_kmvclvb_total_prefix_power_factor. bpvi_h_bls_kmvclvb_total_prefix_power_factor + S (bpvi_factor_bls_kmvclvb_total_prefix_power) = S ((S (bpvi_j_bls_kmvclvb_total_prefix_power)) * bpvi_c_bls_kmvclvb_total_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_total_prefix_power_factor. bpvi_b_bls_kmvclvb_total_prefix_power = bpvi_q_bls_kmvclvb_total_prefix_power_factor * S ((S (bpvi_j_bls_kmvclvb_total_prefix_power)) * bpvi_c_bls_kmvclvb_total_prefix_power) + (bpvi_factor_bls_kmvclvb_total_prefix_power))) /\ ((((exists bpvi_h_bls_kmvclvb_total_prefix_power_partial. bpvi_h_bls_kmvclvb_total_prefix_power_partial + S (bpvi_partial_bls_kmvclvb_total_prefix_power) = S ((S (bpvi_j_bls_kmvclvb_total_prefix_power)) * bpvi_v_bls_kmvclvb_total_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_total_prefix_power_partial. bpvi_u_bls_kmvclvb_total_prefix_power = bpvi_q_bls_kmvclvb_total_prefix_power_partial * S ((S (bpvi_j_bls_kmvclvb_total_prefix_power)) * bpvi_v_bls_kmvclvb_total_prefix_power) + (bpvi_partial_bls_kmvclvb_total_prefix_power))) /\ ((((exists bpvi_h_bls_kmvclvb_total_prefix_power_successor. bpvi_h_bls_kmvclvb_total_prefix_power_successor + S (bpvi_successor_bls_kmvclvb_total_prefix_power) = S ((S (S bpvi_j_bls_kmvclvb_total_prefix_power)) * bpvi_v_bls_kmvclvb_total_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_total_prefix_power_successor. bpvi_u_bls_kmvclvb_total_prefix_power = bpvi_q_bls_kmvclvb_total_prefix_power_successor * S ((S (S bpvi_j_bls_kmvclvb_total_prefix_power)) * bpvi_v_bls_kmvclvb_total_prefix_power) + (bpvi_successor_bls_kmvclvb_total_prefix_power))) /\ bpvi_successor_bls_kmvclvb_total_prefix_power = bpvi_partial_bls_kmvclvb_total_prefix_power * bpvi_factor_bls_kmvclvb_total_prefix_power)))))))) /\ ((((exists ff_h_bls_kmvclvb_total_prefix_quotient_entry. ff_h_bls_kmvclvb_total_prefix_quotient_entry + S (bls_quotient_kmvclvb_total_prefix) = S ((S (bls_index_kmvclvb_total_prefix)) * bls_scale_kmvclvb_total)) /\ exists ff_q_bls_kmvclvb_total_prefix_quotient_entry. bls_code_kmvclvb_total = ff_q_bls_kmvclvb_total_prefix_quotient_entry * S ((S (bls_index_kmvclvb_total_prefix)) * bls_scale_kmvclvb_total) + (bls_quotient_kmvclvb_total_prefix))) /\ ((n = bls_power_kmvclvb_total_prefix * bls_quotient_kmvclvb_total_prefix + bls_remainder_kmvclvb_total_prefix /\ exists bls_remainder_gap_kmvclvb_total_prefix_division. bls_remainder_gap_kmvclvb_total_prefix_division + S (bls_remainder_kmvclvb_total_prefix) = bls_power_kmvclvb_total_prefix))))) /\ (exists ff_u_bls_kmvclvb_total_sum ff_v_bls_kmvclvb_total_sum. ((((exists ff_h_bls_kmvclvb_total_sum_start. ff_h_bls_kmvclvb_total_sum_start + S (0) = S ((S (0)) * ff_v_bls_kmvclvb_total_sum)) /\ exists ff_q_bls_kmvclvb_total_sum_start. ff_u_bls_kmvclvb_total_sum = ff_q_bls_kmvclvb_total_sum_start * S ((S (0)) * ff_v_bls_kmvclvb_total_sum) + (0))) /\ ((((exists ff_h_bls_kmvclvb_total_sum_terminal. ff_h_bls_kmvclvb_total_sum_terminal + S (A) = S ((S (n)) * ff_v_bls_kmvclvb_total_sum)) /\ exists ff_q_bls_kmvclvb_total_sum_terminal. ff_u_bls_kmvclvb_total_sum = ff_q_bls_kmvclvb_total_sum_terminal * S ((S (n)) * ff_v_bls_kmvclvb_total_sum) + (A))) /\ forall ff_i_bls_kmvclvb_total_sum. (exists ff_lt_bls_kmvclvb_total_sum_bound. ff_lt_bls_kmvclvb_total_sum_bound + S ff_i_bls_kmvclvb_total_sum = n) -> exists ff_a_bls_kmvclvb_total_sum ff_r_bls_kmvclvb_total_sum ff_s_bls_kmvclvb_total_sum. ((((exists ff_h_bls_kmvclvb_total_sum_summand. ff_h_bls_kmvclvb_total_sum_summand + S (ff_a_bls_kmvclvb_total_sum) = S ((S (ff_i_bls_kmvclvb_total_sum)) * bls_scale_kmvclvb_total)) /\ exists ff_q_bls_kmvclvb_total_sum_summand. bls_code_kmvclvb_total = ff_q_bls_kmvclvb_total_sum_summand * S ((S (ff_i_bls_kmvclvb_total_sum)) * bls_scale_kmvclvb_total) + (ff_a_bls_kmvclvb_total_sum))) /\ ((((exists ff_h_bls_kmvclvb_total_sum_partial. ff_h_bls_kmvclvb_total_sum_partial + S (ff_r_bls_kmvclvb_total_sum) = S ((S (ff_i_bls_kmvclvb_total_sum)) * ff_v_bls_kmvclvb_total_sum)) /\ exists ff_q_bls_kmvclvb_total_sum_partial. ff_u_bls_kmvclvb_total_sum = ff_q_bls_kmvclvb_total_sum_partial * S ((S (ff_i_bls_kmvclvb_total_sum)) * ff_v_bls_kmvclvb_total_sum) + (ff_r_bls_kmvclvb_total_sum))) /\ ((((exists ff_h_bls_kmvclvb_total_sum_successor. ff_h_bls_kmvclvb_total_sum_successor + S (ff_s_bls_kmvclvb_total_sum) = S ((S (S ff_i_bls_kmvclvb_total_sum)) * ff_v_bls_kmvclvb_total_sum)) /\ exists ff_q_bls_kmvclvb_total_sum_successor. ff_u_bls_kmvclvb_total_sum = ff_q_bls_kmvclvb_total_sum_successor * S ((S (S ff_i_bls_kmvclvb_total_sum)) * ff_v_bls_kmvclvb_total_sum) + (ff_s_bls_kmvclvb_total_sum))) /\ ff_s_bls_kmvclvb_total_sum = ff_r_bls_kmvclvb_total_sum + ff_a_bls_kmvclvb_total_sum)))))))) -> (exists bls_code_kmvclvb_left bls_scale_kmvclvb_left. ((forall bls_index_kmvclvb_left_prefix. (exists bls_gap_kmvclvb_left_prefix_bound. bls_gap_kmvclvb_left_prefix_bound + S (bls_index_kmvclvb_left_prefix) = (k)) -> exists bls_power_kmvclvb_left_prefix bls_quotient_kmvclvb_left_prefix bls_remainder_kmvclvb_left_prefix. ((exists bpvi_b_bls_kmvclvb_left_prefix_power bpvi_c_bls_kmvclvb_left_prefix_power. ((forall bpvi_i_bls_kmvclvb_left_prefix_power. (exists bpvi_repeat_gap_bls_kmvclvb_left_prefix_power. bpvi_repeat_gap_bls_kmvclvb_left_prefix_power + S bpvi_i_bls_kmvclvb_left_prefix_power = S bls_index_kmvclvb_left_prefix) -> (((exists bpvi_h_bls_kmvclvb_left_prefix_power_repeat. bpvi_h_bls_kmvclvb_left_prefix_power_repeat + S (p) = S ((S (bpvi_i_bls_kmvclvb_left_prefix_power)) * bpvi_c_bls_kmvclvb_left_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_left_prefix_power_repeat. bpvi_b_bls_kmvclvb_left_prefix_power = bpvi_q_bls_kmvclvb_left_prefix_power_repeat * S ((S (bpvi_i_bls_kmvclvb_left_prefix_power)) * bpvi_c_bls_kmvclvb_left_prefix_power) + (p)))) /\ (exists bpvi_u_bls_kmvclvb_left_prefix_power bpvi_v_bls_kmvclvb_left_prefix_power. ((((exists bpvi_h_bls_kmvclvb_left_prefix_power_start. bpvi_h_bls_kmvclvb_left_prefix_power_start + S (1) = S ((S (0)) * bpvi_v_bls_kmvclvb_left_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_left_prefix_power_start. bpvi_u_bls_kmvclvb_left_prefix_power = bpvi_q_bls_kmvclvb_left_prefix_power_start * S ((S (0)) * bpvi_v_bls_kmvclvb_left_prefix_power) + (1))) /\ ((((exists bpvi_h_bls_kmvclvb_left_prefix_power_terminal. bpvi_h_bls_kmvclvb_left_prefix_power_terminal + S (bls_power_kmvclvb_left_prefix) = S ((S (S bls_index_kmvclvb_left_prefix)) * bpvi_v_bls_kmvclvb_left_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_left_prefix_power_terminal. bpvi_u_bls_kmvclvb_left_prefix_power = bpvi_q_bls_kmvclvb_left_prefix_power_terminal * S ((S (S bls_index_kmvclvb_left_prefix)) * bpvi_v_bls_kmvclvb_left_prefix_power) + (bls_power_kmvclvb_left_prefix))) /\ forall bpvi_j_bls_kmvclvb_left_prefix_power. (exists bpvi_product_gap_bls_kmvclvb_left_prefix_power. bpvi_product_gap_bls_kmvclvb_left_prefix_power + S bpvi_j_bls_kmvclvb_left_prefix_power = S bls_index_kmvclvb_left_prefix) -> exists bpvi_factor_bls_kmvclvb_left_prefix_power bpvi_partial_bls_kmvclvb_left_prefix_power bpvi_successor_bls_kmvclvb_left_prefix_power. ((((exists bpvi_h_bls_kmvclvb_left_prefix_power_factor. bpvi_h_bls_kmvclvb_left_prefix_power_factor + S (bpvi_factor_bls_kmvclvb_left_prefix_power) = S ((S (bpvi_j_bls_kmvclvb_left_prefix_power)) * bpvi_c_bls_kmvclvb_left_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_left_prefix_power_factor. bpvi_b_bls_kmvclvb_left_prefix_power = bpvi_q_bls_kmvclvb_left_prefix_power_factor * S ((S (bpvi_j_bls_kmvclvb_left_prefix_power)) * bpvi_c_bls_kmvclvb_left_prefix_power) + (bpvi_factor_bls_kmvclvb_left_prefix_power))) /\ ((((exists bpvi_h_bls_kmvclvb_left_prefix_power_partial. bpvi_h_bls_kmvclvb_left_prefix_power_partial + S (bpvi_partial_bls_kmvclvb_left_prefix_power) = S ((S (bpvi_j_bls_kmvclvb_left_prefix_power)) * bpvi_v_bls_kmvclvb_left_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_left_prefix_power_partial. bpvi_u_bls_kmvclvb_left_prefix_power = bpvi_q_bls_kmvclvb_left_prefix_power_partial * S ((S (bpvi_j_bls_kmvclvb_left_prefix_power)) * bpvi_v_bls_kmvclvb_left_prefix_power) + (bpvi_partial_bls_kmvclvb_left_prefix_power))) /\ ((((exists bpvi_h_bls_kmvclvb_left_prefix_power_successor. bpvi_h_bls_kmvclvb_left_prefix_power_successor + S (bpvi_successor_bls_kmvclvb_left_prefix_power) = S ((S (S bpvi_j_bls_kmvclvb_left_prefix_power)) * bpvi_v_bls_kmvclvb_left_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_left_prefix_power_successor. bpvi_u_bls_kmvclvb_left_prefix_power = bpvi_q_bls_kmvclvb_left_prefix_power_successor * S ((S (S bpvi_j_bls_kmvclvb_left_prefix_power)) * bpvi_v_bls_kmvclvb_left_prefix_power) + (bpvi_successor_bls_kmvclvb_left_prefix_power))) /\ bpvi_successor_bls_kmvclvb_left_prefix_power = bpvi_partial_bls_kmvclvb_left_prefix_power * bpvi_factor_bls_kmvclvb_left_prefix_power)))))))) /\ ((((exists ff_h_bls_kmvclvb_left_prefix_quotient_entry. ff_h_bls_kmvclvb_left_prefix_quotient_entry + S (bls_quotient_kmvclvb_left_prefix) = S ((S (bls_index_kmvclvb_left_prefix)) * bls_scale_kmvclvb_left)) /\ exists ff_q_bls_kmvclvb_left_prefix_quotient_entry. bls_code_kmvclvb_left = ff_q_bls_kmvclvb_left_prefix_quotient_entry * S ((S (bls_index_kmvclvb_left_prefix)) * bls_scale_kmvclvb_left) + (bls_quotient_kmvclvb_left_prefix))) /\ ((k = bls_power_kmvclvb_left_prefix * bls_quotient_kmvclvb_left_prefix + bls_remainder_kmvclvb_left_prefix /\ exists bls_remainder_gap_kmvclvb_left_prefix_division. bls_remainder_gap_kmvclvb_left_prefix_division + S (bls_remainder_kmvclvb_left_prefix) = bls_power_kmvclvb_left_prefix))))) /\ (exists ff_u_bls_kmvclvb_left_sum ff_v_bls_kmvclvb_left_sum. ((((exists ff_h_bls_kmvclvb_left_sum_start. ff_h_bls_kmvclvb_left_sum_start + S (0) = S ((S (0)) * ff_v_bls_kmvclvb_left_sum)) /\ exists ff_q_bls_kmvclvb_left_sum_start. ff_u_bls_kmvclvb_left_sum = ff_q_bls_kmvclvb_left_sum_start * S ((S (0)) * ff_v_bls_kmvclvb_left_sum) + (0))) /\ ((((exists ff_h_bls_kmvclvb_left_sum_terminal. ff_h_bls_kmvclvb_left_sum_terminal + S (B) = S ((S (k)) * ff_v_bls_kmvclvb_left_sum)) /\ exists ff_q_bls_kmvclvb_left_sum_terminal. ff_u_bls_kmvclvb_left_sum = ff_q_bls_kmvclvb_left_sum_terminal * S ((S (k)) * ff_v_bls_kmvclvb_left_sum) + (B))) /\ forall ff_i_bls_kmvclvb_left_sum. (exists ff_lt_bls_kmvclvb_left_sum_bound. ff_lt_bls_kmvclvb_left_sum_bound + S ff_i_bls_kmvclvb_left_sum = k) -> exists ff_a_bls_kmvclvb_left_sum ff_r_bls_kmvclvb_left_sum ff_s_bls_kmvclvb_left_sum. ((((exists ff_h_bls_kmvclvb_left_sum_summand. ff_h_bls_kmvclvb_left_sum_summand + S (ff_a_bls_kmvclvb_left_sum) = S ((S (ff_i_bls_kmvclvb_left_sum)) * bls_scale_kmvclvb_left)) /\ exists ff_q_bls_kmvclvb_left_sum_summand. bls_code_kmvclvb_left = ff_q_bls_kmvclvb_left_sum_summand * S ((S (ff_i_bls_kmvclvb_left_sum)) * bls_scale_kmvclvb_left) + (ff_a_bls_kmvclvb_left_sum))) /\ ((((exists ff_h_bls_kmvclvb_left_sum_partial. ff_h_bls_kmvclvb_left_sum_partial + S (ff_r_bls_kmvclvb_left_sum) = S ((S (ff_i_bls_kmvclvb_left_sum)) * ff_v_bls_kmvclvb_left_sum)) /\ exists ff_q_bls_kmvclvb_left_sum_partial. ff_u_bls_kmvclvb_left_sum = ff_q_bls_kmvclvb_left_sum_partial * S ((S (ff_i_bls_kmvclvb_left_sum)) * ff_v_bls_kmvclvb_left_sum) + (ff_r_bls_kmvclvb_left_sum))) /\ ((((exists ff_h_bls_kmvclvb_left_sum_successor. ff_h_bls_kmvclvb_left_sum_successor + S (ff_s_bls_kmvclvb_left_sum) = S ((S (S ff_i_bls_kmvclvb_left_sum)) * ff_v_bls_kmvclvb_left_sum)) /\ exists ff_q_bls_kmvclvb_left_sum_successor. ff_u_bls_kmvclvb_left_sum = ff_q_bls_kmvclvb_left_sum_successor * S ((S (S ff_i_bls_kmvclvb_left_sum)) * ff_v_bls_kmvclvb_left_sum) + (ff_s_bls_kmvclvb_left_sum))) /\ ff_s_bls_kmvclvb_left_sum = ff_r_bls_kmvclvb_left_sum + ff_a_bls_kmvclvb_left_sum)))))))) -> (exists bls_code_kmvclvb_right bls_scale_kmvclvb_right. ((forall bls_index_kmvclvb_right_prefix. (exists bls_gap_kmvclvb_right_prefix_bound. bls_gap_kmvclvb_right_prefix_bound + S (bls_index_kmvclvb_right_prefix) = (j)) -> exists bls_power_kmvclvb_right_prefix bls_quotient_kmvclvb_right_prefix bls_remainder_kmvclvb_right_prefix. ((exists bpvi_b_bls_kmvclvb_right_prefix_power bpvi_c_bls_kmvclvb_right_prefix_power. ((forall bpvi_i_bls_kmvclvb_right_prefix_power. (exists bpvi_repeat_gap_bls_kmvclvb_right_prefix_power. bpvi_repeat_gap_bls_kmvclvb_right_prefix_power + S bpvi_i_bls_kmvclvb_right_prefix_power = S bls_index_kmvclvb_right_prefix) -> (((exists bpvi_h_bls_kmvclvb_right_prefix_power_repeat. bpvi_h_bls_kmvclvb_right_prefix_power_repeat + S (p) = S ((S (bpvi_i_bls_kmvclvb_right_prefix_power)) * bpvi_c_bls_kmvclvb_right_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_right_prefix_power_repeat. bpvi_b_bls_kmvclvb_right_prefix_power = bpvi_q_bls_kmvclvb_right_prefix_power_repeat * S ((S (bpvi_i_bls_kmvclvb_right_prefix_power)) * bpvi_c_bls_kmvclvb_right_prefix_power) + (p)))) /\ (exists bpvi_u_bls_kmvclvb_right_prefix_power bpvi_v_bls_kmvclvb_right_prefix_power. ((((exists bpvi_h_bls_kmvclvb_right_prefix_power_start. bpvi_h_bls_kmvclvb_right_prefix_power_start + S (1) = S ((S (0)) * bpvi_v_bls_kmvclvb_right_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_right_prefix_power_start. bpvi_u_bls_kmvclvb_right_prefix_power = bpvi_q_bls_kmvclvb_right_prefix_power_start * S ((S (0)) * bpvi_v_bls_kmvclvb_right_prefix_power) + (1))) /\ ((((exists bpvi_h_bls_kmvclvb_right_prefix_power_terminal. bpvi_h_bls_kmvclvb_right_prefix_power_terminal + S (bls_power_kmvclvb_right_prefix) = S ((S (S bls_index_kmvclvb_right_prefix)) * bpvi_v_bls_kmvclvb_right_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_right_prefix_power_terminal. bpvi_u_bls_kmvclvb_right_prefix_power = bpvi_q_bls_kmvclvb_right_prefix_power_terminal * S ((S (S bls_index_kmvclvb_right_prefix)) * bpvi_v_bls_kmvclvb_right_prefix_power) + (bls_power_kmvclvb_right_prefix))) /\ forall bpvi_j_bls_kmvclvb_right_prefix_power. (exists bpvi_product_gap_bls_kmvclvb_right_prefix_power. bpvi_product_gap_bls_kmvclvb_right_prefix_power + S bpvi_j_bls_kmvclvb_right_prefix_power = S bls_index_kmvclvb_right_prefix) -> exists bpvi_factor_bls_kmvclvb_right_prefix_power bpvi_partial_bls_kmvclvb_right_prefix_power bpvi_successor_bls_kmvclvb_right_prefix_power. ((((exists bpvi_h_bls_kmvclvb_right_prefix_power_factor. bpvi_h_bls_kmvclvb_right_prefix_power_factor + S (bpvi_factor_bls_kmvclvb_right_prefix_power) = S ((S (bpvi_j_bls_kmvclvb_right_prefix_power)) * bpvi_c_bls_kmvclvb_right_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_right_prefix_power_factor. bpvi_b_bls_kmvclvb_right_prefix_power = bpvi_q_bls_kmvclvb_right_prefix_power_factor * S ((S (bpvi_j_bls_kmvclvb_right_prefix_power)) * bpvi_c_bls_kmvclvb_right_prefix_power) + (bpvi_factor_bls_kmvclvb_right_prefix_power))) /\ ((((exists bpvi_h_bls_kmvclvb_right_prefix_power_partial. bpvi_h_bls_kmvclvb_right_prefix_power_partial + S (bpvi_partial_bls_kmvclvb_right_prefix_power) = S ((S (bpvi_j_bls_kmvclvb_right_prefix_power)) * bpvi_v_bls_kmvclvb_right_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_right_prefix_power_partial. bpvi_u_bls_kmvclvb_right_prefix_power = bpvi_q_bls_kmvclvb_right_prefix_power_partial * S ((S (bpvi_j_bls_kmvclvb_right_prefix_power)) * bpvi_v_bls_kmvclvb_right_prefix_power) + (bpvi_partial_bls_kmvclvb_right_prefix_power))) /\ ((((exists bpvi_h_bls_kmvclvb_right_prefix_power_successor. bpvi_h_bls_kmvclvb_right_prefix_power_successor + S (bpvi_successor_bls_kmvclvb_right_prefix_power) = S ((S (S bpvi_j_bls_kmvclvb_right_prefix_power)) * bpvi_v_bls_kmvclvb_right_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_right_prefix_power_successor. bpvi_u_bls_kmvclvb_right_prefix_power = bpvi_q_bls_kmvclvb_right_prefix_power_successor * S ((S (S bpvi_j_bls_kmvclvb_right_prefix_power)) * bpvi_v_bls_kmvclvb_right_prefix_power) + (bpvi_successor_bls_kmvclvb_right_prefix_power))) /\ bpvi_successor_bls_kmvclvb_right_prefix_power = bpvi_partial_bls_kmvclvb_right_prefix_power * bpvi_factor_bls_kmvclvb_right_prefix_power)))))))) /\ ((((exists ff_h_bls_kmvclvb_right_prefix_quotient_entry. ff_h_bls_kmvclvb_right_prefix_quotient_entry + S (bls_quotient_kmvclvb_right_prefix) = S ((S (bls_index_kmvclvb_right_prefix)) * bls_scale_kmvclvb_right)) /\ exists ff_q_bls_kmvclvb_right_prefix_quotient_entry. bls_code_kmvclvb_right = ff_q_bls_kmvclvb_right_prefix_quotient_entry * S ((S (bls_index_kmvclvb_right_prefix)) * bls_scale_kmvclvb_right) + (bls_quotient_kmvclvb_right_prefix))) /\ ((j = bls_power_kmvclvb_right_prefix * bls_quotient_kmvclvb_right_prefix + bls_remainder_kmvclvb_right_prefix /\ exists bls_remainder_gap_kmvclvb_right_prefix_division. bls_remainder_gap_kmvclvb_right_prefix_division + S (bls_remainder_kmvclvb_right_prefix) = bls_power_kmvclvb_right_prefix))))) /\ (exists ff_u_bls_kmvclvb_right_sum ff_v_bls_kmvclvb_right_sum. ((((exists ff_h_bls_kmvclvb_right_sum_start. ff_h_bls_kmvclvb_right_sum_start + S (0) = S ((S (0)) * ff_v_bls_kmvclvb_right_sum)) /\ exists ff_q_bls_kmvclvb_right_sum_start. ff_u_bls_kmvclvb_right_sum = ff_q_bls_kmvclvb_right_sum_start * S ((S (0)) * ff_v_bls_kmvclvb_right_sum) + (0))) /\ ((((exists ff_h_bls_kmvclvb_right_sum_terminal. ff_h_bls_kmvclvb_right_sum_terminal + S (D) = S ((S (j)) * ff_v_bls_kmvclvb_right_sum)) /\ exists ff_q_bls_kmvclvb_right_sum_terminal. ff_u_bls_kmvclvb_right_sum = ff_q_bls_kmvclvb_right_sum_terminal * S ((S (j)) * ff_v_bls_kmvclvb_right_sum) + (D))) /\ forall ff_i_bls_kmvclvb_right_sum. (exists ff_lt_bls_kmvclvb_right_sum_bound. ff_lt_bls_kmvclvb_right_sum_bound + S ff_i_bls_kmvclvb_right_sum = j) -> exists ff_a_bls_kmvclvb_right_sum ff_r_bls_kmvclvb_right_sum ff_s_bls_kmvclvb_right_sum. ((((exists ff_h_bls_kmvclvb_right_sum_summand. ff_h_bls_kmvclvb_right_sum_summand + S (ff_a_bls_kmvclvb_right_sum) = S ((S (ff_i_bls_kmvclvb_right_sum)) * bls_scale_kmvclvb_right)) /\ exists ff_q_bls_kmvclvb_right_sum_summand. bls_code_kmvclvb_right = ff_q_bls_kmvclvb_right_sum_summand * S ((S (ff_i_bls_kmvclvb_right_sum)) * bls_scale_kmvclvb_right) + (ff_a_bls_kmvclvb_right_sum))) /\ ((((exists ff_h_bls_kmvclvb_right_sum_partial. ff_h_bls_kmvclvb_right_sum_partial + S (ff_r_bls_kmvclvb_right_sum) = S ((S (ff_i_bls_kmvclvb_right_sum)) * ff_v_bls_kmvclvb_right_sum)) /\ exists ff_q_bls_kmvclvb_right_sum_partial. ff_u_bls_kmvclvb_right_sum = ff_q_bls_kmvclvb_right_sum_partial * S ((S (ff_i_bls_kmvclvb_right_sum)) * ff_v_bls_kmvclvb_right_sum) + (ff_r_bls_kmvclvb_right_sum))) /\ ((((exists ff_h_bls_kmvclvb_right_sum_successor. ff_h_bls_kmvclvb_right_sum_successor + S (ff_s_bls_kmvclvb_right_sum) = S ((S (S ff_i_bls_kmvclvb_right_sum)) * ff_v_bls_kmvclvb_right_sum)) /\ exists ff_q_bls_kmvclvb_right_sum_successor. ff_u_bls_kmvclvb_right_sum = ff_q_bls_kmvclvb_right_sum_successor * S ((S (S ff_i_bls_kmvclvb_right_sum)) * ff_v_bls_kmvclvb_right_sum) + (ff_s_bls_kmvclvb_right_sum))) /\ ff_s_bls_kmvclvb_right_sum = ff_r_bls_kmvclvb_right_sum + ff_a_bls_kmvclvb_right_sum)))))))) -> A = (B + D) + e

Every purple notation token opens its conservative definition. This reading surface never changes the unchanged intuitionistic kernel or confers checked-use authority.

Definitions used by this theorem

In the theorem statement

none

In local proof propositions

Exact expanded first-order statement
forall p n k j c e A B D. k + j = n -> ((~(p = 1) /\ forall frm_prime_left_kmvclvb_prime frm_prime_right_kmvclvb_prime. p = frm_prime_left_kmvclvb_prime * frm_prime_right_kmvclvb_prime -> frm_prime_left_kmvclvb_prime = 1 \/ frm_prime_right_kmvclvb_prime = 1)) -> (((exists bcf_lt_gap_kmvclvb_choose_out_of_range. bcf_lt_gap_kmvclvb_choose_out_of_range + S (n) = k) /\ c = 0) \/ ((exists bcf_le_gap_kmvclvb_choose_in_range. bcf_le_gap_kmvclvb_choose_in_range + (k) = n) /\ (exists bcf_row_code_code_kmvclvb_choose bcf_row_code_scale_kmvclvb_choose bcf_row_scale_code_kmvclvb_choose bcf_row_scale_scale_kmvclvb_choose bcf_row_code_kmvclvb_choose bcf_row_scale_kmvclvb_choose. ((forall bcf_row_index_kmvclvb_choose_table. (exists bcf_lt_gap_kmvclvb_choose_table_row_bound. bcf_lt_gap_kmvclvb_choose_table_row_bound + S (bcf_row_index_kmvclvb_choose_table) = S (n)) -> exists bcf_row_code_kmvclvb_choose_table bcf_row_scale_kmvclvb_choose_table. ((((exists bcf_height_kmvclvb_choose_table_decoded_row_code. bcf_height_kmvclvb_choose_table_decoded_row_code + S (bcf_row_code_kmvclvb_choose_table) = S ((S (bcf_row_index_kmvclvb_choose_table)) * bcf_row_code_scale_kmvclvb_choose)) /\ exists bcf_quotient_kmvclvb_choose_table_decoded_row_code. bcf_row_code_code_kmvclvb_choose = bcf_quotient_kmvclvb_choose_table_decoded_row_code * S ((S (bcf_row_index_kmvclvb_choose_table)) * bcf_row_code_scale_kmvclvb_choose) + (bcf_row_code_kmvclvb_choose_table))) /\ ((((exists bcf_height_kmvclvb_choose_table_decoded_row_scale. bcf_height_kmvclvb_choose_table_decoded_row_scale + S (bcf_row_scale_kmvclvb_choose_table) = S ((S (bcf_row_index_kmvclvb_choose_table)) * bcf_row_scale_scale_kmvclvb_choose)) /\ exists bcf_quotient_kmvclvb_choose_table_decoded_row_scale. bcf_row_scale_code_kmvclvb_choose = bcf_quotient_kmvclvb_choose_table_decoded_row_scale * S ((S (bcf_row_index_kmvclvb_choose_table)) * bcf_row_scale_scale_kmvclvb_choose) + (bcf_row_scale_kmvclvb_choose_table))) /\ ((bcf_row_index_kmvclvb_choose_table = 0 /\ (forall bcf_index_kmvclvb_choose_table_zero_row. (exists bcf_lt_gap_kmvclvb_choose_table_zero_row_bound. bcf_lt_gap_kmvclvb_choose_table_zero_row_bound + S (bcf_index_kmvclvb_choose_table_zero_row) = S (n)) -> exists bcf_value_kmvclvb_choose_table_zero_row. ((((exists bcf_height_kmvclvb_choose_table_zero_row_entry. bcf_height_kmvclvb_choose_table_zero_row_entry + S (bcf_value_kmvclvb_choose_table_zero_row) = S ((S (bcf_index_kmvclvb_choose_table_zero_row)) * bcf_row_scale_kmvclvb_choose_table)) /\ exists bcf_quotient_kmvclvb_choose_table_zero_row_entry. bcf_row_code_kmvclvb_choose_table = bcf_quotient_kmvclvb_choose_table_zero_row_entry * S ((S (bcf_index_kmvclvb_choose_table_zero_row)) * bcf_row_scale_kmvclvb_choose_table) + (bcf_value_kmvclvb_choose_table_zero_row))) /\ ((bcf_index_kmvclvb_choose_table_zero_row = 0 /\ bcf_value_kmvclvb_choose_table_zero_row = 1) \/ exists bcf_predecessor_kmvclvb_choose_table_zero_row. bcf_index_kmvclvb_choose_table_zero_row = S bcf_predecessor_kmvclvb_choose_table_zero_row /\ bcf_value_kmvclvb_choose_table_zero_row = 0)))) \/ exists bcf_predecessor_kmvclvb_choose_table bcf_previous_code_kmvclvb_choose_table bcf_previous_scale_kmvclvb_choose_table. bcf_row_index_kmvclvb_choose_table = S bcf_predecessor_kmvclvb_choose_table /\ ((((exists bcf_height_kmvclvb_choose_table_decoded_previous_code. bcf_height_kmvclvb_choose_table_decoded_previous_code + S (bcf_previous_code_kmvclvb_choose_table) = S ((S (bcf_predecessor_kmvclvb_choose_table)) * bcf_row_code_scale_kmvclvb_choose)) /\ exists bcf_quotient_kmvclvb_choose_table_decoded_previous_code. bcf_row_code_code_kmvclvb_choose = bcf_quotient_kmvclvb_choose_table_decoded_previous_code * S ((S (bcf_predecessor_kmvclvb_choose_table)) * bcf_row_code_scale_kmvclvb_choose) + (bcf_previous_code_kmvclvb_choose_table))) /\ ((((exists bcf_height_kmvclvb_choose_table_decoded_previous_scale. bcf_height_kmvclvb_choose_table_decoded_previous_scale + S (bcf_previous_scale_kmvclvb_choose_table) = S ((S (bcf_predecessor_kmvclvb_choose_table)) * bcf_row_scale_scale_kmvclvb_choose)) /\ exists bcf_quotient_kmvclvb_choose_table_decoded_previous_scale. bcf_row_scale_code_kmvclvb_choose = bcf_quotient_kmvclvb_choose_table_decoded_previous_scale * S ((S (bcf_predecessor_kmvclvb_choose_table)) * bcf_row_scale_scale_kmvclvb_choose) + (bcf_previous_scale_kmvclvb_choose_table))) /\ (forall bcf_index_kmvclvb_choose_table_row_step. (exists bcf_lt_gap_kmvclvb_choose_table_row_step_bound. bcf_lt_gap_kmvclvb_choose_table_row_step_bound + S (bcf_index_kmvclvb_choose_table_row_step) = S (n)) -> exists bcf_value_kmvclvb_choose_table_row_step. ((((exists bcf_height_kmvclvb_choose_table_row_step_entry. bcf_height_kmvclvb_choose_table_row_step_entry + S (bcf_value_kmvclvb_choose_table_row_step) = S ((S (bcf_index_kmvclvb_choose_table_row_step)) * bcf_row_scale_kmvclvb_choose_table)) /\ exists bcf_quotient_kmvclvb_choose_table_row_step_entry. bcf_row_code_kmvclvb_choose_table = bcf_quotient_kmvclvb_choose_table_row_step_entry * S ((S (bcf_index_kmvclvb_choose_table_row_step)) * bcf_row_scale_kmvclvb_choose_table) + (bcf_value_kmvclvb_choose_table_row_step))) /\ ((bcf_index_kmvclvb_choose_table_row_step = 0 /\ bcf_value_kmvclvb_choose_table_row_step = 1) \/ exists bcf_predecessor_kmvclvb_choose_table_row_step bcf_left_kmvclvb_choose_table_row_step bcf_right_kmvclvb_choose_table_row_step. bcf_index_kmvclvb_choose_table_row_step = S bcf_predecessor_kmvclvb_choose_table_row_step /\ ((((exists bcf_height_kmvclvb_choose_table_row_step_previous_left. bcf_height_kmvclvb_choose_table_row_step_previous_left + S (bcf_left_kmvclvb_choose_table_row_step) = S ((S (bcf_predecessor_kmvclvb_choose_table_row_step)) * bcf_previous_scale_kmvclvb_choose_table)) /\ exists bcf_quotient_kmvclvb_choose_table_row_step_previous_left. bcf_previous_code_kmvclvb_choose_table = bcf_quotient_kmvclvb_choose_table_row_step_previous_left * S ((S (bcf_predecessor_kmvclvb_choose_table_row_step)) * bcf_previous_scale_kmvclvb_choose_table) + (bcf_left_kmvclvb_choose_table_row_step))) /\ ((((exists bcf_height_kmvclvb_choose_table_row_step_previous_right. bcf_height_kmvclvb_choose_table_row_step_previous_right + S (bcf_right_kmvclvb_choose_table_row_step) = S ((S (S (bcf_predecessor_kmvclvb_choose_table_row_step))) * bcf_previous_scale_kmvclvb_choose_table)) /\ exists bcf_quotient_kmvclvb_choose_table_row_step_previous_right. bcf_previous_code_kmvclvb_choose_table = bcf_quotient_kmvclvb_choose_table_row_step_previous_right * S ((S (S (bcf_predecessor_kmvclvb_choose_table_row_step))) * bcf_previous_scale_kmvclvb_choose_table) + (bcf_right_kmvclvb_choose_table_row_step))) /\ bcf_value_kmvclvb_choose_table_row_step = bcf_left_kmvclvb_choose_table_row_step + bcf_right_kmvclvb_choose_table_row_step))))))))))) /\ ((((exists bcf_height_kmvclvb_choose_decoded_row_code. bcf_height_kmvclvb_choose_decoded_row_code + S (bcf_row_code_kmvclvb_choose) = S ((S (n)) * bcf_row_code_scale_kmvclvb_choose)) /\ exists bcf_quotient_kmvclvb_choose_decoded_row_code. bcf_row_code_code_kmvclvb_choose = bcf_quotient_kmvclvb_choose_decoded_row_code * S ((S (n)) * bcf_row_code_scale_kmvclvb_choose) + (bcf_row_code_kmvclvb_choose))) /\ ((((exists bcf_height_kmvclvb_choose_decoded_row_scale. bcf_height_kmvclvb_choose_decoded_row_scale + S (bcf_row_scale_kmvclvb_choose) = S ((S (n)) * bcf_row_scale_scale_kmvclvb_choose)) /\ exists bcf_quotient_kmvclvb_choose_decoded_row_scale. bcf_row_scale_code_kmvclvb_choose = bcf_quotient_kmvclvb_choose_decoded_row_scale * S ((S (n)) * bcf_row_scale_scale_kmvclvb_choose) + (bcf_row_scale_kmvclvb_choose))) /\ (((exists bcf_height_kmvclvb_choose_decoded_value. bcf_height_kmvclvb_choose_decoded_value + S (c) = S ((S (k)) * bcf_row_scale_kmvclvb_choose)) /\ exists bcf_quotient_kmvclvb_choose_decoded_value. bcf_row_code_kmvclvb_choose = bcf_quotient_kmvclvb_choose_decoded_value * S ((S (k)) * bcf_row_scale_kmvclvb_choose) + (c))))))))) -> (((exists bpv_gap_kmvclvb_value_exponent_bound. bpv_gap_kmvclvb_value_exponent_bound + e = c) /\ (exists bpv_result_kmvclvb_value_selected. ((exists ff_b_kmvclvb_value_selected_power ff_c_kmvclvb_value_selected_power. ((forall ff_i_kmvclvb_value_selected_power_repeat. (exists ff_lt_kmvclvb_value_selected_power_repeat_bound. ff_lt_kmvclvb_value_selected_power_repeat_bound + S ff_i_kmvclvb_value_selected_power_repeat = e) -> (((exists ff_h_kmvclvb_value_selected_power_repeat_decoded. ff_h_kmvclvb_value_selected_power_repeat_decoded + S (p) = S ((S (ff_i_kmvclvb_value_selected_power_repeat)) * ff_c_kmvclvb_value_selected_power)) /\ exists ff_q_kmvclvb_value_selected_power_repeat_decoded. ff_b_kmvclvb_value_selected_power = ff_q_kmvclvb_value_selected_power_repeat_decoded * S ((S (ff_i_kmvclvb_value_selected_power_repeat)) * ff_c_kmvclvb_value_selected_power) + (p)))) /\ (exists ff_u_kmvclvb_value_selected_power_product ff_v_kmvclvb_value_selected_power_product. ((((exists ff_h_kmvclvb_value_selected_power_product_start. ff_h_kmvclvb_value_selected_power_product_start + S (1) = S ((S (0)) * ff_v_kmvclvb_value_selected_power_product)) /\ exists ff_q_kmvclvb_value_selected_power_product_start. ff_u_kmvclvb_value_selected_power_product = ff_q_kmvclvb_value_selected_power_product_start * S ((S (0)) * ff_v_kmvclvb_value_selected_power_product) + (1))) /\ ((((exists ff_h_kmvclvb_value_selected_power_product_terminal. ff_h_kmvclvb_value_selected_power_product_terminal + S (bpv_result_kmvclvb_value_selected) = S ((S (e)) * ff_v_kmvclvb_value_selected_power_product)) /\ exists ff_q_kmvclvb_value_selected_power_product_terminal. ff_u_kmvclvb_value_selected_power_product = ff_q_kmvclvb_value_selected_power_product_terminal * S ((S (e)) * ff_v_kmvclvb_value_selected_power_product) + (bpv_result_kmvclvb_value_selected))) /\ forall ff_i_kmvclvb_value_selected_power_product. (exists ff_lt_kmvclvb_value_selected_power_product_bound. ff_lt_kmvclvb_value_selected_power_product_bound + S ff_i_kmvclvb_value_selected_power_product = e) -> exists ff_p_kmvclvb_value_selected_power_product ff_r_kmvclvb_value_selected_power_product ff_s_kmvclvb_value_selected_power_product. ((((exists ff_h_kmvclvb_value_selected_power_product_factor. ff_h_kmvclvb_value_selected_power_product_factor + S (ff_p_kmvclvb_value_selected_power_product) = S ((S (ff_i_kmvclvb_value_selected_power_product)) * ff_c_kmvclvb_value_selected_power)) /\ exists ff_q_kmvclvb_value_selected_power_product_factor. ff_b_kmvclvb_value_selected_power = ff_q_kmvclvb_value_selected_power_product_factor * S ((S (ff_i_kmvclvb_value_selected_power_product)) * ff_c_kmvclvb_value_selected_power) + (ff_p_kmvclvb_value_selected_power_product))) /\ ((((exists ff_h_kmvclvb_value_selected_power_product_partial. ff_h_kmvclvb_value_selected_power_product_partial + S (ff_r_kmvclvb_value_selected_power_product) = S ((S (ff_i_kmvclvb_value_selected_power_product)) * ff_v_kmvclvb_value_selected_power_product)) /\ exists ff_q_kmvclvb_value_selected_power_product_partial. ff_u_kmvclvb_value_selected_power_product = ff_q_kmvclvb_value_selected_power_product_partial * S ((S (ff_i_kmvclvb_value_selected_power_product)) * ff_v_kmvclvb_value_selected_power_product) + (ff_r_kmvclvb_value_selected_power_product))) /\ ((((exists ff_h_kmvclvb_value_selected_power_product_successor. ff_h_kmvclvb_value_selected_power_product_successor + S (ff_s_kmvclvb_value_selected_power_product) = S ((S (S ff_i_kmvclvb_value_selected_power_product)) * ff_v_kmvclvb_value_selected_power_product)) /\ exists ff_q_kmvclvb_value_selected_power_product_successor. ff_u_kmvclvb_value_selected_power_product = ff_q_kmvclvb_value_selected_power_product_successor * S ((S (S ff_i_kmvclvb_value_selected_power_product)) * ff_v_kmvclvb_value_selected_power_product) + (ff_s_kmvclvb_value_selected_power_product))) /\ ff_s_kmvclvb_value_selected_power_product = ff_r_kmvclvb_value_selected_power_product * ff_p_kmvclvb_value_selected_power_product)))))))) /\ (exists bpv_factor_kmvclvb_value_selected_divides. c = bpv_result_kmvclvb_value_selected * bpv_factor_kmvclvb_value_selected_divides)))) /\ forall bpv_candidate_kmvclvb_value. (exists bpv_gap_kmvclvb_value_candidate_bound. bpv_gap_kmvclvb_value_candidate_bound + bpv_candidate_kmvclvb_value = c) -> (exists bpv_result_kmvclvb_value_candidate. ((exists ff_b_kmvclvb_value_candidate_power ff_c_kmvclvb_value_candidate_power. ((forall ff_i_kmvclvb_value_candidate_power_repeat. (exists ff_lt_kmvclvb_value_candidate_power_repeat_bound. ff_lt_kmvclvb_value_candidate_power_repeat_bound + S ff_i_kmvclvb_value_candidate_power_repeat = bpv_candidate_kmvclvb_value) -> (((exists ff_h_kmvclvb_value_candidate_power_repeat_decoded. ff_h_kmvclvb_value_candidate_power_repeat_decoded + S (p) = S ((S (ff_i_kmvclvb_value_candidate_power_repeat)) * ff_c_kmvclvb_value_candidate_power)) /\ exists ff_q_kmvclvb_value_candidate_power_repeat_decoded. ff_b_kmvclvb_value_candidate_power = ff_q_kmvclvb_value_candidate_power_repeat_decoded * S ((S (ff_i_kmvclvb_value_candidate_power_repeat)) * ff_c_kmvclvb_value_candidate_power) + (p)))) /\ (exists ff_u_kmvclvb_value_candidate_power_product ff_v_kmvclvb_value_candidate_power_product. ((((exists ff_h_kmvclvb_value_candidate_power_product_start. ff_h_kmvclvb_value_candidate_power_product_start + S (1) = S ((S (0)) * ff_v_kmvclvb_value_candidate_power_product)) /\ exists ff_q_kmvclvb_value_candidate_power_product_start. ff_u_kmvclvb_value_candidate_power_product = ff_q_kmvclvb_value_candidate_power_product_start * S ((S (0)) * ff_v_kmvclvb_value_candidate_power_product) + (1))) /\ ((((exists ff_h_kmvclvb_value_candidate_power_product_terminal. ff_h_kmvclvb_value_candidate_power_product_terminal + S (bpv_result_kmvclvb_value_candidate) = S ((S (bpv_candidate_kmvclvb_value)) * ff_v_kmvclvb_value_candidate_power_product)) /\ exists ff_q_kmvclvb_value_candidate_power_product_terminal. ff_u_kmvclvb_value_candidate_power_product = ff_q_kmvclvb_value_candidate_power_product_terminal * S ((S (bpv_candidate_kmvclvb_value)) * ff_v_kmvclvb_value_candidate_power_product) + (bpv_result_kmvclvb_value_candidate))) /\ forall ff_i_kmvclvb_value_candidate_power_product. (exists ff_lt_kmvclvb_value_candidate_power_product_bound. ff_lt_kmvclvb_value_candidate_power_product_bound + S ff_i_kmvclvb_value_candidate_power_product = bpv_candidate_kmvclvb_value) -> exists ff_p_kmvclvb_value_candidate_power_product ff_r_kmvclvb_value_candidate_power_product ff_s_kmvclvb_value_candidate_power_product. ((((exists ff_h_kmvclvb_value_candidate_power_product_factor. ff_h_kmvclvb_value_candidate_power_product_factor + S (ff_p_kmvclvb_value_candidate_power_product) = S ((S (ff_i_kmvclvb_value_candidate_power_product)) * ff_c_kmvclvb_value_candidate_power)) /\ exists ff_q_kmvclvb_value_candidate_power_product_factor. ff_b_kmvclvb_value_candidate_power = ff_q_kmvclvb_value_candidate_power_product_factor * S ((S (ff_i_kmvclvb_value_candidate_power_product)) * ff_c_kmvclvb_value_candidate_power) + (ff_p_kmvclvb_value_candidate_power_product))) /\ ((((exists ff_h_kmvclvb_value_candidate_power_product_partial. ff_h_kmvclvb_value_candidate_power_product_partial + S (ff_r_kmvclvb_value_candidate_power_product) = S ((S (ff_i_kmvclvb_value_candidate_power_product)) * ff_v_kmvclvb_value_candidate_power_product)) /\ exists ff_q_kmvclvb_value_candidate_power_product_partial. ff_u_kmvclvb_value_candidate_power_product = ff_q_kmvclvb_value_candidate_power_product_partial * S ((S (ff_i_kmvclvb_value_candidate_power_product)) * ff_v_kmvclvb_value_candidate_power_product) + (ff_r_kmvclvb_value_candidate_power_product))) /\ ((((exists ff_h_kmvclvb_value_candidate_power_product_successor. ff_h_kmvclvb_value_candidate_power_product_successor + S (ff_s_kmvclvb_value_candidate_power_product) = S ((S (S ff_i_kmvclvb_value_candidate_power_product)) * ff_v_kmvclvb_value_candidate_power_product)) /\ exists ff_q_kmvclvb_value_candidate_power_product_successor. ff_u_kmvclvb_value_candidate_power_product = ff_q_kmvclvb_value_candidate_power_product_successor * S ((S (S ff_i_kmvclvb_value_candidate_power_product)) * ff_v_kmvclvb_value_candidate_power_product) + (ff_s_kmvclvb_value_candidate_power_product))) /\ ff_s_kmvclvb_value_candidate_power_product = ff_r_kmvclvb_value_candidate_power_product * ff_p_kmvclvb_value_candidate_power_product)))))))) /\ (exists bpv_factor_kmvclvb_value_candidate_divides. c = bpv_result_kmvclvb_value_candidate * bpv_factor_kmvclvb_value_candidate_divides))) -> (exists bpv_gap_kmvclvb_value_maximal. bpv_gap_kmvclvb_value_maximal + bpv_candidate_kmvclvb_value = e)) -> (exists bls_code_kmvclvb_total bls_scale_kmvclvb_total. ((forall bls_index_kmvclvb_total_prefix. (exists bls_gap_kmvclvb_total_prefix_bound. bls_gap_kmvclvb_total_prefix_bound + S (bls_index_kmvclvb_total_prefix) = (n)) -> exists bls_power_kmvclvb_total_prefix bls_quotient_kmvclvb_total_prefix bls_remainder_kmvclvb_total_prefix. ((exists bpvi_b_bls_kmvclvb_total_prefix_power bpvi_c_bls_kmvclvb_total_prefix_power. ((forall bpvi_i_bls_kmvclvb_total_prefix_power. (exists bpvi_repeat_gap_bls_kmvclvb_total_prefix_power. bpvi_repeat_gap_bls_kmvclvb_total_prefix_power + S bpvi_i_bls_kmvclvb_total_prefix_power = S bls_index_kmvclvb_total_prefix) -> (((exists bpvi_h_bls_kmvclvb_total_prefix_power_repeat. bpvi_h_bls_kmvclvb_total_prefix_power_repeat + S (p) = S ((S (bpvi_i_bls_kmvclvb_total_prefix_power)) * bpvi_c_bls_kmvclvb_total_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_total_prefix_power_repeat. bpvi_b_bls_kmvclvb_total_prefix_power = bpvi_q_bls_kmvclvb_total_prefix_power_repeat * S ((S (bpvi_i_bls_kmvclvb_total_prefix_power)) * bpvi_c_bls_kmvclvb_total_prefix_power) + (p)))) /\ (exists bpvi_u_bls_kmvclvb_total_prefix_power bpvi_v_bls_kmvclvb_total_prefix_power. ((((exists bpvi_h_bls_kmvclvb_total_prefix_power_start. bpvi_h_bls_kmvclvb_total_prefix_power_start + S (1) = S ((S (0)) * bpvi_v_bls_kmvclvb_total_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_total_prefix_power_start. bpvi_u_bls_kmvclvb_total_prefix_power = bpvi_q_bls_kmvclvb_total_prefix_power_start * S ((S (0)) * bpvi_v_bls_kmvclvb_total_prefix_power) + (1))) /\ ((((exists bpvi_h_bls_kmvclvb_total_prefix_power_terminal. bpvi_h_bls_kmvclvb_total_prefix_power_terminal + S (bls_power_kmvclvb_total_prefix) = S ((S (S bls_index_kmvclvb_total_prefix)) * bpvi_v_bls_kmvclvb_total_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_total_prefix_power_terminal. bpvi_u_bls_kmvclvb_total_prefix_power = bpvi_q_bls_kmvclvb_total_prefix_power_terminal * S ((S (S bls_index_kmvclvb_total_prefix)) * bpvi_v_bls_kmvclvb_total_prefix_power) + (bls_power_kmvclvb_total_prefix))) /\ forall bpvi_j_bls_kmvclvb_total_prefix_power. (exists bpvi_product_gap_bls_kmvclvb_total_prefix_power. bpvi_product_gap_bls_kmvclvb_total_prefix_power + S bpvi_j_bls_kmvclvb_total_prefix_power = S bls_index_kmvclvb_total_prefix) -> exists bpvi_factor_bls_kmvclvb_total_prefix_power bpvi_partial_bls_kmvclvb_total_prefix_power bpvi_successor_bls_kmvclvb_total_prefix_power. ((((exists bpvi_h_bls_kmvclvb_total_prefix_power_factor. bpvi_h_bls_kmvclvb_total_prefix_power_factor + S (bpvi_factor_bls_kmvclvb_total_prefix_power) = S ((S (bpvi_j_bls_kmvclvb_total_prefix_power)) * bpvi_c_bls_kmvclvb_total_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_total_prefix_power_factor. bpvi_b_bls_kmvclvb_total_prefix_power = bpvi_q_bls_kmvclvb_total_prefix_power_factor * S ((S (bpvi_j_bls_kmvclvb_total_prefix_power)) * bpvi_c_bls_kmvclvb_total_prefix_power) + (bpvi_factor_bls_kmvclvb_total_prefix_power))) /\ ((((exists bpvi_h_bls_kmvclvb_total_prefix_power_partial. bpvi_h_bls_kmvclvb_total_prefix_power_partial + S (bpvi_partial_bls_kmvclvb_total_prefix_power) = S ((S (bpvi_j_bls_kmvclvb_total_prefix_power)) * bpvi_v_bls_kmvclvb_total_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_total_prefix_power_partial. bpvi_u_bls_kmvclvb_total_prefix_power = bpvi_q_bls_kmvclvb_total_prefix_power_partial * S ((S (bpvi_j_bls_kmvclvb_total_prefix_power)) * bpvi_v_bls_kmvclvb_total_prefix_power) + (bpvi_partial_bls_kmvclvb_total_prefix_power))) /\ ((((exists bpvi_h_bls_kmvclvb_total_prefix_power_successor. bpvi_h_bls_kmvclvb_total_prefix_power_successor + S (bpvi_successor_bls_kmvclvb_total_prefix_power) = S ((S (S bpvi_j_bls_kmvclvb_total_prefix_power)) * bpvi_v_bls_kmvclvb_total_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_total_prefix_power_successor. bpvi_u_bls_kmvclvb_total_prefix_power = bpvi_q_bls_kmvclvb_total_prefix_power_successor * S ((S (S bpvi_j_bls_kmvclvb_total_prefix_power)) * bpvi_v_bls_kmvclvb_total_prefix_power) + (bpvi_successor_bls_kmvclvb_total_prefix_power))) /\ bpvi_successor_bls_kmvclvb_total_prefix_power = bpvi_partial_bls_kmvclvb_total_prefix_power * bpvi_factor_bls_kmvclvb_total_prefix_power)))))))) /\ ((((exists ff_h_bls_kmvclvb_total_prefix_quotient_entry. ff_h_bls_kmvclvb_total_prefix_quotient_entry + S (bls_quotient_kmvclvb_total_prefix) = S ((S (bls_index_kmvclvb_total_prefix)) * bls_scale_kmvclvb_total)) /\ exists ff_q_bls_kmvclvb_total_prefix_quotient_entry. bls_code_kmvclvb_total = ff_q_bls_kmvclvb_total_prefix_quotient_entry * S ((S (bls_index_kmvclvb_total_prefix)) * bls_scale_kmvclvb_total) + (bls_quotient_kmvclvb_total_prefix))) /\ ((n = bls_power_kmvclvb_total_prefix * bls_quotient_kmvclvb_total_prefix + bls_remainder_kmvclvb_total_prefix /\ exists bls_remainder_gap_kmvclvb_total_prefix_division. bls_remainder_gap_kmvclvb_total_prefix_division + S (bls_remainder_kmvclvb_total_prefix) = bls_power_kmvclvb_total_prefix))))) /\ (exists ff_u_bls_kmvclvb_total_sum ff_v_bls_kmvclvb_total_sum. ((((exists ff_h_bls_kmvclvb_total_sum_start. ff_h_bls_kmvclvb_total_sum_start + S (0) = S ((S (0)) * ff_v_bls_kmvclvb_total_sum)) /\ exists ff_q_bls_kmvclvb_total_sum_start. ff_u_bls_kmvclvb_total_sum = ff_q_bls_kmvclvb_total_sum_start * S ((S (0)) * ff_v_bls_kmvclvb_total_sum) + (0))) /\ ((((exists ff_h_bls_kmvclvb_total_sum_terminal. ff_h_bls_kmvclvb_total_sum_terminal + S (A) = S ((S (n)) * ff_v_bls_kmvclvb_total_sum)) /\ exists ff_q_bls_kmvclvb_total_sum_terminal. ff_u_bls_kmvclvb_total_sum = ff_q_bls_kmvclvb_total_sum_terminal * S ((S (n)) * ff_v_bls_kmvclvb_total_sum) + (A))) /\ forall ff_i_bls_kmvclvb_total_sum. (exists ff_lt_bls_kmvclvb_total_sum_bound. ff_lt_bls_kmvclvb_total_sum_bound + S ff_i_bls_kmvclvb_total_sum = n) -> exists ff_a_bls_kmvclvb_total_sum ff_r_bls_kmvclvb_total_sum ff_s_bls_kmvclvb_total_sum. ((((exists ff_h_bls_kmvclvb_total_sum_summand. ff_h_bls_kmvclvb_total_sum_summand + S (ff_a_bls_kmvclvb_total_sum) = S ((S (ff_i_bls_kmvclvb_total_sum)) * bls_scale_kmvclvb_total)) /\ exists ff_q_bls_kmvclvb_total_sum_summand. bls_code_kmvclvb_total = ff_q_bls_kmvclvb_total_sum_summand * S ((S (ff_i_bls_kmvclvb_total_sum)) * bls_scale_kmvclvb_total) + (ff_a_bls_kmvclvb_total_sum))) /\ ((((exists ff_h_bls_kmvclvb_total_sum_partial. ff_h_bls_kmvclvb_total_sum_partial + S (ff_r_bls_kmvclvb_total_sum) = S ((S (ff_i_bls_kmvclvb_total_sum)) * ff_v_bls_kmvclvb_total_sum)) /\ exists ff_q_bls_kmvclvb_total_sum_partial. ff_u_bls_kmvclvb_total_sum = ff_q_bls_kmvclvb_total_sum_partial * S ((S (ff_i_bls_kmvclvb_total_sum)) * ff_v_bls_kmvclvb_total_sum) + (ff_r_bls_kmvclvb_total_sum))) /\ ((((exists ff_h_bls_kmvclvb_total_sum_successor. ff_h_bls_kmvclvb_total_sum_successor + S (ff_s_bls_kmvclvb_total_sum) = S ((S (S ff_i_bls_kmvclvb_total_sum)) * ff_v_bls_kmvclvb_total_sum)) /\ exists ff_q_bls_kmvclvb_total_sum_successor. ff_u_bls_kmvclvb_total_sum = ff_q_bls_kmvclvb_total_sum_successor * S ((S (S ff_i_bls_kmvclvb_total_sum)) * ff_v_bls_kmvclvb_total_sum) + (ff_s_bls_kmvclvb_total_sum))) /\ ff_s_bls_kmvclvb_total_sum = ff_r_bls_kmvclvb_total_sum + ff_a_bls_kmvclvb_total_sum)))))))) -> (exists bls_code_kmvclvb_left bls_scale_kmvclvb_left. ((forall bls_index_kmvclvb_left_prefix. (exists bls_gap_kmvclvb_left_prefix_bound. bls_gap_kmvclvb_left_prefix_bound + S (bls_index_kmvclvb_left_prefix) = (k)) -> exists bls_power_kmvclvb_left_prefix bls_quotient_kmvclvb_left_prefix bls_remainder_kmvclvb_left_prefix. ((exists bpvi_b_bls_kmvclvb_left_prefix_power bpvi_c_bls_kmvclvb_left_prefix_power. ((forall bpvi_i_bls_kmvclvb_left_prefix_power. (exists bpvi_repeat_gap_bls_kmvclvb_left_prefix_power. bpvi_repeat_gap_bls_kmvclvb_left_prefix_power + S bpvi_i_bls_kmvclvb_left_prefix_power = S bls_index_kmvclvb_left_prefix) -> (((exists bpvi_h_bls_kmvclvb_left_prefix_power_repeat. bpvi_h_bls_kmvclvb_left_prefix_power_repeat + S (p) = S ((S (bpvi_i_bls_kmvclvb_left_prefix_power)) * bpvi_c_bls_kmvclvb_left_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_left_prefix_power_repeat. bpvi_b_bls_kmvclvb_left_prefix_power = bpvi_q_bls_kmvclvb_left_prefix_power_repeat * S ((S (bpvi_i_bls_kmvclvb_left_prefix_power)) * bpvi_c_bls_kmvclvb_left_prefix_power) + (p)))) /\ (exists bpvi_u_bls_kmvclvb_left_prefix_power bpvi_v_bls_kmvclvb_left_prefix_power. ((((exists bpvi_h_bls_kmvclvb_left_prefix_power_start. bpvi_h_bls_kmvclvb_left_prefix_power_start + S (1) = S ((S (0)) * bpvi_v_bls_kmvclvb_left_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_left_prefix_power_start. bpvi_u_bls_kmvclvb_left_prefix_power = bpvi_q_bls_kmvclvb_left_prefix_power_start * S ((S (0)) * bpvi_v_bls_kmvclvb_left_prefix_power) + (1))) /\ ((((exists bpvi_h_bls_kmvclvb_left_prefix_power_terminal. bpvi_h_bls_kmvclvb_left_prefix_power_terminal + S (bls_power_kmvclvb_left_prefix) = S ((S (S bls_index_kmvclvb_left_prefix)) * bpvi_v_bls_kmvclvb_left_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_left_prefix_power_terminal. bpvi_u_bls_kmvclvb_left_prefix_power = bpvi_q_bls_kmvclvb_left_prefix_power_terminal * S ((S (S bls_index_kmvclvb_left_prefix)) * bpvi_v_bls_kmvclvb_left_prefix_power) + (bls_power_kmvclvb_left_prefix))) /\ forall bpvi_j_bls_kmvclvb_left_prefix_power. (exists bpvi_product_gap_bls_kmvclvb_left_prefix_power. bpvi_product_gap_bls_kmvclvb_left_prefix_power + S bpvi_j_bls_kmvclvb_left_prefix_power = S bls_index_kmvclvb_left_prefix) -> exists bpvi_factor_bls_kmvclvb_left_prefix_power bpvi_partial_bls_kmvclvb_left_prefix_power bpvi_successor_bls_kmvclvb_left_prefix_power. ((((exists bpvi_h_bls_kmvclvb_left_prefix_power_factor. bpvi_h_bls_kmvclvb_left_prefix_power_factor + S (bpvi_factor_bls_kmvclvb_left_prefix_power) = S ((S (bpvi_j_bls_kmvclvb_left_prefix_power)) * bpvi_c_bls_kmvclvb_left_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_left_prefix_power_factor. bpvi_b_bls_kmvclvb_left_prefix_power = bpvi_q_bls_kmvclvb_left_prefix_power_factor * S ((S (bpvi_j_bls_kmvclvb_left_prefix_power)) * bpvi_c_bls_kmvclvb_left_prefix_power) + (bpvi_factor_bls_kmvclvb_left_prefix_power))) /\ ((((exists bpvi_h_bls_kmvclvb_left_prefix_power_partial. bpvi_h_bls_kmvclvb_left_prefix_power_partial + S (bpvi_partial_bls_kmvclvb_left_prefix_power) = S ((S (bpvi_j_bls_kmvclvb_left_prefix_power)) * bpvi_v_bls_kmvclvb_left_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_left_prefix_power_partial. bpvi_u_bls_kmvclvb_left_prefix_power = bpvi_q_bls_kmvclvb_left_prefix_power_partial * S ((S (bpvi_j_bls_kmvclvb_left_prefix_power)) * bpvi_v_bls_kmvclvb_left_prefix_power) + (bpvi_partial_bls_kmvclvb_left_prefix_power))) /\ ((((exists bpvi_h_bls_kmvclvb_left_prefix_power_successor. bpvi_h_bls_kmvclvb_left_prefix_power_successor + S (bpvi_successor_bls_kmvclvb_left_prefix_power) = S ((S (S bpvi_j_bls_kmvclvb_left_prefix_power)) * bpvi_v_bls_kmvclvb_left_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_left_prefix_power_successor. bpvi_u_bls_kmvclvb_left_prefix_power = bpvi_q_bls_kmvclvb_left_prefix_power_successor * S ((S (S bpvi_j_bls_kmvclvb_left_prefix_power)) * bpvi_v_bls_kmvclvb_left_prefix_power) + (bpvi_successor_bls_kmvclvb_left_prefix_power))) /\ bpvi_successor_bls_kmvclvb_left_prefix_power = bpvi_partial_bls_kmvclvb_left_prefix_power * bpvi_factor_bls_kmvclvb_left_prefix_power)))))))) /\ ((((exists ff_h_bls_kmvclvb_left_prefix_quotient_entry. ff_h_bls_kmvclvb_left_prefix_quotient_entry + S (bls_quotient_kmvclvb_left_prefix) = S ((S (bls_index_kmvclvb_left_prefix)) * bls_scale_kmvclvb_left)) /\ exists ff_q_bls_kmvclvb_left_prefix_quotient_entry. bls_code_kmvclvb_left = ff_q_bls_kmvclvb_left_prefix_quotient_entry * S ((S (bls_index_kmvclvb_left_prefix)) * bls_scale_kmvclvb_left) + (bls_quotient_kmvclvb_left_prefix))) /\ ((k = bls_power_kmvclvb_left_prefix * bls_quotient_kmvclvb_left_prefix + bls_remainder_kmvclvb_left_prefix /\ exists bls_remainder_gap_kmvclvb_left_prefix_division. bls_remainder_gap_kmvclvb_left_prefix_division + S (bls_remainder_kmvclvb_left_prefix) = bls_power_kmvclvb_left_prefix))))) /\ (exists ff_u_bls_kmvclvb_left_sum ff_v_bls_kmvclvb_left_sum. ((((exists ff_h_bls_kmvclvb_left_sum_start. ff_h_bls_kmvclvb_left_sum_start + S (0) = S ((S (0)) * ff_v_bls_kmvclvb_left_sum)) /\ exists ff_q_bls_kmvclvb_left_sum_start. ff_u_bls_kmvclvb_left_sum = ff_q_bls_kmvclvb_left_sum_start * S ((S (0)) * ff_v_bls_kmvclvb_left_sum) + (0))) /\ ((((exists ff_h_bls_kmvclvb_left_sum_terminal. ff_h_bls_kmvclvb_left_sum_terminal + S (B) = S ((S (k)) * ff_v_bls_kmvclvb_left_sum)) /\ exists ff_q_bls_kmvclvb_left_sum_terminal. ff_u_bls_kmvclvb_left_sum = ff_q_bls_kmvclvb_left_sum_terminal * S ((S (k)) * ff_v_bls_kmvclvb_left_sum) + (B))) /\ forall ff_i_bls_kmvclvb_left_sum. (exists ff_lt_bls_kmvclvb_left_sum_bound. ff_lt_bls_kmvclvb_left_sum_bound + S ff_i_bls_kmvclvb_left_sum = k) -> exists ff_a_bls_kmvclvb_left_sum ff_r_bls_kmvclvb_left_sum ff_s_bls_kmvclvb_left_sum. ((((exists ff_h_bls_kmvclvb_left_sum_summand. ff_h_bls_kmvclvb_left_sum_summand + S (ff_a_bls_kmvclvb_left_sum) = S ((S (ff_i_bls_kmvclvb_left_sum)) * bls_scale_kmvclvb_left)) /\ exists ff_q_bls_kmvclvb_left_sum_summand. bls_code_kmvclvb_left = ff_q_bls_kmvclvb_left_sum_summand * S ((S (ff_i_bls_kmvclvb_left_sum)) * bls_scale_kmvclvb_left) + (ff_a_bls_kmvclvb_left_sum))) /\ ((((exists ff_h_bls_kmvclvb_left_sum_partial. ff_h_bls_kmvclvb_left_sum_partial + S (ff_r_bls_kmvclvb_left_sum) = S ((S (ff_i_bls_kmvclvb_left_sum)) * ff_v_bls_kmvclvb_left_sum)) /\ exists ff_q_bls_kmvclvb_left_sum_partial. ff_u_bls_kmvclvb_left_sum = ff_q_bls_kmvclvb_left_sum_partial * S ((S (ff_i_bls_kmvclvb_left_sum)) * ff_v_bls_kmvclvb_left_sum) + (ff_r_bls_kmvclvb_left_sum))) /\ ((((exists ff_h_bls_kmvclvb_left_sum_successor. ff_h_bls_kmvclvb_left_sum_successor + S (ff_s_bls_kmvclvb_left_sum) = S ((S (S ff_i_bls_kmvclvb_left_sum)) * ff_v_bls_kmvclvb_left_sum)) /\ exists ff_q_bls_kmvclvb_left_sum_successor. ff_u_bls_kmvclvb_left_sum = ff_q_bls_kmvclvb_left_sum_successor * S ((S (S ff_i_bls_kmvclvb_left_sum)) * ff_v_bls_kmvclvb_left_sum) + (ff_s_bls_kmvclvb_left_sum))) /\ ff_s_bls_kmvclvb_left_sum = ff_r_bls_kmvclvb_left_sum + ff_a_bls_kmvclvb_left_sum)))))))) -> (exists bls_code_kmvclvb_right bls_scale_kmvclvb_right. ((forall bls_index_kmvclvb_right_prefix. (exists bls_gap_kmvclvb_right_prefix_bound. bls_gap_kmvclvb_right_prefix_bound + S (bls_index_kmvclvb_right_prefix) = (j)) -> exists bls_power_kmvclvb_right_prefix bls_quotient_kmvclvb_right_prefix bls_remainder_kmvclvb_right_prefix. ((exists bpvi_b_bls_kmvclvb_right_prefix_power bpvi_c_bls_kmvclvb_right_prefix_power. ((forall bpvi_i_bls_kmvclvb_right_prefix_power. (exists bpvi_repeat_gap_bls_kmvclvb_right_prefix_power. bpvi_repeat_gap_bls_kmvclvb_right_prefix_power + S bpvi_i_bls_kmvclvb_right_prefix_power = S bls_index_kmvclvb_right_prefix) -> (((exists bpvi_h_bls_kmvclvb_right_prefix_power_repeat. bpvi_h_bls_kmvclvb_right_prefix_power_repeat + S (p) = S ((S (bpvi_i_bls_kmvclvb_right_prefix_power)) * bpvi_c_bls_kmvclvb_right_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_right_prefix_power_repeat. bpvi_b_bls_kmvclvb_right_prefix_power = bpvi_q_bls_kmvclvb_right_prefix_power_repeat * S ((S (bpvi_i_bls_kmvclvb_right_prefix_power)) * bpvi_c_bls_kmvclvb_right_prefix_power) + (p)))) /\ (exists bpvi_u_bls_kmvclvb_right_prefix_power bpvi_v_bls_kmvclvb_right_prefix_power. ((((exists bpvi_h_bls_kmvclvb_right_prefix_power_start. bpvi_h_bls_kmvclvb_right_prefix_power_start + S (1) = S ((S (0)) * bpvi_v_bls_kmvclvb_right_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_right_prefix_power_start. bpvi_u_bls_kmvclvb_right_prefix_power = bpvi_q_bls_kmvclvb_right_prefix_power_start * S ((S (0)) * bpvi_v_bls_kmvclvb_right_prefix_power) + (1))) /\ ((((exists bpvi_h_bls_kmvclvb_right_prefix_power_terminal. bpvi_h_bls_kmvclvb_right_prefix_power_terminal + S (bls_power_kmvclvb_right_prefix) = S ((S (S bls_index_kmvclvb_right_prefix)) * bpvi_v_bls_kmvclvb_right_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_right_prefix_power_terminal. bpvi_u_bls_kmvclvb_right_prefix_power = bpvi_q_bls_kmvclvb_right_prefix_power_terminal * S ((S (S bls_index_kmvclvb_right_prefix)) * bpvi_v_bls_kmvclvb_right_prefix_power) + (bls_power_kmvclvb_right_prefix))) /\ forall bpvi_j_bls_kmvclvb_right_prefix_power. (exists bpvi_product_gap_bls_kmvclvb_right_prefix_power. bpvi_product_gap_bls_kmvclvb_right_prefix_power + S bpvi_j_bls_kmvclvb_right_prefix_power = S bls_index_kmvclvb_right_prefix) -> exists bpvi_factor_bls_kmvclvb_right_prefix_power bpvi_partial_bls_kmvclvb_right_prefix_power bpvi_successor_bls_kmvclvb_right_prefix_power. ((((exists bpvi_h_bls_kmvclvb_right_prefix_power_factor. bpvi_h_bls_kmvclvb_right_prefix_power_factor + S (bpvi_factor_bls_kmvclvb_right_prefix_power) = S ((S (bpvi_j_bls_kmvclvb_right_prefix_power)) * bpvi_c_bls_kmvclvb_right_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_right_prefix_power_factor. bpvi_b_bls_kmvclvb_right_prefix_power = bpvi_q_bls_kmvclvb_right_prefix_power_factor * S ((S (bpvi_j_bls_kmvclvb_right_prefix_power)) * bpvi_c_bls_kmvclvb_right_prefix_power) + (bpvi_factor_bls_kmvclvb_right_prefix_power))) /\ ((((exists bpvi_h_bls_kmvclvb_right_prefix_power_partial. bpvi_h_bls_kmvclvb_right_prefix_power_partial + S (bpvi_partial_bls_kmvclvb_right_prefix_power) = S ((S (bpvi_j_bls_kmvclvb_right_prefix_power)) * bpvi_v_bls_kmvclvb_right_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_right_prefix_power_partial. bpvi_u_bls_kmvclvb_right_prefix_power = bpvi_q_bls_kmvclvb_right_prefix_power_partial * S ((S (bpvi_j_bls_kmvclvb_right_prefix_power)) * bpvi_v_bls_kmvclvb_right_prefix_power) + (bpvi_partial_bls_kmvclvb_right_prefix_power))) /\ ((((exists bpvi_h_bls_kmvclvb_right_prefix_power_successor. bpvi_h_bls_kmvclvb_right_prefix_power_successor + S (bpvi_successor_bls_kmvclvb_right_prefix_power) = S ((S (S bpvi_j_bls_kmvclvb_right_prefix_power)) * bpvi_v_bls_kmvclvb_right_prefix_power)) /\ exists bpvi_q_bls_kmvclvb_right_prefix_power_successor. bpvi_u_bls_kmvclvb_right_prefix_power = bpvi_q_bls_kmvclvb_right_prefix_power_successor * S ((S (S bpvi_j_bls_kmvclvb_right_prefix_power)) * bpvi_v_bls_kmvclvb_right_prefix_power) + (bpvi_successor_bls_kmvclvb_right_prefix_power))) /\ bpvi_successor_bls_kmvclvb_right_prefix_power = bpvi_partial_bls_kmvclvb_right_prefix_power * bpvi_factor_bls_kmvclvb_right_prefix_power)))))))) /\ ((((exists ff_h_bls_kmvclvb_right_prefix_quotient_entry. ff_h_bls_kmvclvb_right_prefix_quotient_entry + S (bls_quotient_kmvclvb_right_prefix) = S ((S (bls_index_kmvclvb_right_prefix)) * bls_scale_kmvclvb_right)) /\ exists ff_q_bls_kmvclvb_right_prefix_quotient_entry. bls_code_kmvclvb_right = ff_q_bls_kmvclvb_right_prefix_quotient_entry * S ((S (bls_index_kmvclvb_right_prefix)) * bls_scale_kmvclvb_right) + (bls_quotient_kmvclvb_right_prefix))) /\ ((j = bls_power_kmvclvb_right_prefix * bls_quotient_kmvclvb_right_prefix + bls_remainder_kmvclvb_right_prefix /\ exists bls_remainder_gap_kmvclvb_right_prefix_division. bls_remainder_gap_kmvclvb_right_prefix_division + S (bls_remainder_kmvclvb_right_prefix) = bls_power_kmvclvb_right_prefix))))) /\ (exists ff_u_bls_kmvclvb_right_sum ff_v_bls_kmvclvb_right_sum. ((((exists ff_h_bls_kmvclvb_right_sum_start. ff_h_bls_kmvclvb_right_sum_start + S (0) = S ((S (0)) * ff_v_bls_kmvclvb_right_sum)) /\ exists ff_q_bls_kmvclvb_right_sum_start. ff_u_bls_kmvclvb_right_sum = ff_q_bls_kmvclvb_right_sum_start * S ((S (0)) * ff_v_bls_kmvclvb_right_sum) + (0))) /\ ((((exists ff_h_bls_kmvclvb_right_sum_terminal. ff_h_bls_kmvclvb_right_sum_terminal + S (D) = S ((S (j)) * ff_v_bls_kmvclvb_right_sum)) /\ exists ff_q_bls_kmvclvb_right_sum_terminal. ff_u_bls_kmvclvb_right_sum = ff_q_bls_kmvclvb_right_sum_terminal * S ((S (j)) * ff_v_bls_kmvclvb_right_sum) + (D))) /\ forall ff_i_bls_kmvclvb_right_sum. (exists ff_lt_bls_kmvclvb_right_sum_bound. ff_lt_bls_kmvclvb_right_sum_bound + S ff_i_bls_kmvclvb_right_sum = j) -> exists ff_a_bls_kmvclvb_right_sum ff_r_bls_kmvclvb_right_sum ff_s_bls_kmvclvb_right_sum. ((((exists ff_h_bls_kmvclvb_right_sum_summand. ff_h_bls_kmvclvb_right_sum_summand + S (ff_a_bls_kmvclvb_right_sum) = S ((S (ff_i_bls_kmvclvb_right_sum)) * bls_scale_kmvclvb_right)) /\ exists ff_q_bls_kmvclvb_right_sum_summand. bls_code_kmvclvb_right = ff_q_bls_kmvclvb_right_sum_summand * S ((S (ff_i_bls_kmvclvb_right_sum)) * bls_scale_kmvclvb_right) + (ff_a_bls_kmvclvb_right_sum))) /\ ((((exists ff_h_bls_kmvclvb_right_sum_partial. ff_h_bls_kmvclvb_right_sum_partial + S (ff_r_bls_kmvclvb_right_sum) = S ((S (ff_i_bls_kmvclvb_right_sum)) * ff_v_bls_kmvclvb_right_sum)) /\ exists ff_q_bls_kmvclvb_right_sum_partial. ff_u_bls_kmvclvb_right_sum = ff_q_bls_kmvclvb_right_sum_partial * S ((S (ff_i_bls_kmvclvb_right_sum)) * ff_v_bls_kmvclvb_right_sum) + (ff_r_bls_kmvclvb_right_sum))) /\ ((((exists ff_h_bls_kmvclvb_right_sum_successor. ff_h_bls_kmvclvb_right_sum_successor + S (ff_s_bls_kmvclvb_right_sum) = S ((S (S ff_i_bls_kmvclvb_right_sum)) * ff_v_bls_kmvclvb_right_sum)) /\ exists ff_q_bls_kmvclvb_right_sum_successor. ff_u_bls_kmvclvb_right_sum = ff_q_bls_kmvclvb_right_sum_successor * S ((S (S ff_i_bls_kmvclvb_right_sum)) * ff_v_bls_kmvclvb_right_sum) + (ff_s_bls_kmvclvb_right_sum))) /\ ff_s_bls_kmvclvb_right_sum = ff_r_bls_kmvclvb_right_sum + ff_a_bls_kmvclvb_right_sum)))))))) -> A = (B + D) + e

Proof neighborhood

Direct theorem prerequisites

factorial_valuation_exists · Alpha closed prime_factorial_valuation_eq_legendre_sum · Alpha closed KU0003 choose_factorial_valuation_balance

Direct theorem dependents

Definition-aware tactic body

Only propositions whose conservative expansion has been checked for exact first-order equivalence are compacted. Every changed line retains its immutable exact replay command.

Read the argument

Proof checkpoints

84 script commands · 18 reading checkpoints · 7 local claims

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.

Definition notation is shown below. Open the paired exact edition for the original native formulas. Source pairing is not a new equivalence certificate.

Named ingredients (1)
01Fix variables and assumptionsL1–10

Work with arbitrary variables or the premises of the current implication.

  1. L1
    intro p
  2. L2
    intro n
  3. L3
    intro k
  4. L4
    intro j
  5. L5
    intro c
  6. L6
    intro e
  7. L7
    intro A
  8. L8
    intro B
  9. L9
    intro D
  10. L10
    intro hsum
02Fix variables and assumptionsL11–16

Work with arbitrary variables or the premises of the current implication.

  1. L11
    intro hp
  2. L12
    intro hchoose
  3. L13
    intro hvalue
  4. L14
    intro htotal_legendre
  5. L15
    intro hleft_legendre
  6. L16
    intro hright_legendre
03Establish htotalL17–20

Establish this local claim before using it. It is not an additional assumption.

  1. L17
    have htotal : ∃ z. FactorialValuation(p,n,z)Definitions: FactorialValuation(p,n,z)Original native command in the exact edition
  2. L18
    specialize factorial_valuation_exists p
  3. L19
    specialize factorial_valuation_exists n
  4. L20
    exact factorial_valuation_exists
04Separate the logical casesL21–21

Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.

  1. L21
    cases htotal
05Establish hleftL22–25

Establish this local claim before using it. It is not an additional assumption.

  1. L22
    have hleft : ∃ z. FactorialValuation(p,k,z)Definitions: FactorialValuation(p,k,z)Original native command in the exact edition
  2. L23
    specialize factorial_valuation_exists p
  3. L24
    specialize factorial_valuation_exists k
  4. L25
    exact factorial_valuation_exists
06Separate the logical casesL26–26

Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.

  1. L26
    cases hleft
07Establish hrightL27–30

Establish this local claim before using it. It is not an additional assumption.

  1. L27
    have hright : ∃ z. FactorialValuation(p,j,z)Definitions: FactorialValuation(p,j,z)Original native command in the exact edition
  2. L28
    specialize factorial_valuation_exists p
  3. L29
    specialize factorial_valuation_exists j
  4. L30
    exact factorial_valuation_exists
08Separate the logical casesL31–31

Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.

  1. L31
    cases hright
09Establish hbalanceL32–41

Establish this local claim before using it. It is not an additional assumption.

  1. L32
    have hbalance : x = (x1 + x2) + e
  2. L33
    specialize choose_factorial_valuation_balance p
  3. L34
    specialize choose_factorial_valuation_balance n
  4. L35
    specialize choose_factorial_valuation_balance k
  5. L36
    specialize choose_factorial_valuation_balance j
  6. L37
    specialize choose_factorial_valuation_balance c
  7. L38
    specialize choose_factorial_valuation_balance e
  8. L39
    specialize choose_factorial_valuation_balance x
  9. L40
    specialize choose_factorial_valuation_balance x1
  10. L41
    specialize choose_factorial_valuation_balance x2
10Use earlier factsL42–49

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L42
    apply choose_factorial_valuation_balance
  2. L43
    exact hsum
  3. L44
    exact hp
  4. L45
    exact hchoose
  5. L46
    exact hvalue
  6. L47
    exact htotal_witness
  7. L48
    exact hleft_witness
  8. L49
    exact hright_witness
11Establish htotal_eqL50–58

Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime factorial valuation eq legendre sum.

  1. L50
    have htotal_eq : x = A
  2. L51
    specialize prime_factorial_valuation_eq_legendre_sum p
  3. L52
    specialize prime_factorial_valuation_eq_legendre_sum n
  4. L53
    specialize prime_factorial_valuation_eq_legendre_sum x
  5. L54
    specialize prime_factorial_valuation_eq_legendre_sum A
  6. L55
    apply prime_factorial_valuation_eq_legendre_sum
  7. L56
    exact hp
  8. L57
    exact htotal_witness
  9. L58
    exact htotal_legendre
12Establish hleft_eqL59–67

Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime factorial valuation eq legendre sum.

  1. L59
    have hleft_eq : x1 = B
  2. L60
    specialize prime_factorial_valuation_eq_legendre_sum p
  3. L61
    specialize prime_factorial_valuation_eq_legendre_sum k
  4. L62
    specialize prime_factorial_valuation_eq_legendre_sum x1
  5. L63
    specialize prime_factorial_valuation_eq_legendre_sum B
  6. L64
    apply prime_factorial_valuation_eq_legendre_sum
  7. L65
    exact hp
  8. L66
    exact hleft_witness
  9. L67
    exact hleft_legendre
13Establish hright_eqL68–77

Establish this local claim before using it. It is not an additional assumption. The following proof commands apply prime factorial valuation eq legendre sum.

  1. L68
    have hright_eq : x2 = D
  2. L69
    specialize prime_factorial_valuation_eq_legendre_sum p
  3. L70
    specialize prime_factorial_valuation_eq_legendre_sum j
  4. L71
    specialize prime_factorial_valuation_eq_legendre_sum x2
  5. L72
    specialize prime_factorial_valuation_eq_legendre_sum D
  6. L73
    apply prime_factorial_valuation_eq_legendre_sum
  7. L74
    exact hp
  8. L75
    exact hright_witness
  9. L76
    exact hright_legendre
  10. L77
    trans x
14Calculate and transport equalitiesL78–78

Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.

  1. L78
    symm
15Use earlier factsL79–79

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L79
    exact htotal_eq
16Calculate and transport equalitiesL80–80

Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.

  1. L80
    trans (x1 + x2) + e
17Use earlier factsL81–81

Instantiate or apply named facts and discharge the corresponding proof obligations.

  1. L81
    exact hbalance
18Calculate and transport equalitiesL82–84

Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.

  1. L82
    rewrite hleft_eq
  2. L83
    rewrite hright_eq
  3. L84
    refl

Library-wide reading audit

Original defined command ledger · 84 lines
  1. 0001intro p
  2. 0002intro n
  3. 0003intro k
  4. 0004intro j
  5. 0005intro c
  6. 0006intro e
  7. 0007intro A
  8. 0008intro B
  9. 0009intro D
  10. 0010intro hsum
  11. 0011intro hp
  12. 0012intro hchoose
  13. 0013intro hvalue
  14. 0014intro htotal_legendre
  15. 0015intro hleft_legendre
  16. 0016intro hright_legendre
  17. 0017have htotal : ∃ z. FactorialValuation(p,n,z)
    Exact native replay linehave htotal : exists z. exists bfv_factorial_kmvclvb_total_factorial. ((exists ff_b_kmvclvb_total_factorial_factorial ff_c_kmvclvb_total_factorial_factorial. ((forall ff_i_kmvclvb_total_factorial_factorial_range. (exists ff_lt_kmvclvb_total_factorial_factorial_range_bound. ff_lt_kmvclvb_total_factorial_factorial_range_bound + S ff_i_kmvclvb_total_factorial_factorial_range = n) -> (((exists ff_h_kmvclvb_total_factorial_factorial_range_decoded. ff_h_kmvclvb_total_factorial_factorial_range_decoded + S (1 + ff_i_kmvclvb_total_factorial_factorial_range) = S ((S (ff_i_kmvclvb_total_factorial_factorial_range)) * ff_c_kmvclvb_total_factorial_factorial)) /\ exists ff_q_kmvclvb_total_factorial_factorial_range_decoded. ff_b_kmvclvb_total_factorial_factorial = ff_q_kmvclvb_total_factorial_factorial_range_decoded * S ((S (ff_i_kmvclvb_total_factorial_factorial_range)) * ff_c_kmvclvb_total_factorial_factorial) + (1 + ff_i_kmvclvb_total_factorial_factorial_range)))) /\ (exists ff_u_kmvclvb_total_factorial_factorial_product ff_v_kmvclvb_total_factorial_factorial_product. ((((exists ff_h_kmvclvb_total_factorial_factorial_product_start. ff_h_kmvclvb_total_factorial_factorial_product_start + S (1) = S ((S (0)) * ff_v_kmvclvb_total_factorial_factorial_product)) /\ exists ff_q_kmvclvb_total_factorial_factorial_product_start. ff_u_kmvclvb_total_factorial_factorial_product = ff_q_kmvclvb_total_factorial_factorial_product_start * S ((S (0)) * ff_v_kmvclvb_total_factorial_factorial_product) + (1))) /\ ((((exists ff_h_kmvclvb_total_factorial_factorial_product_terminal. ff_h_kmvclvb_total_factorial_factorial_product_terminal + S (bfv_factorial_kmvclvb_total_factorial) = S ((S (n)) * ff_v_kmvclvb_total_factorial_factorial_product)) /\ exists ff_q_kmvclvb_total_factorial_factorial_product_terminal. ff_u_kmvclvb_total_factorial_factorial_product = ff_q_kmvclvb_total_factorial_factorial_product_terminal * S ((S (n)) * ff_v_kmvclvb_total_factorial_factorial_product) + (bfv_factorial_kmvclvb_total_factorial))) /\ forall ff_i_kmvclvb_total_factorial_factorial_product. (exists ff_lt_kmvclvb_total_factorial_factorial_product_bound. ff_lt_kmvclvb_total_factorial_factorial_product_bound + S ff_i_kmvclvb_total_factorial_factorial_product = n) -> exists ff_p_kmvclvb_total_factorial_factorial_product ff_r_kmvclvb_total_factorial_factorial_product ff_s_kmvclvb_total_factorial_factorial_product. ((((exists ff_h_kmvclvb_total_factorial_factorial_product_factor. ff_h_kmvclvb_total_factorial_factorial_product_factor + S (ff_p_kmvclvb_total_factorial_factorial_product) = S ((S (ff_i_kmvclvb_total_factorial_factorial_product)) * ff_c_kmvclvb_total_factorial_factorial)) /\ exists ff_q_kmvclvb_total_factorial_factorial_product_factor. ff_b_kmvclvb_total_factorial_factorial = ff_q_kmvclvb_total_factorial_factorial_product_factor * S ((S (ff_i_kmvclvb_total_factorial_factorial_product)) * ff_c_kmvclvb_total_factorial_factorial) + (ff_p_kmvclvb_total_factorial_factorial_product))) /\ ((((exists ff_h_kmvclvb_total_factorial_factorial_product_partial. ff_h_kmvclvb_total_factorial_factorial_product_partial + S (ff_r_kmvclvb_total_factorial_factorial_product) = S ((S (ff_i_kmvclvb_total_factorial_factorial_product)) * ff_v_kmvclvb_total_factorial_factorial_product)) /\ exists ff_q_kmvclvb_total_factorial_factorial_product_partial. ff_u_kmvclvb_total_factorial_factorial_product = ff_q_kmvclvb_total_factorial_factorial_product_partial * S ((S (ff_i_kmvclvb_total_factorial_factorial_product)) * ff_v_kmvclvb_total_factorial_factorial_product) + (ff_r_kmvclvb_total_factorial_factorial_product))) /\ ((((exists ff_h_kmvclvb_total_factorial_factorial_product_successor. ff_h_kmvclvb_total_factorial_factorial_product_successor + S (ff_s_kmvclvb_total_factorial_factorial_product) = S ((S (S ff_i_kmvclvb_total_factorial_factorial_product)) * ff_v_kmvclvb_total_factorial_factorial_product)) /\ exists ff_q_kmvclvb_total_factorial_factorial_product_successor. ff_u_kmvclvb_total_factorial_factorial_product = ff_q_kmvclvb_total_factorial_factorial_product_successor * S ((S (S ff_i_kmvclvb_total_factorial_factorial_product)) * ff_v_kmvclvb_total_factorial_factorial_product) + (ff_s_kmvclvb_total_factorial_factorial_product))) /\ ff_s_kmvclvb_total_factorial_factorial_product = ff_r_kmvclvb_total_factorial_factorial_product * ff_p_kmvclvb_total_factorial_factorial_product)))))))) /\ (((exists bpv_gap_kmvclvb_total_factorial_valuation_exponent_bound. bpv_gap_kmvclvb_total_factorial_valuation_exponent_bound + z = bfv_factorial_kmvclvb_total_factorial) /\ (exists bpv_result_kmvclvb_total_factorial_valuation_selected. ((exists ff_b_kmvclvb_total_factorial_valuation_selected_power ff_c_kmvclvb_total_factorial_valuation_selected_power. ((forall ff_i_kmvclvb_total_factorial_valuation_selected_power_repeat. (exists ff_lt_kmvclvb_total_factorial_valuation_selected_power_repeat_bound. ff_lt_kmvclvb_total_factorial_valuation_selected_power_repeat_bound + S ff_i_kmvclvb_total_factorial_valuation_selected_power_repeat = z) -> (((exists ff_h_kmvclvb_total_factorial_valuation_selected_power_repeat_decoded. ff_h_kmvclvb_total_factorial_valuation_selected_power_repeat_decoded + S (p) = S ((S (ff_i_kmvclvb_total_factorial_valuation_selected_power_repeat)) * ff_c_kmvclvb_total_factorial_valuation_selected_power)) /\ exists ff_q_kmvclvb_total_factorial_valuation_selected_power_repeat_decoded. ff_b_kmvclvb_total_factorial_valuation_selected_power = ff_q_kmvclvb_total_factorial_valuation_selected_power_repeat_decoded * S ((S (ff_i_kmvclvb_total_factorial_valuation_selected_power_repeat)) * ff_c_kmvclvb_total_factorial_valuation_selected_power) + (p)))) /\ (exists ff_u_kmvclvb_total_factorial_valuation_selected_power_product ff_v_kmvclvb_total_factorial_valuation_selected_power_product. ((((exists ff_h_kmvclvb_total_factorial_valuation_selected_power_product_start. ff_h_kmvclvb_total_factorial_valuation_selected_power_product_start + S (1) = S ((S (0)) * ff_v_kmvclvb_total_factorial_valuation_selected_power_product)) /\ exists ff_q_kmvclvb_total_factorial_valuation_selected_power_product_start. ff_u_kmvclvb_total_factorial_valuation_selected_power_product = ff_q_kmvclvb_total_factorial_valuation_selected_power_product_start * S ((S (0)) * ff_v_kmvclvb_total_factorial_valuation_selected_power_product) + (1))) /\ ((((exists ff_h_kmvclvb_total_factorial_valuation_selected_power_product_terminal. ff_h_kmvclvb_total_factorial_valuation_selected_power_product_terminal + S (bpv_result_kmvclvb_total_factorial_valuation_selected) = S ((S (z)) * ff_v_kmvclvb_total_factorial_valuation_selected_power_product)) /\ exists ff_q_kmvclvb_total_factorial_valuation_selected_power_product_terminal. ff_u_kmvclvb_total_factorial_valuation_selected_power_product = ff_q_kmvclvb_total_factorial_valuation_selected_power_product_terminal * S ((S (z)) * ff_v_kmvclvb_total_factorial_valuation_selected_power_product) + (bpv_result_kmvclvb_total_factorial_valuation_selected))) /\ forall ff_i_kmvclvb_total_factorial_valuation_selected_power_product. (exists ff_lt_kmvclvb_total_factorial_valuation_selected_power_product_bound. ff_lt_kmvclvb_total_factorial_valuation_selected_power_product_bound + S ff_i_kmvclvb_total_factorial_valuation_selected_power_product = z) -> exists ff_p_kmvclvb_total_factorial_valuation_selected_power_product ff_r_kmvclvb_total_factorial_valuation_selected_power_product ff_s_kmvclvb_total_factorial_valuation_selected_power_product. ((((exists ff_h_kmvclvb_total_factorial_valuation_selected_power_product_factor. ff_h_kmvclvb_total_factorial_valuation_selected_power_product_factor + S (ff_p_kmvclvb_total_factorial_valuation_selected_power_product) = S ((S (ff_i_kmvclvb_total_factorial_valuation_selected_power_product)) * ff_c_kmvclvb_total_factorial_valuation_selected_power)) /\ exists ff_q_kmvclvb_total_factorial_valuation_selected_power_product_factor. ff_b_kmvclvb_total_factorial_valuation_selected_power = ff_q_kmvclvb_total_factorial_valuation_selected_power_product_factor * S ((S (ff_i_kmvclvb_total_factorial_valuation_selected_power_product)) * ff_c_kmvclvb_total_factorial_valuation_selected_power) + (ff_p_kmvclvb_total_factorial_valuation_selected_power_product))) /\ ((((exists ff_h_kmvclvb_total_factorial_valuation_selected_power_product_partial. ff_h_kmvclvb_total_factorial_valuation_selected_power_product_partial + S (ff_r_kmvclvb_total_factorial_valuation_selected_power_product) = S ((S (ff_i_kmvclvb_total_factorial_valuation_selected_power_product)) * ff_v_kmvclvb_total_factorial_valuation_selected_power_product)) /\ exists ff_q_kmvclvb_total_factorial_valuation_selected_power_product_partial. ff_u_kmvclvb_total_factorial_valuation_selected_power_product = ff_q_kmvclvb_total_factorial_valuation_selected_power_product_partial * S ((S (ff_i_kmvclvb_total_factorial_valuation_selected_power_product)) * ff_v_kmvclvb_total_factorial_valuation_selected_power_product) + (ff_r_kmvclvb_total_factorial_valuation_selected_power_product))) /\ ((((exists ff_h_kmvclvb_total_factorial_valuation_selected_power_product_successor. ff_h_kmvclvb_total_factorial_valuation_selected_power_product_successor + S (ff_s_kmvclvb_total_factorial_valuation_selected_power_product) = S ((S (S ff_i_kmvclvb_total_factorial_valuation_selected_power_product)) * ff_v_kmvclvb_total_factorial_valuation_selected_power_product)) /\ exists ff_q_kmvclvb_total_factorial_valuation_selected_power_product_successor. ff_u_kmvclvb_total_factorial_valuation_selected_power_product = ff_q_kmvclvb_total_factorial_valuation_selected_power_product_successor * S ((S (S ff_i_kmvclvb_total_factorial_valuation_selected_power_product)) * ff_v_kmvclvb_total_factorial_valuation_selected_power_product) + (ff_s_kmvclvb_total_factorial_valuation_selected_power_product))) /\ ff_s_kmvclvb_total_factorial_valuation_selected_power_product = ff_r_kmvclvb_total_factorial_valuation_selected_power_product * ff_p_kmvclvb_total_factorial_valuation_selected_power_product)))))))) /\ (exists bpv_factor_kmvclvb_total_factorial_valuation_selected_divides. bfv_factorial_kmvclvb_total_factorial = bpv_result_kmvclvb_total_factorial_valuation_selected * bpv_factor_kmvclvb_total_factorial_valuation_selected_divides)))) /\ forall bpv_candidate_kmvclvb_total_factorial_valuation. (exists bpv_gap_kmvclvb_total_factorial_valuation_candidate_bound. bpv_gap_kmvclvb_total_factorial_valuation_candidate_bound + bpv_candidate_kmvclvb_total_factorial_valuation = bfv_factorial_kmvclvb_total_factorial) -> (exists bpv_result_kmvclvb_total_factorial_valuation_candidate. ((exists ff_b_kmvclvb_total_factorial_valuation_candidate_power ff_c_kmvclvb_total_factorial_valuation_candidate_power. ((forall ff_i_kmvclvb_total_factorial_valuation_candidate_power_repeat. (exists ff_lt_kmvclvb_total_factorial_valuation_candidate_power_repeat_bound. ff_lt_kmvclvb_total_factorial_valuation_candidate_power_repeat_bound + S ff_i_kmvclvb_total_factorial_valuation_candidate_power_repeat = bpv_candidate_kmvclvb_total_factorial_valuation) -> (((exists ff_h_kmvclvb_total_factorial_valuation_candidate_power_repeat_decoded. ff_h_kmvclvb_total_factorial_valuation_candidate_power_repeat_decoded + S (p) = S ((S (ff_i_kmvclvb_total_factorial_valuation_candidate_power_repeat)) * ff_c_kmvclvb_total_factorial_valuation_candidate_power)) /\ exists ff_q_kmvclvb_total_factorial_valuation_candidate_power_repeat_decoded. ff_b_kmvclvb_total_factorial_valuation_candidate_power = ff_q_kmvclvb_total_factorial_valuation_candidate_power_repeat_decoded * S ((S (ff_i_kmvclvb_total_factorial_valuation_candidate_power_repeat)) * ff_c_kmvclvb_total_factorial_valuation_candidate_power) + (p)))) /\ (exists ff_u_kmvclvb_total_factorial_valuation_candidate_power_product ff_v_kmvclvb_total_factorial_valuation_candidate_power_product. ((((exists ff_h_kmvclvb_total_factorial_valuation_candidate_power_product_start. ff_h_kmvclvb_total_factorial_valuation_candidate_power_product_start + S (1) = S ((S (0)) * ff_v_kmvclvb_total_factorial_valuation_candidate_power_product)) /\ exists ff_q_kmvclvb_total_factorial_valuation_candidate_power_product_start. ff_u_kmvclvb_total_factorial_valuation_candidate_power_product = ff_q_kmvclvb_total_factorial_valuation_candidate_power_product_start * S ((S (0)) * ff_v_kmvclvb_total_factorial_valuation_candidate_power_product) + (1))) /\ ((((exists ff_h_kmvclvb_total_factorial_valuation_candidate_power_product_terminal. ff_h_kmvclvb_total_factorial_valuation_candidate_power_product_terminal + S (bpv_result_kmvclvb_total_factorial_valuation_candidate) = S ((S (bpv_candidate_kmvclvb_total_factorial_valuation)) * ff_v_kmvclvb_total_factorial_valuation_candidate_power_product)) /\ exists ff_q_kmvclvb_total_factorial_valuation_candidate_power_product_terminal. ff_u_kmvclvb_total_factorial_valuation_candidate_power_product = ff_q_kmvclvb_total_factorial_valuation_candidate_power_product_terminal * S ((S (bpv_candidate_kmvclvb_total_factorial_valuation)) * ff_v_kmvclvb_total_factorial_valuation_candidate_power_product) + (bpv_result_kmvclvb_total_factorial_valuation_candidate))) /\ forall ff_i_kmvclvb_total_factorial_valuation_candidate_power_product. (exists ff_lt_kmvclvb_total_factorial_valuation_candidate_power_product_bound. ff_lt_kmvclvb_total_factorial_valuation_candidate_power_product_bound + S ff_i_kmvclvb_total_factorial_valuation_candidate_power_product = bpv_candidate_kmvclvb_total_factorial_valuation) -> exists ff_p_kmvclvb_total_factorial_valuation_candidate_power_product ff_r_kmvclvb_total_factorial_valuation_candidate_power_product ff_s_kmvclvb_total_factorial_valuation_candidate_power_product. ((((exists ff_h_kmvclvb_total_factorial_valuation_candidate_power_product_factor. ff_h_kmvclvb_total_factorial_valuation_candidate_power_product_factor + S (ff_p_kmvclvb_total_factorial_valuation_candidate_power_product) = S ((S (ff_i_kmvclvb_total_factorial_valuation_candidate_power_product)) * ff_c_kmvclvb_total_factorial_valuation_candidate_power)) /\ exists ff_q_kmvclvb_total_factorial_valuation_candidate_power_product_factor. ff_b_kmvclvb_total_factorial_valuation_candidate_power = ff_q_kmvclvb_total_factorial_valuation_candidate_power_product_factor * S ((S (ff_i_kmvclvb_total_factorial_valuation_candidate_power_product)) * ff_c_kmvclvb_total_factorial_valuation_candidate_power) + (ff_p_kmvclvb_total_factorial_valuation_candidate_power_product))) /\ ((((exists ff_h_kmvclvb_total_factorial_valuation_candidate_power_product_partial. ff_h_kmvclvb_total_factorial_valuation_candidate_power_product_partial + S (ff_r_kmvclvb_total_factorial_valuation_candidate_power_product) = S ((S (ff_i_kmvclvb_total_factorial_valuation_candidate_power_product)) * ff_v_kmvclvb_total_factorial_valuation_candidate_power_product)) /\ exists ff_q_kmvclvb_total_factorial_valuation_candidate_power_product_partial. ff_u_kmvclvb_total_factorial_valuation_candidate_power_product = ff_q_kmvclvb_total_factorial_valuation_candidate_power_product_partial * S ((S (ff_i_kmvclvb_total_factorial_valuation_candidate_power_product)) * ff_v_kmvclvb_total_factorial_valuation_candidate_power_product) + (ff_r_kmvclvb_total_factorial_valuation_candidate_power_product))) /\ ((((exists ff_h_kmvclvb_total_factorial_valuation_candidate_power_product_successor. ff_h_kmvclvb_total_factorial_valuation_candidate_power_product_successor + S (ff_s_kmvclvb_total_factorial_valuation_candidate_power_product) = S ((S (S ff_i_kmvclvb_total_factorial_valuation_candidate_power_product)) * ff_v_kmvclvb_total_factorial_valuation_candidate_power_product)) /\ exists ff_q_kmvclvb_total_factorial_valuation_candidate_power_product_successor. ff_u_kmvclvb_total_factorial_valuation_candidate_power_product = ff_q_kmvclvb_total_factorial_valuation_candidate_power_product_successor * S ((S (S ff_i_kmvclvb_total_factorial_valuation_candidate_power_product)) * ff_v_kmvclvb_total_factorial_valuation_candidate_power_product) + (ff_s_kmvclvb_total_factorial_valuation_candidate_power_product))) /\ ff_s_kmvclvb_total_factorial_valuation_candidate_power_product = ff_r_kmvclvb_total_factorial_valuation_candidate_power_product * ff_p_kmvclvb_total_factorial_valuation_candidate_power_product)))))))) /\ (exists bpv_factor_kmvclvb_total_factorial_valuation_candidate_divides. bfv_factorial_kmvclvb_total_factorial = bpv_result_kmvclvb_total_factorial_valuation_candidate * bpv_factor_kmvclvb_total_factorial_valuation_candidate_divides))) -> (exists bpv_gap_kmvclvb_total_factorial_valuation_maximal. bpv_gap_kmvclvb_total_factorial_valuation_maximal + bpv_candidate_kmvclvb_total_factorial_valuation = z)))
  18. 0018specialize factorial_valuation_exists p
  19. 0019specialize factorial_valuation_exists n
  20. 0020exact factorial_valuation_exists
  21. 0021cases htotal
  22. 0022have hleft : ∃ z. FactorialValuation(p,k,z)
    Exact native replay linehave hleft : exists z. exists bfv_factorial_kmvclvb_left_factorial. ((exists ff_b_kmvclvb_left_factorial_factorial ff_c_kmvclvb_left_factorial_factorial. ((forall ff_i_kmvclvb_left_factorial_factorial_range. (exists ff_lt_kmvclvb_left_factorial_factorial_range_bound. ff_lt_kmvclvb_left_factorial_factorial_range_bound + S ff_i_kmvclvb_left_factorial_factorial_range = k) -> (((exists ff_h_kmvclvb_left_factorial_factorial_range_decoded. ff_h_kmvclvb_left_factorial_factorial_range_decoded + S (1 + ff_i_kmvclvb_left_factorial_factorial_range) = S ((S (ff_i_kmvclvb_left_factorial_factorial_range)) * ff_c_kmvclvb_left_factorial_factorial)) /\ exists ff_q_kmvclvb_left_factorial_factorial_range_decoded. ff_b_kmvclvb_left_factorial_factorial = ff_q_kmvclvb_left_factorial_factorial_range_decoded * S ((S (ff_i_kmvclvb_left_factorial_factorial_range)) * ff_c_kmvclvb_left_factorial_factorial) + (1 + ff_i_kmvclvb_left_factorial_factorial_range)))) /\ (exists ff_u_kmvclvb_left_factorial_factorial_product ff_v_kmvclvb_left_factorial_factorial_product. ((((exists ff_h_kmvclvb_left_factorial_factorial_product_start. ff_h_kmvclvb_left_factorial_factorial_product_start + S (1) = S ((S (0)) * ff_v_kmvclvb_left_factorial_factorial_product)) /\ exists ff_q_kmvclvb_left_factorial_factorial_product_start. ff_u_kmvclvb_left_factorial_factorial_product = ff_q_kmvclvb_left_factorial_factorial_product_start * S ((S (0)) * ff_v_kmvclvb_left_factorial_factorial_product) + (1))) /\ ((((exists ff_h_kmvclvb_left_factorial_factorial_product_terminal. ff_h_kmvclvb_left_factorial_factorial_product_terminal + S (bfv_factorial_kmvclvb_left_factorial) = S ((S (k)) * ff_v_kmvclvb_left_factorial_factorial_product)) /\ exists ff_q_kmvclvb_left_factorial_factorial_product_terminal. ff_u_kmvclvb_left_factorial_factorial_product = ff_q_kmvclvb_left_factorial_factorial_product_terminal * S ((S (k)) * ff_v_kmvclvb_left_factorial_factorial_product) + (bfv_factorial_kmvclvb_left_factorial))) /\ forall ff_i_kmvclvb_left_factorial_factorial_product. (exists ff_lt_kmvclvb_left_factorial_factorial_product_bound. ff_lt_kmvclvb_left_factorial_factorial_product_bound + S ff_i_kmvclvb_left_factorial_factorial_product = k) -> exists ff_p_kmvclvb_left_factorial_factorial_product ff_r_kmvclvb_left_factorial_factorial_product ff_s_kmvclvb_left_factorial_factorial_product. ((((exists ff_h_kmvclvb_left_factorial_factorial_product_factor. ff_h_kmvclvb_left_factorial_factorial_product_factor + S (ff_p_kmvclvb_left_factorial_factorial_product) = S ((S (ff_i_kmvclvb_left_factorial_factorial_product)) * ff_c_kmvclvb_left_factorial_factorial)) /\ exists ff_q_kmvclvb_left_factorial_factorial_product_factor. ff_b_kmvclvb_left_factorial_factorial = ff_q_kmvclvb_left_factorial_factorial_product_factor * S ((S (ff_i_kmvclvb_left_factorial_factorial_product)) * ff_c_kmvclvb_left_factorial_factorial) + (ff_p_kmvclvb_left_factorial_factorial_product))) /\ ((((exists ff_h_kmvclvb_left_factorial_factorial_product_partial. ff_h_kmvclvb_left_factorial_factorial_product_partial + S (ff_r_kmvclvb_left_factorial_factorial_product) = S ((S (ff_i_kmvclvb_left_factorial_factorial_product)) * ff_v_kmvclvb_left_factorial_factorial_product)) /\ exists ff_q_kmvclvb_left_factorial_factorial_product_partial. ff_u_kmvclvb_left_factorial_factorial_product = ff_q_kmvclvb_left_factorial_factorial_product_partial * S ((S (ff_i_kmvclvb_left_factorial_factorial_product)) * ff_v_kmvclvb_left_factorial_factorial_product) + (ff_r_kmvclvb_left_factorial_factorial_product))) /\ ((((exists ff_h_kmvclvb_left_factorial_factorial_product_successor. ff_h_kmvclvb_left_factorial_factorial_product_successor + S (ff_s_kmvclvb_left_factorial_factorial_product) = S ((S (S ff_i_kmvclvb_left_factorial_factorial_product)) * ff_v_kmvclvb_left_factorial_factorial_product)) /\ exists ff_q_kmvclvb_left_factorial_factorial_product_successor. ff_u_kmvclvb_left_factorial_factorial_product = ff_q_kmvclvb_left_factorial_factorial_product_successor * S ((S (S ff_i_kmvclvb_left_factorial_factorial_product)) * ff_v_kmvclvb_left_factorial_factorial_product) + (ff_s_kmvclvb_left_factorial_factorial_product))) /\ ff_s_kmvclvb_left_factorial_factorial_product = ff_r_kmvclvb_left_factorial_factorial_product * ff_p_kmvclvb_left_factorial_factorial_product)))))))) /\ (((exists bpv_gap_kmvclvb_left_factorial_valuation_exponent_bound. bpv_gap_kmvclvb_left_factorial_valuation_exponent_bound + z = bfv_factorial_kmvclvb_left_factorial) /\ (exists bpv_result_kmvclvb_left_factorial_valuation_selected. ((exists ff_b_kmvclvb_left_factorial_valuation_selected_power ff_c_kmvclvb_left_factorial_valuation_selected_power. ((forall ff_i_kmvclvb_left_factorial_valuation_selected_power_repeat. (exists ff_lt_kmvclvb_left_factorial_valuation_selected_power_repeat_bound. ff_lt_kmvclvb_left_factorial_valuation_selected_power_repeat_bound + S ff_i_kmvclvb_left_factorial_valuation_selected_power_repeat = z) -> (((exists ff_h_kmvclvb_left_factorial_valuation_selected_power_repeat_decoded. ff_h_kmvclvb_left_factorial_valuation_selected_power_repeat_decoded + S (p) = S ((S (ff_i_kmvclvb_left_factorial_valuation_selected_power_repeat)) * ff_c_kmvclvb_left_factorial_valuation_selected_power)) /\ exists ff_q_kmvclvb_left_factorial_valuation_selected_power_repeat_decoded. ff_b_kmvclvb_left_factorial_valuation_selected_power = ff_q_kmvclvb_left_factorial_valuation_selected_power_repeat_decoded * S ((S (ff_i_kmvclvb_left_factorial_valuation_selected_power_repeat)) * ff_c_kmvclvb_left_factorial_valuation_selected_power) + (p)))) /\ (exists ff_u_kmvclvb_left_factorial_valuation_selected_power_product ff_v_kmvclvb_left_factorial_valuation_selected_power_product. ((((exists ff_h_kmvclvb_left_factorial_valuation_selected_power_product_start. ff_h_kmvclvb_left_factorial_valuation_selected_power_product_start + S (1) = S ((S (0)) * ff_v_kmvclvb_left_factorial_valuation_selected_power_product)) /\ exists ff_q_kmvclvb_left_factorial_valuation_selected_power_product_start. ff_u_kmvclvb_left_factorial_valuation_selected_power_product = ff_q_kmvclvb_left_factorial_valuation_selected_power_product_start * S ((S (0)) * ff_v_kmvclvb_left_factorial_valuation_selected_power_product) + (1))) /\ ((((exists ff_h_kmvclvb_left_factorial_valuation_selected_power_product_terminal. ff_h_kmvclvb_left_factorial_valuation_selected_power_product_terminal + S (bpv_result_kmvclvb_left_factorial_valuation_selected) = S ((S (z)) * ff_v_kmvclvb_left_factorial_valuation_selected_power_product)) /\ exists ff_q_kmvclvb_left_factorial_valuation_selected_power_product_terminal. ff_u_kmvclvb_left_factorial_valuation_selected_power_product = ff_q_kmvclvb_left_factorial_valuation_selected_power_product_terminal * S ((S (z)) * ff_v_kmvclvb_left_factorial_valuation_selected_power_product) + (bpv_result_kmvclvb_left_factorial_valuation_selected))) /\ forall ff_i_kmvclvb_left_factorial_valuation_selected_power_product. (exists ff_lt_kmvclvb_left_factorial_valuation_selected_power_product_bound. ff_lt_kmvclvb_left_factorial_valuation_selected_power_product_bound + S ff_i_kmvclvb_left_factorial_valuation_selected_power_product = z) -> exists ff_p_kmvclvb_left_factorial_valuation_selected_power_product ff_r_kmvclvb_left_factorial_valuation_selected_power_product ff_s_kmvclvb_left_factorial_valuation_selected_power_product. ((((exists ff_h_kmvclvb_left_factorial_valuation_selected_power_product_factor. ff_h_kmvclvb_left_factorial_valuation_selected_power_product_factor + S (ff_p_kmvclvb_left_factorial_valuation_selected_power_product) = S ((S (ff_i_kmvclvb_left_factorial_valuation_selected_power_product)) * ff_c_kmvclvb_left_factorial_valuation_selected_power)) /\ exists ff_q_kmvclvb_left_factorial_valuation_selected_power_product_factor. ff_b_kmvclvb_left_factorial_valuation_selected_power = ff_q_kmvclvb_left_factorial_valuation_selected_power_product_factor * S ((S (ff_i_kmvclvb_left_factorial_valuation_selected_power_product)) * ff_c_kmvclvb_left_factorial_valuation_selected_power) + (ff_p_kmvclvb_left_factorial_valuation_selected_power_product))) /\ ((((exists ff_h_kmvclvb_left_factorial_valuation_selected_power_product_partial. ff_h_kmvclvb_left_factorial_valuation_selected_power_product_partial + S (ff_r_kmvclvb_left_factorial_valuation_selected_power_product) = S ((S (ff_i_kmvclvb_left_factorial_valuation_selected_power_product)) * ff_v_kmvclvb_left_factorial_valuation_selected_power_product)) /\ exists ff_q_kmvclvb_left_factorial_valuation_selected_power_product_partial. ff_u_kmvclvb_left_factorial_valuation_selected_power_product = ff_q_kmvclvb_left_factorial_valuation_selected_power_product_partial * S ((S (ff_i_kmvclvb_left_factorial_valuation_selected_power_product)) * ff_v_kmvclvb_left_factorial_valuation_selected_power_product) + (ff_r_kmvclvb_left_factorial_valuation_selected_power_product))) /\ ((((exists ff_h_kmvclvb_left_factorial_valuation_selected_power_product_successor. ff_h_kmvclvb_left_factorial_valuation_selected_power_product_successor + S (ff_s_kmvclvb_left_factorial_valuation_selected_power_product) = S ((S (S ff_i_kmvclvb_left_factorial_valuation_selected_power_product)) * ff_v_kmvclvb_left_factorial_valuation_selected_power_product)) /\ exists ff_q_kmvclvb_left_factorial_valuation_selected_power_product_successor. ff_u_kmvclvb_left_factorial_valuation_selected_power_product = ff_q_kmvclvb_left_factorial_valuation_selected_power_product_successor * S ((S (S ff_i_kmvclvb_left_factorial_valuation_selected_power_product)) * ff_v_kmvclvb_left_factorial_valuation_selected_power_product) + (ff_s_kmvclvb_left_factorial_valuation_selected_power_product))) /\ ff_s_kmvclvb_left_factorial_valuation_selected_power_product = ff_r_kmvclvb_left_factorial_valuation_selected_power_product * ff_p_kmvclvb_left_factorial_valuation_selected_power_product)))))))) /\ (exists bpv_factor_kmvclvb_left_factorial_valuation_selected_divides. bfv_factorial_kmvclvb_left_factorial = bpv_result_kmvclvb_left_factorial_valuation_selected * bpv_factor_kmvclvb_left_factorial_valuation_selected_divides)))) /\ forall bpv_candidate_kmvclvb_left_factorial_valuation. (exists bpv_gap_kmvclvb_left_factorial_valuation_candidate_bound. bpv_gap_kmvclvb_left_factorial_valuation_candidate_bound + bpv_candidate_kmvclvb_left_factorial_valuation = bfv_factorial_kmvclvb_left_factorial) -> (exists bpv_result_kmvclvb_left_factorial_valuation_candidate. ((exists ff_b_kmvclvb_left_factorial_valuation_candidate_power ff_c_kmvclvb_left_factorial_valuation_candidate_power. ((forall ff_i_kmvclvb_left_factorial_valuation_candidate_power_repeat. (exists ff_lt_kmvclvb_left_factorial_valuation_candidate_power_repeat_bound. ff_lt_kmvclvb_left_factorial_valuation_candidate_power_repeat_bound + S ff_i_kmvclvb_left_factorial_valuation_candidate_power_repeat = bpv_candidate_kmvclvb_left_factorial_valuation) -> (((exists ff_h_kmvclvb_left_factorial_valuation_candidate_power_repeat_decoded. ff_h_kmvclvb_left_factorial_valuation_candidate_power_repeat_decoded + S (p) = S ((S (ff_i_kmvclvb_left_factorial_valuation_candidate_power_repeat)) * ff_c_kmvclvb_left_factorial_valuation_candidate_power)) /\ exists ff_q_kmvclvb_left_factorial_valuation_candidate_power_repeat_decoded. ff_b_kmvclvb_left_factorial_valuation_candidate_power = ff_q_kmvclvb_left_factorial_valuation_candidate_power_repeat_decoded * S ((S (ff_i_kmvclvb_left_factorial_valuation_candidate_power_repeat)) * ff_c_kmvclvb_left_factorial_valuation_candidate_power) + (p)))) /\ (exists ff_u_kmvclvb_left_factorial_valuation_candidate_power_product ff_v_kmvclvb_left_factorial_valuation_candidate_power_product. ((((exists ff_h_kmvclvb_left_factorial_valuation_candidate_power_product_start. ff_h_kmvclvb_left_factorial_valuation_candidate_power_product_start + S (1) = S ((S (0)) * ff_v_kmvclvb_left_factorial_valuation_candidate_power_product)) /\ exists ff_q_kmvclvb_left_factorial_valuation_candidate_power_product_start. ff_u_kmvclvb_left_factorial_valuation_candidate_power_product = ff_q_kmvclvb_left_factorial_valuation_candidate_power_product_start * S ((S (0)) * ff_v_kmvclvb_left_factorial_valuation_candidate_power_product) + (1))) /\ ((((exists ff_h_kmvclvb_left_factorial_valuation_candidate_power_product_terminal. ff_h_kmvclvb_left_factorial_valuation_candidate_power_product_terminal + S (bpv_result_kmvclvb_left_factorial_valuation_candidate) = S ((S (bpv_candidate_kmvclvb_left_factorial_valuation)) * ff_v_kmvclvb_left_factorial_valuation_candidate_power_product)) /\ exists ff_q_kmvclvb_left_factorial_valuation_candidate_power_product_terminal. ff_u_kmvclvb_left_factorial_valuation_candidate_power_product = ff_q_kmvclvb_left_factorial_valuation_candidate_power_product_terminal * S ((S (bpv_candidate_kmvclvb_left_factorial_valuation)) * ff_v_kmvclvb_left_factorial_valuation_candidate_power_product) + (bpv_result_kmvclvb_left_factorial_valuation_candidate))) /\ forall ff_i_kmvclvb_left_factorial_valuation_candidate_power_product. (exists ff_lt_kmvclvb_left_factorial_valuation_candidate_power_product_bound. ff_lt_kmvclvb_left_factorial_valuation_candidate_power_product_bound + S ff_i_kmvclvb_left_factorial_valuation_candidate_power_product = bpv_candidate_kmvclvb_left_factorial_valuation) -> exists ff_p_kmvclvb_left_factorial_valuation_candidate_power_product ff_r_kmvclvb_left_factorial_valuation_candidate_power_product ff_s_kmvclvb_left_factorial_valuation_candidate_power_product. ((((exists ff_h_kmvclvb_left_factorial_valuation_candidate_power_product_factor. ff_h_kmvclvb_left_factorial_valuation_candidate_power_product_factor + S (ff_p_kmvclvb_left_factorial_valuation_candidate_power_product) = S ((S (ff_i_kmvclvb_left_factorial_valuation_candidate_power_product)) * ff_c_kmvclvb_left_factorial_valuation_candidate_power)) /\ exists ff_q_kmvclvb_left_factorial_valuation_candidate_power_product_factor. ff_b_kmvclvb_left_factorial_valuation_candidate_power = ff_q_kmvclvb_left_factorial_valuation_candidate_power_product_factor * S ((S (ff_i_kmvclvb_left_factorial_valuation_candidate_power_product)) * ff_c_kmvclvb_left_factorial_valuation_candidate_power) + (ff_p_kmvclvb_left_factorial_valuation_candidate_power_product))) /\ ((((exists ff_h_kmvclvb_left_factorial_valuation_candidate_power_product_partial. ff_h_kmvclvb_left_factorial_valuation_candidate_power_product_partial + S (ff_r_kmvclvb_left_factorial_valuation_candidate_power_product) = S ((S (ff_i_kmvclvb_left_factorial_valuation_candidate_power_product)) * ff_v_kmvclvb_left_factorial_valuation_candidate_power_product)) /\ exists ff_q_kmvclvb_left_factorial_valuation_candidate_power_product_partial. ff_u_kmvclvb_left_factorial_valuation_candidate_power_product = ff_q_kmvclvb_left_factorial_valuation_candidate_power_product_partial * S ((S (ff_i_kmvclvb_left_factorial_valuation_candidate_power_product)) * ff_v_kmvclvb_left_factorial_valuation_candidate_power_product) + (ff_r_kmvclvb_left_factorial_valuation_candidate_power_product))) /\ ((((exists ff_h_kmvclvb_left_factorial_valuation_candidate_power_product_successor. ff_h_kmvclvb_left_factorial_valuation_candidate_power_product_successor + S (ff_s_kmvclvb_left_factorial_valuation_candidate_power_product) = S ((S (S ff_i_kmvclvb_left_factorial_valuation_candidate_power_product)) * ff_v_kmvclvb_left_factorial_valuation_candidate_power_product)) /\ exists ff_q_kmvclvb_left_factorial_valuation_candidate_power_product_successor. ff_u_kmvclvb_left_factorial_valuation_candidate_power_product = ff_q_kmvclvb_left_factorial_valuation_candidate_power_product_successor * S ((S (S ff_i_kmvclvb_left_factorial_valuation_candidate_power_product)) * ff_v_kmvclvb_left_factorial_valuation_candidate_power_product) + (ff_s_kmvclvb_left_factorial_valuation_candidate_power_product))) /\ ff_s_kmvclvb_left_factorial_valuation_candidate_power_product = ff_r_kmvclvb_left_factorial_valuation_candidate_power_product * ff_p_kmvclvb_left_factorial_valuation_candidate_power_product)))))))) /\ (exists bpv_factor_kmvclvb_left_factorial_valuation_candidate_divides. bfv_factorial_kmvclvb_left_factorial = bpv_result_kmvclvb_left_factorial_valuation_candidate * bpv_factor_kmvclvb_left_factorial_valuation_candidate_divides))) -> (exists bpv_gap_kmvclvb_left_factorial_valuation_maximal. bpv_gap_kmvclvb_left_factorial_valuation_maximal + bpv_candidate_kmvclvb_left_factorial_valuation = z)))
  23. 0023specialize factorial_valuation_exists p
  24. 0024specialize factorial_valuation_exists k
  25. 0025exact factorial_valuation_exists
  26. 0026cases hleft
  27. 0027have hright : ∃ z. FactorialValuation(p,j,z)
    Exact native replay linehave hright : exists z. exists bfv_factorial_kmvclvb_right_factorial. ((exists ff_b_kmvclvb_right_factorial_factorial ff_c_kmvclvb_right_factorial_factorial. ((forall ff_i_kmvclvb_right_factorial_factorial_range. (exists ff_lt_kmvclvb_right_factorial_factorial_range_bound. ff_lt_kmvclvb_right_factorial_factorial_range_bound + S ff_i_kmvclvb_right_factorial_factorial_range = j) -> (((exists ff_h_kmvclvb_right_factorial_factorial_range_decoded. ff_h_kmvclvb_right_factorial_factorial_range_decoded + S (1 + ff_i_kmvclvb_right_factorial_factorial_range) = S ((S (ff_i_kmvclvb_right_factorial_factorial_range)) * ff_c_kmvclvb_right_factorial_factorial)) /\ exists ff_q_kmvclvb_right_factorial_factorial_range_decoded. ff_b_kmvclvb_right_factorial_factorial = ff_q_kmvclvb_right_factorial_factorial_range_decoded * S ((S (ff_i_kmvclvb_right_factorial_factorial_range)) * ff_c_kmvclvb_right_factorial_factorial) + (1 + ff_i_kmvclvb_right_factorial_factorial_range)))) /\ (exists ff_u_kmvclvb_right_factorial_factorial_product ff_v_kmvclvb_right_factorial_factorial_product. ((((exists ff_h_kmvclvb_right_factorial_factorial_product_start. ff_h_kmvclvb_right_factorial_factorial_product_start + S (1) = S ((S (0)) * ff_v_kmvclvb_right_factorial_factorial_product)) /\ exists ff_q_kmvclvb_right_factorial_factorial_product_start. ff_u_kmvclvb_right_factorial_factorial_product = ff_q_kmvclvb_right_factorial_factorial_product_start * S ((S (0)) * ff_v_kmvclvb_right_factorial_factorial_product) + (1))) /\ ((((exists ff_h_kmvclvb_right_factorial_factorial_product_terminal. ff_h_kmvclvb_right_factorial_factorial_product_terminal + S (bfv_factorial_kmvclvb_right_factorial) = S ((S (j)) * ff_v_kmvclvb_right_factorial_factorial_product)) /\ exists ff_q_kmvclvb_right_factorial_factorial_product_terminal. ff_u_kmvclvb_right_factorial_factorial_product = ff_q_kmvclvb_right_factorial_factorial_product_terminal * S ((S (j)) * ff_v_kmvclvb_right_factorial_factorial_product) + (bfv_factorial_kmvclvb_right_factorial))) /\ forall ff_i_kmvclvb_right_factorial_factorial_product. (exists ff_lt_kmvclvb_right_factorial_factorial_product_bound. ff_lt_kmvclvb_right_factorial_factorial_product_bound + S ff_i_kmvclvb_right_factorial_factorial_product = j) -> exists ff_p_kmvclvb_right_factorial_factorial_product ff_r_kmvclvb_right_factorial_factorial_product ff_s_kmvclvb_right_factorial_factorial_product. ((((exists ff_h_kmvclvb_right_factorial_factorial_product_factor. ff_h_kmvclvb_right_factorial_factorial_product_factor + S (ff_p_kmvclvb_right_factorial_factorial_product) = S ((S (ff_i_kmvclvb_right_factorial_factorial_product)) * ff_c_kmvclvb_right_factorial_factorial)) /\ exists ff_q_kmvclvb_right_factorial_factorial_product_factor. ff_b_kmvclvb_right_factorial_factorial = ff_q_kmvclvb_right_factorial_factorial_product_factor * S ((S (ff_i_kmvclvb_right_factorial_factorial_product)) * ff_c_kmvclvb_right_factorial_factorial) + (ff_p_kmvclvb_right_factorial_factorial_product))) /\ ((((exists ff_h_kmvclvb_right_factorial_factorial_product_partial. ff_h_kmvclvb_right_factorial_factorial_product_partial + S (ff_r_kmvclvb_right_factorial_factorial_product) = S ((S (ff_i_kmvclvb_right_factorial_factorial_product)) * ff_v_kmvclvb_right_factorial_factorial_product)) /\ exists ff_q_kmvclvb_right_factorial_factorial_product_partial. ff_u_kmvclvb_right_factorial_factorial_product = ff_q_kmvclvb_right_factorial_factorial_product_partial * S ((S (ff_i_kmvclvb_right_factorial_factorial_product)) * ff_v_kmvclvb_right_factorial_factorial_product) + (ff_r_kmvclvb_right_factorial_factorial_product))) /\ ((((exists ff_h_kmvclvb_right_factorial_factorial_product_successor. ff_h_kmvclvb_right_factorial_factorial_product_successor + S (ff_s_kmvclvb_right_factorial_factorial_product) = S ((S (S ff_i_kmvclvb_right_factorial_factorial_product)) * ff_v_kmvclvb_right_factorial_factorial_product)) /\ exists ff_q_kmvclvb_right_factorial_factorial_product_successor. ff_u_kmvclvb_right_factorial_factorial_product = ff_q_kmvclvb_right_factorial_factorial_product_successor * S ((S (S ff_i_kmvclvb_right_factorial_factorial_product)) * ff_v_kmvclvb_right_factorial_factorial_product) + (ff_s_kmvclvb_right_factorial_factorial_product))) /\ ff_s_kmvclvb_right_factorial_factorial_product = ff_r_kmvclvb_right_factorial_factorial_product * ff_p_kmvclvb_right_factorial_factorial_product)))))))) /\ (((exists bpv_gap_kmvclvb_right_factorial_valuation_exponent_bound. bpv_gap_kmvclvb_right_factorial_valuation_exponent_bound + z = bfv_factorial_kmvclvb_right_factorial) /\ (exists bpv_result_kmvclvb_right_factorial_valuation_selected. ((exists ff_b_kmvclvb_right_factorial_valuation_selected_power ff_c_kmvclvb_right_factorial_valuation_selected_power. ((forall ff_i_kmvclvb_right_factorial_valuation_selected_power_repeat. (exists ff_lt_kmvclvb_right_factorial_valuation_selected_power_repeat_bound. ff_lt_kmvclvb_right_factorial_valuation_selected_power_repeat_bound + S ff_i_kmvclvb_right_factorial_valuation_selected_power_repeat = z) -> (((exists ff_h_kmvclvb_right_factorial_valuation_selected_power_repeat_decoded. ff_h_kmvclvb_right_factorial_valuation_selected_power_repeat_decoded + S (p) = S ((S (ff_i_kmvclvb_right_factorial_valuation_selected_power_repeat)) * ff_c_kmvclvb_right_factorial_valuation_selected_power)) /\ exists ff_q_kmvclvb_right_factorial_valuation_selected_power_repeat_decoded. ff_b_kmvclvb_right_factorial_valuation_selected_power = ff_q_kmvclvb_right_factorial_valuation_selected_power_repeat_decoded * S ((S (ff_i_kmvclvb_right_factorial_valuation_selected_power_repeat)) * ff_c_kmvclvb_right_factorial_valuation_selected_power) + (p)))) /\ (exists ff_u_kmvclvb_right_factorial_valuation_selected_power_product ff_v_kmvclvb_right_factorial_valuation_selected_power_product. ((((exists ff_h_kmvclvb_right_factorial_valuation_selected_power_product_start. ff_h_kmvclvb_right_factorial_valuation_selected_power_product_start + S (1) = S ((S (0)) * ff_v_kmvclvb_right_factorial_valuation_selected_power_product)) /\ exists ff_q_kmvclvb_right_factorial_valuation_selected_power_product_start. ff_u_kmvclvb_right_factorial_valuation_selected_power_product = ff_q_kmvclvb_right_factorial_valuation_selected_power_product_start * S ((S (0)) * ff_v_kmvclvb_right_factorial_valuation_selected_power_product) + (1))) /\ ((((exists ff_h_kmvclvb_right_factorial_valuation_selected_power_product_terminal. ff_h_kmvclvb_right_factorial_valuation_selected_power_product_terminal + S (bpv_result_kmvclvb_right_factorial_valuation_selected) = S ((S (z)) * ff_v_kmvclvb_right_factorial_valuation_selected_power_product)) /\ exists ff_q_kmvclvb_right_factorial_valuation_selected_power_product_terminal. ff_u_kmvclvb_right_factorial_valuation_selected_power_product = ff_q_kmvclvb_right_factorial_valuation_selected_power_product_terminal * S ((S (z)) * ff_v_kmvclvb_right_factorial_valuation_selected_power_product) + (bpv_result_kmvclvb_right_factorial_valuation_selected))) /\ forall ff_i_kmvclvb_right_factorial_valuation_selected_power_product. (exists ff_lt_kmvclvb_right_factorial_valuation_selected_power_product_bound. ff_lt_kmvclvb_right_factorial_valuation_selected_power_product_bound + S ff_i_kmvclvb_right_factorial_valuation_selected_power_product = z) -> exists ff_p_kmvclvb_right_factorial_valuation_selected_power_product ff_r_kmvclvb_right_factorial_valuation_selected_power_product ff_s_kmvclvb_right_factorial_valuation_selected_power_product. ((((exists ff_h_kmvclvb_right_factorial_valuation_selected_power_product_factor. ff_h_kmvclvb_right_factorial_valuation_selected_power_product_factor + S (ff_p_kmvclvb_right_factorial_valuation_selected_power_product) = S ((S (ff_i_kmvclvb_right_factorial_valuation_selected_power_product)) * ff_c_kmvclvb_right_factorial_valuation_selected_power)) /\ exists ff_q_kmvclvb_right_factorial_valuation_selected_power_product_factor. ff_b_kmvclvb_right_factorial_valuation_selected_power = ff_q_kmvclvb_right_factorial_valuation_selected_power_product_factor * S ((S (ff_i_kmvclvb_right_factorial_valuation_selected_power_product)) * ff_c_kmvclvb_right_factorial_valuation_selected_power) + (ff_p_kmvclvb_right_factorial_valuation_selected_power_product))) /\ ((((exists ff_h_kmvclvb_right_factorial_valuation_selected_power_product_partial. ff_h_kmvclvb_right_factorial_valuation_selected_power_product_partial + S (ff_r_kmvclvb_right_factorial_valuation_selected_power_product) = S ((S (ff_i_kmvclvb_right_factorial_valuation_selected_power_product)) * ff_v_kmvclvb_right_factorial_valuation_selected_power_product)) /\ exists ff_q_kmvclvb_right_factorial_valuation_selected_power_product_partial. ff_u_kmvclvb_right_factorial_valuation_selected_power_product = ff_q_kmvclvb_right_factorial_valuation_selected_power_product_partial * S ((S (ff_i_kmvclvb_right_factorial_valuation_selected_power_product)) * ff_v_kmvclvb_right_factorial_valuation_selected_power_product) + (ff_r_kmvclvb_right_factorial_valuation_selected_power_product))) /\ ((((exists ff_h_kmvclvb_right_factorial_valuation_selected_power_product_successor. ff_h_kmvclvb_right_factorial_valuation_selected_power_product_successor + S (ff_s_kmvclvb_right_factorial_valuation_selected_power_product) = S ((S (S ff_i_kmvclvb_right_factorial_valuation_selected_power_product)) * ff_v_kmvclvb_right_factorial_valuation_selected_power_product)) /\ exists ff_q_kmvclvb_right_factorial_valuation_selected_power_product_successor. ff_u_kmvclvb_right_factorial_valuation_selected_power_product = ff_q_kmvclvb_right_factorial_valuation_selected_power_product_successor * S ((S (S ff_i_kmvclvb_right_factorial_valuation_selected_power_product)) * ff_v_kmvclvb_right_factorial_valuation_selected_power_product) + (ff_s_kmvclvb_right_factorial_valuation_selected_power_product))) /\ ff_s_kmvclvb_right_factorial_valuation_selected_power_product = ff_r_kmvclvb_right_factorial_valuation_selected_power_product * ff_p_kmvclvb_right_factorial_valuation_selected_power_product)))))))) /\ (exists bpv_factor_kmvclvb_right_factorial_valuation_selected_divides. bfv_factorial_kmvclvb_right_factorial = bpv_result_kmvclvb_right_factorial_valuation_selected * bpv_factor_kmvclvb_right_factorial_valuation_selected_divides)))) /\ forall bpv_candidate_kmvclvb_right_factorial_valuation. (exists bpv_gap_kmvclvb_right_factorial_valuation_candidate_bound. bpv_gap_kmvclvb_right_factorial_valuation_candidate_bound + bpv_candidate_kmvclvb_right_factorial_valuation = bfv_factorial_kmvclvb_right_factorial) -> (exists bpv_result_kmvclvb_right_factorial_valuation_candidate. ((exists ff_b_kmvclvb_right_factorial_valuation_candidate_power ff_c_kmvclvb_right_factorial_valuation_candidate_power. ((forall ff_i_kmvclvb_right_factorial_valuation_candidate_power_repeat. (exists ff_lt_kmvclvb_right_factorial_valuation_candidate_power_repeat_bound. ff_lt_kmvclvb_right_factorial_valuation_candidate_power_repeat_bound + S ff_i_kmvclvb_right_factorial_valuation_candidate_power_repeat = bpv_candidate_kmvclvb_right_factorial_valuation) -> (((exists ff_h_kmvclvb_right_factorial_valuation_candidate_power_repeat_decoded. ff_h_kmvclvb_right_factorial_valuation_candidate_power_repeat_decoded + S (p) = S ((S (ff_i_kmvclvb_right_factorial_valuation_candidate_power_repeat)) * ff_c_kmvclvb_right_factorial_valuation_candidate_power)) /\ exists ff_q_kmvclvb_right_factorial_valuation_candidate_power_repeat_decoded. ff_b_kmvclvb_right_factorial_valuation_candidate_power = ff_q_kmvclvb_right_factorial_valuation_candidate_power_repeat_decoded * S ((S (ff_i_kmvclvb_right_factorial_valuation_candidate_power_repeat)) * ff_c_kmvclvb_right_factorial_valuation_candidate_power) + (p)))) /\ (exists ff_u_kmvclvb_right_factorial_valuation_candidate_power_product ff_v_kmvclvb_right_factorial_valuation_candidate_power_product. ((((exists ff_h_kmvclvb_right_factorial_valuation_candidate_power_product_start. ff_h_kmvclvb_right_factorial_valuation_candidate_power_product_start + S (1) = S ((S (0)) * ff_v_kmvclvb_right_factorial_valuation_candidate_power_product)) /\ exists ff_q_kmvclvb_right_factorial_valuation_candidate_power_product_start. ff_u_kmvclvb_right_factorial_valuation_candidate_power_product = ff_q_kmvclvb_right_factorial_valuation_candidate_power_product_start * S ((S (0)) * ff_v_kmvclvb_right_factorial_valuation_candidate_power_product) + (1))) /\ ((((exists ff_h_kmvclvb_right_factorial_valuation_candidate_power_product_terminal. ff_h_kmvclvb_right_factorial_valuation_candidate_power_product_terminal + S (bpv_result_kmvclvb_right_factorial_valuation_candidate) = S ((S (bpv_candidate_kmvclvb_right_factorial_valuation)) * ff_v_kmvclvb_right_factorial_valuation_candidate_power_product)) /\ exists ff_q_kmvclvb_right_factorial_valuation_candidate_power_product_terminal. ff_u_kmvclvb_right_factorial_valuation_candidate_power_product = ff_q_kmvclvb_right_factorial_valuation_candidate_power_product_terminal * S ((S (bpv_candidate_kmvclvb_right_factorial_valuation)) * ff_v_kmvclvb_right_factorial_valuation_candidate_power_product) + (bpv_result_kmvclvb_right_factorial_valuation_candidate))) /\ forall ff_i_kmvclvb_right_factorial_valuation_candidate_power_product. (exists ff_lt_kmvclvb_right_factorial_valuation_candidate_power_product_bound. ff_lt_kmvclvb_right_factorial_valuation_candidate_power_product_bound + S ff_i_kmvclvb_right_factorial_valuation_candidate_power_product = bpv_candidate_kmvclvb_right_factorial_valuation) -> exists ff_p_kmvclvb_right_factorial_valuation_candidate_power_product ff_r_kmvclvb_right_factorial_valuation_candidate_power_product ff_s_kmvclvb_right_factorial_valuation_candidate_power_product. ((((exists ff_h_kmvclvb_right_factorial_valuation_candidate_power_product_factor. ff_h_kmvclvb_right_factorial_valuation_candidate_power_product_factor + S (ff_p_kmvclvb_right_factorial_valuation_candidate_power_product) = S ((S (ff_i_kmvclvb_right_factorial_valuation_candidate_power_product)) * ff_c_kmvclvb_right_factorial_valuation_candidate_power)) /\ exists ff_q_kmvclvb_right_factorial_valuation_candidate_power_product_factor. ff_b_kmvclvb_right_factorial_valuation_candidate_power = ff_q_kmvclvb_right_factorial_valuation_candidate_power_product_factor * S ((S (ff_i_kmvclvb_right_factorial_valuation_candidate_power_product)) * ff_c_kmvclvb_right_factorial_valuation_candidate_power) + (ff_p_kmvclvb_right_factorial_valuation_candidate_power_product))) /\ ((((exists ff_h_kmvclvb_right_factorial_valuation_candidate_power_product_partial. ff_h_kmvclvb_right_factorial_valuation_candidate_power_product_partial + S (ff_r_kmvclvb_right_factorial_valuation_candidate_power_product) = S ((S (ff_i_kmvclvb_right_factorial_valuation_candidate_power_product)) * ff_v_kmvclvb_right_factorial_valuation_candidate_power_product)) /\ exists ff_q_kmvclvb_right_factorial_valuation_candidate_power_product_partial. ff_u_kmvclvb_right_factorial_valuation_candidate_power_product = ff_q_kmvclvb_right_factorial_valuation_candidate_power_product_partial * S ((S (ff_i_kmvclvb_right_factorial_valuation_candidate_power_product)) * ff_v_kmvclvb_right_factorial_valuation_candidate_power_product) + (ff_r_kmvclvb_right_factorial_valuation_candidate_power_product))) /\ ((((exists ff_h_kmvclvb_right_factorial_valuation_candidate_power_product_successor. ff_h_kmvclvb_right_factorial_valuation_candidate_power_product_successor + S (ff_s_kmvclvb_right_factorial_valuation_candidate_power_product) = S ((S (S ff_i_kmvclvb_right_factorial_valuation_candidate_power_product)) * ff_v_kmvclvb_right_factorial_valuation_candidate_power_product)) /\ exists ff_q_kmvclvb_right_factorial_valuation_candidate_power_product_successor. ff_u_kmvclvb_right_factorial_valuation_candidate_power_product = ff_q_kmvclvb_right_factorial_valuation_candidate_power_product_successor * S ((S (S ff_i_kmvclvb_right_factorial_valuation_candidate_power_product)) * ff_v_kmvclvb_right_factorial_valuation_candidate_power_product) + (ff_s_kmvclvb_right_factorial_valuation_candidate_power_product))) /\ ff_s_kmvclvb_right_factorial_valuation_candidate_power_product = ff_r_kmvclvb_right_factorial_valuation_candidate_power_product * ff_p_kmvclvb_right_factorial_valuation_candidate_power_product)))))))) /\ (exists bpv_factor_kmvclvb_right_factorial_valuation_candidate_divides. bfv_factorial_kmvclvb_right_factorial = bpv_result_kmvclvb_right_factorial_valuation_candidate * bpv_factor_kmvclvb_right_factorial_valuation_candidate_divides))) -> (exists bpv_gap_kmvclvb_right_factorial_valuation_maximal. bpv_gap_kmvclvb_right_factorial_valuation_maximal + bpv_candidate_kmvclvb_right_factorial_valuation = z)))
  28. 0028specialize factorial_valuation_exists p
  29. 0029specialize factorial_valuation_exists j
  30. 0030exact factorial_valuation_exists
  31. 0031cases hright
  32. 0032have hbalance : x = (x1 + x2) + e
  33. 0033specialize choose_factorial_valuation_balance p
  34. 0034specialize choose_factorial_valuation_balance n
  35. 0035specialize choose_factorial_valuation_balance k
  36. 0036specialize choose_factorial_valuation_balance j
  37. 0037specialize choose_factorial_valuation_balance c
  38. 0038specialize choose_factorial_valuation_balance e
  39. 0039specialize choose_factorial_valuation_balance x
  40. 0040specialize choose_factorial_valuation_balance x1
  41. 0041specialize choose_factorial_valuation_balance x2
  42. 0042apply choose_factorial_valuation_balance
  43. 0043exact hsum
  44. 0044exact hp
  45. 0045exact hchoose
  46. 0046exact hvalue
  47. 0047exact htotal_witness
  48. 0048exact hleft_witness
  49. 0049exact hright_witness
  50. 0050have htotal_eq : x = A
  51. 0051specialize prime_factorial_valuation_eq_legendre_sum p
  52. 0052specialize prime_factorial_valuation_eq_legendre_sum n
  53. 0053specialize prime_factorial_valuation_eq_legendre_sum x
  54. 0054specialize prime_factorial_valuation_eq_legendre_sum A
  55. 0055apply prime_factorial_valuation_eq_legendre_sum
  56. 0056exact hp
  57. 0057exact htotal_witness
  58. 0058exact htotal_legendre
  59. 0059have hleft_eq : x1 = B
  60. 0060specialize prime_factorial_valuation_eq_legendre_sum p
  61. 0061specialize prime_factorial_valuation_eq_legendre_sum k
  62. 0062specialize prime_factorial_valuation_eq_legendre_sum x1
  63. 0063specialize prime_factorial_valuation_eq_legendre_sum B
  64. 0064apply prime_factorial_valuation_eq_legendre_sum
  65. 0065exact hp
  66. 0066exact hleft_witness
  67. 0067exact hleft_legendre
  68. 0068have hright_eq : x2 = D
  69. 0069specialize prime_factorial_valuation_eq_legendre_sum p
  70. 0070specialize prime_factorial_valuation_eq_legendre_sum j
  71. 0071specialize prime_factorial_valuation_eq_legendre_sum x2
  72. 0072specialize prime_factorial_valuation_eq_legendre_sum D
  73. 0073apply prime_factorial_valuation_eq_legendre_sum
  74. 0074exact hp
  75. 0075exact hright_witness
  76. 0076exact hright_legendre
  77. 0077trans x
  78. 0078symm
  79. 0079exact htotal_eq
  80. 0080trans (x1 + x2) + e
  81. 0081exact hbalance
  82. 0082rewrite hleft_eq
  83. 0083rewrite hright_eq
  84. 0084refl