These are genuine signed-table and finite-sum foundations, not full divisor-sum cancellation or Möbius inversion. G007 remains open. The historical MatrixMinorFourCode definition is reused solely as generic nested pairing of four beta parameters; no matrix-specific hypothesis is imported. Equality is equality of represented signed values, not equality of arbitrary component codes.
Exact theorem in conservative defined notation
∀ F. ∀ l. ∀ z. SignedPrefixSum(F,S l,z) → ∃ x. ∃ y. SignedPrefixSum(F,l,x) ∧ (ArithAt(F,l,y) ∧ (∃ n. ∃ m. ∃ k. ∃ i. ∃ j. ∃ u. SignedDecode(x,n,m) ∧ (SignedDecode(y,k,i) ∧ (SignedDecode(z,j,u) ∧ n + k + u = m + i + j))))
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 90 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
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 (2)
01Fix variables and assumptionsL1–4
02Separate the logical casesL5–13
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L5
cases hs - L6
cases hs_witness - L7
cases hs_witness_witness - L8
cases hs_witness_witness_witness - L9
cases hs_witness_witness_witness_witness - L10
cases hs_witness_witness_witness_witness_witness - L11
cases hs_witness_witness_witness_witness_witness_witness - L12
cases hs_witness_witness_witness_witness_witness_witness_right - L13
cases hs_witness_witness_witness_witness_witness_witness_right_right
03Establish hpL14–20
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta sum succ decompose.
- L14
have hp : ∃ dsa_summand_decomp_positive. ∃ dsa_partial_decomp_positive. BetaAt(x,x1,l,dsa_summand_decomp_positive) ∧ (Sum(x,x1,l,dsa_partial_decomp_positive) ∧ x4 = dsa_partial_decomp_positive + dsa_summand_decomp_positive)Definitions: BetaAt(x,x1,l,dsa_summand_decomp_positive)Sum(x,x1,l,dsa_partial_decomp_positive)Original native command in the exact edition - L15
specialize beta_sum_succ_decompose (x) - L16
specialize beta_sum_succ_decompose (x1) - L17
specialize beta_sum_succ_decompose (l) - L18
specialize beta_sum_succ_decompose (x4) - L19
apply beta_sum_succ_decompose - L20
exact hs_witness_witness_witness_witness_witness_witness_right_left
04Separate the logical casesL21–24
05Establish hnL25–31
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta sum succ decompose.
- L25
have hn : ∃ dsa_summand_decomp_negative. ∃ dsa_partial_decomp_negative. BetaAt(x2,x3,l,dsa_summand_decomp_negative) ∧ (Sum(x2,x3,l,dsa_partial_decomp_negative) ∧ x5 = dsa_partial_decomp_negative + dsa_summand_decomp_negative)Definitions: BetaAt(x2,x3,l,dsa_summand_decomp_negative)Sum(x2,x3,l,dsa_partial_decomp_negative)Original native command in the exact edition - L26
specialize beta_sum_succ_decompose (x2) - L27
specialize beta_sum_succ_decompose (x3) - L28
specialize beta_sum_succ_decompose (l) - L29
specialize beta_sum_succ_decompose (x5) - L30
apply beta_sum_succ_decompose - L31
exact hs_witness_witness_witness_witness_witness_witness_right_right_left
06Separate the logical casesL32–35
07Establish haL36–39
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply signed balance total.
- L36
have ha : ∃ a. SignedBalance(a,x7,x9)Definitions: SignedBalance(a,x7,x9)Original native command in the exact edition - L37
specialize signed_balance_total (x7) - L38
specialize signed_balance_total (x9) - L39
apply signed_balance_total
08Separate the logical casesL40–40
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L40
cases ha
09Establish hbL41–44
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply signed balance total.
- L41
have hb : ∃ b. SignedBalance(b,x6,x8)Definitions: SignedBalance(b,x6,x8)Original native command in the exact edition - L42
specialize signed_balance_total (x6) - L43
specialize signed_balance_total (x8) - L44
apply signed_balance_total
10Separate the logical casesL45–45
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L45
cases hb
11Construct an explicit witnessL46–47
12Separate the logical casesL48–48
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L48
split
13Use earlier factsL49–58
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L49
specialize divisor_signed_sum_from_components (F) - L50
specialize divisor_signed_sum_from_components (x) - L51
specialize divisor_signed_sum_from_components (x1) - L52
specialize divisor_signed_sum_from_components (x2) - L53
specialize divisor_signed_sum_from_components (x3) - L54
specialize divisor_signed_sum_from_components (l) - L55
specialize divisor_signed_sum_from_components (x7) - L56
specialize divisor_signed_sum_from_components (x9) - L57
specialize divisor_signed_sum_from_components (x10) - L58
apply divisor_signed_sum_from_components
14Use earlier factsL59–62
15Separate the logical casesL63–63
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L63
split
16Use earlier factsL64–73
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L64
specialize divisor_signed_table_at_from_components (F) - L65
specialize divisor_signed_table_at_from_components (x) - L66
specialize divisor_signed_table_at_from_components (x1) - L67
specialize divisor_signed_table_at_from_components (x2) - L68
specialize divisor_signed_table_at_from_components (x3) - L69
specialize divisor_signed_table_at_from_components (l) - L70
specialize divisor_signed_table_at_from_components (x6) - L71
specialize divisor_signed_table_at_from_components (x8) - L72
specialize divisor_signed_table_at_from_components (x11) - L73
apply divisor_signed_table_at_from_components
17Use earlier factsL74–83
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L74
exact hs_witness_witness_witness_witness_witness_witness_left - L75
exact hp_witness_witness_left - L76
exact hn_witness_witness_left - L77
exact hb_witness - L78
specialize gaussian_signed_add_of_balances (x10) - L79
specialize gaussian_signed_add_of_balances (x11) - L80
specialize gaussian_signed_add_of_balances (z) - L81
specialize gaussian_signed_add_of_balances (x7) - L82
specialize gaussian_signed_add_of_balances (x9) - L83
specialize gaussian_signed_add_of_balances (x6)
18Use earlier factsL84–87
19Calculate and transport equalitiesL88–89
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
20Use earlier factsL90–90
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L90
exact hs_witness_witness_witness_witness_witness_witness_right_right_right
Original defined command ledger · 90 lines
- 0001
intro F - 0002
intro l - 0003
intro z - 0004
intro hs - 0005
cases hs - 0006
cases hs_witness - 0007
cases hs_witness_witness - 0008
cases hs_witness_witness_witness - 0009
cases hs_witness_witness_witness_witness - 0010
cases hs_witness_witness_witness_witness_witness - 0011
cases hs_witness_witness_witness_witness_witness_witness - 0012
cases hs_witness_witness_witness_witness_witness_witness_right - 0013
cases hs_witness_witness_witness_witness_witness_witness_right_right - 0014
have hp : ∃ dsa_summand_decomp_positive. ∃ dsa_partial_decomp_positive. BetaAt(x,x1,l,dsa_summand_decomp_positive) ∧ (Sum(x,x1,l,dsa_partial_decomp_positive) ∧ x4 = dsa_partial_decomp_positive + dsa_summand_decomp_positive) - 0015
specialize beta_sum_succ_decompose (x) - 0016
specialize beta_sum_succ_decompose (x1) - 0017
specialize beta_sum_succ_decompose (l) - 0018
specialize beta_sum_succ_decompose (x4) - 0019
apply beta_sum_succ_decompose - 0020
exact hs_witness_witness_witness_witness_witness_witness_right_left - 0021
cases hp - 0022
cases hp_witness - 0023
cases hp_witness_witness - 0024
cases hp_witness_witness_right - 0025
have hn : ∃ dsa_summand_decomp_negative. ∃ dsa_partial_decomp_negative. BetaAt(x2,x3,l,dsa_summand_decomp_negative) ∧ (Sum(x2,x3,l,dsa_partial_decomp_negative) ∧ x5 = dsa_partial_decomp_negative + dsa_summand_decomp_negative) - 0026
specialize beta_sum_succ_decompose (x2) - 0027
specialize beta_sum_succ_decompose (x3) - 0028
specialize beta_sum_succ_decompose (l) - 0029
specialize beta_sum_succ_decompose (x5) - 0030
apply beta_sum_succ_decompose - 0031
exact hs_witness_witness_witness_witness_witness_witness_right_right_left - 0032
cases hn - 0033
cases hn_witness - 0034
cases hn_witness_witness - 0035
cases hn_witness_witness_right - 0036
have ha : ∃ a. SignedBalance(a,x7,x9) - 0037
specialize signed_balance_total (x7) - 0038
specialize signed_balance_total (x9) - 0039
apply signed_balance_total - 0040
cases ha - 0041
have hb : ∃ b. SignedBalance(b,x6,x8) - 0042
specialize signed_balance_total (x6) - 0043
specialize signed_balance_total (x8) - 0044
apply signed_balance_total - 0045
cases hb - 0046
exists x10 - 0047
exists x11 - 0048
split - 0049
specialize divisor_signed_sum_from_components (F) - 0050
specialize divisor_signed_sum_from_components (x) - 0051
specialize divisor_signed_sum_from_components (x1) - 0052
specialize divisor_signed_sum_from_components (x2) - 0053
specialize divisor_signed_sum_from_components (x3) - 0054
specialize divisor_signed_sum_from_components (l) - 0055
specialize divisor_signed_sum_from_components (x7) - 0056
specialize divisor_signed_sum_from_components (x9) - 0057
specialize divisor_signed_sum_from_components (x10) - 0058
apply divisor_signed_sum_from_components - 0059
exact hs_witness_witness_witness_witness_witness_witness_left - 0060
exact hp_witness_witness_right_left - 0061
exact hn_witness_witness_right_left - 0062
exact ha_witness - 0063
split - 0064
specialize divisor_signed_table_at_from_components (F) - 0065
specialize divisor_signed_table_at_from_components (x) - 0066
specialize divisor_signed_table_at_from_components (x1) - 0067
specialize divisor_signed_table_at_from_components (x2) - 0068
specialize divisor_signed_table_at_from_components (x3) - 0069
specialize divisor_signed_table_at_from_components (l) - 0070
specialize divisor_signed_table_at_from_components (x6) - 0071
specialize divisor_signed_table_at_from_components (x8) - 0072
specialize divisor_signed_table_at_from_components (x11) - 0073
apply divisor_signed_table_at_from_components - 0074
exact hs_witness_witness_witness_witness_witness_witness_left - 0075
exact hp_witness_witness_left - 0076
exact hn_witness_witness_left - 0077
exact hb_witness - 0078
specialize gaussian_signed_add_of_balances (x10) - 0079
specialize gaussian_signed_add_of_balances (x11) - 0080
specialize gaussian_signed_add_of_balances (z) - 0081
specialize gaussian_signed_add_of_balances (x7) - 0082
specialize gaussian_signed_add_of_balances (x9) - 0083
specialize gaussian_signed_add_of_balances (x6) - 0084
specialize gaussian_signed_add_of_balances (x8) - 0085
apply gaussian_signed_add_of_balances - 0086
exact ha_witness - 0087
exact hb_witness - 0088
rewrite hp_witness_witness_right_right at hs_witness_witness_witness_witness_witness_witness_right_right_right - 0089
rewrite hn_witness_witness_right_right at hs_witness_witness_witness_witness_witness_witness_right_right_right - 0090
exact hs_witness_witness_witness_witness_witness_witness_right_right_right