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. ∀ pb. ∀ pc. ∀ nb. ∀ nc. ∀ l. ∀ z. MatrixMinorFourCode(F,pb,pc,nb,nc) → SignedPrefixSum(F,l,z) → ∃ x. ∃ y. Sum(pb,pc,l,x) ∧ (Sum(nb,nc,l,y) ∧ SignedBalance(z,x,y))
Every linked abbreviation expands hygienically to the identical original native formula.
Definition DAG
Actual proof prerequisites
Complete tactic proof in conservative notation
All 47 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–9
02Separate the logical casesL10–18
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L10
cases hsum - L11
cases hsum_witness - L12
cases hsum_witness_witness - L13
cases hsum_witness_witness_witness - L14
cases hsum_witness_witness_witness_witness - L15
cases hsum_witness_witness_witness_witness_witness - L16
cases hsum_witness_witness_witness_witness_witness_witness - L17
cases hsum_witness_witness_witness_witness_witness_witness_right - L18
cases hsum_witness_witness_witness_witness_witness_witness_right_right
03Establish heqL19–28
Establish this local claim before using it. It is not an additional assumption.
- L19
have heq : ((x = pb) /\ (((x1 = pc) /\ (((x2 = nb) /\ (x3 = nc)))))) - L20
specialize matrix_minor_four_code_components_injective (F) - L21
specialize matrix_minor_four_code_components_injective (x) - L22
specialize matrix_minor_four_code_components_injective (x1) - L23
specialize matrix_minor_four_code_components_injective (x2) - L24
specialize matrix_minor_four_code_components_injective (x3) - L25
specialize matrix_minor_four_code_components_injective (pb) - L26
specialize matrix_minor_four_code_components_injective (pc) - L27
specialize matrix_minor_four_code_components_injective (nb) - L28
specialize matrix_minor_four_code_components_injective (nc)
04Use earlier factsL29–31
05Separate the logical casesL32–34
06Construct an explicit witnessL35–36
07Separate the logical casesL37–37
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L37
split
08Calculate and transport equalitiesL38–40
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
09Use earlier factsL41–41
Instantiate or apply named facts and discharge the corresponding proof obligations.
- L41
exact hsum_witness_witness_witness_witness_witness_witness_right_left
10Separate the logical casesL42–42
Follow the explicit conjunction, disjunction, witness, or contradiction step recorded below.
- L42
split
11Calculate and transport equalitiesL43–45
Carry out the recorded arithmetic or equality steps; inspect the exact commands for their direction and premises.
- L43
rewrite heq_right_right_left at hsum_witness_witness_witness_witness_witness_witness_right_right_left - L44
rewrite heq_right_right_right at hsum_witness_witness_witness_witness_witness_witness_right_right_left - L45
rewrite heq_right_right_right at hsum_witness_witness_witness_witness_witness_witness_right_right_left
Original defined command ledger · 47 lines
- 0001
intro F - 0002
intro pb - 0003
intro pc - 0004
intro nb - 0005
intro nc - 0006
intro l - 0007
intro z - 0008
intro hrep - 0009
intro hsum - 0010
cases hsum - 0011
cases hsum_witness - 0012
cases hsum_witness_witness - 0013
cases hsum_witness_witness_witness - 0014
cases hsum_witness_witness_witness_witness - 0015
cases hsum_witness_witness_witness_witness_witness - 0016
cases hsum_witness_witness_witness_witness_witness_witness - 0017
cases hsum_witness_witness_witness_witness_witness_witness_right - 0018
cases hsum_witness_witness_witness_witness_witness_witness_right_right - 0019
have heq : ((x = pb) /\ (((x1 = pc) /\ (((x2 = nb) /\ (x3 = nc)))))) - 0020
specialize matrix_minor_four_code_components_injective (F) - 0021
specialize matrix_minor_four_code_components_injective (x) - 0022
specialize matrix_minor_four_code_components_injective (x1) - 0023
specialize matrix_minor_four_code_components_injective (x2) - 0024
specialize matrix_minor_four_code_components_injective (x3) - 0025
specialize matrix_minor_four_code_components_injective (pb) - 0026
specialize matrix_minor_four_code_components_injective (pc) - 0027
specialize matrix_minor_four_code_components_injective (nb) - 0028
specialize matrix_minor_four_code_components_injective (nc) - 0029
apply matrix_minor_four_code_components_injective - 0030
exact hsum_witness_witness_witness_witness_witness_witness_left - 0031
exact hrep - 0032
cases heq - 0033
cases heq_right - 0034
cases heq_right_right - 0035
exists x4 - 0036
exists x5 - 0037
split - 0038
rewrite heq_left at hsum_witness_witness_witness_witness_witness_witness_right_left - 0039
rewrite heq_right_left at hsum_witness_witness_witness_witness_witness_witness_right_left - 0040
rewrite heq_right_left at hsum_witness_witness_witness_witness_witness_witness_right_left - 0041
exact hsum_witness_witness_witness_witness_witness_witness_right_left - 0042
split - 0043
rewrite heq_right_right_left at hsum_witness_witness_witness_witness_witness_witness_right_right_left - 0044
rewrite heq_right_right_right at hsum_witness_witness_witness_witness_witness_witness_right_right_left - 0045
rewrite heq_right_right_right at hsum_witness_witness_witness_witness_witness_witness_right_right_left - 0046
exact hsum_witness_witness_witness_witness_witness_witness_right_right_left - 0047
exact hsum_witness_witness_witness_witness_witness_witness_right_right_right