Spohn's Ranking Functions (OCFs)
- Spohn’s Ranking Functions are ordinal conditional functions that assign nonnegative integers to possible worlds to represent degrees of disbelief or surprise.
- They underpin deductively closed belief formation, conditional acceptance, and iterative revision, with explicit links to possibility and probability measures.
- RankPL operationalizes these functions in a programming language, using constructs like ranked choice and observation to update epistemic states efficiently.
Spohn’s ranking functions, also called ordinal conditional functions (OCFs), are epistemic-state representations that assign ordinal degrees of disbelief, implausibility, or surprise to possible worlds and extend those values to propositions by minimization over their supporting worlds. In the finite settings emphasized in formal, comparative, and computational work, they serve as a calculus for plausibility ordering, deductively closed belief, conditional acceptance, conditioning, iterated revision, and forgetting. They also admit explicit translations into possibility measures and principled, though non-invertible, transformations to and from probability measures (1304.1118, Rienstra, 2017, Beierle et al., 29 Aug 2025, Giang et al., 2013).
1. Formal structure and semantic interpretation
In finite presentations, a ranking function assigns nonnegative integers to worlds, sometimes with an added value for impossibility. RankPL defines a ranking function as
with
for nonempty events , and the normalization condition
The 2025 forgetting framework presents OCFs as
with , which is the same normalization requirement in equivalent form: at least one world is maximally plausible (Rienstra, 2017, Beierle et al., 29 Aug 2025).
Dubois and Prade use a finite Boolean algebra induced by a partition of , and impose three structural conditions: constancy of 0 on each cell 1, existence of at least one cell with rank 2, and event evaluation by
3
In that formulation, 4 is interpreted as a degree of impossibility of world 5, and 6 gives the least degree of impossibility among the worlds in 7. A proposition is therefore evaluated by its most plausible realization, but on a disbelief scale rather than a plausibility scale. The paper states the semantic consequence explicitly: “8 means 9 is completely possible” (1304.1118).
This min-based semantics induces the characteristic algebra of rankings. For disjoint events 0 and 1,
2
The same property is used in the forgetting paper in the propositional form
3
Unlike probability, a disjunction is as unsurprising as its least surprising disjunct. RankPL therefore describes rankings as a qualitative calculus of uncertainty in which 4 express increasing surprise, while 5 marks impossibility (Rienstra, 2017, Beierle et al., 29 Aug 2025).
2. Belief, conditionals, and epistemic equivalence
A ranking function induces a propositional belief set from its rank-6 worlds. The forgetting framework defines
7
and equivalently
8
Its key belief criterion is
9
Thus a proposition is believed exactly when every most plausible world satisfies it (Beierle et al., 29 Aug 2025).
RankPL presents the same general idea with an explicit firmness parameter: 0 is believed with firmness 1 iff
2
Under this criterion, belief is deductively closed under conjunction: if 3 and 4 are each believed with firmness 5, then so is 6. Both RankPL and Giang–Shenoy emphasize this as a distinguishing feature relative to probabilistic belief, and both connect it to the Lottery Paradox (Rienstra, 2017, Giang et al., 2013).
Ranking functions also support conditional acceptance. The forgetting framework treats 7 as accepted exactly when the best verifying worlds are more plausible than the best falsifying worlds: 8 Ordinary propositional belief is recovered as the special case
9
This is one reason OCFs are treated as full epistemic states rather than as flat belief sets: they validate propositional beliefs and conditionals within the same plausibility ordering (Beierle et al., 29 Aug 2025).
The literature summarized here also distinguishes several notions of sameness between rankings. Two OCFs are epistemically equivalent if they preserve all pairwise world orderings: 0 A stronger arithmetic relation is linear equivalence: 1 If 2, then for any formula 3,
4
This scaling property becomes important in forgetting, where some operators are evaluated against a ranking-specific linear-equivalence postulate 5 (Beierle et al., 29 Aug 2025).
Giang and Shenoy also define a derived Spohnian belief function
6
Their purpose is again to connect ordinal disbelief with plain belief in a deductively closed form (Giang et al., 2013).
3. Conditioning, uncertain evidence, and iterated revision
Ordinary conditioning is the basic update mechanism. In RankPL, conditional rank is defined by
7
and the conditioned ranking is 8 with
9
At the world level, Dubois and Prade write, for 0,
1
In both formulations, conditioning renormalizes the accepted event so that its best worlds receive rank 2; in RankPL the complement is shifted to 3, so observation is a very strong revision operation (Rienstra, 2017, 1304.1118).
Spohn’s treatment of uncertain evidence is different from ordinary conditioning. Dubois and Prade present the 4-conditionalization
5
Its effect is to penalize 6 by an additional amount 7. The larger 8, the stronger the support for 9. In their comparison with possibilistic Jeffrey-style updating, this is the distinguishing mechanism: uncertain evidence is represented by rank shifts, not by averaging posterior states (1304.1118).
RankPL discusses two generalized ranking-theoretic revision schemes for noisy and iterated evidence. J-conditioning revises by finite firmness: 0 Its effect is that 1 becomes believed with firmness 2, not with infinite firmness. Because 3 is moved upward only finitely, later evidence can reverse the update. L-conditioning measures impact rather than target firmness: 4 RankPL highlights two properties of L-conditioning: 5 These are its reversibility and commutativity properties, respectively (Rienstra, 2017).
Dubois and Prade also give a general partition-based extension of Spohn updating: 6 In the singleton-partition case with 7, this yields
8
In that extreme case, generalized Spohn updating simply substitutes the new possibility distribution for the old one (1304.1118).
4. Possibility-theoretic and probabilistic correspondences
A central comparative result is the explicit connection between OCFs and possibility theory. Dubois and Prade define
9
They identify 0 as a necessity measure and 1 as the associated possibility distribution. At the set level,
2
In the finite setting they consider, this gives an order-reversing exponential translation from disbelief to possibility: lower rank means higher possibility. Because 3, all 4 are strictly positive, so in that presentation “nothing is considered as fully impossible” (1304.1118).
Under this translation, certain conditioning coincides exactly between the two formalisms. Dubois and Prade write
5
which matches the possibilistic conditioning rule
6
At the set level,
7
The relation becomes more delicate for uncertain information. Dubois and Prade’s own Jeffrey-like possibilistic update is
8
with
9
Their main conclusion is that Spohn’s rule is not simply another Jeffrey rule. If 0, both rules produce 1; if 2, the possibilistic rule yields 3, whereas Spohn’s rule may still replace the old state by the new one. Dubois and Prade interpret this as a difference between productive refinement and priority to the new information (1304.1118).
Giang and Shenoy study the relation to probability through explicit transformations between probability distributions and Spohnian disbelief functions. Their forward transformation 4 is constrained by ordinal congruence I: 5 To maximize retained ordinal information, they introduce leap indices for a non-increasing probability sequence 6: 7 If worlds are ordered so that 8, the transformation uses a disbelief counter 9 and remaining mass 0: assign the current level 1, subtract the current probability from 2, and increment 3 whenever 4. Their Theorem 1 states that this 5 is a least-coarse congruent probability-to-disbelief transformation (Giang et al., 2013).
The reverse transformation 6 is governed by ordinal congruence II: 7 If 8 is the number of worlds in disbelief stratum 9, then for 00,
01
where 02 is the normalization constant. This yields equal probability within each disbelief stratum and multiplicative discounting across strata. Giang and Shenoy prove that 03 is congruent, but also stress that the reverse direction is not unique and that
04
They also establish a dynamic compatibility result: 05 where 06 is densification. Thus transformation and conditioning commute up to removal of empty disbelief levels (Giang et al., 2013).
5. Programming-language realization and computational use
RankPL makes ranking theory operational by using ranking functions as the semantic domain of a qualitative probabilistic programming language. Its central semantic object is a transformation
07
from prior rankings over program states to posterior rankings over program states. Program states are valuations 08, the set of proper rankings is 09, and there is a special failure ranking 10 assigning 11 to every valuation; the semantic codomain is therefore
12
The language extends a small imperative core with three ranking-specific constructs: ranked choice, observation, and rank expressions (Rienstra, 2017).
The ranked choice
13
treats 14 as the normal branch and 15 as a surprising branch whose cost is the value of 16. Its denotation is
17
where
18
Observation implements conditioning: 19 Conditionals and loops are defined denotationally by splitting, conditioning, recombining, and iterating rankings rather than by numerical probability propagation (Rienstra, 2017).
The paper’s examples illustrate how this semantics is used. A toy program with nested ranked choices yields three outcomes, 20 of rank 21, 22 of rank 23, and 24 of rank 25; adding an observation 26 removes the first outcome and shifts the others down to ranks 27 and 28. A full-adder diagnosis example uses surprise penalties on component failures and an observation of anomalous input-output behavior to rank explanations abductively; for the specified observation, the posterior ranking has a unique rank-29 explanation in which one particular XOR gate fails. A robot-localization example uses L-conditioning with strength 30 to incorporate noisy sensor readings without rendering inconsistent alternatives unrevisable; after misleading observations, later evidence restores the actual location to rank 31 (Rienstra, 2017).
RankPL also emphasizes implementation. Its interpreter is described as faithful to the denotational semantics and uses a most-plausible-first execution strategy, exploring alternatives in ascending order of rank. This exploits a practical property of ranking semantics: in diagnosis and abduction, the most plausible outcomes are typically the primary target (Rienstra, 2017).
6. Forgetting, contraction, and epistemic-state change
The 2025 framework treats forgetting as an operation on epistemic states with richer structure than a belief set. In that setting, forgetting may affect propositional beliefs, accepted conditionals, relevance structure, and the plausibility ordering itself. Five abstract kinds of epistemic forgetting are distinguished for a contingent formula 32: contraction, ignoration, revocation, marginalization, and conditionalization. The OCF instantiation then yields seven concrete forgetting operators (Beierle et al., 29 Aug 2025).
| Operator | Defining pattern | Principal role |
|---|---|---|
| OCF-marginalization | 33 | variable forgetting / language reduction |
| Lifted marginalization | 34 | variable forgetting while preserving the original signature |
| Conditionalization | 35 | revocative forgetting by moving to the 36 context |
| c-Ignoration | c-contraction with 37 | suspension of judgment between 38 and 39 |
| c-Revocation | c-contraction with 40 | forgetting 41 by accepting 42 |
| Minimal c-contraction | c-contraction with 43 | AGM-style contraction |
| Non-minimal c-contractions | c-contractions with 44 | broader contraction family beyond the minimal case |
OCF-marginalization to a subsignature 45 is defined by
46
Its associated forgetting operation is
47
This is the semantic counterpart of variable elimination. The paper proves the exact compatibility result
48
and therefore
49
Lifted marginalization keeps the original signature but makes forgotten atoms irrelevant to plausibility by defining
50
Conditionalization, by contrast, is
51
so it behaves more like revision by 52 than like variable forgetting (Beierle et al., 29 Aug 2025).
The contraction-style family is numerically defined by world-rank shifts. For contingent 53, a c-contraction 54 is characterized by the existence of an integer 55 such that
56
and
57
Different choices of 58 yield ignoration, revocation, minimal contraction, and non-minimal contraction. Minimal c-contraction is singled out as the canonical AGM-style forgetting operator; c-ignoration is the unique strategy that makes at least one 59-world and one 60-world rank 61, thereby believing neither 62 nor 63 (Beierle et al., 29 Aug 2025).
The postulate analysis provides a sharp classification. OCF-marginalization satisfies AGM(1), AGM(3), AGM(5), AGM(6), 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, and 77, but violates AGM(2), AGM(4), AGM(7), and 78. Minimal c-contraction satisfies AGM(1)–AGM(7), 79, 80, 81, and 82, but violates the persistence and weakening-style postulates. Conditionalization and c-revocation are close to revision by negation; c-ignoration models neutrality about 83; non-minimal c-contractions lack the rationality guarantees of the minimal variant. The framework’s own synthesis is therefore that OCF-marginalization is the canonical realization of variable forgetting, whereas minimal c-contraction is the canonical realization of AGM contraction (Beierle et al., 29 Aug 2025).
Across these applications, ranking functions are treated not merely as numeric annotations on worlds but as structured epistemic states. That is why the same formalism supports propositional belief, conditional acceptance, revision, contraction, marginalization, and forgetting, and why two states with the same propositional belief set can still behave differently under forgetting or update if their plausibility orderings differ (Beierle et al., 29 Aug 2025).