Documentation

Iris.Instances.Data.State

inductive Iris.Instances.Data.StateResult (α : Type u_1) :
Type u_1

Result of an operation on State.

Instances For
    @[reducible, inline]
    abbrev Iris.Instances.Data.State (Val : Type u_1) :
    Type u_1

    Implementation of a state datatype as a map from Nat to a StateResult with a value from Val.

    Equations
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Equations
      • One or more equations did not get rendered due to their size.
      theorem Iris.Instances.Data.empty_union {Val : Type u_1} {s : State Val} :
      s = ∅ ∪ s
      theorem Iris.Instances.Data.union_comm {Val : Type u_1} {a b : State Val} :
      a ∪ b = b ∪ a
      theorem Iris.Instances.Data.union_assoc {Val : Type u_1} {a b c : State Val} :
      a ∪ b ∪ c = a ∪ (b ∪ c)
      theorem Iris.Instances.Data.empty_disjoint {Val : Type u_1} {s : State Val} :
      theorem Iris.Instances.Data.disjoint_comm {Val : Type u_1} {a b : State Val} :
      a || b ↔ b || a
      theorem Iris.Instances.Data.disjoint_assoc {Val : Type u_1} {a b c : State Val} :
      a ∪ b || c → a || b → a || c ∧ b || c
      theorem Iris.Instances.Data.disjoint_union {Val : Type u_1} {a b c : State Val} :
      a || b → a || c → a || b ∪ c