law count_false_set
minebender-game@1.0.0.0 · proof_lists.bend:512
import minebender-game@1.0.0.0/proof_lists.bend as ProofLists
import Base
import minebender-game@1.0.0.0/types.bend as T
import minebender-game@1.0.0.0/board.bend as B
512
513law count_false_set:
514 for +w: Nat
515 for +h: Nat
516 for +g: T.Grid(Bool)
517 for +x: Nat
518 for +y: Nat
519 for +sh: {B.shaped(Bool, w, h, g) == True{} : Bool}
520 for +on: {B.on_board(w, h, T.Pos{x, y}) == True{} : Bool}
521 for hid: {B.at(Bool, False{}, g, T.Pos{x, y}) == False{} : Bool}
522 {B.count_false(g) == 1n+B.count_false(B.set_at(Bool, g, T.Pos{x, y}, True{})) : Nat}