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) → (∃ x. ∃ y. SignedDecode(a,x,y) ∧ SignedDecode(b,y,x)) → SignedBalance(b,n,p)
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 21 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.
01Fix variables and assumptionsL1–6
02Separate the logical casesL7–9
03Construct an explicit witnessL10–11
04Separate the logical casesL12–12
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L12
split
05Use earlier factsL13–19
Instantiate or apply named facts and discharge the corresponding proof obligations.
06Calculate and transport equalitiesL20–20
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L20
symm
07Use earlier factsL21–21
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L21
exact hbalance_witness_witness_right
Original defined command ledger · 21 lines
- 0001
intro a - 0002
intro b - 0003
intro p - 0004
intro n - 0005
intro hbalance - 0006
intro hneg - 0007
cases hbalance - 0008
cases hbalance_witness - 0009
cases hbalance_witness_witness - 0010
exists x1 - 0011
exists x - 0012
split - 0013
specialize signed_negate_to_swapped_decode (a) - 0014
specialize signed_negate_to_swapped_decode (b) - 0015
specialize signed_negate_to_swapped_decode (x) - 0016
specialize signed_negate_to_swapped_decode (x1) - 0017
apply signed_negate_to_swapped_decode - 0018
exact hbalance_witness_witness_left - 0019
exact hneg - 0020
symm - 0021
exact hbalance_witness_witness_right