law display_mines_

minebender-game@1.0.0.0 · proof_display.bend:400

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

400law display_mines_:
401  for +w: Nat
402  for +h: Nat
403  for +layout: T.Grid(Bool)
404  for shape: {L.shaped(Bool, w, h, layout) == True{} : Bool}
405  for +g: G.Game
406  for r: L.Reachable(w, h, layout, g)
407  for over: {G.status(g) != T.Playing{} : T.Status}
408  for +q: T.Pos
409  for on: {L.on_board(w, h, q) == True{} : Bool}
410  for m: {L.mine(layout, q) == True{} : Bool}
411  {L.is_covered(L.tile(g, q)) == False{} : Bool}

Uses (17)

Used by (1)