Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved. Exact original first-admission records.
Exact expanded first-order arithmetic statement
forall ac bc cc p n q m. (exists ge_balance_positive_bridge_first_mul ge_balance_negative_bridge_first_mul. (((((ac) = 2 * (ge_balance_positive_bridge_first_mul) /\ (ge_balance_negative_bridge_first_mul) = 0) \/ exists ge_signed_half_bridge_first_muldecode. (((ac) = 2 * ge_signed_half_bridge_first_muldecode + 1 /\ (ge_balance_positive_bridge_first_mul) = 0) /\ (ge_balance_negative_bridge_first_mul) = S ge_signed_half_bridge_first_muldecode))) /\ ((p) + ge_balance_negative_bridge_first_mul = (n) + ge_balance_positive_bridge_first_mul))) -> (exists ge_balance_positive_bridge_second_mul ge_balance_negative_bridge_second_mul. (((((bc) = 2 * (ge_balance_positive_bridge_second_mul) /\ (ge_balance_negative_bridge_second_mul) = 0) \/ exists ge_signed_half_bridge_second_muldecode. (((bc) = 2 * ge_signed_half_bridge_second_muldecode + 1 /\ (ge_balance_positive_bridge_second_mul) = 0) /\ (ge_balance_negative_bridge_second_mul) = S ge_signed_half_bridge_second_muldecode))) /\ ((q) + ge_balance_negative_bridge_second_mul = (m) + ge_balance_positive_bridge_second_mul))) -> (exists ge_balance_positive_bridge_output_mul ge_balance_negative_bridge_output_mul. (((((cc) = 2 * (ge_balance_positive_bridge_output_mul) /\ (ge_balance_negative_bridge_output_mul) = 0) \/ exists ge_signed_half_bridge_output_muldecode. (((cc) = 2 * ge_signed_half_bridge_output_muldecode + 1 /\ (ge_balance_positive_bridge_output_mul) = 0) /\ (ge_balance_negative_bridge_output_mul) = S ge_signed_half_bridge_output_muldecode))) /\ ((((((p) * (q))) + (((n) * (m))))) + ge_balance_negative_bridge_output_mul = (((((p) * (m))) + (((n) * (q))))) + ge_balance_positive_bridge_output_mul))) -> (exists sm_lp_gaussian_bridge_mul sm_ln_gaussian_bridge_mul sm_rp_gaussian_bridge_mul sm_rn_gaussian_bridge_mul sm_op_gaussian_bridge_mul sm_on_gaussian_bridge_mul. (((ac = 2 * sm_lp_gaussian_bridge_mul /\ sm_ln_gaussian_bridge_mul = 0) \/ exists sd_half_gaussian_bridge_mul_left. ((ac = 2 * sd_half_gaussian_bridge_mul_left + 1 /\ sm_lp_gaussian_bridge_mul = 0) /\ sm_ln_gaussian_bridge_mul = S sd_half_gaussian_bridge_mul_left)) /\ (((bc = 2 * sm_rp_gaussian_bridge_mul /\ sm_rn_gaussian_bridge_mul = 0) \/ exists sd_half_gaussian_bridge_mul_right. ((bc = 2 * sd_half_gaussian_bridge_mul_right + 1 /\ sm_rp_gaussian_bridge_mul = 0) /\ sm_rn_gaussian_bridge_mul = S sd_half_gaussian_bridge_mul_right)) /\ (((cc = 2 * sm_op_gaussian_bridge_mul /\ sm_on_gaussian_bridge_mul = 0) \/ exists sd_half_gaussian_bridge_mul_output. ((cc = 2 * sd_half_gaussian_bridge_mul_output + 1 /\ sm_op_gaussian_bridge_mul = 0) /\ sm_on_gaussian_bridge_mul = S sd_half_gaussian_bridge_mul_output)) /\ (sm_lp_gaussian_bridge_mul * sm_rp_gaussian_bridge_mul + sm_ln_gaussian_bridge_mul * sm_rn_gaussian_bridge_mul) + sm_on_gaussian_bridge_mul = (sm_lp_gaussian_bridge_mul * sm_rn_gaussian_bridge_mul + sm_ln_gaussian_bridge_mul * sm_rp_gaussian_bridge_mul) + sm_op_gaussian_bridge_mul))))Constructive proof overview
Generated structural guide
Actual arbitrary signed-pair mul contribution balances construct the unchanged historic canonical signed-mul graph.
The unchanged tactic script uses 4 declared prerequisites and contains 58 exact native proof lines.
Alpha v34 checked-use · first admitted v28 · independently kernel and Lean verified; not Stable
Proof neighborhood
Direct dependencies
matrix_integer_pair_product_balance Alpha theorem; checked-use authorized GI003B gaussian_signed_balance_integer_transport signed_mul_of_decoded_equation Alpha theorem; checked-use authorized add_comm Stable theorem; checked-use authorizedDirect dependents
Formal native tactic body
Dependencies are introduced as named hypotheses before line 1. Local theorem links identify exact declared prerequisites. This exact body belongs to a complete independently kernel-checked constructive proof bundle and has Alpha checked-use authority; it does not imply Stable membership.
Read the argument
Proof checkpoints
This is a reading aid, not a new proof or a proof-tree certificate. Checkpoint groups are consecutive commands, not inferred branch boundaries. Every step links to the preserved script.
Named ingredients (1)
01Fix variables and assumptionsL1–10
02Separate the logical casesL11–16
03Establish hequalL17–26
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply matrix integer pair product balance.
- L17
have hequal : ((((((p) * (q))) + (((n) * (m))))) + (((((x) * (x3))) + (((x1) * (x2)))))) = ((((((x) * (x2))) + (((x1) * (x3))))) + (((((p) * (m))) + (((n) * (q)))))) - L18
specialize matrix_integer_pair_product_balance p - L19
specialize matrix_integer_pair_product_balance n - L20
specialize matrix_integer_pair_product_balance x - L21
specialize matrix_integer_pair_product_balance x1 - L22
specialize matrix_integer_pair_product_balance q - L23
specialize matrix_integer_pair_product_balance m - L24
specialize matrix_integer_pair_product_balance x2 - L25
specialize matrix_integer_pair_product_balance x3 - L26
apply matrix_integer_pair_product_balance
04Calculate and transport equalitiesL27–27
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L27
trans n + x
05Use earlier factsL28–29
06Calculate and transport equalitiesL30–30
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L30
trans m + x2
07Use earlier factsL31–32
08Establish hnormalizedL33–41
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply gaussian signed balance integer transport.
- L33
have hnormalized : SignedBalance(cc,x · x2 + x1 · x3,x · x3 + x1 · x2)Definitions: SignedBalance - L34
specialize gaussian_signed_balance_integer_transport cc - L35
specialize gaussian_signed_balance_integer_transport ((((p) * (q))) + (((n) * (m)))) - L36
specialize gaussian_signed_balance_integer_transport ((((p) * (m))) + (((n) * (q)))) - L37
specialize gaussian_signed_balance_integer_transport ((((x) * (x2))) + (((x1) * (x3)))) - L38
specialize gaussian_signed_balance_integer_transport ((((x) * (x3))) + (((x1) * (x2)))) - L39
apply gaussian_signed_balance_integer_transport - L40
exact hequal - L41
exact houtput
09Separate the logical casesL42–44
10Use earlier factsL45–54
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L45
specialize signed_mul_of_decoded_equation ac - L46
specialize signed_mul_of_decoded_equation bc - L47
specialize signed_mul_of_decoded_equation cc - L48
specialize signed_mul_of_decoded_equation x - L49
specialize signed_mul_of_decoded_equation x1 - L50
specialize signed_mul_of_decoded_equation x2 - L51
specialize signed_mul_of_decoded_equation x3 - L52
specialize signed_mul_of_decoded_equation x4 - L53
specialize signed_mul_of_decoded_equation x5 - L54
apply signed_mul_of_decoded_equation
Original exact command ledger · 58 lines
- 0001
intro ac - 0002
intro bc - 0003
intro cc - 0004
intro p - 0005
intro n - 0006
intro q - 0007
intro m - 0008
intro hfirst - 0009
intro hsecond - 0010
intro houtput - 0011
cases hfirst - 0012
cases hfirst_witness - 0013
cases hfirst_witness_witness - 0014
cases hsecond - 0015
cases hsecond_witness - 0016
cases hsecond_witness_witness - 0017
have hequal : ((((((p) * (q))) + (((n) * (m))))) + (((((x) * (x3))) + (((x1) * (x2)))))) = ((((((x) * (x2))) + (((x1) * (x3))))) + (((((p) * (m))) + (((n) * (q)))))) - 0018
specialize matrix_integer_pair_product_balance p - 0019
specialize matrix_integer_pair_product_balance n - 0020
specialize matrix_integer_pair_product_balance x - 0021
specialize matrix_integer_pair_product_balance x1 - 0022
specialize matrix_integer_pair_product_balance q - 0023
specialize matrix_integer_pair_product_balance m - 0024
specialize matrix_integer_pair_product_balance x2 - 0025
specialize matrix_integer_pair_product_balance x3 - 0026
apply matrix_integer_pair_product_balance - 0027
trans n + x - 0028
exact hfirst_witness_witness_right - 0029
apply add_comm - 0030
trans m + x2 - 0031
exact hsecond_witness_witness_right - 0032
apply add_comm - 0033
have hnormalized : exists ge_balance_positive_signed_bridge_normalized_mul ge_balance_negative_signed_bridge_normalized_mul. (((((cc) = 2 * (ge_balance_positive_signed_bridge_normalized_mul) /\ (ge_balance_negative_signed_bridge_normalized_mul) = 0) \/ exists ge_signed_half_signed_bridge_normalized_muldecode. (((cc) = 2 * ge_signed_half_signed_bridge_normalized_muldecode + 1 /\ (ge_balance_positive_signed_bridge_normalized_mul) = 0) /\ (ge_balance_negative_signed_bridge_normalized_mul) = S ge_signed_half_signed_bridge_normalized_muldecode))) /\ ((((((x) * (x2))) + (((x1) * (x3))))) + ge_balance_negative_signed_bridge_normalized_mul = (((((x) * (x3))) + (((x1) * (x2))))) + ge_balance_positive_signed_bridge_normalized_mul)) - 0034
specialize gaussian_signed_balance_integer_transport cc - 0035
specialize gaussian_signed_balance_integer_transport ((((p) * (q))) + (((n) * (m)))) - 0036
specialize gaussian_signed_balance_integer_transport ((((p) * (m))) + (((n) * (q)))) - 0037
specialize gaussian_signed_balance_integer_transport ((((x) * (x2))) + (((x1) * (x3)))) - 0038
specialize gaussian_signed_balance_integer_transport ((((x) * (x3))) + (((x1) * (x2)))) - 0039
apply gaussian_signed_balance_integer_transport - 0040
exact hequal - 0041
exact houtput - 0042
cases hnormalized - 0043
cases hnormalized_witness - 0044
cases hnormalized_witness_witness - 0045
specialize signed_mul_of_decoded_equation ac - 0046
specialize signed_mul_of_decoded_equation bc - 0047
specialize signed_mul_of_decoded_equation cc - 0048
specialize signed_mul_of_decoded_equation x - 0049
specialize signed_mul_of_decoded_equation x1 - 0050
specialize signed_mul_of_decoded_equation x2 - 0051
specialize signed_mul_of_decoded_equation x3 - 0052
specialize signed_mul_of_decoded_equation x4 - 0053
specialize signed_mul_of_decoded_equation x5 - 0054
apply signed_mul_of_decoded_equation - 0055
exact hfirst_witness_witness_left - 0056
exact hsecond_witness_witness_left - 0057
exact hnormalized_witness_witness_left - 0058
exact hnormalized_witness_witness_right