Documentation

Linglib.Core.Probability.Confirmation

Bayesian Confirmation Measures on PMF #

@cite{fitelson-1999} @cite{fitelson-2007} @cite{crupi-fitelson-tentori-2008} @cite{edwards-1992} @cite{chung-mascarenhas-2024}

Confirmation-theoretic aggregates over a PMF α. Three pieces:

  1. Count-of-relevant-propositions countMeasure R: the function μ_R(w) = |{r ∈ R ∣ r(w)}| of @cite{chung-mascarenhas-2024}, as an ℝ≥0∞-valued function on worlds.

  2. Explanatory value sumLikelihoods p R φ = Σ_{e ∈ R} P(e ∣ φ) — @cite{chung-mascarenhas-2024}'s aggregate in its directly-evaluable form. The identity P.condExpect φ (countMeasure R) = sumLikelihoods P R φ is what underlies C&M's "expected utility = explanatory value" claim; it is not proved here — when a Studies file needs it, add it next to condExpect_indicator in Core.Probability.Finite.

  3. Difference and likelihood-ratio measures (differenceMeasure, likelihoodRatio) from the @cite{fitelson-1999} plurality survey.

Scope #

The log-based likelihood-ratio L(h, e) = log(P(e∣h)/P(e∣¬h)) is not defined: Real.log on ENNReal ratios is noncomputable and not decide-friendly. The un-logged likelihoodRatio is provided; log is order-preserving so >/< claims transfer.

@cite{crupi-fitelson-tentori-2008}'s Z, Kemeny-Oppenheim K, and the other measures from @cite{fitelson-1999} are not stocked here. Add them when a Studies file actually consumes them.

Mathlib's heavy MeasureTheory.condExp is the general measure-theoretic counterpart for the underlying conditional expectation; this file's Core.Probability.Finite.condExpect is the lightweight finite-PMF wrapper. See its docstring for the design rationale.

Count of relevant propositions (C&M's μ_R) #

noncomputable def PMF.Confirmation.countMeasure {α : Type u_1} (R : Finset (Set α)) :
αENNReal

μ_R(a) of @cite{chung-mascarenhas-2024}: the count of propositions r ∈ R that are true at a. ENNReal-valued so it composes with PMF arithmetic. Each r : Set α is an arbitrary predicate; Classical.dec discharges the per-element decidability that Finset.filter requires.

Equations
Instances For

    Explanatory value (C&M's sum of likelihoods) #

    noncomputable def PMF.Confirmation.sumLikelihoods {α : Type u_1} (p : PMF α) (R : Finset (Set α)) (φ : Set α) :
    ENNReal

    Sum of likelihoods over an evidence-set R given hypothesis φ: Σ_{e ∈ R} P(e ∣ φ). @cite{chung-mascarenhas-2024}'s "explanatory value" in its directly-evaluable form.

    Equations
    Instances For

      Bayesian difference and likelihood-ratio measures #

      noncomputable def PMF.Confirmation.differenceMeasure {α : Type u_1} (p : PMF α) (h e : Set α) :

      The difference measure D(h, e) = P(h ∣ e) − P(h) of @cite{fitelson-1999}. ℝ-valued because the subtraction would lose sign under ENNReal's truncated subtraction. Negative values indicate that e disconfirms h. Used by @cite{chung-mascarenhas-2024} §5 in the plausibility-requirement discussion.

      Equations
      Instances For
        noncomputable def PMF.Confirmation.likelihoodRatio {α : Type u_1} (p : PMF α) (h e : Set α) :
        ENNReal

        The un-logged likelihood-ratio P(e ∣ h) / P(e ∣ ¬h). Equals 1 on irrelevance, exceeds 1 on confirmation. @cite{fitelson-2007}'s L is the log of this; we keep the ratio for decide-checkability.

        Equations
        Instances For