MC001B

mobius_divisor_sum_cancellation_exists

For each positive natural, construct the actual Möbius table, its real finite divisor-sum trace and the exact unit/nonunit result; no table or quotient is supplied.

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

Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved.

The input n is positive. Signed code 2 denotes +1, so the actual sum is +1 at n=1 and zero for n>1. The positive-values result permits arbitrary F(0), which the divisor mask excludes. Prime-square multiples contribute zero. Full G007 inversion is established in its separate family.

Exact theorem in conservative defined notation

∀ n. ¬n = 0 → ∃ x. ∃ y. MobiusTable(n,x) ∧ (DivisorSum(x,n,y) ∧ (n = 1 ∧ y = 2 ∨ ¬n = 1 ∧ y = 0))

Every linked abbreviation expands hygienically to the identical original native formula.

Definition DAG

Actual proof prerequisites

Original expanded first-order statement
forall n. ~(n=0) -> exists M z. (((((exists dst_positive_code_cancel_exists_tabletable dst_positive_scale_cancel_exists_tabletable dst_negative_code_cancel_exists_tabletable dst_negative_scale_cancel_exists_tabletable. (((M) = (((((dst_positive_code_cancel_exists_tabletable) + (dst_positive_scale_cancel_exists_tabletable)) * S ((dst_positive_code_cancel_exists_tabletable) + (dst_positive_scale_cancel_exists_tabletable)) + ((dst_positive_scale_cancel_exists_tabletable) + (dst_positive_scale_cancel_exists_tabletable))) + (((dst_negative_code_cancel_exists_tabletable) + (dst_negative_scale_cancel_exists_tabletable)) * S ((dst_negative_code_cancel_exists_tabletable) + (dst_negative_scale_cancel_exists_tabletable)) + ((dst_negative_scale_cancel_exists_tabletable) + (dst_negative_scale_cancel_exists_tabletable)))) * S ((((dst_positive_code_cancel_exists_tabletable) + (dst_positive_scale_cancel_exists_tabletable)) * S ((dst_positive_code_cancel_exists_tabletable) + (dst_positive_scale_cancel_exists_tabletable)) + ((dst_positive_scale_cancel_exists_tabletable) + (dst_positive_scale_cancel_exists_tabletable))) + (((dst_negative_code_cancel_exists_tabletable) + (dst_negative_scale_cancel_exists_tabletable)) * S ((dst_negative_code_cancel_exists_tabletable) + (dst_negative_scale_cancel_exists_tabletable)) + ((dst_negative_scale_cancel_exists_tabletable) + (dst_negative_scale_cancel_exists_tabletable)))) + ((((dst_negative_code_cancel_exists_tabletable) + (dst_negative_scale_cancel_exists_tabletable)) * S ((dst_negative_code_cancel_exists_tabletable) + (dst_negative_scale_cancel_exists_tabletable)) + ((dst_negative_scale_cancel_exists_tabletable) + (dst_negative_scale_cancel_exists_tabletable))) + (((dst_negative_code_cancel_exists_tabletable) + (dst_negative_scale_cancel_exists_tabletable)) * S ((dst_negative_code_cancel_exists_tabletable) + (dst_negative_scale_cancel_exists_tabletable)) + ((dst_negative_scale_cancel_exists_tabletable) + (dst_negative_scale_cancel_exists_tabletable)))))) /\ (forall dst_index_cancel_exists_tabletable. (exists pvs_le_gap_cancel_exists_tabletabledomain. pvs_le_gap_cancel_exists_tabletabledomain + (dst_index_cancel_exists_tabletable) = (n)) -> exists dst_positive_cancel_exists_tabletable dst_negative_cancel_exists_tabletable dst_value_cancel_exists_tabletable. ((((exists ff_h_pvs_cancel_exists_tabletableentrypositive. ff_h_pvs_cancel_exists_tabletableentrypositive + S (dst_positive_cancel_exists_tabletable) = S ((S (dst_index_cancel_exists_tabletable)) * dst_positive_scale_cancel_exists_tabletable)) /\ exists ff_q_pvs_cancel_exists_tabletableentrypositive. dst_positive_code_cancel_exists_tabletable = ff_q_pvs_cancel_exists_tabletableentrypositive * S ((S (dst_index_cancel_exists_tabletable)) * dst_positive_scale_cancel_exists_tabletable) + (dst_positive_cancel_exists_tabletable))) /\ (((((exists ff_h_pvs_cancel_exists_tabletableentrynegative. ff_h_pvs_cancel_exists_tabletableentrynegative + S (dst_negative_cancel_exists_tabletable) = S ((S (dst_index_cancel_exists_tabletable)) * dst_negative_scale_cancel_exists_tabletable)) /\ exists ff_q_pvs_cancel_exists_tabletableentrynegative. dst_negative_code_cancel_exists_tabletable = ff_q_pvs_cancel_exists_tabletableentrynegative * S ((S (dst_index_cancel_exists_tabletable)) * dst_negative_scale_cancel_exists_tabletable) + (dst_negative_cancel_exists_tabletable))) /\ (exists ge_balance_positive_cancel_exists_tabletableentryvalue ge_balance_negative_cancel_exists_tabletableentryvalue. (((((dst_value_cancel_exists_tabletable) = 2 * (ge_balance_positive_cancel_exists_tabletableentryvalue) /\ (ge_balance_negative_cancel_exists_tabletableentryvalue) = 0) \/ exists ge_signed_half_cancel_exists_tabletableentryvaluedecode. (((dst_value_cancel_exists_tabletable) = 2 * ge_signed_half_cancel_exists_tabletableentryvaluedecode + 1 /\ (ge_balance_positive_cancel_exists_tabletableentryvalue) = 0) /\ (ge_balance_negative_cancel_exists_tabletableentryvalue) = S ge_signed_half_cancel_exists_tabletableentryvaluedecode))) /\ ((dst_positive_cancel_exists_tabletable) + ge_balance_negative_cancel_exists_tabletableentryvalue = (dst_negative_cancel_exists_tabletable) + ge_balance_positive_cancel_exists_tabletableentryvalue))))))))) /\ (((exists dst_positive_code_cancel_exists_tablezero dst_positive_scale_cancel_exists_tablezero dst_negative_code_cancel_exists_tablezero dst_negative_scale_cancel_exists_tablezero dst_positive_cancel_exists_tablezero dst_negative_cancel_exists_tablezero. (((M) = (((((dst_positive_code_cancel_exists_tablezero) + (dst_positive_scale_cancel_exists_tablezero)) * S ((dst_positive_code_cancel_exists_tablezero) + (dst_positive_scale_cancel_exists_tablezero)) + ((dst_positive_scale_cancel_exists_tablezero) + (dst_positive_scale_cancel_exists_tablezero))) + (((dst_negative_code_cancel_exists_tablezero) + (dst_negative_scale_cancel_exists_tablezero)) * S ((dst_negative_code_cancel_exists_tablezero) + (dst_negative_scale_cancel_exists_tablezero)) + ((dst_negative_scale_cancel_exists_tablezero) + (dst_negative_scale_cancel_exists_tablezero)))) * S ((((dst_positive_code_cancel_exists_tablezero) + (dst_positive_scale_cancel_exists_tablezero)) * S ((dst_positive_code_cancel_exists_tablezero) + (dst_positive_scale_cancel_exists_tablezero)) + ((dst_positive_scale_cancel_exists_tablezero) + (dst_positive_scale_cancel_exists_tablezero))) + (((dst_negative_code_cancel_exists_tablezero) + (dst_negative_scale_cancel_exists_tablezero)) * S ((dst_negative_code_cancel_exists_tablezero) + (dst_negative_scale_cancel_exists_tablezero)) + ((dst_negative_scale_cancel_exists_tablezero) + (dst_negative_scale_cancel_exists_tablezero)))) + ((((dst_negative_code_cancel_exists_tablezero) + (dst_negative_scale_cancel_exists_tablezero)) * S ((dst_negative_code_cancel_exists_tablezero) + (dst_negative_scale_cancel_exists_tablezero)) + ((dst_negative_scale_cancel_exists_tablezero) + (dst_negative_scale_cancel_exists_tablezero))) + (((dst_negative_code_cancel_exists_tablezero) + (dst_negative_scale_cancel_exists_tablezero)) * S ((dst_negative_code_cancel_exists_tablezero) + (dst_negative_scale_cancel_exists_tablezero)) + ((dst_negative_scale_cancel_exists_tablezero) + (dst_negative_scale_cancel_exists_tablezero)))))) /\ (((((exists ff_h_pvs_cancel_exists_tablezeropositive. ff_h_pvs_cancel_exists_tablezeropositive + S (dst_positive_cancel_exists_tablezero) = S ((S (0)) * dst_positive_scale_cancel_exists_tablezero)) /\ exists ff_q_pvs_cancel_exists_tablezeropositive. dst_positive_code_cancel_exists_tablezero = ff_q_pvs_cancel_exists_tablezeropositive * S ((S (0)) * dst_positive_scale_cancel_exists_tablezero) + (dst_positive_cancel_exists_tablezero))) /\ (((((exists ff_h_pvs_cancel_exists_tablezeronegative. ff_h_pvs_cancel_exists_tablezeronegative + S (dst_negative_cancel_exists_tablezero) = S ((S (0)) * dst_negative_scale_cancel_exists_tablezero)) /\ exists ff_q_pvs_cancel_exists_tablezeronegative. dst_negative_code_cancel_exists_tablezero = ff_q_pvs_cancel_exists_tablezeronegative * S ((S (0)) * dst_negative_scale_cancel_exists_tablezero) + (dst_negative_cancel_exists_tablezero))) /\ (exists ge_balance_positive_cancel_exists_tablezerovalue ge_balance_negative_cancel_exists_tablezerovalue. (((((0) = 2 * (ge_balance_positive_cancel_exists_tablezerovalue) /\ (ge_balance_negative_cancel_exists_tablezerovalue) = 0) \/ exists ge_signed_half_cancel_exists_tablezerovaluedecode. (((0) = 2 * ge_signed_half_cancel_exists_tablezerovaluedecode + 1 /\ (ge_balance_positive_cancel_exists_tablezerovalue) = 0) /\ (ge_balance_negative_cancel_exists_tablezerovalue) = S ge_signed_half_cancel_exists_tablezerovaluedecode))) /\ ((dst_positive_cancel_exists_tablezero) + ge_balance_negative_cancel_exists_tablezerovalue = (dst_negative_cancel_exists_tablezero) + ge_balance_positive_cancel_exists_tablezerovalue))))))))) /\ (forall mt_index_cancel_exists_table mt_value_cancel_exists_table. ~(mt_index_cancel_exists_table=0) -> (exists pvs_le_gap_cancel_exists_tabledomain. pvs_le_gap_cancel_exists_tabledomain + (mt_index_cancel_exists_table) = (n)) -> (exists dst_positive_code_cancel_exists_tableentry dst_positive_scale_cancel_exists_tableentry dst_negative_code_cancel_exists_tableentry dst_negative_scale_cancel_exists_tableentry dst_positive_cancel_exists_tableentry dst_negative_cancel_exists_tableentry. (((M) = (((((dst_positive_code_cancel_exists_tableentry) + (dst_positive_scale_cancel_exists_tableentry)) * S ((dst_positive_code_cancel_exists_tableentry) + (dst_positive_scale_cancel_exists_tableentry)) + ((dst_positive_scale_cancel_exists_tableentry) + (dst_positive_scale_cancel_exists_tableentry))) + (((dst_negative_code_cancel_exists_tableentry) + (dst_negative_scale_cancel_exists_tableentry)) * S ((dst_negative_code_cancel_exists_tableentry) + (dst_negative_scale_cancel_exists_tableentry)) + ((dst_negative_scale_cancel_exists_tableentry) + (dst_negative_scale_cancel_exists_tableentry)))) * S ((((dst_positive_code_cancel_exists_tableentry) + (dst_positive_scale_cancel_exists_tableentry)) * S ((dst_positive_code_cancel_exists_tableentry) + (dst_positive_scale_cancel_exists_tableentry)) + ((dst_positive_scale_cancel_exists_tableentry) + (dst_positive_scale_cancel_exists_tableentry))) + (((dst_negative_code_cancel_exists_tableentry) + (dst_negative_scale_cancel_exists_tableentry)) * S ((dst_negative_code_cancel_exists_tableentry) + (dst_negative_scale_cancel_exists_tableentry)) + ((dst_negative_scale_cancel_exists_tableentry) + (dst_negative_scale_cancel_exists_tableentry)))) + ((((dst_negative_code_cancel_exists_tableentry) + (dst_negative_scale_cancel_exists_tableentry)) * S ((dst_negative_code_cancel_exists_tableentry) + (dst_negative_scale_cancel_exists_tableentry)) + ((dst_negative_scale_cancel_exists_tableentry) + (dst_negative_scale_cancel_exists_tableentry))) + (((dst_negative_code_cancel_exists_tableentry) + (dst_negative_scale_cancel_exists_tableentry)) * S ((dst_negative_code_cancel_exists_tableentry) + (dst_negative_scale_cancel_exists_tableentry)) + ((dst_negative_scale_cancel_exists_tableentry) + (dst_negative_scale_cancel_exists_tableentry)))))) /\ (((((exists ff_h_pvs_cancel_exists_tableentrypositive. ff_h_pvs_cancel_exists_tableentrypositive + S (dst_positive_cancel_exists_tableentry) = S ((S (mt_index_cancel_exists_table)) * dst_positive_scale_cancel_exists_tableentry)) /\ exists ff_q_pvs_cancel_exists_tableentrypositive. dst_positive_code_cancel_exists_tableentry = ff_q_pvs_cancel_exists_tableentrypositive * S ((S (mt_index_cancel_exists_table)) * dst_positive_scale_cancel_exists_tableentry) + (dst_positive_cancel_exists_tableentry))) /\ (((((exists ff_h_pvs_cancel_exists_tableentrynegative. ff_h_pvs_cancel_exists_tableentrynegative + S (dst_negative_cancel_exists_tableentry) = S ((S (mt_index_cancel_exists_table)) * dst_negative_scale_cancel_exists_tableentry)) /\ exists ff_q_pvs_cancel_exists_tableentrynegative. dst_negative_code_cancel_exists_tableentry = ff_q_pvs_cancel_exists_tableentrynegative * S ((S (mt_index_cancel_exists_table)) * dst_negative_scale_cancel_exists_tableentry) + (dst_negative_cancel_exists_tableentry))) /\ (exists ge_balance_positive_cancel_exists_tableentryvalue ge_balance_negative_cancel_exists_tableentryvalue. (((((mt_value_cancel_exists_table) = 2 * (ge_balance_positive_cancel_exists_tableentryvalue) /\ (ge_balance_negative_cancel_exists_tableentryvalue) = 0) \/ exists ge_signed_half_cancel_exists_tableentryvaluedecode. (((mt_value_cancel_exists_table) = 2 * ge_signed_half_cancel_exists_tableentryvaluedecode + 1 /\ (ge_balance_positive_cancel_exists_tableentryvalue) = 0) /\ (ge_balance_negative_cancel_exists_tableentryvalue) = S ge_signed_half_cancel_exists_tableentryvaluedecode))) /\ ((dst_positive_cancel_exists_tableentry) + ge_balance_negative_cancel_exists_tableentryvalue = (dst_negative_cancel_exists_tableentry) + ge_balance_positive_cancel_exists_tableentryvalue))))))))) -> (((~((mt_index_cancel_exists_table) = 0)) /\ ((((exists mv_square_prime_cancel_exists_tablevaluesquare. ((~((mv_square_prime_cancel_exists_tablevaluesquare) = 1) /\ forall pvs_left_cancel_exists_tablevaluesquareprime pvs_right_cancel_exists_tablevaluesquareprime. (mv_square_prime_cancel_exists_tablevaluesquare) = pvs_left_cancel_exists_tablevaluesquareprime * pvs_right_cancel_exists_tablevaluesquareprime -> pvs_left_cancel_exists_tablevaluesquareprime = 1 \/ pvs_right_cancel_exists_tablevaluesquareprime = 1) /\ (exists pvs_factor_cancel_exists_tablevaluesquaredivisor. (mt_index_cancel_exists_table) = (mv_square_prime_cancel_exists_tablevaluesquare * mv_square_prime_cancel_exists_tablevaluesquare) * pvs_factor_cancel_exists_tablevaluesquaredivisor))) /\ ((mt_value_cancel_exists_table) = 0))) \/ (((((~((mt_index_cancel_exists_table) = 0)) /\ (forall sfd_prime_cancel_exists_tablevaluesquarefree. (~((sfd_prime_cancel_exists_tablevaluesquarefree) = 1) /\ forall pvs_left_cancel_exists_tablevaluesquarefreedomain pvs_right_cancel_exists_tablevaluesquarefreedomain. (sfd_prime_cancel_exists_tablevaluesquarefree) = pvs_left_cancel_exists_tablevaluesquarefreedomain * pvs_right_cancel_exists_tablevaluesquarefreedomain -> pvs_left_cancel_exists_tablevaluesquarefreedomain = 1 \/ pvs_right_cancel_exists_tablevaluesquarefreedomain = 1) -> (exists pvs_le_gap_cancel_exists_tablevaluesquarefreebound. pvs_le_gap_cancel_exists_tablevaluesquarefreebound + (sfd_prime_cancel_exists_tablevaluesquarefree) = (mt_index_cancel_exists_table)) -> ~(exists pvs_factor_cancel_exists_tablevaluesquarefreesquare. (mt_index_cancel_exists_table) = (sfd_prime_cancel_exists_tablevaluesquarefree * sfd_prime_cancel_exists_tablevaluesquarefree) * pvs_factor_cancel_exists_tablevaluesquarefreesquare)))) /\ (exists mv_factor_code_cancel_exists_tablevaluefactors mv_factor_scale_cancel_exists_tablevaluefactors mv_factor_count_cancel_exists_tablevaluefactors. (((~(mt_index_cancel_exists_table = 0) /\ ((exists ff_u_fsat_cancel_exists_tablevaluefactorsfactorization_product ff_v_fsat_cancel_exists_tablevaluefactorsfactorization_product. ((((exists ff_h_fsat_cancel_exists_tablevaluefactorsfactorization_product_start. ff_h_fsat_cancel_exists_tablevaluefactorsfactorization_product_start + S (1) = S ((S (0)) * ff_v_fsat_cancel_exists_tablevaluefactorsfactorization_product)) /\ exists ff_q_fsat_cancel_exists_tablevaluefactorsfactorization_product_start. ff_u_fsat_cancel_exists_tablevaluefactorsfactorization_product = ff_q_fsat_cancel_exists_tablevaluefactorsfactorization_product_start * S ((S (0)) * ff_v_fsat_cancel_exists_tablevaluefactorsfactorization_product) + (1))) /\ ((((exists ff_h_fsat_cancel_exists_tablevaluefactorsfactorization_product_terminal. ff_h_fsat_cancel_exists_tablevaluefactorsfactorization_product_terminal + S (mt_index_cancel_exists_table) = S ((S (mv_factor_count_cancel_exists_tablevaluefactors)) * ff_v_fsat_cancel_exists_tablevaluefactorsfactorization_product)) /\ exists ff_q_fsat_cancel_exists_tablevaluefactorsfactorization_product_terminal. ff_u_fsat_cancel_exists_tablevaluefactorsfactorization_product = ff_q_fsat_cancel_exists_tablevaluefactorsfactorization_product_terminal * S ((S (mv_factor_count_cancel_exists_tablevaluefactors)) * ff_v_fsat_cancel_exists_tablevaluefactorsfactorization_product) + (mt_index_cancel_exists_table))) /\ forall ff_i_fsat_cancel_exists_tablevaluefactorsfactorization_product. (exists ff_lt_fsat_cancel_exists_tablevaluefactorsfactorization_product_bound. ff_lt_fsat_cancel_exists_tablevaluefactorsfactorization_product_bound + S ff_i_fsat_cancel_exists_tablevaluefactorsfactorization_product = mv_factor_count_cancel_exists_tablevaluefactors) -> exists ff_p_fsat_cancel_exists_tablevaluefactorsfactorization_product ff_r_fsat_cancel_exists_tablevaluefactorsfactorization_product ff_s_fsat_cancel_exists_tablevaluefactorsfactorization_product. ((((exists ff_h_fsat_cancel_exists_tablevaluefactorsfactorization_product_factor. ff_h_fsat_cancel_exists_tablevaluefactorsfactorization_product_factor + S (ff_p_fsat_cancel_exists_tablevaluefactorsfactorization_product) = S ((S (ff_i_fsat_cancel_exists_tablevaluefactorsfactorization_product)) * mv_factor_scale_cancel_exists_tablevaluefactors)) /\ exists ff_q_fsat_cancel_exists_tablevaluefactorsfactorization_product_factor. mv_factor_code_cancel_exists_tablevaluefactors = ff_q_fsat_cancel_exists_tablevaluefactorsfactorization_product_factor * S ((S (ff_i_fsat_cancel_exists_tablevaluefactorsfactorization_product)) * mv_factor_scale_cancel_exists_tablevaluefactors) + (ff_p_fsat_cancel_exists_tablevaluefactorsfactorization_product))) /\ ((((exists ff_h_fsat_cancel_exists_tablevaluefactorsfactorization_product_partial. ff_h_fsat_cancel_exists_tablevaluefactorsfactorization_product_partial + S (ff_r_fsat_cancel_exists_tablevaluefactorsfactorization_product) = S ((S (ff_i_fsat_cancel_exists_tablevaluefactorsfactorization_product)) * ff_v_fsat_cancel_exists_tablevaluefactorsfactorization_product)) /\ exists ff_q_fsat_cancel_exists_tablevaluefactorsfactorization_product_partial. ff_u_fsat_cancel_exists_tablevaluefactorsfactorization_product = ff_q_fsat_cancel_exists_tablevaluefactorsfactorization_product_partial * S ((S (ff_i_fsat_cancel_exists_tablevaluefactorsfactorization_product)) * ff_v_fsat_cancel_exists_tablevaluefactorsfactorization_product) + (ff_r_fsat_cancel_exists_tablevaluefactorsfactorization_product))) /\ ((((exists ff_h_fsat_cancel_exists_tablevaluefactorsfactorization_product_successor. ff_h_fsat_cancel_exists_tablevaluefactorsfactorization_product_successor + S (ff_s_fsat_cancel_exists_tablevaluefactorsfactorization_product) = S ((S (S ff_i_fsat_cancel_exists_tablevaluefactorsfactorization_product)) * ff_v_fsat_cancel_exists_tablevaluefactorsfactorization_product)) /\ exists ff_q_fsat_cancel_exists_tablevaluefactorsfactorization_product_successor. ff_u_fsat_cancel_exists_tablevaluefactorsfactorization_product = ff_q_fsat_cancel_exists_tablevaluefactorsfactorization_product_successor * S ((S (S ff_i_fsat_cancel_exists_tablevaluefactorsfactorization_product)) * ff_v_fsat_cancel_exists_tablevaluefactorsfactorization_product) + (ff_s_fsat_cancel_exists_tablevaluefactorsfactorization_product))) /\ ff_s_fsat_cancel_exists_tablevaluefactorsfactorization_product = ff_r_fsat_cancel_exists_tablevaluefactorsfactorization_product * ff_p_fsat_cancel_exists_tablevaluefactorsfactorization_product)))))) /\ (forall ftsf_index_fsat_cancel_exists_tablevaluefactorsfactorization_primes. (exists ftsf_gap_fsat_cancel_exists_tablevaluefactorsfactorization_primes_bound. ftsf_gap_fsat_cancel_exists_tablevaluefactorsfactorization_primes_bound + S ftsf_index_fsat_cancel_exists_tablevaluefactorsfactorization_primes = (mv_factor_count_cancel_exists_tablevaluefactors)) -> exists ftsf_factor_fsat_cancel_exists_tablevaluefactorsfactorization_primes. ((((exists ff_h_ftsf_fsat_cancel_exists_tablevaluefactorsfactorization_primes_entry. ff_h_ftsf_fsat_cancel_exists_tablevaluefactorsfactorization_primes_entry + S (ftsf_factor_fsat_cancel_exists_tablevaluefactorsfactorization_primes) = S ((S (ftsf_index_fsat_cancel_exists_tablevaluefactorsfactorization_primes)) * mv_factor_scale_cancel_exists_tablevaluefactors)) /\ exists ff_q_ftsf_fsat_cancel_exists_tablevaluefactorsfactorization_primes_entry. mv_factor_code_cancel_exists_tablevaluefactors = ff_q_ftsf_fsat_cancel_exists_tablevaluefactorsfactorization_primes_entry * S ((S (ftsf_index_fsat_cancel_exists_tablevaluefactorsfactorization_primes)) * mv_factor_scale_cancel_exists_tablevaluefactors) + (ftsf_factor_fsat_cancel_exists_tablevaluefactorsfactorization_primes))) /\ ((~(ftsf_factor_fsat_cancel_exists_tablevaluefactorsfactorization_primes = 1) /\ forall frm_prime_left_ftsf_fsat_cancel_exists_tablevaluefactorsfactorization_primes_prime frm_prime_right_ftsf_fsat_cancel_exists_tablevaluefactorsfactorization_primes_prime. ftsf_factor_fsat_cancel_exists_tablevaluefactorsfactorization_primes = frm_prime_left_ftsf_fsat_cancel_exists_tablevaluefactorsfactorization_primes_prime * frm_prime_right_ftsf_fsat_cancel_exists_tablevaluefactorsfactorization_primes_prime -> frm_prime_left_ftsf_fsat_cancel_exists_tablevaluefactorsfactorization_primes_prime = 1 \/ frm_prime_right_ftsf_fsat_cancel_exists_tablevaluefactorsfactorization_primes_prime = 1))))))) /\ ((((exists mv_even_half_cancel_exists_tablevaluefactorsparityeven. (mv_factor_count_cancel_exists_tablevaluefactors) = 2 * mv_even_half_cancel_exists_tablevaluefactorsparityeven) /\ ((mt_value_cancel_exists_table) = 2))) \/ (((exists mv_odd_half_cancel_exists_tablevaluefactorsparityodd. (mv_factor_count_cancel_exists_tablevaluefactors) = 2 * mv_odd_half_cancel_exists_tablevaluefactorsparityodd + 1) /\ ((mt_value_cancel_exists_table) = 1)))))))))))))))) /\ (((((~((n)=0)) /\ (exists dm_mask_table_cancel_exists_sum. ((((exists dst_positive_code_cancel_exists_summasktable dst_positive_scale_cancel_exists_summasktable dst_negative_code_cancel_exists_summasktable dst_negative_scale_cancel_exists_summasktable. (((dm_mask_table_cancel_exists_sum) = (((((dst_positive_code_cancel_exists_summasktable) + (dst_positive_scale_cancel_exists_summasktable)) * S ((dst_positive_code_cancel_exists_summasktable) + (dst_positive_scale_cancel_exists_summasktable)) + ((dst_positive_scale_cancel_exists_summasktable) + (dst_positive_scale_cancel_exists_summasktable))) + (((dst_negative_code_cancel_exists_summasktable) + (dst_negative_scale_cancel_exists_summasktable)) * S ((dst_negative_code_cancel_exists_summasktable) + (dst_negative_scale_cancel_exists_summasktable)) + ((dst_negative_scale_cancel_exists_summasktable) + (dst_negative_scale_cancel_exists_summasktable)))) * S ((((dst_positive_code_cancel_exists_summasktable) + (dst_positive_scale_cancel_exists_summasktable)) * S ((dst_positive_code_cancel_exists_summasktable) + (dst_positive_scale_cancel_exists_summasktable)) + ((dst_positive_scale_cancel_exists_summasktable) + (dst_positive_scale_cancel_exists_summasktable))) + (((dst_negative_code_cancel_exists_summasktable) + (dst_negative_scale_cancel_exists_summasktable)) * S ((dst_negative_code_cancel_exists_summasktable) + (dst_negative_scale_cancel_exists_summasktable)) + ((dst_negative_scale_cancel_exists_summasktable) + (dst_negative_scale_cancel_exists_summasktable)))) + ((((dst_negative_code_cancel_exists_summasktable) + (dst_negative_scale_cancel_exists_summasktable)) * S ((dst_negative_code_cancel_exists_summasktable) + (dst_negative_scale_cancel_exists_summasktable)) + ((dst_negative_scale_cancel_exists_summasktable) + (dst_negative_scale_cancel_exists_summasktable))) + (((dst_negative_code_cancel_exists_summasktable) + (dst_negative_scale_cancel_exists_summasktable)) * S ((dst_negative_code_cancel_exists_summasktable) + (dst_negative_scale_cancel_exists_summasktable)) + ((dst_negative_scale_cancel_exists_summasktable) + (dst_negative_scale_cancel_exists_summasktable)))))) /\ (forall dst_index_cancel_exists_summasktable. (exists pvs_le_gap_cancel_exists_summasktabledomain. pvs_le_gap_cancel_exists_summasktabledomain + (dst_index_cancel_exists_summasktable) = (n)) -> exists dst_positive_cancel_exists_summasktable dst_negative_cancel_exists_summasktable dst_value_cancel_exists_summasktable. ((((exists ff_h_pvs_cancel_exists_summasktableentrypositive. ff_h_pvs_cancel_exists_summasktableentrypositive + S (dst_positive_cancel_exists_summasktable) = S ((S (dst_index_cancel_exists_summasktable)) * dst_positive_scale_cancel_exists_summasktable)) /\ exists ff_q_pvs_cancel_exists_summasktableentrypositive. dst_positive_code_cancel_exists_summasktable = ff_q_pvs_cancel_exists_summasktableentrypositive * S ((S (dst_index_cancel_exists_summasktable)) * dst_positive_scale_cancel_exists_summasktable) + (dst_positive_cancel_exists_summasktable))) /\ (((((exists ff_h_pvs_cancel_exists_summasktableentrynegative. ff_h_pvs_cancel_exists_summasktableentrynegative + S (dst_negative_cancel_exists_summasktable) = S ((S (dst_index_cancel_exists_summasktable)) * dst_negative_scale_cancel_exists_summasktable)) /\ exists ff_q_pvs_cancel_exists_summasktableentrynegative. dst_negative_code_cancel_exists_summasktable = ff_q_pvs_cancel_exists_summasktableentrynegative * S ((S (dst_index_cancel_exists_summasktable)) * dst_negative_scale_cancel_exists_summasktable) + (dst_negative_cancel_exists_summasktable))) /\ (exists ge_balance_positive_cancel_exists_summasktableentryvalue ge_balance_negative_cancel_exists_summasktableentryvalue. (((((dst_value_cancel_exists_summasktable) = 2 * (ge_balance_positive_cancel_exists_summasktableentryvalue) /\ (ge_balance_negative_cancel_exists_summasktableentryvalue) = 0) \/ exists ge_signed_half_cancel_exists_summasktableentryvaluedecode. (((dst_value_cancel_exists_summasktable) = 2 * ge_signed_half_cancel_exists_summasktableentryvaluedecode + 1 /\ (ge_balance_positive_cancel_exists_summasktableentryvalue) = 0) /\ (ge_balance_negative_cancel_exists_summasktableentryvalue) = S ge_signed_half_cancel_exists_summasktableentryvaluedecode))) /\ ((dst_positive_cancel_exists_summasktable) + ge_balance_negative_cancel_exists_summasktableentryvalue = (dst_negative_cancel_exists_summasktable) + ge_balance_positive_cancel_exists_summasktableentryvalue))))))))) /\ (forall dm_index_cancel_exists_summask dm_value_cancel_exists_summask. (exists pvs_le_gap_cancel_exists_summaskdomain. pvs_le_gap_cancel_exists_summaskdomain + (dm_index_cancel_exists_summask) = (n)) -> (exists dst_positive_code_cancel_exists_summasklookup dst_positive_scale_cancel_exists_summasklookup dst_negative_code_cancel_exists_summasklookup dst_negative_scale_cancel_exists_summasklookup dst_positive_cancel_exists_summasklookup dst_negative_cancel_exists_summasklookup. (((dm_mask_table_cancel_exists_sum) = (((((dst_positive_code_cancel_exists_summasklookup) + (dst_positive_scale_cancel_exists_summasklookup)) * S ((dst_positive_code_cancel_exists_summasklookup) + (dst_positive_scale_cancel_exists_summasklookup)) + ((dst_positive_scale_cancel_exists_summasklookup) + (dst_positive_scale_cancel_exists_summasklookup))) + (((dst_negative_code_cancel_exists_summasklookup) + (dst_negative_scale_cancel_exists_summasklookup)) * S ((dst_negative_code_cancel_exists_summasklookup) + (dst_negative_scale_cancel_exists_summasklookup)) + ((dst_negative_scale_cancel_exists_summasklookup) + (dst_negative_scale_cancel_exists_summasklookup)))) * S ((((dst_positive_code_cancel_exists_summasklookup) + (dst_positive_scale_cancel_exists_summasklookup)) * S ((dst_positive_code_cancel_exists_summasklookup) + (dst_positive_scale_cancel_exists_summasklookup)) + ((dst_positive_scale_cancel_exists_summasklookup) + (dst_positive_scale_cancel_exists_summasklookup))) + (((dst_negative_code_cancel_exists_summasklookup) + (dst_negative_scale_cancel_exists_summasklookup)) * S ((dst_negative_code_cancel_exists_summasklookup) + (dst_negative_scale_cancel_exists_summasklookup)) + ((dst_negative_scale_cancel_exists_summasklookup) + (dst_negative_scale_cancel_exists_summasklookup)))) + ((((dst_negative_code_cancel_exists_summasklookup) + (dst_negative_scale_cancel_exists_summasklookup)) * S ((dst_negative_code_cancel_exists_summasklookup) + (dst_negative_scale_cancel_exists_summasklookup)) + ((dst_negative_scale_cancel_exists_summasklookup) + (dst_negative_scale_cancel_exists_summasklookup))) + (((dst_negative_code_cancel_exists_summasklookup) + (dst_negative_scale_cancel_exists_summasklookup)) * S ((dst_negative_code_cancel_exists_summasklookup) + (dst_negative_scale_cancel_exists_summasklookup)) + ((dst_negative_scale_cancel_exists_summasklookup) + (dst_negative_scale_cancel_exists_summasklookup)))))) /\ (((((exists ff_h_pvs_cancel_exists_summasklookuppositive. ff_h_pvs_cancel_exists_summasklookuppositive + S (dst_positive_cancel_exists_summasklookup) = S ((S (dm_index_cancel_exists_summask)) * dst_positive_scale_cancel_exists_summasklookup)) /\ exists ff_q_pvs_cancel_exists_summasklookuppositive. dst_positive_code_cancel_exists_summasklookup = ff_q_pvs_cancel_exists_summasklookuppositive * S ((S (dm_index_cancel_exists_summask)) * dst_positive_scale_cancel_exists_summasklookup) + (dst_positive_cancel_exists_summasklookup))) /\ (((((exists ff_h_pvs_cancel_exists_summasklookupnegative. ff_h_pvs_cancel_exists_summasklookupnegative + S (dst_negative_cancel_exists_summasklookup) = S ((S (dm_index_cancel_exists_summask)) * dst_negative_scale_cancel_exists_summasklookup)) /\ exists ff_q_pvs_cancel_exists_summasklookupnegative. dst_negative_code_cancel_exists_summasklookup = ff_q_pvs_cancel_exists_summasklookupnegative * S ((S (dm_index_cancel_exists_summask)) * dst_negative_scale_cancel_exists_summasklookup) + (dst_negative_cancel_exists_summasklookup))) /\ (exists ge_balance_positive_cancel_exists_summasklookupvalue ge_balance_negative_cancel_exists_summasklookupvalue. (((((dm_value_cancel_exists_summask) = 2 * (ge_balance_positive_cancel_exists_summasklookupvalue) /\ (ge_balance_negative_cancel_exists_summasklookupvalue) = 0) \/ exists ge_signed_half_cancel_exists_summasklookupvaluedecode. (((dm_value_cancel_exists_summask) = 2 * ge_signed_half_cancel_exists_summasklookupvaluedecode + 1 /\ (ge_balance_positive_cancel_exists_summasklookupvalue) = 0) /\ (ge_balance_negative_cancel_exists_summasklookupvalue) = S ge_signed_half_cancel_exists_summasklookupvaluedecode))) /\ ((dst_positive_cancel_exists_summasklookup) + ge_balance_negative_cancel_exists_summasklookupvalue = (dst_negative_cancel_exists_summasklookup) + ge_balance_positive_cancel_exists_summasklookupvalue))))))))) -> ((((~((dm_index_cancel_exists_summask)=0)) /\ (exists dm_quotient_cancel_exists_summaskentry. (((n)=(dm_index_cancel_exists_summask)*dm_quotient_cancel_exists_summaskentry) /\ (exists dst_positive_code_cancel_exists_summaskentryinput dst_positive_scale_cancel_exists_summaskentryinput dst_negative_code_cancel_exists_summaskentryinput dst_negative_scale_cancel_exists_summaskentryinput dst_positive_cancel_exists_summaskentryinput dst_negative_cancel_exists_summaskentryinput. (((M) = (((((dst_positive_code_cancel_exists_summaskentryinput) + (dst_positive_scale_cancel_exists_summaskentryinput)) * S ((dst_positive_code_cancel_exists_summaskentryinput) + (dst_positive_scale_cancel_exists_summaskentryinput)) + ((dst_positive_scale_cancel_exists_summaskentryinput) + (dst_positive_scale_cancel_exists_summaskentryinput))) + (((dst_negative_code_cancel_exists_summaskentryinput) + (dst_negative_scale_cancel_exists_summaskentryinput)) * S ((dst_negative_code_cancel_exists_summaskentryinput) + (dst_negative_scale_cancel_exists_summaskentryinput)) + ((dst_negative_scale_cancel_exists_summaskentryinput) + (dst_negative_scale_cancel_exists_summaskentryinput)))) * S ((((dst_positive_code_cancel_exists_summaskentryinput) + (dst_positive_scale_cancel_exists_summaskentryinput)) * S ((dst_positive_code_cancel_exists_summaskentryinput) + (dst_positive_scale_cancel_exists_summaskentryinput)) + ((dst_positive_scale_cancel_exists_summaskentryinput) + (dst_positive_scale_cancel_exists_summaskentryinput))) + (((dst_negative_code_cancel_exists_summaskentryinput) + (dst_negative_scale_cancel_exists_summaskentryinput)) * S ((dst_negative_code_cancel_exists_summaskentryinput) + (dst_negative_scale_cancel_exists_summaskentryinput)) + ((dst_negative_scale_cancel_exists_summaskentryinput) + (dst_negative_scale_cancel_exists_summaskentryinput)))) + ((((dst_negative_code_cancel_exists_summaskentryinput) + (dst_negative_scale_cancel_exists_summaskentryinput)) * S ((dst_negative_code_cancel_exists_summaskentryinput) + (dst_negative_scale_cancel_exists_summaskentryinput)) + ((dst_negative_scale_cancel_exists_summaskentryinput) + (dst_negative_scale_cancel_exists_summaskentryinput))) + (((dst_negative_code_cancel_exists_summaskentryinput) + (dst_negative_scale_cancel_exists_summaskentryinput)) * S ((dst_negative_code_cancel_exists_summaskentryinput) + (dst_negative_scale_cancel_exists_summaskentryinput)) + ((dst_negative_scale_cancel_exists_summaskentryinput) + (dst_negative_scale_cancel_exists_summaskentryinput)))))) /\ (((((exists ff_h_pvs_cancel_exists_summaskentryinputpositive. ff_h_pvs_cancel_exists_summaskentryinputpositive + S (dst_positive_cancel_exists_summaskentryinput) = S ((S (dm_index_cancel_exists_summask)) * dst_positive_scale_cancel_exists_summaskentryinput)) /\ exists ff_q_pvs_cancel_exists_summaskentryinputpositive. dst_positive_code_cancel_exists_summaskentryinput = ff_q_pvs_cancel_exists_summaskentryinputpositive * S ((S (dm_index_cancel_exists_summask)) * dst_positive_scale_cancel_exists_summaskentryinput) + (dst_positive_cancel_exists_summaskentryinput))) /\ (((((exists ff_h_pvs_cancel_exists_summaskentryinputnegative. ff_h_pvs_cancel_exists_summaskentryinputnegative + S (dst_negative_cancel_exists_summaskentryinput) = S ((S (dm_index_cancel_exists_summask)) * dst_negative_scale_cancel_exists_summaskentryinput)) /\ exists ff_q_pvs_cancel_exists_summaskentryinputnegative. dst_negative_code_cancel_exists_summaskentryinput = ff_q_pvs_cancel_exists_summaskentryinputnegative * S ((S (dm_index_cancel_exists_summask)) * dst_negative_scale_cancel_exists_summaskentryinput) + (dst_negative_cancel_exists_summaskentryinput))) /\ (exists ge_balance_positive_cancel_exists_summaskentryinputvalue ge_balance_negative_cancel_exists_summaskentryinputvalue. (((((dm_value_cancel_exists_summask) = 2 * (ge_balance_positive_cancel_exists_summaskentryinputvalue) /\ (ge_balance_negative_cancel_exists_summaskentryinputvalue) = 0) \/ exists ge_signed_half_cancel_exists_summaskentryinputvaluedecode. (((dm_value_cancel_exists_summask) = 2 * ge_signed_half_cancel_exists_summaskentryinputvaluedecode + 1 /\ (ge_balance_positive_cancel_exists_summaskentryinputvalue) = 0) /\ (ge_balance_negative_cancel_exists_summaskentryinputvalue) = S ge_signed_half_cancel_exists_summaskentryinputvaluedecode))) /\ ((dst_positive_cancel_exists_summaskentryinput) + ge_balance_negative_cancel_exists_summaskentryinputvalue = (dst_negative_cancel_exists_summaskentryinput) + ge_balance_positive_cancel_exists_summaskentryinputvalue))))))))))))) \/ ((((dm_index_cancel_exists_summask)=0 \/ ~(exists pvs_factor_cancel_exists_summaskentrynondivisor. (n) = (dm_index_cancel_exists_summask) * pvs_factor_cancel_exists_summaskentrynondivisor)) /\ ((dm_value_cancel_exists_summask)=0))))))) /\ (exists dst_positive_code_cancel_exists_sumfold dst_positive_scale_cancel_exists_sumfold dst_negative_code_cancel_exists_sumfold dst_negative_scale_cancel_exists_sumfold dst_positive_sum_cancel_exists_sumfold dst_negative_sum_cancel_exists_sumfold. (((dm_mask_table_cancel_exists_sum) = (((((dst_positive_code_cancel_exists_sumfold) + (dst_positive_scale_cancel_exists_sumfold)) * S ((dst_positive_code_cancel_exists_sumfold) + (dst_positive_scale_cancel_exists_sumfold)) + ((dst_positive_scale_cancel_exists_sumfold) + (dst_positive_scale_cancel_exists_sumfold))) + (((dst_negative_code_cancel_exists_sumfold) + (dst_negative_scale_cancel_exists_sumfold)) * S ((dst_negative_code_cancel_exists_sumfold) + (dst_negative_scale_cancel_exists_sumfold)) + ((dst_negative_scale_cancel_exists_sumfold) + (dst_negative_scale_cancel_exists_sumfold)))) * S ((((dst_positive_code_cancel_exists_sumfold) + (dst_positive_scale_cancel_exists_sumfold)) * S ((dst_positive_code_cancel_exists_sumfold) + (dst_positive_scale_cancel_exists_sumfold)) + ((dst_positive_scale_cancel_exists_sumfold) + (dst_positive_scale_cancel_exists_sumfold))) + (((dst_negative_code_cancel_exists_sumfold) + (dst_negative_scale_cancel_exists_sumfold)) * S ((dst_negative_code_cancel_exists_sumfold) + (dst_negative_scale_cancel_exists_sumfold)) + ((dst_negative_scale_cancel_exists_sumfold) + (dst_negative_scale_cancel_exists_sumfold)))) + ((((dst_negative_code_cancel_exists_sumfold) + (dst_negative_scale_cancel_exists_sumfold)) * S ((dst_negative_code_cancel_exists_sumfold) + (dst_negative_scale_cancel_exists_sumfold)) + ((dst_negative_scale_cancel_exists_sumfold) + (dst_negative_scale_cancel_exists_sumfold))) + (((dst_negative_code_cancel_exists_sumfold) + (dst_negative_scale_cancel_exists_sumfold)) * S ((dst_negative_code_cancel_exists_sumfold) + (dst_negative_scale_cancel_exists_sumfold)) + ((dst_negative_scale_cancel_exists_sumfold) + (dst_negative_scale_cancel_exists_sumfold)))))) /\ (((exists fs_u_dst_cancel_exists_sumfoldpositive fs_v_dst_cancel_exists_sumfoldpositive. ((((exists fs_h_dst_cancel_exists_sumfoldpositive_body_start. fs_h_dst_cancel_exists_sumfoldpositive_body_start + S (0) = S ((S (0)) * fs_v_dst_cancel_exists_sumfoldpositive)) /\ exists fs_q_dst_cancel_exists_sumfoldpositive_body_start. fs_u_dst_cancel_exists_sumfoldpositive = fs_q_dst_cancel_exists_sumfoldpositive_body_start * S ((S (0)) * fs_v_dst_cancel_exists_sumfoldpositive) + (0))) /\ ((((exists fs_h_dst_cancel_exists_sumfoldpositive_body_terminal. fs_h_dst_cancel_exists_sumfoldpositive_body_terminal + S (dst_positive_sum_cancel_exists_sumfold) = S ((S (S (n))) * fs_v_dst_cancel_exists_sumfoldpositive)) /\ exists fs_q_dst_cancel_exists_sumfoldpositive_body_terminal. fs_u_dst_cancel_exists_sumfoldpositive = fs_q_dst_cancel_exists_sumfoldpositive_body_terminal * S ((S (S (n))) * fs_v_dst_cancel_exists_sumfoldpositive) + (dst_positive_sum_cancel_exists_sumfold))) /\ forall fs_i_dst_cancel_exists_sumfoldpositive_body_steps. (exists fs_lt_dst_cancel_exists_sumfoldpositive_body_steps_bound. fs_lt_dst_cancel_exists_sumfoldpositive_body_steps_bound + S fs_i_dst_cancel_exists_sumfoldpositive_body_steps = S (n)) -> exists fs_a_dst_cancel_exists_sumfoldpositive_body_steps fs_r_dst_cancel_exists_sumfoldpositive_body_steps fs_s_dst_cancel_exists_sumfoldpositive_body_steps. ((((exists fs_h_dst_cancel_exists_sumfoldpositive_body_steps_summand. fs_h_dst_cancel_exists_sumfoldpositive_body_steps_summand + S (fs_a_dst_cancel_exists_sumfoldpositive_body_steps) = S ((S (fs_i_dst_cancel_exists_sumfoldpositive_body_steps)) * dst_positive_scale_cancel_exists_sumfold)) /\ exists fs_q_dst_cancel_exists_sumfoldpositive_body_steps_summand. dst_positive_code_cancel_exists_sumfold = fs_q_dst_cancel_exists_sumfoldpositive_body_steps_summand * S ((S (fs_i_dst_cancel_exists_sumfoldpositive_body_steps)) * dst_positive_scale_cancel_exists_sumfold) + (fs_a_dst_cancel_exists_sumfoldpositive_body_steps))) /\ ((((exists fs_h_dst_cancel_exists_sumfoldpositive_body_steps_partial. fs_h_dst_cancel_exists_sumfoldpositive_body_steps_partial + S (fs_r_dst_cancel_exists_sumfoldpositive_body_steps) = S ((S (fs_i_dst_cancel_exists_sumfoldpositive_body_steps)) * fs_v_dst_cancel_exists_sumfoldpositive)) /\ exists fs_q_dst_cancel_exists_sumfoldpositive_body_steps_partial. fs_u_dst_cancel_exists_sumfoldpositive = fs_q_dst_cancel_exists_sumfoldpositive_body_steps_partial * S ((S (fs_i_dst_cancel_exists_sumfoldpositive_body_steps)) * fs_v_dst_cancel_exists_sumfoldpositive) + (fs_r_dst_cancel_exists_sumfoldpositive_body_steps))) /\ ((((exists fs_h_dst_cancel_exists_sumfoldpositive_body_steps_successor. fs_h_dst_cancel_exists_sumfoldpositive_body_steps_successor + S (fs_s_dst_cancel_exists_sumfoldpositive_body_steps) = S ((S (S fs_i_dst_cancel_exists_sumfoldpositive_body_steps)) * fs_v_dst_cancel_exists_sumfoldpositive)) /\ exists fs_q_dst_cancel_exists_sumfoldpositive_body_steps_successor. fs_u_dst_cancel_exists_sumfoldpositive = fs_q_dst_cancel_exists_sumfoldpositive_body_steps_successor * S ((S (S fs_i_dst_cancel_exists_sumfoldpositive_body_steps)) * fs_v_dst_cancel_exists_sumfoldpositive) + (fs_s_dst_cancel_exists_sumfoldpositive_body_steps))) /\ fs_s_dst_cancel_exists_sumfoldpositive_body_steps = fs_r_dst_cancel_exists_sumfoldpositive_body_steps + fs_a_dst_cancel_exists_sumfoldpositive_body_steps)))))) /\ (((exists fs_u_dst_cancel_exists_sumfoldnegative fs_v_dst_cancel_exists_sumfoldnegative. ((((exists fs_h_dst_cancel_exists_sumfoldnegative_body_start. fs_h_dst_cancel_exists_sumfoldnegative_body_start + S (0) = S ((S (0)) * fs_v_dst_cancel_exists_sumfoldnegative)) /\ exists fs_q_dst_cancel_exists_sumfoldnegative_body_start. fs_u_dst_cancel_exists_sumfoldnegative = fs_q_dst_cancel_exists_sumfoldnegative_body_start * S ((S (0)) * fs_v_dst_cancel_exists_sumfoldnegative) + (0))) /\ ((((exists fs_h_dst_cancel_exists_sumfoldnegative_body_terminal. fs_h_dst_cancel_exists_sumfoldnegative_body_terminal + S (dst_negative_sum_cancel_exists_sumfold) = S ((S (S (n))) * fs_v_dst_cancel_exists_sumfoldnegative)) /\ exists fs_q_dst_cancel_exists_sumfoldnegative_body_terminal. fs_u_dst_cancel_exists_sumfoldnegative = fs_q_dst_cancel_exists_sumfoldnegative_body_terminal * S ((S (S (n))) * fs_v_dst_cancel_exists_sumfoldnegative) + (dst_negative_sum_cancel_exists_sumfold))) /\ forall fs_i_dst_cancel_exists_sumfoldnegative_body_steps. (exists fs_lt_dst_cancel_exists_sumfoldnegative_body_steps_bound. fs_lt_dst_cancel_exists_sumfoldnegative_body_steps_bound + S fs_i_dst_cancel_exists_sumfoldnegative_body_steps = S (n)) -> exists fs_a_dst_cancel_exists_sumfoldnegative_body_steps fs_r_dst_cancel_exists_sumfoldnegative_body_steps fs_s_dst_cancel_exists_sumfoldnegative_body_steps. ((((exists fs_h_dst_cancel_exists_sumfoldnegative_body_steps_summand. fs_h_dst_cancel_exists_sumfoldnegative_body_steps_summand + S (fs_a_dst_cancel_exists_sumfoldnegative_body_steps) = S ((S (fs_i_dst_cancel_exists_sumfoldnegative_body_steps)) * dst_negative_scale_cancel_exists_sumfold)) /\ exists fs_q_dst_cancel_exists_sumfoldnegative_body_steps_summand. dst_negative_code_cancel_exists_sumfold = fs_q_dst_cancel_exists_sumfoldnegative_body_steps_summand * S ((S (fs_i_dst_cancel_exists_sumfoldnegative_body_steps)) * dst_negative_scale_cancel_exists_sumfold) + (fs_a_dst_cancel_exists_sumfoldnegative_body_steps))) /\ ((((exists fs_h_dst_cancel_exists_sumfoldnegative_body_steps_partial. fs_h_dst_cancel_exists_sumfoldnegative_body_steps_partial + S (fs_r_dst_cancel_exists_sumfoldnegative_body_steps) = S ((S (fs_i_dst_cancel_exists_sumfoldnegative_body_steps)) * fs_v_dst_cancel_exists_sumfoldnegative)) /\ exists fs_q_dst_cancel_exists_sumfoldnegative_body_steps_partial. fs_u_dst_cancel_exists_sumfoldnegative = fs_q_dst_cancel_exists_sumfoldnegative_body_steps_partial * S ((S (fs_i_dst_cancel_exists_sumfoldnegative_body_steps)) * fs_v_dst_cancel_exists_sumfoldnegative) + (fs_r_dst_cancel_exists_sumfoldnegative_body_steps))) /\ ((((exists fs_h_dst_cancel_exists_sumfoldnegative_body_steps_successor. fs_h_dst_cancel_exists_sumfoldnegative_body_steps_successor + S (fs_s_dst_cancel_exists_sumfoldnegative_body_steps) = S ((S (S fs_i_dst_cancel_exists_sumfoldnegative_body_steps)) * fs_v_dst_cancel_exists_sumfoldnegative)) /\ exists fs_q_dst_cancel_exists_sumfoldnegative_body_steps_successor. fs_u_dst_cancel_exists_sumfoldnegative = fs_q_dst_cancel_exists_sumfoldnegative_body_steps_successor * S ((S (S fs_i_dst_cancel_exists_sumfoldnegative_body_steps)) * fs_v_dst_cancel_exists_sumfoldnegative) + (fs_s_dst_cancel_exists_sumfoldnegative_body_steps))) /\ fs_s_dst_cancel_exists_sumfoldnegative_body_steps = fs_r_dst_cancel_exists_sumfoldnegative_body_steps + fs_a_dst_cancel_exists_sumfoldnegative_body_steps)))))) /\ (exists ge_balance_positive_cancel_exists_sumfoldresult ge_balance_negative_cancel_exists_sumfoldresult. (((((z) = 2 * (ge_balance_positive_cancel_exists_sumfoldresult) /\ (ge_balance_negative_cancel_exists_sumfoldresult) = 0) \/ exists ge_signed_half_cancel_exists_sumfoldresultdecode. (((z) = 2 * ge_signed_half_cancel_exists_sumfoldresultdecode + 1 /\ (ge_balance_positive_cancel_exists_sumfoldresult) = 0) /\ (ge_balance_negative_cancel_exists_sumfoldresult) = S ge_signed_half_cancel_exists_sumfoldresultdecode))) /\ ((dst_positive_sum_cancel_exists_sumfold) + ge_balance_negative_cancel_exists_sumfoldresult = (dst_negative_sum_cancel_exists_sumfold) + ge_balance_positive_cancel_exists_sumfoldresult))))))))))))) /\ (((n)=1 /\ (z)=2) \/ (~((n)=1) /\ (z)=0))))))

Complete tactic proof in conservative notation

All 37 original proof lines are preserved. Only local proposition formulas are abbreviated; every abbreviation has an exact binder-safe expansion check. The linked exact edition contains the unchanged replay script.

Read the argument

Proof checkpoints

37 script commands · 15 reading checkpoints · 3 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–2

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

  1. L1
    intro n
  2. L2
    intro hn
02Establish hmL3–5

Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mobius table exists.

  1. L3
    have hm : ∃ M. MobiusTable(n,M)Definitions: MobiusTable(n,M)Original native command in the exact edition
  2. L4
    specialize mobius_table_exists (n)
  3. L5
    apply mobius_table_exists
03Separate the logical casesL6–6

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

  1. L6
    cases hm
04Establish hsL7–11

Establish this local claim before using it. It is not an additional assumption. The following proof commands apply signed divisor sum exists.

  1. L7
    have hs : ∃ z. DivisorSum(x,n,z)Definitions: DivisorSum(x,n,z)Original native command in the exact edition
  2. L8
    specialize signed_divisor_sum_exists (n)
  3. L9
    specialize signed_divisor_sum_exists (x)
  4. L10
    specialize signed_divisor_sum_exists (n)
  5. L11
    apply signed_divisor_sum_exists
05Separate the logical casesL12–13

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

  1. L12
    cases hm_witness
  2. L13
    cases hm_witness_right
06Use earlier factsL14–17

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

  1. L14
    exact hm_witness_left
  2. L15
    exact hn
  3. L16
    specialize le_refl (n)
  4. L17
    apply le_refl
07Separate the logical casesL18–18

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

  1. L18
    cases hs
08Construct an explicit witnessL19–20

Supply the displayed value, then prove that it has the required property.

  1. L19
    exists x
  2. L20
    exists x1
09Separate the logical casesL21–21

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

  1. L21
    split
10Use earlier factsL22–22

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

  1. L22
    exact hm_witness
11Separate the logical casesL23–23

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

  1. L23
    split
12Use earlier factsL24–24

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

  1. L24
    exact hs_witness
13Establish hiffL25–34

Establish this local claim before using it. It is not an additional assumption. The following proof commands apply mobius divisor sum cancellation.

  1. L25
    have hiff : (DivisorSum(x,n,x1) → n = 1 ∧ x1 = 2 ∨ ¬n = 1 ∧ x1 = 0) ∧ (n = 1 ∧ x1 = 2 ∨ ¬n = 1 ∧ x1 = 0 → DivisorSum(x,n,x1))Definitions: DivisorSum(x,n,x1)Original native command in the exact edition
  2. L26
    specialize mobius_divisor_sum_cancellation (n)
  3. L27
    specialize mobius_divisor_sum_cancellation (x)
  4. L28
    specialize mobius_divisor_sum_cancellation (n)
  5. L29
    specialize mobius_divisor_sum_cancellation (x1)
  6. L30
    apply mobius_divisor_sum_cancellation
  7. L31
    exact hm_witness
  8. L32
    exact hn
  9. L33
    specialize le_refl (n)
  10. L34
    apply le_refl
14Separate the logical casesL35–35

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

  1. L35
    cases hiff
15Use earlier factsL36–37

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

  1. L36
    apply hiff_left
  2. L37
    exact hs_witness

Library-wide reading audit

Original defined command ledger · 37 lines
  1. 0001intro n
  2. 0002intro hn
  3. 0003have hm : ∃ M. MobiusTable(n,M)
  4. 0004specialize mobius_table_exists (n)
  5. 0005apply mobius_table_exists
  6. 0006cases hm
  7. 0007have hs : ∃ z. DivisorSum(x,n,z)
  8. 0008specialize signed_divisor_sum_exists (n)
  9. 0009specialize signed_divisor_sum_exists (x)
  10. 0010specialize signed_divisor_sum_exists (n)
  11. 0011apply signed_divisor_sum_exists
  12. 0012cases hm_witness
  13. 0013cases hm_witness_right
  14. 0014exact hm_witness_left
  15. 0015exact hn
  16. 0016specialize le_refl (n)
  17. 0017apply le_refl
  18. 0018cases hs
  19. 0019exists x
  20. 0020exists x1
  21. 0021split
  22. 0022exact hm_witness
  23. 0023split
  24. 0024exact hs_witness
  25. 0025have hiff : (DivisorSum(x,n,x1) → n = 1 ∧ x1 = 2 ∨ ¬n = 1 ∧ x1 = 0) ∧ (n = 1 ∧ x1 = 2 ∨ ¬n = 1 ∧ x1 = 0 → DivisorSum(x,n,x1))
  26. 0026specialize mobius_divisor_sum_cancellation (n)
  27. 0027specialize mobius_divisor_sum_cancellation (x)
  28. 0028specialize mobius_divisor_sum_cancellation (n)
  29. 0029specialize mobius_divisor_sum_cancellation (x1)
  30. 0030apply mobius_divisor_sum_cancellation
  31. 0031exact hm_witness
  32. 0032exact hn
  33. 0033specialize le_refl (n)
  34. 0034apply le_refl
  35. 0035cases hiff
  36. 0036apply hiff_left
  37. 0037exact hs_witness