Documentation

Linglib.Theories.Semantics.Dynamic.Core.DRSExpr

DRS Syntax: Discourse Representation Structures #

@cite{kamp-reyle-1993} @cite{muskens-1996}

Pure syntactic representation of DRS expressions with structural operations — no semantic imports, no interpretation.

Definitions #

Design #

This module is the pure-syntax layer of the four-layer dynamic semantics architecture:

DynProp.lean       ← semantic algebra (DRS S, dseq, test, ...)
DynamicTy2.lean    ← compositional layer (Dref, AssignmentStructure)
DRSExpr.lean       ← DRS syntax (this file)
Accessibility.lean ← interpretation bridge (DRSExpr → DRS)

DRSExpr has no dependency on the semantic algebra (DRS S) or compositional types (Dref, Assign). Interpretation is defined in Accessibility.lean via interp : DRSExpr → DRS (Assign E).

Syntactic representation of DRS expressions.

Dref indices are natural numbers. Relation symbols are identified by natural number indices; their arity is implicit in the dref list.

Instances For

    Accessible drefs from an occurrence of u in K.

    Defined by structural recursion following @cite{muskens-1996} pp. 170–171:

    • Atomic: no drefs are accessible
    • Negation: accessibility passes through
    • Disjunction/implication: accessibility from the branch containing u, with antecedent drefs accessible in the consequent
    • Box: new drefs are accessible, plus accessibility from the condition containing u
    • Sequencing: drefs from K₁ are accessible in K₂
    Equations
    Instances For

      Find the first condition containing u and return its accessible drefs.

      Equations
      Instances For

        A dref u is free in K if it occurs in K but is not among the drefs accessible from its position.

        Equations
        Instances For

          A DRS is proper if it contains no free referents (@cite{muskens-1996}, p. 171).

          Equations
          Instances For

            "A man adores a woman" as a syntactic DRS.

            [u₁ u₂ | man u₁, woman u₂, u₁ adores u₂]

            Using relation indices: 0 = man, 1 = woman, 2 = adores.

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

              "If a farmer owns a donkey, he beats it" as a syntactic DRS.

              [u₁ u₂ | farmer u₁, donkey u₂, u₁ owns u₂] ⇒ [| u₁ beats u₂]

              Using relation indices: 0 = farmer, 1 = donkey, 2 = owns, 3 = beats.

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