Current library: Alpha v34, 4,223 checked-use theorems; Stable remains 432. Historical first admissions, original proof editions, and non-admitted aliases are preserved.
These are actual signed-table and finite-sum foundations. Equality compares represented signed values, not arbitrary encodings. MatrixMinorFourCode is reused solely as generic nested pairing, without a matrix hypothesis. Full finite signed G007 is established separately in the Möbius-inversion family.
Exact theorem in conservative defined notation
∀ F. ∀ l. ∀ a. ∀ b. SignedPrefixSum(F,l,a) → SignedPrefixSum(F,l,b) → a = b
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 57 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 (1)
01Fix variables and assumptionsL1–6
02Separate the logical casesL7–15
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L7
cases ha - L8
cases ha_witness - L9
cases ha_witness_witness - L10
cases ha_witness_witness_witness - L11
cases ha_witness_witness_witness_witness - L12
cases ha_witness_witness_witness_witness_witness - L13
cases ha_witness_witness_witness_witness_witness_witness - L14
cases ha_witness_witness_witness_witness_witness_witness_right - L15
cases ha_witness_witness_witness_witness_witness_witness_right_right
03Establish hotherL16–25
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply divisor signed sum to components.
- L16
have hother : ∃ p. ∃ n. Sum(x,x1,l,p) ∧ (Sum(x2,x3,l,n) ∧ SignedBalance(b,p,n))Definitions: Sum(x,x1,l,p)Sum(x2,x3,l,n)SignedBalance(b,p,n)Original native command in the exact edition - L17
specialize divisor_signed_sum_to_components (F) - L18
specialize divisor_signed_sum_to_components (x) - L19
specialize divisor_signed_sum_to_components (x1) - L20
specialize divisor_signed_sum_to_components (x2) - L21
specialize divisor_signed_sum_to_components (x3) - L22
specialize divisor_signed_sum_to_components (l) - L23
specialize divisor_signed_sum_to_components (b) - L24
apply divisor_signed_sum_to_components - L25
exact ha_witness_witness_witness_witness_witness_witness_left
04Use earlier factsL26–26
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L26
exact hb
05Separate the logical casesL27–30
06Establish hpL31–39
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta sum functional.
- L31
have hp : x6 = x4 - L32
specialize beta_sum_functional (x) - L33
specialize beta_sum_functional (x1) - L34
specialize beta_sum_functional (l) - L35
specialize beta_sum_functional (x6) - L36
specialize beta_sum_functional (x4) - L37
apply beta_sum_functional - L38
exact hother_witness_witness_left - L39
exact ha_witness_witness_witness_witness_witness_witness_right_left
07Establish hnL40–49
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply beta sum functional.
- L40
have hn : x7 = x5 - L41
specialize beta_sum_functional (x2) - L42
specialize beta_sum_functional (x3) - L43
specialize beta_sum_functional (l) - L44
specialize beta_sum_functional (x7) - L45
specialize beta_sum_functional (x5) - L46
apply beta_sum_functional - L47
exact hother_witness_witness_right_left - L48
exact ha_witness_witness_witness_witness_witness_witness_right_right_left - L49
rewrite hp at hother_witness_witness_right_right
08Calculate and transport equalitiesL50–50
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L50
rewrite hn at hother_witness_witness_right_right
09Use earlier factsL51–57
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L51
specialize signed_balance_functional (x4) - L52
specialize signed_balance_functional (x5) - L53
specialize signed_balance_functional (a) - L54
specialize signed_balance_functional (b) - L55
apply signed_balance_functional - L56
exact ha_witness_witness_witness_witness_witness_witness_right_right_right - L57
exact hother_witness_witness_right_right
Original defined command ledger · 57 lines
- 0001
intro F - 0002
intro l - 0003
intro a - 0004
intro b - 0005
intro ha - 0006
intro hb - 0007
cases ha - 0008
cases ha_witness - 0009
cases ha_witness_witness - 0010
cases ha_witness_witness_witness - 0011
cases ha_witness_witness_witness_witness - 0012
cases ha_witness_witness_witness_witness_witness - 0013
cases ha_witness_witness_witness_witness_witness_witness - 0014
cases ha_witness_witness_witness_witness_witness_witness_right - 0015
cases ha_witness_witness_witness_witness_witness_witness_right_right - 0016
have hother : ∃ p. ∃ n. Sum(x,x1,l,p) ∧ (Sum(x2,x3,l,n) ∧ SignedBalance(b,p,n)) - 0017
specialize divisor_signed_sum_to_components (F) - 0018
specialize divisor_signed_sum_to_components (x) - 0019
specialize divisor_signed_sum_to_components (x1) - 0020
specialize divisor_signed_sum_to_components (x2) - 0021
specialize divisor_signed_sum_to_components (x3) - 0022
specialize divisor_signed_sum_to_components (l) - 0023
specialize divisor_signed_sum_to_components (b) - 0024
apply divisor_signed_sum_to_components - 0025
exact ha_witness_witness_witness_witness_witness_witness_left - 0026
exact hb - 0027
cases hother - 0028
cases hother_witness - 0029
cases hother_witness_witness - 0030
cases hother_witness_witness_right - 0031
have hp : x6 = x4 - 0032
specialize beta_sum_functional (x) - 0033
specialize beta_sum_functional (x1) - 0034
specialize beta_sum_functional (l) - 0035
specialize beta_sum_functional (x6) - 0036
specialize beta_sum_functional (x4) - 0037
apply beta_sum_functional - 0038
exact hother_witness_witness_left - 0039
exact ha_witness_witness_witness_witness_witness_witness_right_left - 0040
have hn : x7 = x5 - 0041
specialize beta_sum_functional (x2) - 0042
specialize beta_sum_functional (x3) - 0043
specialize beta_sum_functional (l) - 0044
specialize beta_sum_functional (x7) - 0045
specialize beta_sum_functional (x5) - 0046
apply beta_sum_functional - 0047
exact hother_witness_witness_right_left - 0048
exact ha_witness_witness_witness_witness_witness_witness_right_right_left - 0049
rewrite hp at hother_witness_witness_right_right - 0050
rewrite hn at hother_witness_witness_right_right - 0051
specialize signed_balance_functional (x4) - 0052
specialize signed_balance_functional (x5) - 0053
specialize signed_balance_functional (a) - 0054
specialize signed_balance_functional (b) - 0055
apply signed_balance_functional - 0056
exact ha_witness_witness_witness_witness_witness_witness_right_right_right - 0057
exact hother_witness_witness_right_right