Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved. Exact original first-admission records.
Exact expanded PA statement
forall n s q r A B F. (forall bpt_a_b6_main_factorized bpt_e_b6_main_factorized. exists bpt_x_b6_main_factorized. (exists ff_b_bpt_value_b6_main_factorized ff_c_bpt_value_b6_main_factorized. ((forall ff_i_bpt_value_b6_main_factorized_repeat. (exists ff_lt_bpt_value_b6_main_factorized_repeat_bound. ff_lt_bpt_value_b6_main_factorized_repeat_bound + S ff_i_bpt_value_b6_main_factorized_repeat = bpt_e_b6_main_factorized) -> (((exists ff_h_bpt_value_b6_main_factorized_repeat_decoded. ff_h_bpt_value_b6_main_factorized_repeat_decoded + S (bpt_a_b6_main_factorized) = S ((S (ff_i_bpt_value_b6_main_factorized_repeat)) * ff_c_bpt_value_b6_main_factorized)) /\ exists ff_q_bpt_value_b6_main_factorized_repeat_decoded. ff_b_bpt_value_b6_main_factorized = ff_q_bpt_value_b6_main_factorized_repeat_decoded * S ((S (ff_i_bpt_value_b6_main_factorized_repeat)) * ff_c_bpt_value_b6_main_factorized) + (bpt_a_b6_main_factorized)))) /\ (exists ff_u_bpt_value_b6_main_factorized_product ff_v_bpt_value_b6_main_factorized_product. ((((exists ff_h_bpt_value_b6_main_factorized_product_start. ff_h_bpt_value_b6_main_factorized_product_start + S (1) = S ((S (0)) * ff_v_bpt_value_b6_main_factorized_product)) /\ exists ff_q_bpt_value_b6_main_factorized_product_start. ff_u_bpt_value_b6_main_factorized_product = ff_q_bpt_value_b6_main_factorized_product_start * S ((S (0)) * ff_v_bpt_value_b6_main_factorized_product) + (1))) /\ ((((exists ff_h_bpt_value_b6_main_factorized_product_terminal. ff_h_bpt_value_b6_main_factorized_product_terminal + S (bpt_x_b6_main_factorized) = S ((S (bpt_e_b6_main_factorized)) * ff_v_bpt_value_b6_main_factorized_product)) /\ exists ff_q_bpt_value_b6_main_factorized_product_terminal. ff_u_bpt_value_b6_main_factorized_product = ff_q_bpt_value_b6_main_factorized_product_terminal * S ((S (bpt_e_b6_main_factorized)) * ff_v_bpt_value_b6_main_factorized_product) + (bpt_x_b6_main_factorized))) /\ forall ff_i_bpt_value_b6_main_factorized_product. (exists ff_lt_bpt_value_b6_main_factorized_product_bound. ff_lt_bpt_value_b6_main_factorized_product_bound + S ff_i_bpt_value_b6_main_factorized_product = bpt_e_b6_main_factorized) -> exists ff_p_bpt_value_b6_main_factorized_product ff_r_bpt_value_b6_main_factorized_product ff_s_bpt_value_b6_main_factorized_product. ((((exists ff_h_bpt_value_b6_main_factorized_product_factor. ff_h_bpt_value_b6_main_factorized_product_factor + S (ff_p_bpt_value_b6_main_factorized_product) = S ((S (ff_i_bpt_value_b6_main_factorized_product)) * ff_c_bpt_value_b6_main_factorized)) /\ exists ff_q_bpt_value_b6_main_factorized_product_factor. ff_b_bpt_value_b6_main_factorized = ff_q_bpt_value_b6_main_factorized_product_factor * S ((S (ff_i_bpt_value_b6_main_factorized_product)) * ff_c_bpt_value_b6_main_factorized) + (ff_p_bpt_value_b6_main_factorized_product))) /\ ((((exists ff_h_bpt_value_b6_main_factorized_product_partial. ff_h_bpt_value_b6_main_factorized_product_partial + S (ff_r_bpt_value_b6_main_factorized_product) = S ((S (ff_i_bpt_value_b6_main_factorized_product)) * ff_v_bpt_value_b6_main_factorized_product)) /\ exists ff_q_bpt_value_b6_main_factorized_product_partial. ff_u_bpt_value_b6_main_factorized_product = ff_q_bpt_value_b6_main_factorized_product_partial * S ((S (ff_i_bpt_value_b6_main_factorized_product)) * ff_v_bpt_value_b6_main_factorized_product) + (ff_r_bpt_value_b6_main_factorized_product))) /\ ((((exists ff_h_bpt_value_b6_main_factorized_product_successor. ff_h_bpt_value_b6_main_factorized_product_successor + S (ff_s_bpt_value_b6_main_factorized_product) = S ((S (S ff_i_bpt_value_b6_main_factorized_product)) * ff_v_bpt_value_b6_main_factorized_product)) /\ exists ff_q_bpt_value_b6_main_factorized_product_successor. ff_u_bpt_value_b6_main_factorized_product = ff_q_bpt_value_b6_main_factorized_product_successor * S ((S (S ff_i_bpt_value_b6_main_factorized_product)) * ff_v_bpt_value_b6_main_factorized_product) + (ff_s_bpt_value_b6_main_factorized_product))) /\ ff_s_bpt_value_b6_main_factorized_product = ff_r_bpt_value_b6_main_factorized_product * ff_p_bpt_value_b6_main_factorized_product))))))))) -> (exists bqb_le_gap_b6_main_factorized_threshold. bqb_le_gap_b6_main_factorized_threshold + (16 * 32) = (n)) -> (((exists bcs_sqrt_lower_gap_b6_main_factorized_floor. bcs_sqrt_lower_gap_b6_main_factorized_floor + (s) * (s) = (2 * n)) /\ exists bcs_sqrt_upper_gap_b6_main_factorized_floor. bcs_sqrt_upper_gap_b6_main_factorized_floor + S (2 * n) = S (s) * S (s))) -> ((((2 * n) = 3 * (q) + (r)) /\ exists bmi_remainder_gap_b6_main_factorized_division. bmi_remainder_gap_b6_main_factorized_division + S (r) = 3)) -> (exists pa_b_b6_main_factorized_a pa_c_b6_main_factorized_a. ((forall pa_i_b6_main_factorized_a_repeat. (exists pa_lt_b6_main_factorized_a_repeat_bound. pa_lt_b6_main_factorized_a_repeat_bound + S pa_i_b6_main_factorized_a_repeat = s) -> (((exists pa_h_b6_main_factorized_a_repeat_decoded. pa_h_b6_main_factorized_a_repeat_decoded + S (2 * n) = S ((S (pa_i_b6_main_factorized_a_repeat)) * pa_c_b6_main_factorized_a)) /\ exists pa_q_b6_main_factorized_a_repeat_decoded. pa_b_b6_main_factorized_a = pa_q_b6_main_factorized_a_repeat_decoded * S ((S (pa_i_b6_main_factorized_a_repeat)) * pa_c_b6_main_factorized_a) + (2 * n)))) /\ (exists pa_u_b6_main_factorized_a_product pa_v_b6_main_factorized_a_product. ((((exists pa_h_b6_main_factorized_a_product_start. pa_h_b6_main_factorized_a_product_start + S (1) = S ((S (0)) * pa_v_b6_main_factorized_a_product)) /\ exists pa_q_b6_main_factorized_a_product_start. pa_u_b6_main_factorized_a_product = pa_q_b6_main_factorized_a_product_start * S ((S (0)) * pa_v_b6_main_factorized_a_product) + (1))) /\ ((((exists pa_h_b6_main_factorized_a_product_terminal. pa_h_b6_main_factorized_a_product_terminal + S (A) = S ((S (s)) * pa_v_b6_main_factorized_a_product)) /\ exists pa_q_b6_main_factorized_a_product_terminal. pa_u_b6_main_factorized_a_product = pa_q_b6_main_factorized_a_product_terminal * S ((S (s)) * pa_v_b6_main_factorized_a_product) + (A))) /\ forall pa_i_b6_main_factorized_a_product. (exists pa_lt_b6_main_factorized_a_product_bound. pa_lt_b6_main_factorized_a_product_bound + S pa_i_b6_main_factorized_a_product = s) -> exists pa_p_b6_main_factorized_a_product pa_r_b6_main_factorized_a_product pa_s_b6_main_factorized_a_product. ((((exists pa_h_b6_main_factorized_a_product_factor. pa_h_b6_main_factorized_a_product_factor + S (pa_p_b6_main_factorized_a_product) = S ((S (pa_i_b6_main_factorized_a_product)) * pa_c_b6_main_factorized_a)) /\ exists pa_q_b6_main_factorized_a_product_factor. pa_b_b6_main_factorized_a = pa_q_b6_main_factorized_a_product_factor * S ((S (pa_i_b6_main_factorized_a_product)) * pa_c_b6_main_factorized_a) + (pa_p_b6_main_factorized_a_product))) /\ ((((exists pa_h_b6_main_factorized_a_product_partial. pa_h_b6_main_factorized_a_product_partial + S (pa_r_b6_main_factorized_a_product) = S ((S (pa_i_b6_main_factorized_a_product)) * pa_v_b6_main_factorized_a_product)) /\ exists pa_q_b6_main_factorized_a_product_partial. pa_u_b6_main_factorized_a_product = pa_q_b6_main_factorized_a_product_partial * S ((S (pa_i_b6_main_factorized_a_product)) * pa_v_b6_main_factorized_a_product) + (pa_r_b6_main_factorized_a_product))) /\ ((((exists pa_h_b6_main_factorized_a_product_successor. pa_h_b6_main_factorized_a_product_successor + S (pa_s_b6_main_factorized_a_product) = S ((S (S pa_i_b6_main_factorized_a_product)) * pa_v_b6_main_factorized_a_product)) /\ exists pa_q_b6_main_factorized_a_product_successor. pa_u_b6_main_factorized_a_product = pa_q_b6_main_factorized_a_product_successor * S ((S (S pa_i_b6_main_factorized_a_product)) * pa_v_b6_main_factorized_a_product) + (pa_s_b6_main_factorized_a_product))) /\ pa_s_b6_main_factorized_a_product = pa_r_b6_main_factorized_a_product * pa_p_b6_main_factorized_a_product)))))))) -> (exists pa_b_b6_main_factorized_b pa_c_b6_main_factorized_b. ((forall pa_i_b6_main_factorized_b_repeat. (exists pa_lt_b6_main_factorized_b_repeat_bound. pa_lt_b6_main_factorized_b_repeat_bound + S pa_i_b6_main_factorized_b_repeat = q) -> (((exists pa_h_b6_main_factorized_b_repeat_decoded. pa_h_b6_main_factorized_b_repeat_decoded + S (4) = S ((S (pa_i_b6_main_factorized_b_repeat)) * pa_c_b6_main_factorized_b)) /\ exists pa_q_b6_main_factorized_b_repeat_decoded. pa_b_b6_main_factorized_b = pa_q_b6_main_factorized_b_repeat_decoded * S ((S (pa_i_b6_main_factorized_b_repeat)) * pa_c_b6_main_factorized_b) + (4)))) /\ (exists pa_u_b6_main_factorized_b_product pa_v_b6_main_factorized_b_product. ((((exists pa_h_b6_main_factorized_b_product_start. pa_h_b6_main_factorized_b_product_start + S (1) = S ((S (0)) * pa_v_b6_main_factorized_b_product)) /\ exists pa_q_b6_main_factorized_b_product_start. pa_u_b6_main_factorized_b_product = pa_q_b6_main_factorized_b_product_start * S ((S (0)) * pa_v_b6_main_factorized_b_product) + (1))) /\ ((((exists pa_h_b6_main_factorized_b_product_terminal. pa_h_b6_main_factorized_b_product_terminal + S (B) = S ((S (q)) * pa_v_b6_main_factorized_b_product)) /\ exists pa_q_b6_main_factorized_b_product_terminal. pa_u_b6_main_factorized_b_product = pa_q_b6_main_factorized_b_product_terminal * S ((S (q)) * pa_v_b6_main_factorized_b_product) + (B))) /\ forall pa_i_b6_main_factorized_b_product. (exists pa_lt_b6_main_factorized_b_product_bound. pa_lt_b6_main_factorized_b_product_bound + S pa_i_b6_main_factorized_b_product = q) -> exists pa_p_b6_main_factorized_b_product pa_r_b6_main_factorized_b_product pa_s_b6_main_factorized_b_product. ((((exists pa_h_b6_main_factorized_b_product_factor. pa_h_b6_main_factorized_b_product_factor + S (pa_p_b6_main_factorized_b_product) = S ((S (pa_i_b6_main_factorized_b_product)) * pa_c_b6_main_factorized_b)) /\ exists pa_q_b6_main_factorized_b_product_factor. pa_b_b6_main_factorized_b = pa_q_b6_main_factorized_b_product_factor * S ((S (pa_i_b6_main_factorized_b_product)) * pa_c_b6_main_factorized_b) + (pa_p_b6_main_factorized_b_product))) /\ ((((exists pa_h_b6_main_factorized_b_product_partial. pa_h_b6_main_factorized_b_product_partial + S (pa_r_b6_main_factorized_b_product) = S ((S (pa_i_b6_main_factorized_b_product)) * pa_v_b6_main_factorized_b_product)) /\ exists pa_q_b6_main_factorized_b_product_partial. pa_u_b6_main_factorized_b_product = pa_q_b6_main_factorized_b_product_partial * S ((S (pa_i_b6_main_factorized_b_product)) * pa_v_b6_main_factorized_b_product) + (pa_r_b6_main_factorized_b_product))) /\ ((((exists pa_h_b6_main_factorized_b_product_successor. pa_h_b6_main_factorized_b_product_successor + S (pa_s_b6_main_factorized_b_product) = S ((S (S pa_i_b6_main_factorized_b_product)) * pa_v_b6_main_factorized_b_product)) /\ exists pa_q_b6_main_factorized_b_product_successor. pa_u_b6_main_factorized_b_product = pa_q_b6_main_factorized_b_product_successor * S ((S (S pa_i_b6_main_factorized_b_product)) * pa_v_b6_main_factorized_b_product) + (pa_s_b6_main_factorized_b_product))) /\ pa_s_b6_main_factorized_b_product = pa_r_b6_main_factorized_b_product * pa_p_b6_main_factorized_b_product)))))))) -> (exists pa_b_b6_main_factorized_f pa_c_b6_main_factorized_f. ((forall pa_i_b6_main_factorized_f_repeat. (exists pa_lt_b6_main_factorized_f_repeat_bound. pa_lt_b6_main_factorized_f_repeat_bound + S pa_i_b6_main_factorized_f_repeat = n) -> (((exists pa_h_b6_main_factorized_f_repeat_decoded. pa_h_b6_main_factorized_f_repeat_decoded + S (4) = S ((S (pa_i_b6_main_factorized_f_repeat)) * pa_c_b6_main_factorized_f)) /\ exists pa_q_b6_main_factorized_f_repeat_decoded. pa_b_b6_main_factorized_f = pa_q_b6_main_factorized_f_repeat_decoded * S ((S (pa_i_b6_main_factorized_f_repeat)) * pa_c_b6_main_factorized_f) + (4)))) /\ (exists pa_u_b6_main_factorized_f_product pa_v_b6_main_factorized_f_product. ((((exists pa_h_b6_main_factorized_f_product_start. pa_h_b6_main_factorized_f_product_start + S (1) = S ((S (0)) * pa_v_b6_main_factorized_f_product)) /\ exists pa_q_b6_main_factorized_f_product_start. pa_u_b6_main_factorized_f_product = pa_q_b6_main_factorized_f_product_start * S ((S (0)) * pa_v_b6_main_factorized_f_product) + (1))) /\ ((((exists pa_h_b6_main_factorized_f_product_terminal. pa_h_b6_main_factorized_f_product_terminal + S (F) = S ((S (n)) * pa_v_b6_main_factorized_f_product)) /\ exists pa_q_b6_main_factorized_f_product_terminal. pa_u_b6_main_factorized_f_product = pa_q_b6_main_factorized_f_product_terminal * S ((S (n)) * pa_v_b6_main_factorized_f_product) + (F))) /\ forall pa_i_b6_main_factorized_f_product. (exists pa_lt_b6_main_factorized_f_product_bound. pa_lt_b6_main_factorized_f_product_bound + S pa_i_b6_main_factorized_f_product = n) -> exists pa_p_b6_main_factorized_f_product pa_r_b6_main_factorized_f_product pa_s_b6_main_factorized_f_product. ((((exists pa_h_b6_main_factorized_f_product_factor. pa_h_b6_main_factorized_f_product_factor + S (pa_p_b6_main_factorized_f_product) = S ((S (pa_i_b6_main_factorized_f_product)) * pa_c_b6_main_factorized_f)) /\ exists pa_q_b6_main_factorized_f_product_factor. pa_b_b6_main_factorized_f = pa_q_b6_main_factorized_f_product_factor * S ((S (pa_i_b6_main_factorized_f_product)) * pa_c_b6_main_factorized_f) + (pa_p_b6_main_factorized_f_product))) /\ ((((exists pa_h_b6_main_factorized_f_product_partial. pa_h_b6_main_factorized_f_product_partial + S (pa_r_b6_main_factorized_f_product) = S ((S (pa_i_b6_main_factorized_f_product)) * pa_v_b6_main_factorized_f_product)) /\ exists pa_q_b6_main_factorized_f_product_partial. pa_u_b6_main_factorized_f_product = pa_q_b6_main_factorized_f_product_partial * S ((S (pa_i_b6_main_factorized_f_product)) * pa_v_b6_main_factorized_f_product) + (pa_r_b6_main_factorized_f_product))) /\ ((((exists pa_h_b6_main_factorized_f_product_successor. pa_h_b6_main_factorized_f_product_successor + S (pa_s_b6_main_factorized_f_product) = S ((S (S pa_i_b6_main_factorized_f_product)) * pa_v_b6_main_factorized_f_product)) /\ exists pa_q_b6_main_factorized_f_product_successor. pa_u_b6_main_factorized_f_product = pa_q_b6_main_factorized_f_product_successor * S ((S (S pa_i_b6_main_factorized_f_product)) * pa_v_b6_main_factorized_f_product) + (pa_s_b6_main_factorized_f_product))) /\ pa_s_b6_main_factorized_f_product = pa_r_b6_main_factorized_f_product * pa_p_b6_main_factorized_f_product)))))))) -> (exists bqb_le_gap_b6_main_factorized_result. bqb_le_gap_b6_main_factorized_result + (n * A * B) = (F))Structural proof guide
The factorized threshold and all-root envelope imply the B6 power-product inequality under one supplied power-totality premise.
Direct prerequisites: floor_sqrt_factorized_threshold_thirty_two, ceil_div_six_total, bertrand_hj_envelope_thirty_two, floor_ceil_division_budget, bertrand_floor_power_product_le_h_from_total, bertrand_four_power_product_le_of_sum_from_total, mul_le_mul_right, le_trans. The authored body proceeds by case analysis (10), intermediate claims (12).
Proof neighborhood
Direct dependencies
BT00X0 floor_sqrt_factorized_threshold_thirty_two BT00R1 ceil_div_six_total BT00X3 bertrand_hj_envelope_thirty_two BT00RJ floor_ceil_division_budget BT00X4 bertrand_floor_power_product_le_h_from_total BT00X5 bertrand_four_power_product_le_of_sum_from_total BT001M mul_le_mul_right BT000F le_transDirect dependents
Formal native tactic body
Dependencies are hypotheses of the historical Alpha-v12 body receipt. The complete historical Alpha-v18 proof bundle independently checks every dependency; current Alpha v25 preserves that checked theorem use without changing Stable membership.
Read the argument
Proof checkpoints
This is a reading aid, not a new proof or a proof-tree certificate. Checkpoint groups are consecutive commands, not inferred branch boundaries. Every step links to the preserved script.
Named ingredients (8)
01Fix variables and assumptionsL1–10
02Fix variables and assumptionsL11–14
03Establish hsL15–20
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply floor sqrt factorized threshold thirty two.
04Establish he_existsL21–23
Establish this local claim before using it. It is not an additional assumption.
05Separate the logical casesL24–24
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L24
cases he_exists
06Establish hH_existsL25–28
07Separate the logical casesL29–29
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L29
cases hH_exists
08Establish hU_existsL30–33
09Separate the logical casesL34–34
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L34
cases hU_exists
10Establish hJ_existsL35–38
11Separate the logical casesL39–39
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L39
cases hJ_exists
12Establish hG_existsL40–43
13Separate the logical casesL44–44
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L44
cases hG_exists
14Establish henvelopeL45–54
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply bertrand hj envelope thirty two.
- L45
have henvelope : ((exists bqb_le_gap_b6_main_h_u_order. bqb_le_gap_b6_main_h_u_order + (x1) = (x2)) /\ (exists bqb_le_gap_b6_main_j_g_order. bqb_le_gap_b6_main_j_g_order + (x3) = (x4))) - L46
specialize bertrand_hj_envelope_thirty_two s - L47
specialize bertrand_hj_envelope_thirty_two x - L48
specialize bertrand_hj_envelope_thirty_two x1 - L49
specialize bertrand_hj_envelope_thirty_two x2 - L50
specialize bertrand_hj_envelope_thirty_two x3 - L51
specialize bertrand_hj_envelope_thirty_two x4 - L52
apply bertrand_hj_envelope_thirty_two - L53
exact hs - L54
exact he_exists_witness
15Use earlier factsL55–58
16Separate the logical casesL59–59
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L59
cases henvelope
17Establish hbudgetL60–69
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply floor ceil division budget.
- L60
have hbudget : exists c. ((((((q) + (c) = (n)) /\ exists bqb_budget_gap_b6_main_budget_data. bqb_budget_gap_b6_main_budget_data + 2 * (n) = 6 * (c))) /\ (((exists bqb_le_gap_b6_main_budget_ec_witness. bqb_le_gap_b6_main_budget_ec_witness + (x) = (c)) /\ (exists bqb_le_gap_b6_main_budget_sum_witness. bqb_le_gap_b6_main_budget_sum_witness + (q + x) = (n))))) /\ exists bmi_remainder_gap_b6_main_budget_preserved. bmi_remainder_gap_b6_main_budget_preserved + S r = 3) - L61
specialize floor_ceil_division_budget n - L62
specialize floor_ceil_division_budget q - L63
specialize floor_ceil_division_budget r - L64
specialize floor_ceil_division_budget s - L65
specialize floor_ceil_division_budget x - L66
apply floor_ceil_division_budget - L67
exact hfloor - L68
exact he_exists_witness - L69
exact hdiv
18Separate the logical casesL70–73
19Establish hfloor_productL74–83
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply bertrand floor power product le h from total.
- L74
have hfloor_product : exists bqb_le_gap_b6_main_floor_product_order. bqb_le_gap_b6_main_floor_product_order + (n * A) = (x1) - L75
specialize bertrand_floor_power_product_le_h_from_total n - L76
specialize bertrand_floor_power_product_le_h_from_total s - L77
specialize bertrand_floor_power_product_le_h_from_total A - L78
specialize bertrand_floor_power_product_le_h_from_total x1 - L79
apply bertrand_floor_power_product_le_h_from_total - L80
exact htotal - L81
exact hfloor - L82
exact hA - L83
exact hH_exists_witness
20Establish hfloor_to_uL84–90
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply le trans.
21Establish hscaled_floorL91–96
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mul le mul right.
22Establish hubL97–106
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply bertrand four power product le of sum from total.
- L97
have hub : exists bqb_le_gap_b6_main_u_b_order. bqb_le_gap_b6_main_u_b_order + (x2 * B) = (F) - L98
specialize bertrand_four_power_product_le_of_sum_from_total q - L99
specialize bertrand_four_power_product_le_of_sum_from_total x - L100
specialize bertrand_four_power_product_le_of_sum_from_total n - L101
specialize bertrand_four_power_product_le_of_sum_from_total B - L102
specialize bertrand_four_power_product_le_of_sum_from_total x2 - L103
specialize bertrand_four_power_product_le_of_sum_from_total F - L104
apply bertrand_four_power_product_le_of_sum_from_total - L105
exact htotal - L106
exact hbudget_witness_left_right_right
23Use earlier factsL107–115
Original exact command ledger · 115 lines
- 0001
intro n - 0002
intro s - 0003
intro q - 0004
intro r - 0005
intro A - 0006
intro B - 0007
intro F - 0008
intro htotal - 0009
intro hthreshold - 0010
intro hfloor - 0011
intro hdiv - 0012
intro hA - 0013
intro hB - 0014
intro hF - 0015
have hs : exists bqb_le_gap_b6_main_root_lower. bqb_le_gap_b6_main_root_lower + (32) = (s) - 0016
specialize floor_sqrt_factorized_threshold_thirty_two n - 0017
specialize floor_sqrt_factorized_threshold_thirty_two s - 0018
apply floor_sqrt_factorized_threshold_thirty_two - 0019
exact hthreshold - 0020
exact hfloor - 0021
have he_exists : exists e. (((exists bcs_lower_gap_b6_main_ceiling. bcs_lower_gap_b6_main_ceiling + (s * s) = 6 * (e)) /\ exists bcs_upper_gap_b6_main_ceiling. bcs_upper_gap_b6_main_ceiling + S (6 * (e)) = (s * s) + 6)) - 0022
specialize ceil_div_six_total (s * s) - 0023
exact ceil_div_six_total - 0024
cases he_exists - 0025
have hH_exists : exists H. (exists pa_b_b6_main_envelope_h pa_c_b6_main_envelope_h. ((forall pa_i_b6_main_envelope_h_repeat. (exists pa_lt_b6_main_envelope_h_repeat_bound. pa_lt_b6_main_envelope_h_repeat_bound + S pa_i_b6_main_envelope_h_repeat = 2 * s + 2) -> (((exists pa_h_b6_main_envelope_h_repeat_decoded. pa_h_b6_main_envelope_h_repeat_decoded + S (s + 1) = S ((S (pa_i_b6_main_envelope_h_repeat)) * pa_c_b6_main_envelope_h)) /\ exists pa_q_b6_main_envelope_h_repeat_decoded. pa_b_b6_main_envelope_h = pa_q_b6_main_envelope_h_repeat_decoded * S ((S (pa_i_b6_main_envelope_h_repeat)) * pa_c_b6_main_envelope_h) + (s + 1)))) /\ (exists pa_u_b6_main_envelope_h_product pa_v_b6_main_envelope_h_product. ((((exists pa_h_b6_main_envelope_h_product_start. pa_h_b6_main_envelope_h_product_start + S (1) = S ((S (0)) * pa_v_b6_main_envelope_h_product)) /\ exists pa_q_b6_main_envelope_h_product_start. pa_u_b6_main_envelope_h_product = pa_q_b6_main_envelope_h_product_start * S ((S (0)) * pa_v_b6_main_envelope_h_product) + (1))) /\ ((((exists pa_h_b6_main_envelope_h_product_terminal. pa_h_b6_main_envelope_h_product_terminal + S (H) = S ((S (2 * s + 2)) * pa_v_b6_main_envelope_h_product)) /\ exists pa_q_b6_main_envelope_h_product_terminal. pa_u_b6_main_envelope_h_product = pa_q_b6_main_envelope_h_product_terminal * S ((S (2 * s + 2)) * pa_v_b6_main_envelope_h_product) + (H))) /\ forall pa_i_b6_main_envelope_h_product. (exists pa_lt_b6_main_envelope_h_product_bound. pa_lt_b6_main_envelope_h_product_bound + S pa_i_b6_main_envelope_h_product = 2 * s + 2) -> exists pa_p_b6_main_envelope_h_product pa_r_b6_main_envelope_h_product pa_s_b6_main_envelope_h_product. ((((exists pa_h_b6_main_envelope_h_product_factor. pa_h_b6_main_envelope_h_product_factor + S (pa_p_b6_main_envelope_h_product) = S ((S (pa_i_b6_main_envelope_h_product)) * pa_c_b6_main_envelope_h)) /\ exists pa_q_b6_main_envelope_h_product_factor. pa_b_b6_main_envelope_h = pa_q_b6_main_envelope_h_product_factor * S ((S (pa_i_b6_main_envelope_h_product)) * pa_c_b6_main_envelope_h) + (pa_p_b6_main_envelope_h_product))) /\ ((((exists pa_h_b6_main_envelope_h_product_partial. pa_h_b6_main_envelope_h_product_partial + S (pa_r_b6_main_envelope_h_product) = S ((S (pa_i_b6_main_envelope_h_product)) * pa_v_b6_main_envelope_h_product)) /\ exists pa_q_b6_main_envelope_h_product_partial. pa_u_b6_main_envelope_h_product = pa_q_b6_main_envelope_h_product_partial * S ((S (pa_i_b6_main_envelope_h_product)) * pa_v_b6_main_envelope_h_product) + (pa_r_b6_main_envelope_h_product))) /\ ((((exists pa_h_b6_main_envelope_h_product_successor. pa_h_b6_main_envelope_h_product_successor + S (pa_s_b6_main_envelope_h_product) = S ((S (S pa_i_b6_main_envelope_h_product)) * pa_v_b6_main_envelope_h_product)) /\ exists pa_q_b6_main_envelope_h_product_successor. pa_u_b6_main_envelope_h_product = pa_q_b6_main_envelope_h_product_successor * S ((S (S pa_i_b6_main_envelope_h_product)) * pa_v_b6_main_envelope_h_product) + (pa_s_b6_main_envelope_h_product))) /\ pa_s_b6_main_envelope_h_product = pa_r_b6_main_envelope_h_product * pa_p_b6_main_envelope_h_product)))))))) - 0026
specialize htotal (s + 1) - 0027
specialize htotal (2 * s + 2) - 0028
exact htotal - 0029
cases hH_exists - 0030
have hU_exists : exists U. (exists pa_b_b6_main_envelope_u_witness pa_c_b6_main_envelope_u_witness. ((forall pa_i_b6_main_envelope_u_witness_repeat. (exists pa_lt_b6_main_envelope_u_witness_repeat_bound. pa_lt_b6_main_envelope_u_witness_repeat_bound + S pa_i_b6_main_envelope_u_witness_repeat = x) -> (((exists pa_h_b6_main_envelope_u_witness_repeat_decoded. pa_h_b6_main_envelope_u_witness_repeat_decoded + S (4) = S ((S (pa_i_b6_main_envelope_u_witness_repeat)) * pa_c_b6_main_envelope_u_witness)) /\ exists pa_q_b6_main_envelope_u_witness_repeat_decoded. pa_b_b6_main_envelope_u_witness = pa_q_b6_main_envelope_u_witness_repeat_decoded * S ((S (pa_i_b6_main_envelope_u_witness_repeat)) * pa_c_b6_main_envelope_u_witness) + (4)))) /\ (exists pa_u_b6_main_envelope_u_witness_product pa_v_b6_main_envelope_u_witness_product. ((((exists pa_h_b6_main_envelope_u_witness_product_start. pa_h_b6_main_envelope_u_witness_product_start + S (1) = S ((S (0)) * pa_v_b6_main_envelope_u_witness_product)) /\ exists pa_q_b6_main_envelope_u_witness_product_start. pa_u_b6_main_envelope_u_witness_product = pa_q_b6_main_envelope_u_witness_product_start * S ((S (0)) * pa_v_b6_main_envelope_u_witness_product) + (1))) /\ ((((exists pa_h_b6_main_envelope_u_witness_product_terminal. pa_h_b6_main_envelope_u_witness_product_terminal + S (U) = S ((S (x)) * pa_v_b6_main_envelope_u_witness_product)) /\ exists pa_q_b6_main_envelope_u_witness_product_terminal. pa_u_b6_main_envelope_u_witness_product = pa_q_b6_main_envelope_u_witness_product_terminal * S ((S (x)) * pa_v_b6_main_envelope_u_witness_product) + (U))) /\ forall pa_i_b6_main_envelope_u_witness_product. (exists pa_lt_b6_main_envelope_u_witness_product_bound. pa_lt_b6_main_envelope_u_witness_product_bound + S pa_i_b6_main_envelope_u_witness_product = x) -> exists pa_p_b6_main_envelope_u_witness_product pa_r_b6_main_envelope_u_witness_product pa_s_b6_main_envelope_u_witness_product. ((((exists pa_h_b6_main_envelope_u_witness_product_factor. pa_h_b6_main_envelope_u_witness_product_factor + S (pa_p_b6_main_envelope_u_witness_product) = S ((S (pa_i_b6_main_envelope_u_witness_product)) * pa_c_b6_main_envelope_u_witness)) /\ exists pa_q_b6_main_envelope_u_witness_product_factor. pa_b_b6_main_envelope_u_witness = pa_q_b6_main_envelope_u_witness_product_factor * S ((S (pa_i_b6_main_envelope_u_witness_product)) * pa_c_b6_main_envelope_u_witness) + (pa_p_b6_main_envelope_u_witness_product))) /\ ((((exists pa_h_b6_main_envelope_u_witness_product_partial. pa_h_b6_main_envelope_u_witness_product_partial + S (pa_r_b6_main_envelope_u_witness_product) = S ((S (pa_i_b6_main_envelope_u_witness_product)) * pa_v_b6_main_envelope_u_witness_product)) /\ exists pa_q_b6_main_envelope_u_witness_product_partial. pa_u_b6_main_envelope_u_witness_product = pa_q_b6_main_envelope_u_witness_product_partial * S ((S (pa_i_b6_main_envelope_u_witness_product)) * pa_v_b6_main_envelope_u_witness_product) + (pa_r_b6_main_envelope_u_witness_product))) /\ ((((exists pa_h_b6_main_envelope_u_witness_product_successor. pa_h_b6_main_envelope_u_witness_product_successor + S (pa_s_b6_main_envelope_u_witness_product) = S ((S (S pa_i_b6_main_envelope_u_witness_product)) * pa_v_b6_main_envelope_u_witness_product)) /\ exists pa_q_b6_main_envelope_u_witness_product_successor. pa_u_b6_main_envelope_u_witness_product = pa_q_b6_main_envelope_u_witness_product_successor * S ((S (S pa_i_b6_main_envelope_u_witness_product)) * pa_v_b6_main_envelope_u_witness_product) + (pa_s_b6_main_envelope_u_witness_product))) /\ pa_s_b6_main_envelope_u_witness_product = pa_r_b6_main_envelope_u_witness_product * pa_p_b6_main_envelope_u_witness_product)))))))) - 0031
specialize htotal 4 - 0032
specialize htotal x - 0033
exact htotal - 0034
cases hU_exists - 0035
have hJ_exists : exists J. (exists pa_b_b6_main_envelope_j pa_c_b6_main_envelope_j. ((forall pa_i_b6_main_envelope_j_repeat. (exists pa_lt_b6_main_envelope_j_repeat_bound. pa_lt_b6_main_envelope_j_repeat_bound + S pa_i_b6_main_envelope_j_repeat = 12) -> (((exists pa_h_b6_main_envelope_j_repeat_decoded. pa_h_b6_main_envelope_j_repeat_decoded + S (s + 7) = S ((S (pa_i_b6_main_envelope_j_repeat)) * pa_c_b6_main_envelope_j)) /\ exists pa_q_b6_main_envelope_j_repeat_decoded. pa_b_b6_main_envelope_j = pa_q_b6_main_envelope_j_repeat_decoded * S ((S (pa_i_b6_main_envelope_j_repeat)) * pa_c_b6_main_envelope_j) + (s + 7)))) /\ (exists pa_u_b6_main_envelope_j_product pa_v_b6_main_envelope_j_product. ((((exists pa_h_b6_main_envelope_j_product_start. pa_h_b6_main_envelope_j_product_start + S (1) = S ((S (0)) * pa_v_b6_main_envelope_j_product)) /\ exists pa_q_b6_main_envelope_j_product_start. pa_u_b6_main_envelope_j_product = pa_q_b6_main_envelope_j_product_start * S ((S (0)) * pa_v_b6_main_envelope_j_product) + (1))) /\ ((((exists pa_h_b6_main_envelope_j_product_terminal. pa_h_b6_main_envelope_j_product_terminal + S (J) = S ((S (12)) * pa_v_b6_main_envelope_j_product)) /\ exists pa_q_b6_main_envelope_j_product_terminal. pa_u_b6_main_envelope_j_product = pa_q_b6_main_envelope_j_product_terminal * S ((S (12)) * pa_v_b6_main_envelope_j_product) + (J))) /\ forall pa_i_b6_main_envelope_j_product. (exists pa_lt_b6_main_envelope_j_product_bound. pa_lt_b6_main_envelope_j_product_bound + S pa_i_b6_main_envelope_j_product = 12) -> exists pa_p_b6_main_envelope_j_product pa_r_b6_main_envelope_j_product pa_s_b6_main_envelope_j_product. ((((exists pa_h_b6_main_envelope_j_product_factor. pa_h_b6_main_envelope_j_product_factor + S (pa_p_b6_main_envelope_j_product) = S ((S (pa_i_b6_main_envelope_j_product)) * pa_c_b6_main_envelope_j)) /\ exists pa_q_b6_main_envelope_j_product_factor. pa_b_b6_main_envelope_j = pa_q_b6_main_envelope_j_product_factor * S ((S (pa_i_b6_main_envelope_j_product)) * pa_c_b6_main_envelope_j) + (pa_p_b6_main_envelope_j_product))) /\ ((((exists pa_h_b6_main_envelope_j_product_partial. pa_h_b6_main_envelope_j_product_partial + S (pa_r_b6_main_envelope_j_product) = S ((S (pa_i_b6_main_envelope_j_product)) * pa_v_b6_main_envelope_j_product)) /\ exists pa_q_b6_main_envelope_j_product_partial. pa_u_b6_main_envelope_j_product = pa_q_b6_main_envelope_j_product_partial * S ((S (pa_i_b6_main_envelope_j_product)) * pa_v_b6_main_envelope_j_product) + (pa_r_b6_main_envelope_j_product))) /\ ((((exists pa_h_b6_main_envelope_j_product_successor. pa_h_b6_main_envelope_j_product_successor + S (pa_s_b6_main_envelope_j_product) = S ((S (S pa_i_b6_main_envelope_j_product)) * pa_v_b6_main_envelope_j_product)) /\ exists pa_q_b6_main_envelope_j_product_successor. pa_u_b6_main_envelope_j_product = pa_q_b6_main_envelope_j_product_successor * S ((S (S pa_i_b6_main_envelope_j_product)) * pa_v_b6_main_envelope_j_product) + (pa_s_b6_main_envelope_j_product))) /\ pa_s_b6_main_envelope_j_product = pa_r_b6_main_envelope_j_product * pa_p_b6_main_envelope_j_product)))))))) - 0036
specialize htotal (s + 7) - 0037
specialize htotal 12 - 0038
exact htotal - 0039
cases hJ_exists - 0040
have hG_exists : exists G. (exists pa_b_b6_main_envelope_g pa_c_b6_main_envelope_g. ((forall pa_i_b6_main_envelope_g_repeat. (exists pa_lt_b6_main_envelope_g_repeat_bound. pa_lt_b6_main_envelope_g_repeat_bound + S pa_i_b6_main_envelope_g_repeat = s + 5) -> (((exists pa_h_b6_main_envelope_g_repeat_decoded. pa_h_b6_main_envelope_g_repeat_decoded + S (4) = S ((S (pa_i_b6_main_envelope_g_repeat)) * pa_c_b6_main_envelope_g)) /\ exists pa_q_b6_main_envelope_g_repeat_decoded. pa_b_b6_main_envelope_g = pa_q_b6_main_envelope_g_repeat_decoded * S ((S (pa_i_b6_main_envelope_g_repeat)) * pa_c_b6_main_envelope_g) + (4)))) /\ (exists pa_u_b6_main_envelope_g_product pa_v_b6_main_envelope_g_product. ((((exists pa_h_b6_main_envelope_g_product_start. pa_h_b6_main_envelope_g_product_start + S (1) = S ((S (0)) * pa_v_b6_main_envelope_g_product)) /\ exists pa_q_b6_main_envelope_g_product_start. pa_u_b6_main_envelope_g_product = pa_q_b6_main_envelope_g_product_start * S ((S (0)) * pa_v_b6_main_envelope_g_product) + (1))) /\ ((((exists pa_h_b6_main_envelope_g_product_terminal. pa_h_b6_main_envelope_g_product_terminal + S (G) = S ((S (s + 5)) * pa_v_b6_main_envelope_g_product)) /\ exists pa_q_b6_main_envelope_g_product_terminal. pa_u_b6_main_envelope_g_product = pa_q_b6_main_envelope_g_product_terminal * S ((S (s + 5)) * pa_v_b6_main_envelope_g_product) + (G))) /\ forall pa_i_b6_main_envelope_g_product. (exists pa_lt_b6_main_envelope_g_product_bound. pa_lt_b6_main_envelope_g_product_bound + S pa_i_b6_main_envelope_g_product = s + 5) -> exists pa_p_b6_main_envelope_g_product pa_r_b6_main_envelope_g_product pa_s_b6_main_envelope_g_product. ((((exists pa_h_b6_main_envelope_g_product_factor. pa_h_b6_main_envelope_g_product_factor + S (pa_p_b6_main_envelope_g_product) = S ((S (pa_i_b6_main_envelope_g_product)) * pa_c_b6_main_envelope_g)) /\ exists pa_q_b6_main_envelope_g_product_factor. pa_b_b6_main_envelope_g = pa_q_b6_main_envelope_g_product_factor * S ((S (pa_i_b6_main_envelope_g_product)) * pa_c_b6_main_envelope_g) + (pa_p_b6_main_envelope_g_product))) /\ ((((exists pa_h_b6_main_envelope_g_product_partial. pa_h_b6_main_envelope_g_product_partial + S (pa_r_b6_main_envelope_g_product) = S ((S (pa_i_b6_main_envelope_g_product)) * pa_v_b6_main_envelope_g_product)) /\ exists pa_q_b6_main_envelope_g_product_partial. pa_u_b6_main_envelope_g_product = pa_q_b6_main_envelope_g_product_partial * S ((S (pa_i_b6_main_envelope_g_product)) * pa_v_b6_main_envelope_g_product) + (pa_r_b6_main_envelope_g_product))) /\ ((((exists pa_h_b6_main_envelope_g_product_successor. pa_h_b6_main_envelope_g_product_successor + S (pa_s_b6_main_envelope_g_product) = S ((S (S pa_i_b6_main_envelope_g_product)) * pa_v_b6_main_envelope_g_product)) /\ exists pa_q_b6_main_envelope_g_product_successor. pa_u_b6_main_envelope_g_product = pa_q_b6_main_envelope_g_product_successor * S ((S (S pa_i_b6_main_envelope_g_product)) * pa_v_b6_main_envelope_g_product) + (pa_s_b6_main_envelope_g_product))) /\ pa_s_b6_main_envelope_g_product = pa_r_b6_main_envelope_g_product * pa_p_b6_main_envelope_g_product)))))))) - 0041
specialize htotal 4 - 0042
specialize htotal (s + 5) - 0043
exact htotal - 0044
cases hG_exists - 0045
have henvelope : ((exists bqb_le_gap_b6_main_h_u_order. bqb_le_gap_b6_main_h_u_order + (x1) = (x2)) /\ (exists bqb_le_gap_b6_main_j_g_order. bqb_le_gap_b6_main_j_g_order + (x3) = (x4))) - 0046
specialize bertrand_hj_envelope_thirty_two s - 0047
specialize bertrand_hj_envelope_thirty_two x - 0048
specialize bertrand_hj_envelope_thirty_two x1 - 0049
specialize bertrand_hj_envelope_thirty_two x2 - 0050
specialize bertrand_hj_envelope_thirty_two x3 - 0051
specialize bertrand_hj_envelope_thirty_two x4 - 0052
apply bertrand_hj_envelope_thirty_two - 0053
exact hs - 0054
exact he_exists_witness - 0055
exact hH_exists_witness - 0056
exact hU_exists_witness - 0057
exact hJ_exists_witness - 0058
exact hG_exists_witness - 0059
cases henvelope - 0060
have hbudget : exists c. ((((((q) + (c) = (n)) /\ exists bqb_budget_gap_b6_main_budget_data. bqb_budget_gap_b6_main_budget_data + 2 * (n) = 6 * (c))) /\ (((exists bqb_le_gap_b6_main_budget_ec_witness. bqb_le_gap_b6_main_budget_ec_witness + (x) = (c)) /\ (exists bqb_le_gap_b6_main_budget_sum_witness. bqb_le_gap_b6_main_budget_sum_witness + (q + x) = (n))))) /\ exists bmi_remainder_gap_b6_main_budget_preserved. bmi_remainder_gap_b6_main_budget_preserved + S r = 3) - 0061
specialize floor_ceil_division_budget n - 0062
specialize floor_ceil_division_budget q - 0063
specialize floor_ceil_division_budget r - 0064
specialize floor_ceil_division_budget s - 0065
specialize floor_ceil_division_budget x - 0066
apply floor_ceil_division_budget - 0067
exact hfloor - 0068
exact he_exists_witness - 0069
exact hdiv - 0070
cases hbudget - 0071
cases hbudget_witness - 0072
cases hbudget_witness_left - 0073
cases hbudget_witness_left_right - 0074
have hfloor_product : exists bqb_le_gap_b6_main_floor_product_order. bqb_le_gap_b6_main_floor_product_order + (n * A) = (x1) - 0075
specialize bertrand_floor_power_product_le_h_from_total n - 0076
specialize bertrand_floor_power_product_le_h_from_total s - 0077
specialize bertrand_floor_power_product_le_h_from_total A - 0078
specialize bertrand_floor_power_product_le_h_from_total x1 - 0079
apply bertrand_floor_power_product_le_h_from_total - 0080
exact htotal - 0081
exact hfloor - 0082
exact hA - 0083
exact hH_exists_witness - 0084
have hfloor_to_u : exists bqb_le_gap_b6_main_floor_to_u_order. bqb_le_gap_b6_main_floor_to_u_order + (n * A) = (x2) - 0085
specialize le_trans (n * A) - 0086
specialize le_trans x1 - 0087
specialize le_trans x2 - 0088
apply le_trans - 0089
exact hfloor_product - 0090
exact henvelope_left - 0091
have hscaled_floor : exists bqb_le_gap_b6_main_scaled_floor_order. bqb_le_gap_b6_main_scaled_floor_order + ((n * A) * B) = (x2 * B) - 0092
specialize mul_le_mul_right (n * A) - 0093
specialize mul_le_mul_right x2 - 0094
specialize mul_le_mul_right B - 0095
apply mul_le_mul_right - 0096
exact hfloor_to_u - 0097
have hub : exists bqb_le_gap_b6_main_u_b_order. bqb_le_gap_b6_main_u_b_order + (x2 * B) = (F) - 0098
specialize bertrand_four_power_product_le_of_sum_from_total q - 0099
specialize bertrand_four_power_product_le_of_sum_from_total x - 0100
specialize bertrand_four_power_product_le_of_sum_from_total n - 0101
specialize bertrand_four_power_product_le_of_sum_from_total B - 0102
specialize bertrand_four_power_product_le_of_sum_from_total x2 - 0103
specialize bertrand_four_power_product_le_of_sum_from_total F - 0104
apply bertrand_four_power_product_le_of_sum_from_total - 0105
exact htotal - 0106
exact hbudget_witness_left_right_right - 0107
exact hB - 0108
exact hU_exists_witness - 0109
exact hF - 0110
specialize le_trans ((n * A) * B) - 0111
specialize le_trans (x2 * B) - 0112
specialize le_trans F - 0113
apply le_trans - 0114
exact hscaled_floor - 0115
exact hub