Ranking functions #
This file defines ranking functions, Spohn's ordinal conditional functions with natural-number grades, their conditionalization, and the consequence relation they induce.
A ranking function grades the disbelief in each world, and some world has grade 0. The rank of
a proposition is the least rank of its worlds, and ⊤ for the contradiction, so of a proposition
and its negation one has rank 0, and the rank of a disjunction is the smaller of the two ranks.
The rank of B given A is κ(A ∩ B) − κ(A), and ⊤ when A is impossible, so the rank
of an intersection is a rank plus a conditional rank, which gives the chain rule and Bayes' rule
for ranks. Conditionalization on a proposition at a firmness keeps the ranking within the
proposition and within its negation, each shifted to start at 0, and lifts the negation by the
firmness. It keeps the ranks given the proposition and given its negation, so it ranks every
proposition by Jeffrey's rule.
A ranking function orders the worlds by rank, which makes it a ranked model in the sense of
Lehmann and Magidor. A proposition B follows from A when the A-worlds of least rank are
B-worlds, equivalently when Bᶜ has positive rank given A. This consequence relation is
rational, and the beliefs of the ranking function, the propositions true at every world of rank
0, are the consequences of the tautology.
Main definitions #
RankingFunction W: a grading of disbeliefW → ℕwith a world of grade0.RankingFunction.rank: the rank of a proposition, inℕ∞.RankingFunction.condRank: the rank of a proposition given another.RankingFunction.aPart,RankingFunction.conditionα: the ranking within a proposition, and conditionalization on a proposition at a firmness.RankingFunction.Entails: the consequence relation of the ranked model.
Main statements #
RankingFunction.rank_eq_zero_or_compl,RankingFunction.rank_union: of a proposition and its negation one has rank0, and the rank of a disjunction is the smaller rank.RankingFunction.rank_conditionα_eq: conditionalization follows Jeffrey's rule.RankingFunction.entails_iff_condRank: a consequence is a proposition whose negation has positive rank given the premise.RankingFunction.isRational_entails: the consequence relation is rational.
Notation #
κ[B | A]forκ.condRank A B, the rank ofBgivenA, in the scopeRankingFunction.
References #
- W. Spohn, Ordinal Conditional Functions: A Dynamic Theory of Epistemic States (1988)
- M. Goldszmidt and J. Pearl, Qualitative Probabilities for Default Reasoning, Belief Revision, and Causal Modeling (1996)
- D. Lehmann and M. Magidor, What Does a Conditional Knowledge Base Entail? (1992)
- J. Y. Halpern, Reasoning about Uncertainty (2003)
A ranking function is a grading of disbelief in worlds under which some world has grade
0.
- toFun : W → ℕ
The grade of disbelief in each world. Apply the ranking function itself,
κ w. - exists_eq_zero' : ∃ (w : W), self.toFun w = 0
Some world is not disbelieved. Use the lemma
exists_eq_zero.
Instances For
Equations
- RankingFunction.instFunLikeNat = { coe := RankingFunction.toFun, coe_injective := ⋯ }
Ranking functions whose grades differ by a constant are equal.
Ranks of propositions #
The rank of a proposition is the least rank of its worlds, and ⊤ for the contradiction.
Equations
- κ.rank A = ⨅ w ∈ A, ↑(κ w)
Instances For
The rank of a satisfiable proposition is attained.
The rank of a disjunction is the smaller rank.
Of a proposition and its negation, one has rank 0.
Conditional ranks #
The rank of B given A is κ(B | A) = κ(A ∩ B) − κ(A), and ⊤ when A is
impossible.
Instances For
The rank of B given A is κ(B | A) = κ(A ∩ B) − κ(A), and ⊤ when A is
impossible.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Unexpander for the κ[B | A] notation.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The rank of A ∩ B is the rank of A plus the rank of B given A.
Conditionalization #
The A-part κ(w | A) = κ(w) − κ(A) of a ranking is the ranking within A, shifted so that
its best world has rank 0.
Instances For
The A-part of a world of A is its rank given A.
The A,α-conditionalization of κ is its A-part on A and its Aᶜ-part lifted by the firmness
α on Aᶜ, so that A comes to be believed with firmness α.
Equations
Instances For
The conditionalized ranking holds A possible.
The conditionalized ranking believes A with firmness α.
Within A, the conditionalized ranking ranks each proposition by its rank given A.
Outside A, the conditionalized ranking ranks each proposition by the firmness plus its
rank given Aᶜ.
Conditionalization on A leaves the ranks given A unchanged.
Conditionalization on A leaves the ranks given Aᶜ unchanged.
After conditionalization on A at firmness α, a proposition's rank is the smaller of its
rank given A and its rank given Aᶜ plus α, which is Jeffrey's rule in ranks.
The induced consequence relation #
In the normality order of a ranking function, w is at least as normal as v when its rank
is at most that of v.
Equations
- κ.toPreorder = Preorder.lift ⇑κ
Instances For
The minimal worlds of a proposition are its worlds of least rank.
B follows from A in κ when the A-worlds of least rank are B-worlds. This is the
consequence relation of the ranked model κ.toPreorder.
Equations
- κ.Entails A B = Nonmonotonic.Entails κ.toPreorder A B
Instances For
B follows from A exactly when every A-world outside B is outranked by an A-world
in B.
B follows from A exactly when A is impossible or A ∩ B is less disbelieved than
A \ B.
B follows from A exactly when Bᶜ has positive rank given A.
Equations
- κ.instDecidableEntailsOfFintypeOfDecidablePredMemSet = decidable_of_iff (∀ x ∈ A, x ∉ B → ∃ y ∈ A, y ∈ B ∧ κ y < κ x) ⋯
The consequence relation of a ranking function is rational.
The beliefs, the consequences of the tautology, are the propositions true at every world of
rank 0.