def
definition
chainFlux
show as:
view math explainer →
open explainer
Read the cached plain-language explainer.
open lean source
IndisputableMonolith.RRF.Core.Recognition on GitHub at line 54.
browse module
All declarations in this module, on Recognition.
explainer page
depends on
-
Chain -
chainFlux -
RecognitionStructure -
tick -
tick -
RecognitionStructure -
Chain -
chainFlux -
L -
M -
RecognitionStructure -
L -
M -
Chain -
RecognitionStructure -
RecognitionStructure
used by
formal source
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