Documentation

Linglib.Phenomena.Negation.Studies.TesslerFranke2020PMF

@cite{tessler-franke-2019} on mathlib PMF (Shape B + cost-factor migration) #

@cite{tessler-franke-2019}

PMF-shaped formalisation of the paper's 6 findings. The first PMF migration with a cost factor in the S1 score: S1(u | w) ∝ L0(w | u)^α · exp(−C(u)). Validates that RSA.S1Belief's costFactor : U → ℝ≥0∞ argument handles the canonical exp(-cost) shape.

Friction surfaced (informs API direction) #

§0. Domain types #

@[reducible, inline]

Happiness degree: 0 (miserable) to 4 (ecstatic).

Equations
Instances For
    @[reducible, inline]

    Threshold values 0–3, used for both θ₁ (positive) and θ₂ (contrary).

    Equations
    Instances For
      Instances For
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          @[implicit_reducible]
          Equations
          @[implicit_reducible]
          Equations
          • One or more equations did not get rendered due to their size.
          @[reducible, inline]

          Lexicon for morphological negation "un-": contrary (polar opposite with gap) vs contradictory (complement). Aliased to Features.NegationType.

          Equations
          Instances For
            @[reducible]

            Joint latent state: (θ₁, θ₂, L) — 4 × 4 × 2 = 32 latent states.

            Equations
            Instances For

              §1. L0 — uniform on extension via RSA.L0OfBoolMeaning #

              @[reducible, inline]

              Lexicon as a function from latent state.

              Equations
              Instances For
                @[reducible, inline]

                Extension of meaningAt l u.

                Equations
                Instances For

                  §2. S1Belief — cost-bearing speaker via RSA.S1Belief #

                  The cost factor: exp (-utteranceCost u). Cast to ℝ≥0∞.

                  noncomputable def TesslerFranke2020.PMF.costFactor (u : Utterance) :
                  ENNReal
                  Equations
                  Instances For

                    §3. Per-latent L0 + S1g + marginalSpeaker — sketch only #

                    The per-latent S1g would be RSA.S1Belief (L0_at l) costFactor 1, marginalized over LatentState via RSA.marginalizeKernel against a uniform latent prior. Then L1 = PMF.posterior against uniform world prior.

                    The structural shell follows the ScontrasPearl template exactly. The leaves (per-latent comparisons across 32 states) are well beyond hand-discharge without the pmf_score_compare tactic.

                    This file is a placeholder + friction documentation. Full migration deferred pending tactic infrastructure.