Entity / foldkit-entity/laws
lawFactsOf
function · packages/entity/src/laws.ts:877
function lawFactsOf(entries: ReadonlyArray<LawEntry>): LawFactsDeclared transitions as graph facts, read off the declarations alone: a
transition per entry and the members it writes (an Unknown footprint
every field), a law per invariant of its Entity and the members it reads,
the Entity's states, and a write's from and becomes. Nothing is
enumerated, since whether a transition keeps a law is evidence. What
foldkit-surface's Graph.of derives a contract's laws.entities
with; a function by name, so that path does not carry Laws.check.