Documentation

Semantic.CC.TypeSystem.Core

inductive CC.Binding :
SigKindType
Instances For
    def CC.Binding.rename {s1 : Sig} {k : Kind} {s2 : Sig} :
    Binding s1 kRename s1 s2Binding s2 k
    Equations
    Instances For
      inductive CC.Ctx :
      SigType
      Instances For
        def CC.Ctx.push_var {s : Sig} :
        Ctx sTy TySort.capt sCtx (s,x)
        Equations
        Instances For
          def CC.Ctx.push_tvar {s : Sig} :
          Ctx sTy TySort.shape sCtx (s,X)
          Equations
          Instances For
            def CC.Ctx.push_cvar {s : Sig} :
            Ctx sCaptureBound sCtx (s,C)
            Equations
            Instances For
              inductive CC.Binding.IsClosed {s : Sig} {k : Kind} :
              Binding s kProp

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

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

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

                Instances For
                  inductive CC.Ctx.LookupTVar {s : Sig} :
                  Ctx sBVar s Kind.tvarTy TySort.shape sProp
                  Instances For
                    inductive CC.Ctx.LookupVar {s : Sig} :
                    Ctx sBVar s Kind.varTy TySort.capt sProp
                    Instances For
                      inductive CC.Ctx.LookupCVar {s : Sig} :
                      Ctx sBVar s Kind.cvarCaptureBound sProp
                      Instances For
                        inductive CC.Subcapt {s : Sig} :
                        Ctx sCaptureSet sCaptureSet sProp
                        Instances For
                          inductive CC.Subbound {s : Sig} :
                          Ctx sCaptureBound sCaptureBound sProp
                          Instances For
                            inductive CC.Subtyp {s : Sig} {k : TySort} :
                            Ctx sTy k sTy k sProp
                            Instances For
                              inductive CC.HasType {s : Sig} :
                              CaptureSet sCtx sExp sTy TySort.exi sProp
                              Instances For
                                Equations
                                • One or more equations did not get rendered due to their size.
                                Instances For