Documentation

Cslib.Foundations.Syntax.Context

class Cslib.HasHContext (α : Type u_1) (β : Type u_2) :
Type (max (max u_1 u_2) (u_3 + 1))

Class for types with a canonical notion of heterogeneous single-hole contexts.

  • Context : Type u_3

    The type of contexts.

  • fill (c : Context α β) (b : β) : α

    Replaces the hole in the context with a value, resulting in a new value.

Instances

    Replaces the hole in the context with a value, resulting in a new value.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      @[reducible, inline]
      abbrev Cslib.HasContext (α : Type u_1) :
      Type (max u_1 (u_2 + 1))

      Class for types (α) that have a canonical notion of homogeneous single-hole contexts (Context).

      Equations
      Instances For
        def Cslib.HasContext.Context (α : Type u_1) [HasContext α] :
        Type u_2

        The type of contexts.

        Equations
        Instances For