law hc_on

minebender-game@1.0.0.0 · proof_solver.bend:2480

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

2480law hc_on:
2481  for +rows: T.Grid(T.Seen)
2482  for +w: Nat
2483  for +h: Nat
2484  for +ps: List<&2, T.Pos>
2485  for +ons: {PS.allp(~PS.WH, ~PS.onb, PS.WH{w, h}, ps) == True{} : Bool}
2486  {PS.allp(~PS.WH, ~PS.onb, PS.WH{w, h}, S.hidden_cells(rows, ps)) == True{} : Bool}

Uses (15)

Used by (2)