Documentation

LeanSubst.Types.Option

def LeanSubst.Option.rmap {S : Type u1} {V : List (Type u2)} [RenMap S V] (r : RenVec V) :
Option S → Option S
Equations
Instances For
    @[instance_reducible]
    instance LeanSubst.instRenMapOption {S : Type u1} {V : List (Type u2)} [RenMap S V] :
    Equations
    @[simp]
    theorem LeanSubst.Option.rmap_none {S : Type u1} {V : List (Type u2)} [RenMap S V] {r : RenVec V} :
    @[simp]
    theorem LeanSubst.Option.rmap_some {S : Type u1} {V : List (Type u2)} [RenMap S V] {x : S} {r : RenVec V} :
    instance LeanSubst.instRenMapIdOption {S : Type u1} {V : List (Type u2)} [RenMap S V] [RenMapId S V] :
    def LeanSubst.Option.smap {S : Type u1} {V : List (Type u2)} [SubstMap S V] (σ : SubstVec V) :
    Option S → Option S
    Equations
    Instances For
      @[instance_reducible]
      instance LeanSubst.instSubstMapOption {S : Type u1} {V : List (Type u2)} [SubstMap S V] :
      Equations
      @[simp]
      theorem LeanSubst.Option.smap_none {S : Type u1} {V : List (Type u2)} [SubstMap S V] {σ : SubstVec V} :
      @[simp]
      theorem LeanSubst.Option.smap_some {S : Type u1} {V : List (Type u2)} [SubstMap S V] {x : S} {σ : SubstVec V} :
      (some x)[σ,] = some x[σ,]