def Reachable

minebender-game@1.0.0.0 · LAWS.bend:242

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

242# The game g arises from a fresh game on this layout by some actions.
243def Reachable(w: Nat, h: Nat, layout: T.Grid(Bool), g: G.Game) -> Type:
244  Exists(List<&2, T.Action>,
245    acts => {play(acts, G.fresh(w, h, layout)) == g : G.Game})

Uses (9)

Used by (28)