law con_todos

minebender-game@1.0.0.0 · proof_speed.bend:407

import minebender-game@1.0.0.0/proof_speed.bend as ProofSpeed
import Base
import minebender-game@1.0.0.0/types.bend as T
import minebender-game@1.0.0.0/solver.bend as S
import minebender-game@1.0.0.0/proof_cells.bend as PS

407# The todos of cells on the board are on the board.
408law con_todos:
409  for +w: Nat
410  for +h: Nat
411  for +its: List<&2, S.Item>
412  for +cs: List<&2, T.Pos>
413  for +on: {PS.allp(~PS.WH, ~PS.onb, PS.WH{w, h}, cs) == True{} : Bool}
414  {tall(~PS.WH, ~con_f, PS.WH{w, h}, S.todos(its, cs)) == True{} : Bool}

Uses (16)

Used by (1)