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
∀ a. ∀ b. ∀ p. ∀ n. SignedBalance(a,p,n) → SignedBalance(b,n,p) → ∃ x. ∃ y. SignedDecode(a,x,y) ∧ SignedDecode(b,y,x)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 27 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
02Establish hnL7–9
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply signed negate total.
- L7
have hn : ∃ c. ∃ x. ∃ y. SignedDecode(a,x,y) ∧ SignedDecode(c,y,x)Definitions: SignedDecode(a,x,y)SignedDecode(c,y,x)Original native command in the exact edition - L8
specialize signed_negate_total (a) - L9
apply signed_negate_total
03Separate the logical casesL10–10
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L10
cases hn
04Establish heqL11–20
Establish this local claim before using it. It is not an additional assumption. The following proof commands apply signed balance functional.
- L11
have heq : x = b - L12
specialize signed_balance_functional (n) - L13
specialize signed_balance_functional (p) - L14
specialize signed_balance_functional (x) - L15
specialize signed_balance_functional (b) - L16
apply signed_balance_functional - L17
specialize divisor_signed_balance_negate (a) - L18
specialize divisor_signed_balance_negate (x) - L19
specialize divisor_signed_balance_negate (p) - L20
specialize divisor_signed_balance_negate (n)
05Use earlier factsL21–24
06Calculate and transport equalitiesL25–26
07Use earlier factsL27–27
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L27
exact hn_witness
Original defined command ledger · 27 lines
- 0001
intro a - 0002
intro b - 0003
intro p - 0004
intro n - 0005
intro ha - 0006
intro hb - 0007
have hn : ∃ c. ∃ x. ∃ y. SignedDecode(a,x,y) ∧ SignedDecode(c,y,x) - 0008
specialize signed_negate_total (a) - 0009
apply signed_negate_total - 0010
cases hn - 0011
have heq : x = b - 0012
specialize signed_balance_functional (n) - 0013
specialize signed_balance_functional (p) - 0014
specialize signed_balance_functional (x) - 0015
specialize signed_balance_functional (b) - 0016
apply signed_balance_functional - 0017
specialize divisor_signed_balance_negate (a) - 0018
specialize divisor_signed_balance_negate (x) - 0019
specialize divisor_signed_balance_negate (p) - 0020
specialize divisor_signed_balance_negate (n) - 0021
apply divisor_signed_balance_negate - 0022
exact ha - 0023
exact hn_witness - 0024
exact hb - 0025
rewrite heq at hn_witness - 0026
rewrite heq at hn_witness - 0027
exact hn_witness