law flood_complete_

minebender-game@1.0.0.0 · proof_laws.bend:958

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

958law flood_complete_:
959  for +w: Nat
960  for +h: Nat
961  for +layout: T.Grid(Bool)
962  for shape: {L.shaped(Bool, w, h, layout) == True{} : Bool}
963  for +g: G.Game
964  for r: L.Reachable(w, h, layout, g)
965  for +playing: {G.status(g) == T.Playing{} : T.Status}
966  for +p: T.Pos
967  for +on: {L.on_board(w, h, p) == True{} : Bool}
968  for +q: T.Pos
969  for +path: List<&2, T.Pos>
970  for +wk: {L.zero_walk(path, w, h, layout, p, q) == True{} : Bool}
971  {L.revealed(G.knowledge(G.open(g, p)), q) == True{} : Bool}

Uses (18)

Used by (1)