pith. machine review for the scientific record. sign in
theorem proved term proof high

ledger_algebra_certificate

show as:
view Lean formalization →

The ledger algebra certificate asserts that events form an abelian group under addition with conjugation as negation, paired events cancel, four-event windows are neutral, and graded ledgers conserve flux at every vertex. Researchers modeling double-entry conservation in discrete physical systems would cite it to ground balance laws. The proof is a one-line term that directly assembles four prior lemmas.

claimLet each ledger event $e$ carry an integer flow with componentwise addition and conjugation defined by negation. Then $e + e^- = 0$ for all $e$, $e^{--} = e$ for all $e$, the 8-window formed by any four events is neutral, and every graded ledger $L$ satisfies net flux zero at each vertex $v$.

background

A ledger event is a signed integer flow on an edge (positive debit, negative credit) equipped with the group structure of $Z$ under addition. Conjugation sends each event to its negative. A graded ledger consists of a finite vertex set together with integer edge values whose inflow equals outflow at every vertex by definition of the structure.

proof idea

The proof is a term-mode wrapper that directly supplies the four component results: paired_event_sum_zero for cancellation, conj_involution for the involution property, neutralWindow_isNeutral for window neutrality, and the netFlux_zero field of GradedLedger for vertex conservation.

why it matters in Recognition Science

This certificate collects the algebraic properties that guarantee global balance from local pairing and grading. It fills the ledger foundation step referenced in the module documentation and supports the claim that ledger structure forces zero net flux. No downstream theorems are recorded, so the result functions as a self-contained certificate rather than an intermediate lemma.

scope and limits

formal statement (Lean)

 260theorem ledger_algebra_certificate :
 261    -- Paired events cancel
 262    (∀ e : LedgerEvent, e + e.conj = 0) ∧
 263    -- Conjugation is involution
 264    (∀ e : LedgerEvent, e.conj.conj = e) ∧
 265    -- Neutral windows exist
 266    (∀ e₁ e₂ e₃ e₄ : LedgerEvent,
 267      (neutralWindow e₁ e₂ e₃ e₄).isNeutral) ∧
 268    -- Conservation at every vertex
 269    (∀ L : GradedLedger, ∀ v : Fin L.n, L.netFlux v = 0) :=

proof body

Term-mode proof.

 270  ⟨paired_event_sum_zero, conj_involution, neutralWindow_isNeutral,
 271   GradedLedger.netFlux_zero⟩
 272
 273end LedgerAlgebra
 274end Algebra
 275end IndisputableMonolith

depends on (13)

Lean names referenced from this declaration's body.