pith. machine review for the scientific record. sign in
def

isValid

definition
show as:
view math explainer →
module
IndisputableMonolith.RRF.Core.Strain
domain
RRF
line
109 · github
papers citing
none yet

open explainer

Generate a durable explainer page for this declaration.

open lean source

IndisputableMonolith.RRF.Core.Strain on GitHub at line 109.

browse module

All declarations in this module, on Recognition.

explainer page

Tracked in the explainer inventory; generation is lazy so crawlers do not trigger LLM jobs.

open explainer

depends on

used by

formal source

 106variable {State : Type*}
 107
 108/-- A state is valid if it has zero strain and closed ledger. -/
 109def isValid (SL : StrainLedger State) (x : State) : Prop :=
 110  SL.strain.isBalanced x ∧ SL.ledger.isClosed x
 111
 112/-- The set of valid states. -/
 113def validStates (SL : StrainLedger State) : Set State :=
 114  { x | SL.isValid x }
 115
 116end StrainLedger
 117
 118end RRF.Core
 119end IndisputableMonolith