law works_ok_works

minebender-game@1.0.0.0 · proof_flood.bend:533

import minebender-game@1.0.0.0/proof_flood.bend as ProofFlood
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_cells.bend as PS

533law works_ok_works:
534  for +ns: List<&2, T.Pos>
535  for +back: List<&2, T.Pos>
536  for +c: T.Pos
537  for +w: Nat
538  for +h: Nat
539  for +layout: T.Grid(Bool)
540  for +p0: T.Pos
541  for +okc: {L.zero_walk(List.reverse(&2, T.Pos, back), w, h, layout, p0, c) == True{} : Bool}
542  for +zc: {L.zero(w, h, layout, c) == True{} : Bool}
543  for +adj: {PS.allp(~PS.WHS, ~PS.adj_on, PS.WHS{w, h, c}, ns) == True{} : Bool}
544  {works_ok(G.works(ns, back), w, h, layout, p0) == True{} : Bool}

Uses (26)

Used by (1)