Documentation

Linglib.Theories.Pragmatics.RSA.Extensions.LexicalUncertainty.Basic

Lexical Uncertainty Extension to RSA #

Architecture #

Lexical uncertainty posits that speakers and listeners have uncertainty about the semantic content of utterances. Rather than a fixed lexicon, there is a set of possible lexica Λ, and pragmatic inference involves reasoning about which lexicon is in use.

Innovation #

The marginalization over lexica happens at L₁, not L₀:

What This Derives #

  1. M-implicatures: Complex expressions → marked (low-probability) interpretations
  2. Ignorance implicatures: "some or all" → speaker doesn't know which
  3. Non-convex disjunctive implicatures: "one or three" ≠ "one or two"

Relationship to RSAConfig #

The LUScenario type below is conceptually subsumed by RSAConfig with Latent := Lexicon. The @cite{potts-etal-2016} study demonstrates this: it uses standard RSAConfig with Latent := Lexicon (weak vs strong "some") and derives DE blocking and UE enrichment without any LU-specific infrastructure.

This file is retained for:

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.ofScenario {U W : Type} (_utts : List U) (_worlds : List W) (φ : UW) :

    Create a lexicon from an RSAScenario's meaning function

    Equations
    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
        Instances For

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

          Equations
          Instances For
            structure LUScenario :

            Lexical Uncertainty RSA Scenario.

            Extends the basic RSA setup with:

            • A set of possible lexica Λ
            • A prior distribution over lexica

            The semantic content of utterances is not fixed; rather, pragmatic inference jointly determines both the interpretation AND the lexicon.

            Instances For

              A refinement of a truth function: a subset of worlds where it's true.

              Given base meaning M : W → Bool, a valid refinement M' satisfies: ∀ w, M(w) = false → M'(w) = false

              That is, M' can only narrow down the set of true worlds, not expand it.

              • meaning : WBool

                The refined meaning as a subset indicator

              Instances For

                Check if one meaning refines another (is more specific).

                M' refines M iff M' ⊆ M (as sets of worlds).

                Equations
                Instances For
                  def LexicalRefinement.allRefinements {W : Type} [DecidableEq W] (worlds : List W) (base : WBool) :

                  Generate all valid refinements of a Boolean meaning over finite worlds.

                  For a base meaning true at n worlds, there are 2ⁿ - 1 valid non-trivial refinements (excluding the empty refinement which would be contradictory).

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

                    Observation states for ignorance implicatures.

                    The speaker may:

                    • Know all passed (∀)
                    • Know some-but-not-all passed (∃¬∀)
                    • Be ignorant (?)
                    Instances For
                      Equations
                      Instances For
                        Equations
                        Instances For
                          Equations
                          inductive ScalarWorld :

                          World states for scalar scenarios.

                          Instances For
                            Equations
                            Instances For
                              inductive SomeOrAllUtt :

                              Utterances for some-or-all ignorance implicatures.

                              Instances For

                                Symmetry breaking: semantically equivalent utterances can get different interpretations.

                                This is the key property that enables M-implicatures.