Documentation

Linglib.Syntax.Binding.Semantics

Binding Semantics #

Data types for H&K-style assignment-based binding semantics.

A position in a syntactic structure.

  • index : Nat

    Linear index (word position)

Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def BindingSemantics.instDecidableEqPosition.decEq (x✝ x✝¹ : Position) :
      Decidable (x✝ = x✝¹)
      Equations
      Instances For
        Equations
        Instances For

          A binding relation: which binder binds which bindee.

          • binder : Position

            Position of the binder (quantifier, lambda-operator, etc.)

          • bindee : Position

            Position of the bindee (pronoun, trace, etc.)

          • varIndex : Nat

            The variable index used in the assignment function

          Instances For
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              def BindingSemantics.instDecidableEqBindingRelation.decEq (x✝ x✝¹ : BindingRelation) :
              Decidable (x✝ = x✝¹)
              Equations
              • One or more equations did not get rendered due to their size.
              Instances For

                A complete binding configuration for a structure.

                • bindings : List BindingRelation

                  All binding relations in the structure

                • freeVariables : List (Position × Nat)

                  Positions that are free (unbound) variables

                Instances For
                  Equations
                  • One or more equations did not get rendered due to their size.
                  Instances For

                    A binding configuration is well-formed.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For