Documentation

Linglib.Theories.Semantics.Composition.Tree

TN: lexical lookup.

Equations
Instances For
    def Semantics.Composition.Tree.interpFA {m : Montague.Model} {σ τ : Montague.Ty} (f : m.interpTy (σ τ)) (x : m.interpTy σ) :

    FA: ⟦β⟧(⟦γ⟧)

    Equations
    Instances For

      Try FA in both orders.

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

        PM: combine two ⟨e,t⟩ predicates.

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

          Interpret a tree under an assignment.

          Implements @cite{heim-kratzer-1998} Ch. 3-5 type-driven interpretation:

          • TN: terminal → lexical lookup
          • NN: unary node → identity
          • FA/PM: binary node → try FA then PM
          • Traces/Pronouns: ⟦tₙ⟧^g = g(n)
          • Predicate Abstraction (PA): ⟦[n β]⟧^g = λx. ⟦β⟧^{g[n↦x]}

          PA is the key to quantifier scope: after QR moves a quantifier DP to a higher position, PA abstracts over the trace it leaves behind, producing a predicate that the quantifier can take as its scope argument.

          The category parameter C is ignored during interpretation — composition is type-driven, not category-driven. This means the same function works for Tree Cat String (UD-grounded), Tree Unit String (category-free), or any other category system.

          Equations
          Instances For

            Extract truth value from tree interpretation.

            Equations
            Instances For

              Extract proposition (s→t) from tree interpretation.

              For intensional trees where the root denotes a proposition rather than a bare truth value — e.g., trees containing EXH or other propositional operators. Evaluate the result at a specific world to get a truth value.

              Equations
              • One or more equations did not get rendered due to their size.
              Instances For
                theorem Semantics.Composition.Tree.interpFA_type {m : Montague.Model} {σ τ : Montague.Ty} (f : m.interpTy (σ τ)) (x : m.interpTy σ) :
                interpFA f x = f x