law wide_le9

minebender-game@1.0.0.0 · proof_gen.bend:1116

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

1116# The zone around a first click holds at most 9 cells of the board.
1117law wide_le9:
1118  for +fx: Nat
1119  for +fy: Nat
1120  for +w: Nat
1121  for +h: Nat
1122  {Nat.is_le(outs(G.Zone{T.Pos{fx, fy}, True{}}, B.cells(w, h)), 9n) == True{} : Bool}

Uses (17)

Used by (1)