def start_ok

minebender-game@1.0.0.0 · proof_laws.bend:672

import minebender-game@1.0.0.0/proof_laws.bend as ProofLaws
import Base
import minebender-game@1.0.0.0/types.bend as T
import minebender-game@1.0.0.0/game.bend as G
import minebender-game@1.0.0.0/LAWS.bend as L
import minebender-game@1.0.0.0/proof_walk.bend as PW
import minebender-game@1.0.0.0/proof_flood.bend as PF

672def start_ok(+w: Nat, +h: Nat, +layout: T.Grid(Bool), +p: T.Pos) ->
673  {PF.works_ok({[G.Work{p, Nil{}}] : List<&2, G.Work>}, w, h, layout, p) == True{} : Bool}:
674  %Equal.sym(Bool, L.same(p, p), True{}, PW.lsame_refl(p)) : {Bool.and(_, True{}) == True{} : Bool}
675  {==}

Uses (11)

Used by (1)