17 debit := fun _ => 1, 18 credit := fun _ => 0 19} 20 21/-- The simple structure satisfies conservation on closed chains. -/ 22instance : Conserves SimpleLedger := { 23 conserve := by 24 intro ch hclosed 25 simp [chainFlux, phi] 26 -- For any closed chain, head = last, so flux = 0 27 rw [hclosed] 28 ring 29} 30 31/-- A simple tick schedule alternating between the two vertices. -/
depends on (16)
Lean names referenced from this declaration's body.