Documentation

HeyVL.Vars

@[reducible, inline]
abbrev Globals :
Equations
Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      @[simp]
      theorem Globals.fresh_type {ty : HeyLo.Ty} (G : Globals) :
      (G.fresh ty).2.type = ty
      @[simp]
      theorem Globals.fresh_update {ty : HeyLo.Ty} (G : Globals) :
      (G.fresh ty).1 = insert (G.fresh ty).2 G
      @[simp]
      theorem Globals.fresh_not_in {ty : HeyLo.Ty} (G : Globals) :
      (G.fresh ty).2G

      Generate a fresh variables given some global.

      This is a macro to ensure definitional equality of the generated idents type.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        def HeyLo.fv {α : Ty} (C : HeyLo α) :
        Equations
        Instances For
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            Equations
            Instances For
              Equations
              Instances For
                Equations
                Instances For
                  Equations
                  Instances For
                    @[simp]
                    theorem HeyVL.mods_subset_fv (C : HeyVL) :
                    C.mods C.fv
                    @[simp]
                    @[simp]
                    @[simp]
                    @[simp]
                    theorem HeyLo.subst_fv {α : Ty} {x : Ident} (φ : HeyLo α) (y : HeyLo x.type) :
                    φ[x y].fv = {x} φ.fv y.fv
                    @[simp]
                    theorem HeyLo.fv_inf {X Y : HeyLo Ty.ENNReal} :
                    (XY).fv = X.fv Y.fv