law flood_complete_c

minebender-game@1.0.0.0 · proof_laws.bend:780

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/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
import minebender-game@1.0.0.0/proof_inv.bend as PI

780law flood_complete_c:
781  for +w: Nat
782  for +h: Nat
783  for +layout: T.Grid(Bool)
784  for +s: T.Grid(Bool)
785  for +f: List<&2, T.Pos>
786  for +shS: {B.shaped(Bool, w, h, s) == True{} : Bool}
787  for +cl: {PI.closed(w, h, layout, s) == True{} : Bool}
788  for +p: T.Pos
789  for +on: {L.on_board(w, h, p) == True{} : Bool}
790  for +q: T.Pos
791  for +path: List<&2, T.Pos>
792  for +wk: {L.zero_walk(path, w, h, layout, p, q) == True{} : Bool}
793  {L.revealed(G.knowledge(G.open(G.Game{w, h, layout, s, f, T.Playing{}}, p)), q) == True{} : Bool}

Uses (21)

Used by (1)