law nsm_use

minebender-game@1.0.0.0 · proof_inv.bend:323

import minebender-game@1.0.0.0/proof_inv.bend as ProofInv
import Base
import minebender-game@1.0.0.0/types.bend as T
import minebender-game@1.0.0.0/board.bend as B

323# Without a revealed mine, a mine of the board is not revealed.
324law nsm_use:
325  for +w: Nat
326  for +h: Nat
327  for +layout: T.Grid(Bool)
328  for +g: T.Grid(Bool)
329  for n: {nsm(w, h, layout, g) == True{} : Bool}
330  for +q: T.Pos
331  for on: {B.on_board(w, h, q) == True{} : Bool}
332  for m: {B.mine(layout, q) == True{} : Bool}
333  {B.at(Bool, False{}, g, q) == False{} : Bool}

Uses (16)

Used by (2)