Decision-Theoretic Semantics #
This file sets up the core of Merin's Decision-Theoretic Semantics (DTS) [Mer99b]: meaning explicated through the signed relevance of a proposition E to one side H of a dichotomic issue {H, ¬H}, the log Bayes factor log (P(E∣H) / P(E∣¬H)).
Each side of the issue conditions the prior on itself (Context.conditional), and the Bayes
factor of E is the ratio of the two conditional probabilities of E. The paper's applications to
or, but, even, and also are in Studies/Merin1999a.lean.
Main definitions #
Context: a dichotomic issue (topic : Set W, with its measurability witness) plus a prior (Partial Definition 6);Context.Nondegeneratemarks a live issuebayesFactor: the ratio P(E∣H) / P(E∣¬H)relevance: its logarithm, Merin's relevance of E to H (Definition 4)posRelevant,negRelevant,irrelevant: the relevance signs (Definition 5)hContrary: A and B have opposite relevance signsCondIndepIssue: independence of A and B conditionally on H and on ¬H (Definition 9), the content of the Conditional Independence Presumption (Hypothesis 2)
Main results #
posRelevant_iff_cond_lt: E confirms H iff H makes E more probable than ¬H doessign_reversal: BF_H(E) · BF_¬H(E) = 1 (Corollary 3)relevance_eq_neg_log_sub_neg_log: relevance is the differential of conditional informativeness (Fact 2)CondIndepIssue.bayesFactor_inter: under issue-conditional independence, BF(A∧B) = BF(A) · BF(B) (Fact 5); Theorem 6a's order of conjunction, disjuncts, and disjunction isCondIndepIssue.max_bayesFactor_lt_inter,.bayesFactor_union_lt_max, and.one_lt_bayesFactor_union
Implementation notes #
The context stores H, with ¬H implicit. Relevance is carried by bayesFactor in ℝ≥0∞,
where the boundary cases P(E∣¬H) = 0 and P(E∣H) = 0 take their true values ∞ and 0
(Merin's r = ±∞); relevance is the real logarithm, which sends both to 0, so sign and
order facts are stated on bayesFactor.
References #
Contexts #
A DTS context (Partial Definition 6) consists of the proposition H at issue, with ¬H implicit, and a prior over worlds.
- topic : Set W
The hypothesis H.
- topicMeasurable : MeasurableSet self.topic
Measurability of the topic, so that conditioning on H and ¬H is well-behaved.
- prior : MeasureTheory.Measure W
Prior measure over worlds. Conditioning normalizes, so an unnormalized prior (e.g.
Measure.count) induces the same relevance facts as its normalization.
Instances For
The prior conditioned on H (at true) or on ¬H (at false).
Equations
- ctx.conditional true = ctx.prior[|ctx.topic]
- ctx.conditional false = ctx.prior[|ctx.topicᶜ]
Instances For
An issue is live when both sides carry mass. Merin's dichotomic issue {H, ¬H} presupposes a genuine question, so the degenerate cases are excluded at the level of the object rather than per theorem.
Instances
Each side's conditional is a genuine probability measure over a live issue.
Bayes factor and relevance #
The Bayes factor P(E∣H) / P(E∣¬H), in ℝ≥0∞. Total division gives the boundary cases
their true values: P(E∣¬H) = 0 with P(E∣H) > 0 is ∞ (infinitely strong evidence for H), and
0/0 = 0.
Equations
- DTS.bayesFactor ctx e = (ctx.conditional true) e / (ctx.conditional false) e
Instances For
Merin's relevance of E to H (Definition 4) is the log Bayes factor, real-valued through
ENNReal.toReal. The boundary cases 0 and ∞ both land at Real.log 0 = 0,
so sign and order facts are read off bayesFactor itself
(posRelevant_iff_one_lt_toReal, relevance_lt_relevance).
Equations
- DTS.relevance ctx e = Real.log (DTS.bayesFactor ctx e).toReal
Instances For
Relevance is strictly monotone in the Bayes factor away from the boundary cases.
E is positively relevant to H, and so confirms it, when BF > 1 (Definition 5).
Equations
- DTS.posRelevant ctx e = (1 < DTS.bayesFactor ctx e)
Instances For
E is negatively relevant to H, and so disconfirms it, when BF < 1 (Definition 5).
Equations
- DTS.negRelevant ctx e = (DTS.bayesFactor ctx e < 1)
Instances For
E is irrelevant to H, neither confirming nor disconfirming it, when BF = 1 (Definition 5).
Equations
- DTS.irrelevant ctx e = (DTS.bayesFactor ctx e = 1)
Instances For
A and B are H-contrary: they have opposite nonzero relevance signs, one supporting H and the other ¬H.
Equations
- DTS.hContrary ctx a b = (DTS.posRelevant ctx a ∧ DTS.negRelevant ctx b ∨ DTS.negRelevant ctx a ∧ DTS.posRelevant ctx b)
Instances For
bayesFactor under the swapped issue, with the double complement
reduced.
E confirms H exactly when H makes E more probable than ¬H does.
Monotonicity #
Shedding ¬H-worlds from an utterance can only strengthen it as an argument for H: the H-side conditional is unchanged and the ¬H-side conditional can only fall.
If u₂ ⊆ u₁ and every H-world of u₁ lies in u₂, then u₂ is at least
as relevant to H as u₁.
Strictly so once the shed worlds carry mass and u₂ is possible under H.
Counting priors #
Over a finite type with the counting prior, the Bayes factor is a ratio of
proportions and relevance its logarithm. The real-valued forms need no side
conditions: the junk values agree (0 / 0 = 0 in ℝ, Real.log 0 = 0).
Cross-product characterizations #
The relevance signs as comparisons of cross-products of real masses.
Positive relevance is a comparison of cross-products of real masses: E confirms H iff the H-side mass of E outweighs its ¬H-side mass after weighting each by the opposite cell of the issue.
Negative relevance as a cross-product of real masses, for a live proposition E (one of nonzero mass; a null E is vacuously negatively relevant but has a degenerate cross-product).
Issue-conditional independence #
A and B are independent conditionally on H and on ¬H (Definition 9) when mathlib's IndepSet
holds at both conditionals. Merin's Conditional Independence Presumption (Hypothesis 2) is that
interpretation assumes this of coordinated sisters unless something suggests otherwise.
Equations
- DTS.CondIndepIssue ctx a b = ∀ (θ : Bool), ProbabilityTheory.IndepSet a b (ctx.conditional θ)
Instances For
Issue-conditional independence is the product equation P(A∧B∣H) = P(A∣H)·P(B∣H) together with its analogue given ¬H.
Over a counting prior, issue-conditional independence is the product equation of cardinalities on each side of the issue.
Sign reversal #
E is positively relevant to H iff E is negatively relevant to ¬H. This is the qualitative sign reversal of Corollary 3, the ordinal content of r_H(E) = −r_{¬H}(E).
The Bayes factors of E for H and for ¬H multiply to one, BF_H(E) · BF_{¬H}(E) = 1, the quantitative form of Corollary 3. The identity is exact when both conditional probabilities are nonzero.
Relevance is the differential of conditional informativeness (Fact 2): log BF_H(E) = inf(E, ¬H) − inf(E, H), where inf(E, X) = −log P(E∣X) is the conditional surprisal of E.
Consequences of issue-conditional independence #
Theorem 6a holds for any two probability measures under which A and B are independent; the conditionals on the two sides of the issue are such a pair.
Under issue-conditional independence the Bayes factor is multiplicative over conjunction, BF(A∧B) = BF(A) · BF(B) (Fact 5).
Under issue-conditional independence with A and B both positively relevant, their conjunction dominates both conjuncts, the conjunction case of Theorem 6a.
Under issue-conditional independence with A and B both positively relevant, their disjunction is dominated by the stronger disjunct, the upper bound for disjunction in Theorem 6a.
Under issue-conditional independence with A and B both positively relevant, their disjunction is still positively relevant, the lower bound for disjunction in Theorem 6a.
The Bayesian bridge #
Over a live issue, E confirms H iff H makes E more probable than it is a priori, so Bayes' theorem links P(E∣H) > P(E) with BF_H(E) > 1.