ProofSpeed.true_set_t: law of minebender-game@1.0.0.0 Import: import minebender-game@1.0.0.0/proof_speed.bend as ProofSpeed Lines 186-196 of minebender-game@1.0.0.0/proof_speed.bend: https://jend.leeeet.dev/read.txt?path=minebender-game@1.0.0.0/proof_speed.bend&start_line=186&end_line=196 import Base import minebender-game@1.0.0.0/types.bend as T import minebender-game@1.0.0.0/board.bend as B import minebender-game@1.0.0.0/solver.bend as S # ... and adds a mine when it places one ... law true_set_t: for +w: Nat for +h: Nat for +part: T.Grid(Maybe<&2, Bool>) for +x: Nat for +y: Nat for +sh: {B.shaped(Maybe<&2, Bool>, w, h, part) == True{} : Bool} for +on: {B.on_board(w, h, T.Pos{x, y}) == True{} : Bool} for +fr: {S.look(part, T.Pos{x, y}) == None{} : Maybe<&2, Bool>} {S.part_true(B.set_at(Maybe<&2, Bool>, part, T.Pos{x, y}, Some{True{}})) == 1n+S.part_true(part) : Nat} Uses (16): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.set https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe 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=on_board https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/board.bend&name=set_at 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=row_of https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/proof_speed.bend&name=cell_none https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/proof_speed.bend&name=row_get https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/proof_speed.bend&name=row_true_set_t https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/proof_speed.bend&name=true_go_t https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/solver.bend&name=look https://jend.leeeet.dev/definition.txt?path=minebender-game@1.0.0.0/solver.bend&name=part_true 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