def
definition
phi
show as:
view math explainer →
open explainer
Generate a durable explainer page for this declaration.
open lean source
IndisputableMonolith.RRF.Core.Recognition on GitHub at line 50.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
formal source
47abbrev RecogLedger := Recognition.Ledger
48
49/-- Re-export: Phi (net balance) function. -/
50def phi {M : RecognitionStructure} (L : Recognition.Ledger M) : M.U → ℤ :=
51 Recognition.phi L
52
53/-- Re-export: Chain flux. -/
54def chainFlux {M : RecognitionStructure} (L : Recognition.Ledger M) (ch : Recognition.Chain M) : ℤ :=
55 Recognition.chainFlux L ch
56
57/-- Re-export: Atomic tick class. -/
58abbrev AtomicTick := Recognition.AtomicTick
59
60/-- Re-export: Atomicity theorem (T2). -/
61theorem T2_atomicity {M : RecognitionStructure} [Recognition.AtomicTick M] :
62 ∀ t u v, Recognition.AtomicTick.postedAt (M:=M) t u → Recognition.AtomicTick.postedAt (M:=M) t v → u = v :=
63 Recognition.T2_atomicity
64
65/-- The bridge theorem: chainFlux is zero for balanced ledgers. -/
66theorem chainFlux_zero_of_balanced {M : RecognitionStructure} (L : Recognition.Ledger M)
67 (ch : Recognition.Chain M) (hbal : ∀ u, L.debit u = L.credit u) :
68 Recognition.chainFlux L ch = 0 :=
69 Recognition.chainFlux_zero_of_balanced L ch hbal
70
71end RRF.Core
72end IndisputableMonolith