def Facts

minebender-game@1.0.0.0 · proof_inv.bend:475

import minebender-game@1.0.0.0/proof_inv.bend as ProofInv
import Base
import minebender-game@1.0.0.0/types.bend as T
import minebender-game@1.0.0.0/board.bend as B
import minebender-game@1.0.0.0/game.bend as G
import minebender-game@1.0.0.0/LAWS.bend as L

475def Facts(+w: Nat, +h: Nat, +layout: T.Grid(Bool), +shown: T.Grid(Bool), +status: T.Status) -> Type:
476  {B.shaped(Bool, w, h, shown) == True{} : Bool} &
477  ({L.is_won(status) == G.all_safe(w, h, layout, shown) : Bool} &
478  ({calm(status, w, h, layout, shown) == True{} : Bool} &
479   {closed(w, h, layout, shown) == True{} : Bool}))

Uses (10)

Used by (3)