# Cox's theorem

Cox's theorem, named after the physicist Richard Threlkeld Cox, is a derivation of the laws of probability theory from a certain set of postulates. This derivation justifies the so-called "logical" interpretation of probability, as the laws of probability derived by Cox's theorem are applicable to any proposition. Logical (also known as objective Bayesian) probability is a type of Bayesian probability. Other forms of Bayesianism, such as the subjective interpretation, are given other justifications.

## Cox's assumptions

Cox wanted his system to satisfy the following conditions:
* Divisibility and comparability – The plausibility of a proposition is a real number and is dependent on information we have related to the proposition.
* Common sense – Plausibilities should vary sensibly with the assessment of plausibilities in the model.
* Consistency – If the plausibility of a proposition can be derived in many ways, all the results must be equal.
The postulates as stated here are taken from Arnborg and Sjödin. "Common sense" includes consistency with Aristotelian logic in the sense that logically equivalent propositions shall have the same plausibility.
The postulates as originally stated by Cox were not mathematically rigorous (although more so than the informal description above), as noted by Halpern. However it appears to be possible to augment them with various mathematical assumptions made either implicitly or explicitly by Cox to produce a valid proof.
Cox's notation:
    The plausibility of a proposition $A$ given some related information $X$ is denoted by $A\mid X$.
Cox's postulates and functional equations are:
* The plausibility of the conjunction $AB$ of two propositions $A$, $B$, given some related information $X$, is determined by the plausibility of $A$ given $X$ and that of $B$ given $AX$.
    In form of a functional equation
       $AB\mid X=g(A\mid X,B\mid AX)$
    Because of the associative nature of the conjunction in propositional logic, the consistency with logic gives a functional equation saying that the function $g$ is an associative binary operation.
* Additionally, Cox postulates the function $g$ to be monotonic.
    All strictly increasing associative binary operations on the real numbers are isomorphic to multiplication of numbers in a subinterval of [0, +∞], which means that there is a monotonic function $w$ mapping plausibilities to [0, +∞] such that
       $w(AB\mid X)=w(A\mid X)w(B\mid AX)$
* In case $A$ given $X$ is certain, we have $AB\mid X=B\mid X$ and $B\mid AX=B\mid X$ due to the requirement of consistency. The general equation then leads to
    $w(B\mid X)=w(A\mid X)w(B\mid X)$
    This shall hold for any proposition $B$, which leads to
       $w(A\mid X)=1$
* In case $A$ given $X$ is impossible, we have $AB\mid X=A\mid X$ and $A\mid BX=A\mid X$ due to the requirement of consistency. The general equation (with the A and B factors switched) then leads to
    $w(A\mid X)=w(B\mid X)w(A\mid X)$
    This shall hold for any proposition $B$, which, without loss of generality, leads to a solution
       $w(A\mid X)=0$
       Due to the requirement of monotonicity, this means that $w$ maps plausibilities to interval [0, 1].
* The plausibility of a proposition determines the plausibility of the proposition's negation.
    This postulates the existence of a function $f$ such that
       $w({\text{not }}A\mid X)=f(w(A\mid X))$
    Because "a double negative is an affirmative", consistency with logic gives a functional equation
       $f(f(x))=x,$
    saying that the function $f$ is an involution, i.e., it is its own inverse.
* Furthermore, Cox postulates the function $f$ to be monotonic.
    The above functional equations and consistency with logic imply that
       $w(AB\mid X)=w(A\mid X)f(w({\text{not }}B\mid AX))=w(A\mid X)f\left({w(A{\text{ not }}B\mid X) \over w(A\mid X)}\right)$
    Since $AB$ is logically equivalent to $BA$, we also get
       $w(A\mid X)f\left({w(A{\text{ not }}B\mid X) \over w(A\mid X)}\right)=w(B\mid X)f\left({w(B{\text{ not }}A\mid X) \over w(B\mid X)}\right)$
    If, in particular, $B={\text{ not }}(AD)$, then also $A{\text{ not }}B={\text{not }}B$ and $B{\text{ not }}A={\text{ not }}A$ and we get
       $w(A{\text{ not }}B\mid X)=w({\text{not }}B\mid X)=f(w(B\mid X))$
    and
       $w(B{\text{ not }}A\mid X)=w({\text{not }}A\mid X)=f(w(A\mid X))$
    Abbreviating $w(A\mid X)=x$ and $w(B\mid X)=y$ we get the functional equation
       $x\,f\left({f(y) \over x}\right)=y\,f\left({f(x) \over y}\right)$

## Implications of Cox's postulates

The laws of probability derivable from these postulates are the following. Let $A\mid B$ be the plausibility of the proposition $A$ given $B$ satisfying Cox's postulates. Then there is a function $w$ mapping plausibilities to interval [0,1] and a positive number $m$ such that
* Certainty is represented by $w(A\mid B)=1.$
* $w^{m}(A|B)+w^{m}({\text{not }}A\mid B)=1.$
* $w(AB\mid C)=w(A\mid C)w(B\mid AC)=w(B\mid C)w(A\mid BC).$
It is important to note that the postulates imply only these general properties. We may recover the usual laws of probability by setting a new function, conventionally denoted $P$ or $\Pr$, equal to $w^{m}$. Then we obtain the laws of probability in a more familiar form:
* Certain truth is represented by $\Pr(A\mid B)=1$, and certain falsehood by $\Pr(A\mid B)=0.$
* $\Pr(A\mid B)+\Pr({\text{not }}A\mid B)=1.$
* $\Pr(AB\mid C)=\Pr(A\mid C)\Pr(B\mid AC)=\Pr(B\mid C)\Pr(A\mid BC).$
Rule 2 is a rule for negation, and rule 3 is a rule for conjunction. Given that any proposition containing conjunction, disjunction, and negation can be equivalently rephrased using conjunction and negation alone (the conjunctive normal form), we can now handle any compound proposition.
The laws thus derived yield finite additivity of probability, but not countable additivity. The measure-theoretic formulation of Kolmogorov assumes that a probability measure is countably additive. This slightly stronger condition is necessary for certain results. An elementary example (in which this assumption merely simplifies the calculation rather than being necessary for it) is that the probability of seeing heads for the first time after an even number of flips in a sequence of coin flips is ${\tfrac {1}{3}}$.

## Interpretation and further discussion

Cox's theorem has come to be used as one of the justifications for the use of Bayesian probability theory. For example, in Jaynes it is discussed in detail in chapters 1 and 2 and is a cornerstone for the rest of the book. Probability is interpreted as a formal system of logic, the natural extension of Aristotelian logic (in which every statement is either true or false) into the realm of reasoning in the presence of uncertainty.
It has been debated to what degree the theorem excludes alternative models for reasoning about uncertainty. For example, if certain "unintuitive" mathematical assumptions were dropped then alternatives could be devised, e.g., an example provided by Halpern. However Arnborg and Sjödin suggest additional "common sense" postulates, which would allow the assumptions to be relaxed in some cases while still ruling out the Halpern example. Other approaches were devised by Hardy or Dupré and Tipler.
The original formulation of Cox's theorem is in Cox (1946), which is extended with additional results and more discussion in Cox (1961). Jaynes cites Abel for the first known use of the associativity functional equation. János Aczél provides a long proof of the "associativity equation" (pages 256-267). Jaynes$^{:27}$ reproduces the shorter proof by Cox in which differentiability is assumed. A guide to Cox's theorem by Van Horn aims at comprehensively introducing the reader to all these references.
Baoding Liu, the founder of uncertainty theory, criticizes Cox's theorem for presuming that the truth value of conjunction $P\land Q$ is a twice differentiable function $f$ of truth values of the two propositions $P$ and $Q$, i.e., $T(P\land Q)=f(T(P),T(Q))$, which excludes uncertainty theory's "uncertain measure" from its start, because the function $f(x,y)=x\land y$, used in uncertainty theory, is not differentiable with respect to $x$ and $y$. According to Liu, "there does not exist any evidence that the truth value of conjunction is completely determined by the truth values of individual propositions, let alone a twice differentiable function."