RS0017

signed_rectangular_sum_exists

Construct the whole row-sum table and then its actual finite sum; both finite dimensions are arbitrary.

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.

Every slice, row table, column table and signed sum is an actual beta-coded witness. Entries are F((o+s*i)+t*j), for i<m and j<n. Zero dimensions and zero strides are allowed; separately certified endpoints are unused. Table uniqueness concerns values, not codes. No infinite-sum assertion is made.

Exact theorem in conservative defined notation

∀ F. ∀ o. ∀ s. ∀ t. ∀ m. ∀ n. ArithTable(0,F) → ∃ x. SignedRectangularSum(F,o,s,t,m,n,x)

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

Definition DAG

Actual proof prerequisites

Original expanded first-order statement
forall F o s t m n. (exists dst_positive_code_sum_exists_source dst_positive_scale_sum_exists_source dst_negative_code_sum_exists_source dst_negative_scale_sum_exists_source. (((F) = (((((dst_positive_code_sum_exists_source) + (dst_positive_scale_sum_exists_source)) * S ((dst_positive_code_sum_exists_source) + (dst_positive_scale_sum_exists_source)) + ((dst_positive_scale_sum_exists_source) + (dst_positive_scale_sum_exists_source))) + (((dst_negative_code_sum_exists_source) + (dst_negative_scale_sum_exists_source)) * S ((dst_negative_code_sum_exists_source) + (dst_negative_scale_sum_exists_source)) + ((dst_negative_scale_sum_exists_source) + (dst_negative_scale_sum_exists_source)))) * S ((((dst_positive_code_sum_exists_source) + (dst_positive_scale_sum_exists_source)) * S ((dst_positive_code_sum_exists_source) + (dst_positive_scale_sum_exists_source)) + ((dst_positive_scale_sum_exists_source) + (dst_positive_scale_sum_exists_source))) + (((dst_negative_code_sum_exists_source) + (dst_negative_scale_sum_exists_source)) * S ((dst_negative_code_sum_exists_source) + (dst_negative_scale_sum_exists_source)) + ((dst_negative_scale_sum_exists_source) + (dst_negative_scale_sum_exists_source)))) + ((((dst_negative_code_sum_exists_source) + (dst_negative_scale_sum_exists_source)) * S ((dst_negative_code_sum_exists_source) + (dst_negative_scale_sum_exists_source)) + ((dst_negative_scale_sum_exists_source) + (dst_negative_scale_sum_exists_source))) + (((dst_negative_code_sum_exists_source) + (dst_negative_scale_sum_exists_source)) * S ((dst_negative_code_sum_exists_source) + (dst_negative_scale_sum_exists_source)) + ((dst_negative_scale_sum_exists_source) + (dst_negative_scale_sum_exists_source)))))) /\ (forall dst_index_sum_exists_source. (exists pvs_le_gap_sum_exists_sourcedomain. pvs_le_gap_sum_exists_sourcedomain + (dst_index_sum_exists_source) = (0)) -> exists dst_positive_sum_exists_source dst_negative_sum_exists_source dst_value_sum_exists_source. ((((exists ff_h_pvs_sum_exists_sourceentrypositive. ff_h_pvs_sum_exists_sourceentrypositive + S (dst_positive_sum_exists_source) = S ((S (dst_index_sum_exists_source)) * dst_positive_scale_sum_exists_source)) /\ exists ff_q_pvs_sum_exists_sourceentrypositive. dst_positive_code_sum_exists_source = ff_q_pvs_sum_exists_sourceentrypositive * S ((S (dst_index_sum_exists_source)) * dst_positive_scale_sum_exists_source) + (dst_positive_sum_exists_source))) /\ (((((exists ff_h_pvs_sum_exists_sourceentrynegative. ff_h_pvs_sum_exists_sourceentrynegative + S (dst_negative_sum_exists_source) = S ((S (dst_index_sum_exists_source)) * dst_negative_scale_sum_exists_source)) /\ exists ff_q_pvs_sum_exists_sourceentrynegative. dst_negative_code_sum_exists_source = ff_q_pvs_sum_exists_sourceentrynegative * S ((S (dst_index_sum_exists_source)) * dst_negative_scale_sum_exists_source) + (dst_negative_sum_exists_source))) /\ (exists ge_balance_positive_sum_exists_sourceentryvalue ge_balance_negative_sum_exists_sourceentryvalue. (((((dst_value_sum_exists_source) = 2 * (ge_balance_positive_sum_exists_sourceentryvalue) /\ (ge_balance_negative_sum_exists_sourceentryvalue) = 0) \/ exists ge_signed_half_sum_exists_sourceentryvaluedecode. (((dst_value_sum_exists_source) = 2 * ge_signed_half_sum_exists_sourceentryvaluedecode + 1 /\ (ge_balance_positive_sum_exists_sourceentryvalue) = 0) /\ (ge_balance_negative_sum_exists_sourceentryvalue) = S ge_signed_half_sum_exists_sourceentryvaluedecode))) /\ ((dst_positive_sum_exists_source) + ge_balance_negative_sum_exists_sourceentryvalue = (dst_negative_sum_exists_source) + ge_balance_positive_sum_exists_sourceentryvalue))))))))) -> exists z. (exists srt_rows_sum_exists_result. ((((exists dst_positive_code_sum_exists_resultrowssource_table dst_positive_scale_sum_exists_resultrowssource_table dst_negative_code_sum_exists_resultrowssource_table dst_negative_scale_sum_exists_resultrowssource_table. (((F) = (((((dst_positive_code_sum_exists_resultrowssource_table) + (dst_positive_scale_sum_exists_resultrowssource_table)) * S ((dst_positive_code_sum_exists_resultrowssource_table) + (dst_positive_scale_sum_exists_resultrowssource_table)) + ((dst_positive_scale_sum_exists_resultrowssource_table) + (dst_positive_scale_sum_exists_resultrowssource_table))) + (((dst_negative_code_sum_exists_resultrowssource_table) + (dst_negative_scale_sum_exists_resultrowssource_table)) * S ((dst_negative_code_sum_exists_resultrowssource_table) + (dst_negative_scale_sum_exists_resultrowssource_table)) + ((dst_negative_scale_sum_exists_resultrowssource_table) + (dst_negative_scale_sum_exists_resultrowssource_table)))) * S ((((dst_positive_code_sum_exists_resultrowssource_table) + (dst_positive_scale_sum_exists_resultrowssource_table)) * S ((dst_positive_code_sum_exists_resultrowssource_table) + (dst_positive_scale_sum_exists_resultrowssource_table)) + ((dst_positive_scale_sum_exists_resultrowssource_table) + (dst_positive_scale_sum_exists_resultrowssource_table))) + (((dst_negative_code_sum_exists_resultrowssource_table) + (dst_negative_scale_sum_exists_resultrowssource_table)) * S ((dst_negative_code_sum_exists_resultrowssource_table) + (dst_negative_scale_sum_exists_resultrowssource_table)) + ((dst_negative_scale_sum_exists_resultrowssource_table) + (dst_negative_scale_sum_exists_resultrowssource_table)))) + ((((dst_negative_code_sum_exists_resultrowssource_table) + (dst_negative_scale_sum_exists_resultrowssource_table)) * S ((dst_negative_code_sum_exists_resultrowssource_table) + (dst_negative_scale_sum_exists_resultrowssource_table)) + ((dst_negative_scale_sum_exists_resultrowssource_table) + (dst_negative_scale_sum_exists_resultrowssource_table))) + (((dst_negative_code_sum_exists_resultrowssource_table) + (dst_negative_scale_sum_exists_resultrowssource_table)) * S ((dst_negative_code_sum_exists_resultrowssource_table) + (dst_negative_scale_sum_exists_resultrowssource_table)) + ((dst_negative_scale_sum_exists_resultrowssource_table) + (dst_negative_scale_sum_exists_resultrowssource_table)))))) /\ (forall dst_index_sum_exists_resultrowssource_table. (exists pvs_le_gap_sum_exists_resultrowssource_tabledomain. pvs_le_gap_sum_exists_resultrowssource_tabledomain + (dst_index_sum_exists_resultrowssource_table) = (0)) -> exists dst_positive_sum_exists_resultrowssource_table dst_negative_sum_exists_resultrowssource_table dst_value_sum_exists_resultrowssource_table. ((((exists ff_h_pvs_sum_exists_resultrowssource_tableentrypositive. ff_h_pvs_sum_exists_resultrowssource_tableentrypositive + S (dst_positive_sum_exists_resultrowssource_table) = S ((S (dst_index_sum_exists_resultrowssource_table)) * dst_positive_scale_sum_exists_resultrowssource_table)) /\ exists ff_q_pvs_sum_exists_resultrowssource_tableentrypositive. dst_positive_code_sum_exists_resultrowssource_table = ff_q_pvs_sum_exists_resultrowssource_tableentrypositive * S ((S (dst_index_sum_exists_resultrowssource_table)) * dst_positive_scale_sum_exists_resultrowssource_table) + (dst_positive_sum_exists_resultrowssource_table))) /\ (((((exists ff_h_pvs_sum_exists_resultrowssource_tableentrynegative. ff_h_pvs_sum_exists_resultrowssource_tableentrynegative + S (dst_negative_sum_exists_resultrowssource_table) = S ((S (dst_index_sum_exists_resultrowssource_table)) * dst_negative_scale_sum_exists_resultrowssource_table)) /\ exists ff_q_pvs_sum_exists_resultrowssource_tableentrynegative. dst_negative_code_sum_exists_resultrowssource_table = ff_q_pvs_sum_exists_resultrowssource_tableentrynegative * S ((S (dst_index_sum_exists_resultrowssource_table)) * dst_negative_scale_sum_exists_resultrowssource_table) + (dst_negative_sum_exists_resultrowssource_table))) /\ (exists ge_balance_positive_sum_exists_resultrowssource_tableentryvalue ge_balance_negative_sum_exists_resultrowssource_tableentryvalue. (((((dst_value_sum_exists_resultrowssource_table) = 2 * (ge_balance_positive_sum_exists_resultrowssource_tableentryvalue) /\ (ge_balance_negative_sum_exists_resultrowssource_tableentryvalue) = 0) \/ exists ge_signed_half_sum_exists_resultrowssource_tableentryvaluedecode. (((dst_value_sum_exists_resultrowssource_table) = 2 * ge_signed_half_sum_exists_resultrowssource_tableentryvaluedecode + 1 /\ (ge_balance_positive_sum_exists_resultrowssource_tableentryvalue) = 0) /\ (ge_balance_negative_sum_exists_resultrowssource_tableentryvalue) = S ge_signed_half_sum_exists_resultrowssource_tableentryvaluedecode))) /\ ((dst_positive_sum_exists_resultrowssource_table) + ge_balance_negative_sum_exists_resultrowssource_tableentryvalue = (dst_negative_sum_exists_resultrowssource_table) + ge_balance_positive_sum_exists_resultrowssource_tableentryvalue))))))))) /\ (((exists dst_positive_code_sum_exists_resultrowsrow_table dst_positive_scale_sum_exists_resultrowsrow_table dst_negative_code_sum_exists_resultrowsrow_table dst_negative_scale_sum_exists_resultrowsrow_table. (((srt_rows_sum_exists_result) = (((((dst_positive_code_sum_exists_resultrowsrow_table) + (dst_positive_scale_sum_exists_resultrowsrow_table)) * S ((dst_positive_code_sum_exists_resultrowsrow_table) + (dst_positive_scale_sum_exists_resultrowsrow_table)) + ((dst_positive_scale_sum_exists_resultrowsrow_table) + (dst_positive_scale_sum_exists_resultrowsrow_table))) + (((dst_negative_code_sum_exists_resultrowsrow_table) + (dst_negative_scale_sum_exists_resultrowsrow_table)) * S ((dst_negative_code_sum_exists_resultrowsrow_table) + (dst_negative_scale_sum_exists_resultrowsrow_table)) + ((dst_negative_scale_sum_exists_resultrowsrow_table) + (dst_negative_scale_sum_exists_resultrowsrow_table)))) * S ((((dst_positive_code_sum_exists_resultrowsrow_table) + (dst_positive_scale_sum_exists_resultrowsrow_table)) * S ((dst_positive_code_sum_exists_resultrowsrow_table) + (dst_positive_scale_sum_exists_resultrowsrow_table)) + ((dst_positive_scale_sum_exists_resultrowsrow_table) + (dst_positive_scale_sum_exists_resultrowsrow_table))) + (((dst_negative_code_sum_exists_resultrowsrow_table) + (dst_negative_scale_sum_exists_resultrowsrow_table)) * S ((dst_negative_code_sum_exists_resultrowsrow_table) + (dst_negative_scale_sum_exists_resultrowsrow_table)) + ((dst_negative_scale_sum_exists_resultrowsrow_table) + (dst_negative_scale_sum_exists_resultrowsrow_table)))) + ((((dst_negative_code_sum_exists_resultrowsrow_table) + (dst_negative_scale_sum_exists_resultrowsrow_table)) * S ((dst_negative_code_sum_exists_resultrowsrow_table) + (dst_negative_scale_sum_exists_resultrowsrow_table)) + ((dst_negative_scale_sum_exists_resultrowsrow_table) + (dst_negative_scale_sum_exists_resultrowsrow_table))) + (((dst_negative_code_sum_exists_resultrowsrow_table) + (dst_negative_scale_sum_exists_resultrowsrow_table)) * S ((dst_negative_code_sum_exists_resultrowsrow_table) + (dst_negative_scale_sum_exists_resultrowsrow_table)) + ((dst_negative_scale_sum_exists_resultrowsrow_table) + (dst_negative_scale_sum_exists_resultrowsrow_table)))))) /\ (forall dst_index_sum_exists_resultrowsrow_table. (exists pvs_le_gap_sum_exists_resultrowsrow_tabledomain. pvs_le_gap_sum_exists_resultrowsrow_tabledomain + (dst_index_sum_exists_resultrowsrow_table) = (m)) -> exists dst_positive_sum_exists_resultrowsrow_table dst_negative_sum_exists_resultrowsrow_table dst_value_sum_exists_resultrowsrow_table. ((((exists ff_h_pvs_sum_exists_resultrowsrow_tableentrypositive. ff_h_pvs_sum_exists_resultrowsrow_tableentrypositive + S (dst_positive_sum_exists_resultrowsrow_table) = S ((S (dst_index_sum_exists_resultrowsrow_table)) * dst_positive_scale_sum_exists_resultrowsrow_table)) /\ exists ff_q_pvs_sum_exists_resultrowsrow_tableentrypositive. dst_positive_code_sum_exists_resultrowsrow_table = ff_q_pvs_sum_exists_resultrowsrow_tableentrypositive * S ((S (dst_index_sum_exists_resultrowsrow_table)) * dst_positive_scale_sum_exists_resultrowsrow_table) + (dst_positive_sum_exists_resultrowsrow_table))) /\ (((((exists ff_h_pvs_sum_exists_resultrowsrow_tableentrynegative. ff_h_pvs_sum_exists_resultrowsrow_tableentrynegative + S (dst_negative_sum_exists_resultrowsrow_table) = S ((S (dst_index_sum_exists_resultrowsrow_table)) * dst_negative_scale_sum_exists_resultrowsrow_table)) /\ exists ff_q_pvs_sum_exists_resultrowsrow_tableentrynegative. dst_negative_code_sum_exists_resultrowsrow_table = ff_q_pvs_sum_exists_resultrowsrow_tableentrynegative * S ((S (dst_index_sum_exists_resultrowsrow_table)) * dst_negative_scale_sum_exists_resultrowsrow_table) + (dst_negative_sum_exists_resultrowsrow_table))) /\ (exists ge_balance_positive_sum_exists_resultrowsrow_tableentryvalue ge_balance_negative_sum_exists_resultrowsrow_tableentryvalue. (((((dst_value_sum_exists_resultrowsrow_table) = 2 * (ge_balance_positive_sum_exists_resultrowsrow_tableentryvalue) /\ (ge_balance_negative_sum_exists_resultrowsrow_tableentryvalue) = 0) \/ exists ge_signed_half_sum_exists_resultrowsrow_tableentryvaluedecode. (((dst_value_sum_exists_resultrowsrow_table) = 2 * ge_signed_half_sum_exists_resultrowsrow_tableentryvaluedecode + 1 /\ (ge_balance_positive_sum_exists_resultrowsrow_tableentryvalue) = 0) /\ (ge_balance_negative_sum_exists_resultrowsrow_tableentryvalue) = S ge_signed_half_sum_exists_resultrowsrow_tableentryvaluedecode))) /\ ((dst_positive_sum_exists_resultrowsrow_table) + ge_balance_negative_sum_exists_resultrowsrow_tableentryvalue = (dst_negative_sum_exists_resultrowsrow_table) + ge_balance_positive_sum_exists_resultrowsrow_tableentryvalue))))))))) /\ (forall srt_index_sum_exists_resultrows. (exists pvs_gap_sum_exists_resultrowsbound. pvs_gap_sum_exists_resultrowsbound + S (srt_index_sum_exists_resultrows) = (m)) -> exists srt_value_sum_exists_resultrows. (((exists dst_positive_code_sum_exists_resultrowsrowentry dst_positive_scale_sum_exists_resultrowsrowentry dst_negative_code_sum_exists_resultrowsrowentry dst_negative_scale_sum_exists_resultrowsrowentry dst_positive_sum_exists_resultrowsrowentry dst_negative_sum_exists_resultrowsrowentry. (((srt_rows_sum_exists_result) = (((((dst_positive_code_sum_exists_resultrowsrowentry) + (dst_positive_scale_sum_exists_resultrowsrowentry)) * S ((dst_positive_code_sum_exists_resultrowsrowentry) + (dst_positive_scale_sum_exists_resultrowsrowentry)) + ((dst_positive_scale_sum_exists_resultrowsrowentry) + (dst_positive_scale_sum_exists_resultrowsrowentry))) + (((dst_negative_code_sum_exists_resultrowsrowentry) + (dst_negative_scale_sum_exists_resultrowsrowentry)) * S ((dst_negative_code_sum_exists_resultrowsrowentry) + (dst_negative_scale_sum_exists_resultrowsrowentry)) + ((dst_negative_scale_sum_exists_resultrowsrowentry) + (dst_negative_scale_sum_exists_resultrowsrowentry)))) * S ((((dst_positive_code_sum_exists_resultrowsrowentry) + (dst_positive_scale_sum_exists_resultrowsrowentry)) * S ((dst_positive_code_sum_exists_resultrowsrowentry) + (dst_positive_scale_sum_exists_resultrowsrowentry)) + ((dst_positive_scale_sum_exists_resultrowsrowentry) + (dst_positive_scale_sum_exists_resultrowsrowentry))) + (((dst_negative_code_sum_exists_resultrowsrowentry) + (dst_negative_scale_sum_exists_resultrowsrowentry)) * S ((dst_negative_code_sum_exists_resultrowsrowentry) + (dst_negative_scale_sum_exists_resultrowsrowentry)) + ((dst_negative_scale_sum_exists_resultrowsrowentry) + (dst_negative_scale_sum_exists_resultrowsrowentry)))) + ((((dst_negative_code_sum_exists_resultrowsrowentry) + (dst_negative_scale_sum_exists_resultrowsrowentry)) * S ((dst_negative_code_sum_exists_resultrowsrowentry) + (dst_negative_scale_sum_exists_resultrowsrowentry)) + ((dst_negative_scale_sum_exists_resultrowsrowentry) + (dst_negative_scale_sum_exists_resultrowsrowentry))) + (((dst_negative_code_sum_exists_resultrowsrowentry) + (dst_negative_scale_sum_exists_resultrowsrowentry)) * S ((dst_negative_code_sum_exists_resultrowsrowentry) + (dst_negative_scale_sum_exists_resultrowsrowentry)) + ((dst_negative_scale_sum_exists_resultrowsrowentry) + (dst_negative_scale_sum_exists_resultrowsrowentry)))))) /\ (((((exists ff_h_pvs_sum_exists_resultrowsrowentrypositive. ff_h_pvs_sum_exists_resultrowsrowentrypositive + S (dst_positive_sum_exists_resultrowsrowentry) = S ((S (srt_index_sum_exists_resultrows)) * dst_positive_scale_sum_exists_resultrowsrowentry)) /\ exists ff_q_pvs_sum_exists_resultrowsrowentrypositive. dst_positive_code_sum_exists_resultrowsrowentry = ff_q_pvs_sum_exists_resultrowsrowentrypositive * S ((S (srt_index_sum_exists_resultrows)) * dst_positive_scale_sum_exists_resultrowsrowentry) + (dst_positive_sum_exists_resultrowsrowentry))) /\ (((((exists ff_h_pvs_sum_exists_resultrowsrowentrynegative. ff_h_pvs_sum_exists_resultrowsrowentrynegative + S (dst_negative_sum_exists_resultrowsrowentry) = S ((S (srt_index_sum_exists_resultrows)) * dst_negative_scale_sum_exists_resultrowsrowentry)) /\ exists ff_q_pvs_sum_exists_resultrowsrowentrynegative. dst_negative_code_sum_exists_resultrowsrowentry = ff_q_pvs_sum_exists_resultrowsrowentrynegative * S ((S (srt_index_sum_exists_resultrows)) * dst_negative_scale_sum_exists_resultrowsrowentry) + (dst_negative_sum_exists_resultrowsrowentry))) /\ (exists ge_balance_positive_sum_exists_resultrowsrowentryvalue ge_balance_negative_sum_exists_resultrowsrowentryvalue. (((((srt_value_sum_exists_resultrows) = 2 * (ge_balance_positive_sum_exists_resultrowsrowentryvalue) /\ (ge_balance_negative_sum_exists_resultrowsrowentryvalue) = 0) \/ exists ge_signed_half_sum_exists_resultrowsrowentryvaluedecode. (((srt_value_sum_exists_resultrows) = 2 * ge_signed_half_sum_exists_resultrowsrowentryvaluedecode + 1 /\ (ge_balance_positive_sum_exists_resultrowsrowentryvalue) = 0) /\ (ge_balance_negative_sum_exists_resultrowsrowentryvalue) = S ge_signed_half_sum_exists_resultrowsrowentryvaluedecode))) /\ ((dst_positive_sum_exists_resultrowsrowentry) + ge_balance_negative_sum_exists_resultrowsrowentryvalue = (dst_negative_sum_exists_resultrowsrowentry) + ge_balance_positive_sum_exists_resultrowsrowentryvalue))))))))) /\ (exists srs_slice_sum_exists_resultrowsrowrow_sum. ((((exists dst_positive_code_sum_exists_resultrowsrowrow_sumslicesource_table dst_positive_scale_sum_exists_resultrowsrowrow_sumslicesource_table dst_negative_code_sum_exists_resultrowsrowrow_sumslicesource_table dst_negative_scale_sum_exists_resultrowsrowrow_sumslicesource_table. (((F) = (((((dst_positive_code_sum_exists_resultrowsrowrow_sumslicesource_table) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumslicesource_table)) * S ((dst_positive_code_sum_exists_resultrowsrowrow_sumslicesource_table) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumslicesource_table)) + ((dst_positive_scale_sum_exists_resultrowsrowrow_sumslicesource_table) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumslicesource_table))) + (((dst_negative_code_sum_exists_resultrowsrowrow_sumslicesource_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumslicesource_table)) * S ((dst_negative_code_sum_exists_resultrowsrowrow_sumslicesource_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumslicesource_table)) + ((dst_negative_scale_sum_exists_resultrowsrowrow_sumslicesource_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumslicesource_table)))) * S ((((dst_positive_code_sum_exists_resultrowsrowrow_sumslicesource_table) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumslicesource_table)) * S ((dst_positive_code_sum_exists_resultrowsrowrow_sumslicesource_table) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumslicesource_table)) + ((dst_positive_scale_sum_exists_resultrowsrowrow_sumslicesource_table) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumslicesource_table))) + (((dst_negative_code_sum_exists_resultrowsrowrow_sumslicesource_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumslicesource_table)) * S ((dst_negative_code_sum_exists_resultrowsrowrow_sumslicesource_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumslicesource_table)) + ((dst_negative_scale_sum_exists_resultrowsrowrow_sumslicesource_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumslicesource_table)))) + ((((dst_negative_code_sum_exists_resultrowsrowrow_sumslicesource_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumslicesource_table)) * S ((dst_negative_code_sum_exists_resultrowsrowrow_sumslicesource_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumslicesource_table)) + ((dst_negative_scale_sum_exists_resultrowsrowrow_sumslicesource_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumslicesource_table))) + (((dst_negative_code_sum_exists_resultrowsrowrow_sumslicesource_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumslicesource_table)) * S ((dst_negative_code_sum_exists_resultrowsrowrow_sumslicesource_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumslicesource_table)) + ((dst_negative_scale_sum_exists_resultrowsrowrow_sumslicesource_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumslicesource_table)))))) /\ (forall dst_index_sum_exists_resultrowsrowrow_sumslicesource_table. (exists pvs_le_gap_sum_exists_resultrowsrowrow_sumslicesource_tabledomain. pvs_le_gap_sum_exists_resultrowsrowrow_sumslicesource_tabledomain + (dst_index_sum_exists_resultrowsrowrow_sumslicesource_table) = (0)) -> exists dst_positive_sum_exists_resultrowsrowrow_sumslicesource_table dst_negative_sum_exists_resultrowsrowrow_sumslicesource_table dst_value_sum_exists_resultrowsrowrow_sumslicesource_table. ((((exists ff_h_pvs_sum_exists_resultrowsrowrow_sumslicesource_tableentrypositive. ff_h_pvs_sum_exists_resultrowsrowrow_sumslicesource_tableentrypositive + S (dst_positive_sum_exists_resultrowsrowrow_sumslicesource_table) = S ((S (dst_index_sum_exists_resultrowsrowrow_sumslicesource_table)) * dst_positive_scale_sum_exists_resultrowsrowrow_sumslicesource_table)) /\ exists ff_q_pvs_sum_exists_resultrowsrowrow_sumslicesource_tableentrypositive. dst_positive_code_sum_exists_resultrowsrowrow_sumslicesource_table = ff_q_pvs_sum_exists_resultrowsrowrow_sumslicesource_tableentrypositive * S ((S (dst_index_sum_exists_resultrowsrowrow_sumslicesource_table)) * dst_positive_scale_sum_exists_resultrowsrowrow_sumslicesource_table) + (dst_positive_sum_exists_resultrowsrowrow_sumslicesource_table))) /\ (((((exists ff_h_pvs_sum_exists_resultrowsrowrow_sumslicesource_tableentrynegative. ff_h_pvs_sum_exists_resultrowsrowrow_sumslicesource_tableentrynegative + S (dst_negative_sum_exists_resultrowsrowrow_sumslicesource_table) = S ((S (dst_index_sum_exists_resultrowsrowrow_sumslicesource_table)) * dst_negative_scale_sum_exists_resultrowsrowrow_sumslicesource_table)) /\ exists ff_q_pvs_sum_exists_resultrowsrowrow_sumslicesource_tableentrynegative. dst_negative_code_sum_exists_resultrowsrowrow_sumslicesource_table = ff_q_pvs_sum_exists_resultrowsrowrow_sumslicesource_tableentrynegative * S ((S (dst_index_sum_exists_resultrowsrowrow_sumslicesource_table)) * dst_negative_scale_sum_exists_resultrowsrowrow_sumslicesource_table) + (dst_negative_sum_exists_resultrowsrowrow_sumslicesource_table))) /\ (exists ge_balance_positive_sum_exists_resultrowsrowrow_sumslicesource_tableentryvalue ge_balance_negative_sum_exists_resultrowsrowrow_sumslicesource_tableentryvalue. (((((dst_value_sum_exists_resultrowsrowrow_sumslicesource_table) = 2 * (ge_balance_positive_sum_exists_resultrowsrowrow_sumslicesource_tableentryvalue) /\ (ge_balance_negative_sum_exists_resultrowsrowrow_sumslicesource_tableentryvalue) = 0) \/ exists ge_signed_half_sum_exists_resultrowsrowrow_sumslicesource_tableentryvaluedecode. (((dst_value_sum_exists_resultrowsrowrow_sumslicesource_table) = 2 * ge_signed_half_sum_exists_resultrowsrowrow_sumslicesource_tableentryvaluedecode + 1 /\ (ge_balance_positive_sum_exists_resultrowsrowrow_sumslicesource_tableentryvalue) = 0) /\ (ge_balance_negative_sum_exists_resultrowsrowrow_sumslicesource_tableentryvalue) = S ge_signed_half_sum_exists_resultrowsrowrow_sumslicesource_tableentryvaluedecode))) /\ ((dst_positive_sum_exists_resultrowsrowrow_sumslicesource_table) + ge_balance_negative_sum_exists_resultrowsrowrow_sumslicesource_tableentryvalue = (dst_negative_sum_exists_resultrowsrowrow_sumslicesource_table) + ge_balance_positive_sum_exists_resultrowsrowrow_sumslicesource_tableentryvalue))))))))) /\ (((exists dst_positive_code_sum_exists_resultrowsrowrow_sumsliceoutput_table dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table dst_negative_code_sum_exists_resultrowsrowrow_sumsliceoutput_table dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table. (((srs_slice_sum_exists_resultrowsrowrow_sum) = (((((dst_positive_code_sum_exists_resultrowsrowrow_sumsliceoutput_table) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table)) * S ((dst_positive_code_sum_exists_resultrowsrowrow_sumsliceoutput_table) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table)) + ((dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table))) + (((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceoutput_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table)) * S ((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceoutput_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table)) + ((dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table)))) * S ((((dst_positive_code_sum_exists_resultrowsrowrow_sumsliceoutput_table) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table)) * S ((dst_positive_code_sum_exists_resultrowsrowrow_sumsliceoutput_table) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table)) + ((dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table))) + (((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceoutput_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table)) * S ((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceoutput_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table)) + ((dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table)))) + ((((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceoutput_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table)) * S ((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceoutput_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table)) + ((dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table))) + (((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceoutput_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table)) * S ((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceoutput_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table)) + ((dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table)))))) /\ (forall dst_index_sum_exists_resultrowsrowrow_sumsliceoutput_table. (exists pvs_le_gap_sum_exists_resultrowsrowrow_sumsliceoutput_tabledomain. pvs_le_gap_sum_exists_resultrowsrowrow_sumsliceoutput_tabledomain + (dst_index_sum_exists_resultrowsrowrow_sumsliceoutput_table) = (n)) -> exists dst_positive_sum_exists_resultrowsrowrow_sumsliceoutput_table dst_negative_sum_exists_resultrowsrowrow_sumsliceoutput_table dst_value_sum_exists_resultrowsrowrow_sumsliceoutput_table. ((((exists ff_h_pvs_sum_exists_resultrowsrowrow_sumsliceoutput_tableentrypositive. ff_h_pvs_sum_exists_resultrowsrowrow_sumsliceoutput_tableentrypositive + S (dst_positive_sum_exists_resultrowsrowrow_sumsliceoutput_table) = S ((S (dst_index_sum_exists_resultrowsrowrow_sumsliceoutput_table)) * dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table)) /\ exists ff_q_pvs_sum_exists_resultrowsrowrow_sumsliceoutput_tableentrypositive. dst_positive_code_sum_exists_resultrowsrowrow_sumsliceoutput_table = ff_q_pvs_sum_exists_resultrowsrowrow_sumsliceoutput_tableentrypositive * S ((S (dst_index_sum_exists_resultrowsrowrow_sumsliceoutput_table)) * dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table) + (dst_positive_sum_exists_resultrowsrowrow_sumsliceoutput_table))) /\ (((((exists ff_h_pvs_sum_exists_resultrowsrowrow_sumsliceoutput_tableentrynegative. ff_h_pvs_sum_exists_resultrowsrowrow_sumsliceoutput_tableentrynegative + S (dst_negative_sum_exists_resultrowsrowrow_sumsliceoutput_table) = S ((S (dst_index_sum_exists_resultrowsrowrow_sumsliceoutput_table)) * dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table)) /\ exists ff_q_pvs_sum_exists_resultrowsrowrow_sumsliceoutput_tableentrynegative. dst_negative_code_sum_exists_resultrowsrowrow_sumsliceoutput_table = ff_q_pvs_sum_exists_resultrowsrowrow_sumsliceoutput_tableentrynegative * S ((S (dst_index_sum_exists_resultrowsrowrow_sumsliceoutput_table)) * dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceoutput_table) + (dst_negative_sum_exists_resultrowsrowrow_sumsliceoutput_table))) /\ (exists ge_balance_positive_sum_exists_resultrowsrowrow_sumsliceoutput_tableentryvalue ge_balance_negative_sum_exists_resultrowsrowrow_sumsliceoutput_tableentryvalue. (((((dst_value_sum_exists_resultrowsrowrow_sumsliceoutput_table) = 2 * (ge_balance_positive_sum_exists_resultrowsrowrow_sumsliceoutput_tableentryvalue) /\ (ge_balance_negative_sum_exists_resultrowsrowrow_sumsliceoutput_tableentryvalue) = 0) \/ exists ge_signed_half_sum_exists_resultrowsrowrow_sumsliceoutput_tableentryvaluedecode. (((dst_value_sum_exists_resultrowsrowrow_sumsliceoutput_table) = 2 * ge_signed_half_sum_exists_resultrowsrowrow_sumsliceoutput_tableentryvaluedecode + 1 /\ (ge_balance_positive_sum_exists_resultrowsrowrow_sumsliceoutput_tableentryvalue) = 0) /\ (ge_balance_negative_sum_exists_resultrowsrowrow_sumsliceoutput_tableentryvalue) = S ge_signed_half_sum_exists_resultrowsrowrow_sumsliceoutput_tableentryvaluedecode))) /\ ((dst_positive_sum_exists_resultrowsrowrow_sumsliceoutput_table) + ge_balance_negative_sum_exists_resultrowsrowrow_sumsliceoutput_tableentryvalue = (dst_negative_sum_exists_resultrowsrowrow_sumsliceoutput_table) + ge_balance_positive_sum_exists_resultrowsrowrow_sumsliceoutput_tableentryvalue))))))))) /\ (forall srs_index_sum_exists_resultrowsrowrow_sumslice. (exists pvs_gap_sum_exists_resultrowsrowrow_sumslicebound. pvs_gap_sum_exists_resultrowsrowrow_sumslicebound + S (srs_index_sum_exists_resultrowsrowrow_sumslice) = (n)) -> exists srs_value_sum_exists_resultrowsrowrow_sumslice. (((exists dst_positive_code_sum_exists_resultrowsrowrow_sumsliceentrysource dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentrysource dst_negative_code_sum_exists_resultrowsrowrow_sumsliceentrysource dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentrysource dst_positive_sum_exists_resultrowsrowrow_sumsliceentrysource dst_negative_sum_exists_resultrowsrowrow_sumsliceentrysource. (((F) = (((((dst_positive_code_sum_exists_resultrowsrowrow_sumsliceentrysource) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentrysource)) * S ((dst_positive_code_sum_exists_resultrowsrowrow_sumsliceentrysource) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentrysource)) + ((dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentrysource) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentrysource))) + (((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceentrysource) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentrysource)) * S ((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceentrysource) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentrysource)) + ((dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentrysource) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentrysource)))) * S ((((dst_positive_code_sum_exists_resultrowsrowrow_sumsliceentrysource) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentrysource)) * S ((dst_positive_code_sum_exists_resultrowsrowrow_sumsliceentrysource) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentrysource)) + ((dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentrysource) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentrysource))) + (((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceentrysource) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentrysource)) * S ((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceentrysource) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentrysource)) + ((dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentrysource) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentrysource)))) + ((((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceentrysource) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentrysource)) * S ((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceentrysource) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentrysource)) + ((dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentrysource) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentrysource))) + (((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceentrysource) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentrysource)) * S ((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceentrysource) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentrysource)) + ((dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentrysource) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentrysource)))))) /\ (((((exists ff_h_pvs_sum_exists_resultrowsrowrow_sumsliceentrysourcepositive. ff_h_pvs_sum_exists_resultrowsrowrow_sumsliceentrysourcepositive + S (dst_positive_sum_exists_resultrowsrowrow_sumsliceentrysource) = S ((S (((((o) + ((s) * (srt_index_sum_exists_resultrows)))) + ((t) * (srs_index_sum_exists_resultrowsrowrow_sumslice))))) * dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentrysource)) /\ exists ff_q_pvs_sum_exists_resultrowsrowrow_sumsliceentrysourcepositive. dst_positive_code_sum_exists_resultrowsrowrow_sumsliceentrysource = ff_q_pvs_sum_exists_resultrowsrowrow_sumsliceentrysourcepositive * S ((S (((((o) + ((s) * (srt_index_sum_exists_resultrows)))) + ((t) * (srs_index_sum_exists_resultrowsrowrow_sumslice))))) * dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentrysource) + (dst_positive_sum_exists_resultrowsrowrow_sumsliceentrysource))) /\ (((((exists ff_h_pvs_sum_exists_resultrowsrowrow_sumsliceentrysourcenegative. ff_h_pvs_sum_exists_resultrowsrowrow_sumsliceentrysourcenegative + S (dst_negative_sum_exists_resultrowsrowrow_sumsliceentrysource) = S ((S (((((o) + ((s) * (srt_index_sum_exists_resultrows)))) + ((t) * (srs_index_sum_exists_resultrowsrowrow_sumslice))))) * dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentrysource)) /\ exists ff_q_pvs_sum_exists_resultrowsrowrow_sumsliceentrysourcenegative. dst_negative_code_sum_exists_resultrowsrowrow_sumsliceentrysource = ff_q_pvs_sum_exists_resultrowsrowrow_sumsliceentrysourcenegative * S ((S (((((o) + ((s) * (srt_index_sum_exists_resultrows)))) + ((t) * (srs_index_sum_exists_resultrowsrowrow_sumslice))))) * dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentrysource) + (dst_negative_sum_exists_resultrowsrowrow_sumsliceentrysource))) /\ (exists ge_balance_positive_sum_exists_resultrowsrowrow_sumsliceentrysourcevalue ge_balance_negative_sum_exists_resultrowsrowrow_sumsliceentrysourcevalue. (((((srs_value_sum_exists_resultrowsrowrow_sumslice) = 2 * (ge_balance_positive_sum_exists_resultrowsrowrow_sumsliceentrysourcevalue) /\ (ge_balance_negative_sum_exists_resultrowsrowrow_sumsliceentrysourcevalue) = 0) \/ exists ge_signed_half_sum_exists_resultrowsrowrow_sumsliceentrysourcevaluedecode. (((srs_value_sum_exists_resultrowsrowrow_sumslice) = 2 * ge_signed_half_sum_exists_resultrowsrowrow_sumsliceentrysourcevaluedecode + 1 /\ (ge_balance_positive_sum_exists_resultrowsrowrow_sumsliceentrysourcevalue) = 0) /\ (ge_balance_negative_sum_exists_resultrowsrowrow_sumsliceentrysourcevalue) = S ge_signed_half_sum_exists_resultrowsrowrow_sumsliceentrysourcevaluedecode))) /\ ((dst_positive_sum_exists_resultrowsrowrow_sumsliceentrysource) + ge_balance_negative_sum_exists_resultrowsrowrow_sumsliceentrysourcevalue = (dst_negative_sum_exists_resultrowsrowrow_sumsliceentrysource) + ge_balance_positive_sum_exists_resultrowsrowrow_sumsliceentrysourcevalue))))))))) /\ (exists dst_positive_code_sum_exists_resultrowsrowrow_sumsliceentryoutput dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput dst_negative_code_sum_exists_resultrowsrowrow_sumsliceentryoutput dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput dst_positive_sum_exists_resultrowsrowrow_sumsliceentryoutput dst_negative_sum_exists_resultrowsrowrow_sumsliceentryoutput. (((srs_slice_sum_exists_resultrowsrowrow_sum) = (((((dst_positive_code_sum_exists_resultrowsrowrow_sumsliceentryoutput) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput)) * S ((dst_positive_code_sum_exists_resultrowsrowrow_sumsliceentryoutput) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput)) + ((dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput))) + (((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceentryoutput) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput)) * S ((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceentryoutput) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput)) + ((dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput)))) * S ((((dst_positive_code_sum_exists_resultrowsrowrow_sumsliceentryoutput) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput)) * S ((dst_positive_code_sum_exists_resultrowsrowrow_sumsliceentryoutput) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput)) + ((dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput))) + (((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceentryoutput) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput)) * S ((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceentryoutput) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput)) + ((dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput)))) + ((((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceentryoutput) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput)) * S ((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceentryoutput) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput)) + ((dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput))) + (((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceentryoutput) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput)) * S ((dst_negative_code_sum_exists_resultrowsrowrow_sumsliceentryoutput) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput)) + ((dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput)))))) /\ (((((exists ff_h_pvs_sum_exists_resultrowsrowrow_sumsliceentryoutputpositive. ff_h_pvs_sum_exists_resultrowsrowrow_sumsliceentryoutputpositive + S (dst_positive_sum_exists_resultrowsrowrow_sumsliceentryoutput) = S ((S (srs_index_sum_exists_resultrowsrowrow_sumslice)) * dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput)) /\ exists ff_q_pvs_sum_exists_resultrowsrowrow_sumsliceentryoutputpositive. dst_positive_code_sum_exists_resultrowsrowrow_sumsliceentryoutput = ff_q_pvs_sum_exists_resultrowsrowrow_sumsliceentryoutputpositive * S ((S (srs_index_sum_exists_resultrowsrowrow_sumslice)) * dst_positive_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput) + (dst_positive_sum_exists_resultrowsrowrow_sumsliceentryoutput))) /\ (((((exists ff_h_pvs_sum_exists_resultrowsrowrow_sumsliceentryoutputnegative. ff_h_pvs_sum_exists_resultrowsrowrow_sumsliceentryoutputnegative + S (dst_negative_sum_exists_resultrowsrowrow_sumsliceentryoutput) = S ((S (srs_index_sum_exists_resultrowsrowrow_sumslice)) * dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput)) /\ exists ff_q_pvs_sum_exists_resultrowsrowrow_sumsliceentryoutputnegative. dst_negative_code_sum_exists_resultrowsrowrow_sumsliceentryoutput = ff_q_pvs_sum_exists_resultrowsrowrow_sumsliceentryoutputnegative * S ((S (srs_index_sum_exists_resultrowsrowrow_sumslice)) * dst_negative_scale_sum_exists_resultrowsrowrow_sumsliceentryoutput) + (dst_negative_sum_exists_resultrowsrowrow_sumsliceentryoutput))) /\ (exists ge_balance_positive_sum_exists_resultrowsrowrow_sumsliceentryoutputvalue ge_balance_negative_sum_exists_resultrowsrowrow_sumsliceentryoutputvalue. (((((srs_value_sum_exists_resultrowsrowrow_sumslice) = 2 * (ge_balance_positive_sum_exists_resultrowsrowrow_sumsliceentryoutputvalue) /\ (ge_balance_negative_sum_exists_resultrowsrowrow_sumsliceentryoutputvalue) = 0) \/ exists ge_signed_half_sum_exists_resultrowsrowrow_sumsliceentryoutputvaluedecode. (((srs_value_sum_exists_resultrowsrowrow_sumslice) = 2 * ge_signed_half_sum_exists_resultrowsrowrow_sumsliceentryoutputvaluedecode + 1 /\ (ge_balance_positive_sum_exists_resultrowsrowrow_sumsliceentryoutputvalue) = 0) /\ (ge_balance_negative_sum_exists_resultrowsrowrow_sumsliceentryoutputvalue) = S ge_signed_half_sum_exists_resultrowsrowrow_sumsliceentryoutputvaluedecode))) /\ ((dst_positive_sum_exists_resultrowsrowrow_sumsliceentryoutput) + ge_balance_negative_sum_exists_resultrowsrowrow_sumsliceentryoutputvalue = (dst_negative_sum_exists_resultrowsrowrow_sumsliceentryoutput) + ge_balance_positive_sum_exists_resultrowsrowrow_sumsliceentryoutputvalue)))))))))))))))) /\ (exists dst_positive_code_sum_exists_resultrowsrowrow_sumsum dst_positive_scale_sum_exists_resultrowsrowrow_sumsum dst_negative_code_sum_exists_resultrowsrowrow_sumsum dst_negative_scale_sum_exists_resultrowsrowrow_sumsum dst_positive_sum_sum_exists_resultrowsrowrow_sumsum dst_negative_sum_sum_exists_resultrowsrowrow_sumsum. (((srs_slice_sum_exists_resultrowsrowrow_sum) = (((((dst_positive_code_sum_exists_resultrowsrowrow_sumsum) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsum)) * S ((dst_positive_code_sum_exists_resultrowsrowrow_sumsum) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsum)) + ((dst_positive_scale_sum_exists_resultrowsrowrow_sumsum) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsum))) + (((dst_negative_code_sum_exists_resultrowsrowrow_sumsum) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsum)) * S ((dst_negative_code_sum_exists_resultrowsrowrow_sumsum) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsum)) + ((dst_negative_scale_sum_exists_resultrowsrowrow_sumsum) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsum)))) * S ((((dst_positive_code_sum_exists_resultrowsrowrow_sumsum) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsum)) * S ((dst_positive_code_sum_exists_resultrowsrowrow_sumsum) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsum)) + ((dst_positive_scale_sum_exists_resultrowsrowrow_sumsum) + (dst_positive_scale_sum_exists_resultrowsrowrow_sumsum))) + (((dst_negative_code_sum_exists_resultrowsrowrow_sumsum) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsum)) * S ((dst_negative_code_sum_exists_resultrowsrowrow_sumsum) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsum)) + ((dst_negative_scale_sum_exists_resultrowsrowrow_sumsum) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsum)))) + ((((dst_negative_code_sum_exists_resultrowsrowrow_sumsum) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsum)) * S ((dst_negative_code_sum_exists_resultrowsrowrow_sumsum) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsum)) + ((dst_negative_scale_sum_exists_resultrowsrowrow_sumsum) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsum))) + (((dst_negative_code_sum_exists_resultrowsrowrow_sumsum) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsum)) * S ((dst_negative_code_sum_exists_resultrowsrowrow_sumsum) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsum)) + ((dst_negative_scale_sum_exists_resultrowsrowrow_sumsum) + (dst_negative_scale_sum_exists_resultrowsrowrow_sumsum)))))) /\ (((exists fs_u_dst_sum_exists_resultrowsrowrow_sumsumpositive fs_v_dst_sum_exists_resultrowsrowrow_sumsumpositive. ((((exists fs_h_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_start. fs_h_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_start + S (0) = S ((S (0)) * fs_v_dst_sum_exists_resultrowsrowrow_sumsumpositive)) /\ exists fs_q_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_start. fs_u_dst_sum_exists_resultrowsrowrow_sumsumpositive = fs_q_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_start * S ((S (0)) * fs_v_dst_sum_exists_resultrowsrowrow_sumsumpositive) + (0))) /\ ((((exists fs_h_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_terminal. fs_h_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_terminal + S (dst_positive_sum_sum_exists_resultrowsrowrow_sumsum) = S ((S (n)) * fs_v_dst_sum_exists_resultrowsrowrow_sumsumpositive)) /\ exists fs_q_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_terminal. fs_u_dst_sum_exists_resultrowsrowrow_sumsumpositive = fs_q_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_terminal * S ((S (n)) * fs_v_dst_sum_exists_resultrowsrowrow_sumsumpositive) + (dst_positive_sum_sum_exists_resultrowsrowrow_sumsum))) /\ forall fs_i_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps. (exists fs_lt_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps_bound. fs_lt_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps_bound + S fs_i_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps = n) -> exists fs_a_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps fs_r_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps fs_s_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps. ((((exists fs_h_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps_summand. fs_h_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps_summand + S (fs_a_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps) = S ((S (fs_i_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps)) * dst_positive_scale_sum_exists_resultrowsrowrow_sumsum)) /\ exists fs_q_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps_summand. dst_positive_code_sum_exists_resultrowsrowrow_sumsum = fs_q_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps_summand * S ((S (fs_i_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps)) * dst_positive_scale_sum_exists_resultrowsrowrow_sumsum) + (fs_a_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps))) /\ ((((exists fs_h_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps_partial. fs_h_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps_partial + S (fs_r_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps) = S ((S (fs_i_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps)) * fs_v_dst_sum_exists_resultrowsrowrow_sumsumpositive)) /\ exists fs_q_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps_partial. fs_u_dst_sum_exists_resultrowsrowrow_sumsumpositive = fs_q_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps_partial * S ((S (fs_i_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps)) * fs_v_dst_sum_exists_resultrowsrowrow_sumsumpositive) + (fs_r_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps))) /\ ((((exists fs_h_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps_successor. fs_h_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps_successor + S (fs_s_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps) = S ((S (S fs_i_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps)) * fs_v_dst_sum_exists_resultrowsrowrow_sumsumpositive)) /\ exists fs_q_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps_successor. fs_u_dst_sum_exists_resultrowsrowrow_sumsumpositive = fs_q_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps_successor * S ((S (S fs_i_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps)) * fs_v_dst_sum_exists_resultrowsrowrow_sumsumpositive) + (fs_s_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps))) /\ fs_s_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps = fs_r_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps + fs_a_dst_sum_exists_resultrowsrowrow_sumsumpositive_body_steps)))))) /\ (((exists fs_u_dst_sum_exists_resultrowsrowrow_sumsumnegative fs_v_dst_sum_exists_resultrowsrowrow_sumsumnegative. ((((exists fs_h_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_start. fs_h_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_start + S (0) = S ((S (0)) * fs_v_dst_sum_exists_resultrowsrowrow_sumsumnegative)) /\ exists fs_q_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_start. fs_u_dst_sum_exists_resultrowsrowrow_sumsumnegative = fs_q_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_start * S ((S (0)) * fs_v_dst_sum_exists_resultrowsrowrow_sumsumnegative) + (0))) /\ ((((exists fs_h_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_terminal. fs_h_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_terminal + S (dst_negative_sum_sum_exists_resultrowsrowrow_sumsum) = S ((S (n)) * fs_v_dst_sum_exists_resultrowsrowrow_sumsumnegative)) /\ exists fs_q_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_terminal. fs_u_dst_sum_exists_resultrowsrowrow_sumsumnegative = fs_q_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_terminal * S ((S (n)) * fs_v_dst_sum_exists_resultrowsrowrow_sumsumnegative) + (dst_negative_sum_sum_exists_resultrowsrowrow_sumsum))) /\ forall fs_i_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps. (exists fs_lt_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps_bound. fs_lt_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps_bound + S fs_i_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps = n) -> exists fs_a_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps fs_r_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps fs_s_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps. ((((exists fs_h_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps_summand. fs_h_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps_summand + S (fs_a_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps) = S ((S (fs_i_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps)) * dst_negative_scale_sum_exists_resultrowsrowrow_sumsum)) /\ exists fs_q_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps_summand. dst_negative_code_sum_exists_resultrowsrowrow_sumsum = fs_q_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps_summand * S ((S (fs_i_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps)) * dst_negative_scale_sum_exists_resultrowsrowrow_sumsum) + (fs_a_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps))) /\ ((((exists fs_h_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps_partial. fs_h_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps_partial + S (fs_r_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps) = S ((S (fs_i_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps)) * fs_v_dst_sum_exists_resultrowsrowrow_sumsumnegative)) /\ exists fs_q_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps_partial. fs_u_dst_sum_exists_resultrowsrowrow_sumsumnegative = fs_q_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps_partial * S ((S (fs_i_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps)) * fs_v_dst_sum_exists_resultrowsrowrow_sumsumnegative) + (fs_r_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps))) /\ ((((exists fs_h_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps_successor. fs_h_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps_successor + S (fs_s_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps) = S ((S (S fs_i_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps)) * fs_v_dst_sum_exists_resultrowsrowrow_sumsumnegative)) /\ exists fs_q_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps_successor. fs_u_dst_sum_exists_resultrowsrowrow_sumsumnegative = fs_q_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps_successor * S ((S (S fs_i_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps)) * fs_v_dst_sum_exists_resultrowsrowrow_sumsumnegative) + (fs_s_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps))) /\ fs_s_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps = fs_r_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps + fs_a_dst_sum_exists_resultrowsrowrow_sumsumnegative_body_steps)))))) /\ (exists ge_balance_positive_sum_exists_resultrowsrowrow_sumsumresult ge_balance_negative_sum_exists_resultrowsrowrow_sumsumresult. (((((srt_value_sum_exists_resultrows) = 2 * (ge_balance_positive_sum_exists_resultrowsrowrow_sumsumresult) /\ (ge_balance_negative_sum_exists_resultrowsrowrow_sumsumresult) = 0) \/ exists ge_signed_half_sum_exists_resultrowsrowrow_sumsumresultdecode. (((srt_value_sum_exists_resultrows) = 2 * ge_signed_half_sum_exists_resultrowsrowrow_sumsumresultdecode + 1 /\ (ge_balance_positive_sum_exists_resultrowsrowrow_sumsumresult) = 0) /\ (ge_balance_negative_sum_exists_resultrowsrowrow_sumsumresult) = S ge_signed_half_sum_exists_resultrowsrowrow_sumsumresultdecode))) /\ ((dst_positive_sum_sum_exists_resultrowsrowrow_sumsum) + ge_balance_negative_sum_exists_resultrowsrowrow_sumsumresult = (dst_negative_sum_sum_exists_resultrowsrowrow_sumsum) + ge_balance_positive_sum_exists_resultrowsrowrow_sumsumresult)))))))))))))))))) /\ (exists dst_positive_code_sum_exists_resulttotal dst_positive_scale_sum_exists_resulttotal dst_negative_code_sum_exists_resulttotal dst_negative_scale_sum_exists_resulttotal dst_positive_sum_sum_exists_resulttotal dst_negative_sum_sum_exists_resulttotal. (((srt_rows_sum_exists_result) = (((((dst_positive_code_sum_exists_resulttotal) + (dst_positive_scale_sum_exists_resulttotal)) * S ((dst_positive_code_sum_exists_resulttotal) + (dst_positive_scale_sum_exists_resulttotal)) + ((dst_positive_scale_sum_exists_resulttotal) + (dst_positive_scale_sum_exists_resulttotal))) + (((dst_negative_code_sum_exists_resulttotal) + (dst_negative_scale_sum_exists_resulttotal)) * S ((dst_negative_code_sum_exists_resulttotal) + (dst_negative_scale_sum_exists_resulttotal)) + ((dst_negative_scale_sum_exists_resulttotal) + (dst_negative_scale_sum_exists_resulttotal)))) * S ((((dst_positive_code_sum_exists_resulttotal) + (dst_positive_scale_sum_exists_resulttotal)) * S ((dst_positive_code_sum_exists_resulttotal) + (dst_positive_scale_sum_exists_resulttotal)) + ((dst_positive_scale_sum_exists_resulttotal) + (dst_positive_scale_sum_exists_resulttotal))) + (((dst_negative_code_sum_exists_resulttotal) + (dst_negative_scale_sum_exists_resulttotal)) * S ((dst_negative_code_sum_exists_resulttotal) + (dst_negative_scale_sum_exists_resulttotal)) + ((dst_negative_scale_sum_exists_resulttotal) + (dst_negative_scale_sum_exists_resulttotal)))) + ((((dst_negative_code_sum_exists_resulttotal) + (dst_negative_scale_sum_exists_resulttotal)) * S ((dst_negative_code_sum_exists_resulttotal) + (dst_negative_scale_sum_exists_resulttotal)) + ((dst_negative_scale_sum_exists_resulttotal) + (dst_negative_scale_sum_exists_resulttotal))) + (((dst_negative_code_sum_exists_resulttotal) + (dst_negative_scale_sum_exists_resulttotal)) * S ((dst_negative_code_sum_exists_resulttotal) + (dst_negative_scale_sum_exists_resulttotal)) + ((dst_negative_scale_sum_exists_resulttotal) + (dst_negative_scale_sum_exists_resulttotal)))))) /\ (((exists fs_u_dst_sum_exists_resulttotalpositive fs_v_dst_sum_exists_resulttotalpositive. ((((exists fs_h_dst_sum_exists_resulttotalpositive_body_start. fs_h_dst_sum_exists_resulttotalpositive_body_start + S (0) = S ((S (0)) * fs_v_dst_sum_exists_resulttotalpositive)) /\ exists fs_q_dst_sum_exists_resulttotalpositive_body_start. fs_u_dst_sum_exists_resulttotalpositive = fs_q_dst_sum_exists_resulttotalpositive_body_start * S ((S (0)) * fs_v_dst_sum_exists_resulttotalpositive) + (0))) /\ ((((exists fs_h_dst_sum_exists_resulttotalpositive_body_terminal. fs_h_dst_sum_exists_resulttotalpositive_body_terminal + S (dst_positive_sum_sum_exists_resulttotal) = S ((S (m)) * fs_v_dst_sum_exists_resulttotalpositive)) /\ exists fs_q_dst_sum_exists_resulttotalpositive_body_terminal. fs_u_dst_sum_exists_resulttotalpositive = fs_q_dst_sum_exists_resulttotalpositive_body_terminal * S ((S (m)) * fs_v_dst_sum_exists_resulttotalpositive) + (dst_positive_sum_sum_exists_resulttotal))) /\ forall fs_i_dst_sum_exists_resulttotalpositive_body_steps. (exists fs_lt_dst_sum_exists_resulttotalpositive_body_steps_bound. fs_lt_dst_sum_exists_resulttotalpositive_body_steps_bound + S fs_i_dst_sum_exists_resulttotalpositive_body_steps = m) -> exists fs_a_dst_sum_exists_resulttotalpositive_body_steps fs_r_dst_sum_exists_resulttotalpositive_body_steps fs_s_dst_sum_exists_resulttotalpositive_body_steps. ((((exists fs_h_dst_sum_exists_resulttotalpositive_body_steps_summand. fs_h_dst_sum_exists_resulttotalpositive_body_steps_summand + S (fs_a_dst_sum_exists_resulttotalpositive_body_steps) = S ((S (fs_i_dst_sum_exists_resulttotalpositive_body_steps)) * dst_positive_scale_sum_exists_resulttotal)) /\ exists fs_q_dst_sum_exists_resulttotalpositive_body_steps_summand. dst_positive_code_sum_exists_resulttotal = fs_q_dst_sum_exists_resulttotalpositive_body_steps_summand * S ((S (fs_i_dst_sum_exists_resulttotalpositive_body_steps)) * dst_positive_scale_sum_exists_resulttotal) + (fs_a_dst_sum_exists_resulttotalpositive_body_steps))) /\ ((((exists fs_h_dst_sum_exists_resulttotalpositive_body_steps_partial. fs_h_dst_sum_exists_resulttotalpositive_body_steps_partial + S (fs_r_dst_sum_exists_resulttotalpositive_body_steps) = S ((S (fs_i_dst_sum_exists_resulttotalpositive_body_steps)) * fs_v_dst_sum_exists_resulttotalpositive)) /\ exists fs_q_dst_sum_exists_resulttotalpositive_body_steps_partial. fs_u_dst_sum_exists_resulttotalpositive = fs_q_dst_sum_exists_resulttotalpositive_body_steps_partial * S ((S (fs_i_dst_sum_exists_resulttotalpositive_body_steps)) * fs_v_dst_sum_exists_resulttotalpositive) + (fs_r_dst_sum_exists_resulttotalpositive_body_steps))) /\ ((((exists fs_h_dst_sum_exists_resulttotalpositive_body_steps_successor. fs_h_dst_sum_exists_resulttotalpositive_body_steps_successor + S (fs_s_dst_sum_exists_resulttotalpositive_body_steps) = S ((S (S fs_i_dst_sum_exists_resulttotalpositive_body_steps)) * fs_v_dst_sum_exists_resulttotalpositive)) /\ exists fs_q_dst_sum_exists_resulttotalpositive_body_steps_successor. fs_u_dst_sum_exists_resulttotalpositive = fs_q_dst_sum_exists_resulttotalpositive_body_steps_successor * S ((S (S fs_i_dst_sum_exists_resulttotalpositive_body_steps)) * fs_v_dst_sum_exists_resulttotalpositive) + (fs_s_dst_sum_exists_resulttotalpositive_body_steps))) /\ fs_s_dst_sum_exists_resulttotalpositive_body_steps = fs_r_dst_sum_exists_resulttotalpositive_body_steps + fs_a_dst_sum_exists_resulttotalpositive_body_steps)))))) /\ (((exists fs_u_dst_sum_exists_resulttotalnegative fs_v_dst_sum_exists_resulttotalnegative. ((((exists fs_h_dst_sum_exists_resulttotalnegative_body_start. fs_h_dst_sum_exists_resulttotalnegative_body_start + S (0) = S ((S (0)) * fs_v_dst_sum_exists_resulttotalnegative)) /\ exists fs_q_dst_sum_exists_resulttotalnegative_body_start. fs_u_dst_sum_exists_resulttotalnegative = fs_q_dst_sum_exists_resulttotalnegative_body_start * S ((S (0)) * fs_v_dst_sum_exists_resulttotalnegative) + (0))) /\ ((((exists fs_h_dst_sum_exists_resulttotalnegative_body_terminal. fs_h_dst_sum_exists_resulttotalnegative_body_terminal + S (dst_negative_sum_sum_exists_resulttotal) = S ((S (m)) * fs_v_dst_sum_exists_resulttotalnegative)) /\ exists fs_q_dst_sum_exists_resulttotalnegative_body_terminal. fs_u_dst_sum_exists_resulttotalnegative = fs_q_dst_sum_exists_resulttotalnegative_body_terminal * S ((S (m)) * fs_v_dst_sum_exists_resulttotalnegative) + (dst_negative_sum_sum_exists_resulttotal))) /\ forall fs_i_dst_sum_exists_resulttotalnegative_body_steps. (exists fs_lt_dst_sum_exists_resulttotalnegative_body_steps_bound. fs_lt_dst_sum_exists_resulttotalnegative_body_steps_bound + S fs_i_dst_sum_exists_resulttotalnegative_body_steps = m) -> exists fs_a_dst_sum_exists_resulttotalnegative_body_steps fs_r_dst_sum_exists_resulttotalnegative_body_steps fs_s_dst_sum_exists_resulttotalnegative_body_steps. ((((exists fs_h_dst_sum_exists_resulttotalnegative_body_steps_summand. fs_h_dst_sum_exists_resulttotalnegative_body_steps_summand + S (fs_a_dst_sum_exists_resulttotalnegative_body_steps) = S ((S (fs_i_dst_sum_exists_resulttotalnegative_body_steps)) * dst_negative_scale_sum_exists_resulttotal)) /\ exists fs_q_dst_sum_exists_resulttotalnegative_body_steps_summand. dst_negative_code_sum_exists_resulttotal = fs_q_dst_sum_exists_resulttotalnegative_body_steps_summand * S ((S (fs_i_dst_sum_exists_resulttotalnegative_body_steps)) * dst_negative_scale_sum_exists_resulttotal) + (fs_a_dst_sum_exists_resulttotalnegative_body_steps))) /\ ((((exists fs_h_dst_sum_exists_resulttotalnegative_body_steps_partial. fs_h_dst_sum_exists_resulttotalnegative_body_steps_partial + S (fs_r_dst_sum_exists_resulttotalnegative_body_steps) = S ((S (fs_i_dst_sum_exists_resulttotalnegative_body_steps)) * fs_v_dst_sum_exists_resulttotalnegative)) /\ exists fs_q_dst_sum_exists_resulttotalnegative_body_steps_partial. fs_u_dst_sum_exists_resulttotalnegative = fs_q_dst_sum_exists_resulttotalnegative_body_steps_partial * S ((S (fs_i_dst_sum_exists_resulttotalnegative_body_steps)) * fs_v_dst_sum_exists_resulttotalnegative) + (fs_r_dst_sum_exists_resulttotalnegative_body_steps))) /\ ((((exists fs_h_dst_sum_exists_resulttotalnegative_body_steps_successor. fs_h_dst_sum_exists_resulttotalnegative_body_steps_successor + S (fs_s_dst_sum_exists_resulttotalnegative_body_steps) = S ((S (S fs_i_dst_sum_exists_resulttotalnegative_body_steps)) * fs_v_dst_sum_exists_resulttotalnegative)) /\ exists fs_q_dst_sum_exists_resulttotalnegative_body_steps_successor. fs_u_dst_sum_exists_resulttotalnegative = fs_q_dst_sum_exists_resulttotalnegative_body_steps_successor * S ((S (S fs_i_dst_sum_exists_resulttotalnegative_body_steps)) * fs_v_dst_sum_exists_resulttotalnegative) + (fs_s_dst_sum_exists_resulttotalnegative_body_steps))) /\ fs_s_dst_sum_exists_resulttotalnegative_body_steps = fs_r_dst_sum_exists_resulttotalnegative_body_steps + fs_a_dst_sum_exists_resulttotalnegative_body_steps)))))) /\ (exists ge_balance_positive_sum_exists_resulttotalresult ge_balance_negative_sum_exists_resulttotalresult. (((((z) = 2 * (ge_balance_positive_sum_exists_resulttotalresult) /\ (ge_balance_negative_sum_exists_resulttotalresult) = 0) \/ exists ge_signed_half_sum_exists_resulttotalresultdecode. (((z) = 2 * ge_signed_half_sum_exists_resulttotalresultdecode + 1 /\ (ge_balance_positive_sum_exists_resulttotalresult) = 0) /\ (ge_balance_negative_sum_exists_resulttotalresult) = S ge_signed_half_sum_exists_resulttotalresultdecode))) /\ ((dst_positive_sum_sum_exists_resulttotal) + ge_balance_negative_sum_exists_resulttotalresult = (dst_negative_sum_sum_exists_resulttotal) + ge_balance_positive_sum_exists_resulttotalresult)))))))))))

Complete tactic proof in conservative notation

All 31 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

31 script commands · 10 reading checkpoints · 2 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–7

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

  1. L1
    intro F
  2. L2
    intro o
  3. L3
    intro s
  4. L4
    intro t
  5. L5
    intro m
  6. L6
    intro n
  7. L7
    intro hF
02Establish hrL8–16

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

  1. L8
    have hr : ∃ R. ArithRowSums(F,R,o,s,t,m,n)Definitions: ArithRowSums(F,R,o,s,t,m,n)Original native command in the exact edition
  2. L9
    specialize signed_rectangular_row_sums_exists (m)
  3. L10
    specialize signed_rectangular_row_sums_exists (F)
  4. L11
    specialize signed_rectangular_row_sums_exists (o)
  5. L12
    specialize signed_rectangular_row_sums_exists (s)
  6. L13
    specialize signed_rectangular_row_sums_exists (t)
  7. L14
    specialize signed_rectangular_row_sums_exists (n)
  8. L15
    apply signed_rectangular_row_sums_exists
  9. L16
    exact hF
03Separate the logical casesL17–17

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

  1. L17
    cases hr
04Establish hzL18–22

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

  1. L18
    have hz : ∃ z. SignedPrefixSum(x,m,z)Definitions: SignedPrefixSum(x,m,z)Original native command in the exact edition
  2. L19
    specialize arithmetic_signed_sum_exists (m)
  3. L20
    specialize arithmetic_signed_sum_exists (x)
  4. L21
    specialize arithmetic_signed_sum_exists (m)
  5. L22
    apply arithmetic_signed_sum_exists
05Separate the logical casesL23–24

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

  1. L23
    cases hr_witness
  2. L24
    cases hr_witness_right
06Use earlier factsL25–25

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

  1. L25
    exact hr_witness_right_left
07Separate the logical casesL26–26

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

  1. L26
    cases hz
08Construct an explicit witnessL27–28

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

  1. L27
    exists x1
  2. L28
    exists x
09Separate the logical casesL29–29

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

  1. L29
    split
10Use earlier factsL30–31

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

  1. L30
    exact hr_witness
  2. L31
    exact hz_witness

Library-wide reading audit

Original defined command ledger · 31 lines
  1. 0001intro F
  2. 0002intro o
  3. 0003intro s
  4. 0004intro t
  5. 0005intro m
  6. 0006intro n
  7. 0007intro hF
  8. 0008have hr : ∃ R. ArithRowSums(F,R,o,s,t,m,n)
  9. 0009specialize signed_rectangular_row_sums_exists (m)
  10. 0010specialize signed_rectangular_row_sums_exists (F)
  11. 0011specialize signed_rectangular_row_sums_exists (o)
  12. 0012specialize signed_rectangular_row_sums_exists (s)
  13. 0013specialize signed_rectangular_row_sums_exists (t)
  14. 0014specialize signed_rectangular_row_sums_exists (n)
  15. 0015apply signed_rectangular_row_sums_exists
  16. 0016exact hF
  17. 0017cases hr
  18. 0018have hz : ∃ z. SignedPrefixSum(x,m,z)
  19. 0019specialize arithmetic_signed_sum_exists (m)
  20. 0020specialize arithmetic_signed_sum_exists (x)
  21. 0021specialize arithmetic_signed_sum_exists (m)
  22. 0022apply arithmetic_signed_sum_exists
  23. 0023cases hr_witness
  24. 0024cases hr_witness_right
  25. 0025exact hr_witness_right_left
  26. 0026cases hz
  27. 0027exists x1
  28. 0028exists x
  29. 0029split
  30. 0030exact hr_witness
  31. 0031exact hz_witness