def monotone.k

minebender-game@1.0.0.0 · proof_laws.bend:533

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
import minebender-game@1.0.0.0/LAWS.bend as L

533def monotone.k(+w: Nat, +h: Nat, +layout: T.Grid(Bool), +g: G.Game, +a: T.Action, +q: T.Pos,
534  vis: {L.revealed(G.knowledge(g), q) == True{} : Bool}, c1: Canon(w, h, layout, g),
535  c2: Canon(w, h, layout, G.step(g, a))) ->
536  {L.seen(G.knowledge(G.step(g, a)), q) == L.seen(G.knowledge(g), q) : T.Seen}:
537  match c1:
538    case (eg, f1):
539      match c2:
540        case (eg2, f2):
541          monotone.k2(w, h, layout, g, a, q, vis, eg, eg2)

Uses (14)

Used by (1)