Documentation

Linglib.Theories.Pragmatics.RSA.LexicalUncertainty

Lexical Uncertainty: Core Types #

The Lexicon type used by lexical uncertainty models in RSA.

For RSA models with lexical uncertainty, use RSAConfig with Latent := YourLexiconType (see @cite{potts-etal-2016} and @cite{potts-levy-2015} for examples). This file provides the shared Lexicon type used by:

structure Lexicon (Utterance World : Type) :

A lexicon maps each utterance to a truth function over worlds.

In @cite{bergen-levy-goodman-2016} notation: L(u, w) = 1 if w ∈ ⟦u⟧_L, else 0

For graded semantics, we allow values in [0,1].

  • meaning : UtteranceWorld

    The meaning function for this lexicon

Instances For
    def Lexicon.equiv {U W : Type} (L₁ L₂ : Lexicon U W) :

    Two lexica are equivalent if they assign the same meanings

    Equations
    Instances For
      def Lexicon.refines {U W : Type} (L_refined L_base : Lexicon U W) :

      Check if a lexicon is a refinement of another (logically implies)

      Equations
      • (L_refined ≤ₗ L_base) = ∀ (u : U) (w : W), L_base.meaning u w = 0L_refined.meaning u w = 0
      Instances For
        def Lexicon.«term_≤ₗ_» :
        Lean.TrailingParserDescr

        Notation: L' ≤ₗ L means L' refines (is more specific than) L

        Equations
        • Lexicon.«term_≤ₗ_» = Lean.ParserDescr.trailingNode `Lexicon.«term_≤ₗ_» 50 0 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ≤ₗ ") (Lean.ParserDescr.cat `term 0))
        Instances For