Documentation

Semantic.CC.TypeSystem.Core

inductive CC.Binding :
Sig → Kind → Type
Instances For
    def CC.Binding.rename {s1 : Sig} {k : Kind} {s2 : Sig} :
    Binding s1 k → Rename s1 s2 → Binding s2 k
    Equations
    Instances For
      inductive CC.Ctx :
      Sig → Type
      Instances For
        def CC.Ctx.push_var {s : Sig} :
        Ctx s → Ty TySort.capt s → Ctx (s,x)
        Equations
        Instances For
          def CC.Ctx.push_tvar {s : Sig} :
          Ctx s → Ty TySort.shape s → Ctx (s,X)
          Equations
          Instances For
            def CC.Ctx.push_cvar {s : Sig} :
            Ctx s → CaptureBound s → Ctx (s,C)
            Equations
            Instances For
              inductive CC.Binding.IsClosed {s : Sig} {k : Kind} :
              Binding s k → Prop

              A binding is closed if the type it contains is closed.

              Instances For
                inductive CC.Ctx.IsClosed {s : Sig} :
                Ctx s → Prop

                A context is closed if all bindings in it are closed.

                Instances For
                  inductive CC.Ctx.LookupTVar {s : Sig} :
                  Ctx s → BVar s Kind.tvar → Ty TySort.shape s → Prop
                  Instances For
                    inductive CC.Ctx.LookupVar {s : Sig} :
                    Ctx s → BVar s Kind.var → Ty TySort.capt s → Prop
                    Instances For
                      inductive CC.Ctx.LookupCVar {s : Sig} :
                      Ctx s → BVar s Kind.cvar → CaptureBound s → Prop
                      Instances For
                        inductive CC.Subcapt {s : Sig} :
                        Ctx s → CaptureSet s → CaptureSet s → Prop
                        Instances For
                          inductive CC.Subbound {s : Sig} :
                          Ctx s → CaptureBound s → CaptureBound s → Prop
                          Instances For
                            inductive CC.Subtyp {s : Sig} {k : TySort} :
                            Ctx s → Ty k s → Ty k s → Prop
                            Instances For
                              inductive CC.HasType {s : Sig} :
                              CaptureSet s → Ctx s → Exp s → Ty TySort.exi s → Prop
                              Instances For
                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For