ProofLists.count_false_zero: law of minebender-game@1.0.0.0 Import: import minebender-game@1.0.0.0/proof_lists.bend as ProofLists Lines 536-546 of minebender-game@1.0.0.0/proof_lists.bend: https://jend.leeeet.dev/read.txt?path=minebender-game@1.0.0.0/proof_lists.bend&start_line=536&end_line=546 import Base import minebender-game@1.0.0.0/types.bend as T import minebender-game@1.0.0.0/board.bend as B # A grid with no unrevealed cell has every cell of the board revealed. law count_false_zero: for +w: Nat for +h: Nat for +g: T.Grid(Bool) for +x: Nat for +y: Nat for +sh: {B.shaped(Bool, w, h, g) == True{} : Bool} for +on: {B.on_board(w, h, T.Pos{x, y}) == True{} : Bool} for z: {B.count_false(g) == 0n : Nat} {B.at(Bool, False{}, g, T.Pos{x, y}) == True{} : Bool} Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/board.bend&name=at https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/board.bend&name=count_false https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/board.bend&name=on_board https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/board.bend&name=shaped https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/proof_lists.bend&name=count_false_zero.go https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/types.bend&name=Grid https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/types.bend&name=Pos