law touching_all

minebender-game@1.0.0.0 · proof_cells.bend:499

import minebender-game@1.0.0.0/proof_cells.bend as ProofCells
import Base
import minebender-game@1.0.0.0/types.bend as T
import minebender-game@1.0.0.0/board.bend as B

499law touching_all:
500  for +w: Nat
501  for +h: Nat
502  for +s: T.Pos
503  for +xs: List<&2, T.Pos>
504  for +on: {allp(~WH, ~onb, WH{w, h}, xs) == True{} : Bool}
505  {allp(~WHS, ~adj_on, WHS{w, h, s}, B.touching(s, xs)) == True{} : Bool}

Uses (14)

Used by (1)