law know_row_len

minebender-game@1.0.0.0 · proof_laws.bend:125

import minebender-game@1.0.0.0/proof_laws.bend as ProofLaws
import Base
import minebender-game@1.0.0.0/types.bend as T
import minebender-game@1.0.0.0/game.bend as G

125law know_row_len:
126  for +w: Nat
127  for +h: Nat
128  for +layout: T.Grid(Bool)
129  for +shown: T.Grid(Bool)
130  for +y: Nat
131  for +xs: List<&2, Nat>
132  {List.length(&2, T.Seen, G.know_row(w, h, layout, shown, y, xs)) == List.length(&2, Nat, xs) : Nat}

Uses (8)

Used by (1)