def
definition
def or abbrev
hygienicBool
show as:
view Lean formalization →
formal statement (Lean)
59def hygienicBool (p : Protocol) : Bool :=
proof body
Definition body.
60 (!p.name.isEmpty) &&
61 match p.status with
62 | .hypothesis | .scaffold => (!p.assumptions.isEmpty) && (!p.falsifiers.isEmpty)
63 | _ => true
64
65end Protocol
66
67/-! ## Time windows (ticks) -/
68
69/-- A discrete measurement window, expressed in ticks. -/