Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Equation (5) — under Axiom 1, binary odds equal the odds within any possible set

Proved
McFadden1974.IIA.binary_odds_eq

by mikedeng1 · Oct 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

conditional-logitdiscrete-choiceluce-choice-axiomp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let selection probabilities P(⋅∣s,B)P(\cdot\mid s,B)P(⋅∣s,B) be probability vectors on every possible alternative set BBB, let every two-element subset of a possible set be possible, and let Axiom 1 (Independence of Irrelevant Alternatives) hold. Let BBB be a possible alternative set, sss an attribute vector, and x≠yx \neq yx=y two members of BBB with P(x∣s,B)>0P(x\mid s,B) > 0P(x∣s,B)>0. Then P(x∣s,{x,y})>0P(x\mid s,\{x,y\}) > 0P(x∣s,{x,y})>0 and

P(y∣s,{x,y})P(x∣s,{x,y})=P(y∣s,B)P(x∣s,B).\frac{P(y\mid s,\{x,y\})}{P(x\mid s,\{x,y\})} = \frac{P(y\mid s,B)}{P(x\mid s,B)}.P(x∣s,{x,y})P(y∣s,{x,y})​=P(x∣s,B)P(y∣s,B)​.

The odds of yyy being chosen over xxx in a multiple choice situation BBB where both are available equal the odds of a binary choice of yyy over xxx.

Formalization Note Axiom 2 is not assumed; only P(x∣s,B)>0P(x\mid s,B)>0P(x∣s,B)>0. Positivity of the binary probability uses that P(⋅∣s,{x,y})P(\cdot\mid s,\{x,y\})P(⋅∣s,{x,y}) sums to one. The case x=yx=yx=y is excluded because the singleton {x}\{x\}{x} need not be a possible set.

Preamble
import Mathlib
import Definitions.Def_McFadden1974_IIA_ChoiceModel
Formal statement
namespace McFadden1974.IIA

/-- **Equation (5)** (p. 109, PDF p. 5): "When P(x | s, B) is positive, Equation (4) implies
P(x | s, {x, y}) positive, and
(5) P(y | s, {x, y}) / P(x | s, {x, y}) = P(y | s, B) / P(x | s, B)."

Formalization Note: the selection probabilities are probability vectors on every possible set
(`IsSelectionProb`), binary subsets of possible sets are possible (`PairsPossible`), and Axiom 1
holds; Axiom 2 is **not** assumed, only `0 < P(x | s, B)` for the one `x`. The normalisation
on the binary set is what makes `P(x | s, {x, y})` positive: without it the zero function
satisfies (4). The hypothesis `x ≠ y` excludes the degenerate case `{x, y} = {x}`: a singleton
need not be a possible set, so `P(x | s, {x})` is unconstrained there (the paper sets
`p_xx = ½` by definition instead, p. 109). -/
theorem binary_odds_eq {X S : Type*} [DecidableEq X]
    (P : S → Finset X → X → ℝ) (poss : Set (Finset X))
    (hprob : IsSelectionProb P poss) (hpairs : PairsPossible poss) (hA1 : Axiom1 P poss)
    (s : S) (B : Finset X) (hB : B ∈ poss) (x y : X) (hx : x ∈ B) (hy : y ∈ B) (hxy : x ≠ y)
    (hpos : 0 < P s B x) :
    0 < P s {x, y} x ∧ P s {x, y} y / P s {x, y} x = P s B y / P s B x := by sorry

end McFadden1974.IIA
Source
McFadden, Conditional Logit Analysis of Qualitative Choice Behavior, in P. Zarembka (ed.), Frontiers in Econometrics, Academic Press (1974), p. 109, Equation (5) (PDF p. 5)
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 5, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me