Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Equation (9) — the binary odds satisfy pyx/pxy=(pyz/pzy)/(pxz/pzx)p_{yx}/p_{xy} = (p_{yz}/p_{zy})/(p_{xz}/p_{zx})pyx​/pxy​=(pyz​/pzy​)/(pxz​/pzx​)

Proved
McFadden1974.IIA.odds_transitivity

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

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

Assume the standing conditions and Axioms 1 and 2, and write pxy=P(x∣s,{x,y})p_{xy} = P(x\mid s,\{x,y\})pxy​=P(x∣s,{x,y}) for x≠yx\neq yx=y, pxx=12p_{xx}=\tfrac12pxx​=21​. For any three (not necessarily distinct) members x,y,zx,y,zx,y,z of a possible alternative set BBB,

pyxpxy=pyz/pzypxz/pzx.\frac{p_{yx}}{p_{xy}} = \frac{p_{yz}/p_{zy}}{p_{xz}/p_{zx}}.pxy​pyx​​=pxz​/pzx​pyz​/pzy​​.

The binary odds factor through any third alternative zzz; this is the condition that allows a single benchmark alternative to generate all the odds.

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

/-- **Equation (9)** (p. 110, PDF p. 6): "Permuting the indices x, y, z in Equation (6) and
multiplying yields the condition
(9) p_yx / p_xy = (p_yz/p_zy) / (p_xz/p_zx)."

Formalization Note: as in (6), `x, y, z` are members of one possible alternative set `B`, on
which the standing assumptions and Axioms 1 and 2 hold; they need not be distinct (with
`p_xx = ½` the identity holds on the diagonal too). This is the form footnote 3 applies with
`B ∪ {z}` in place of `B`. -/
theorem odds_transitivity {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) (hA2 : Axiom2 P poss)
    (s : S) (B : Finset X) (hB : B ∈ poss) (x y z : X) (hx : x ∈ B) (hy : y ∈ B) (hz : z ∈ B) :
    binProb P s y x / binProb P s x y =
      (binProb P s y z / binProb P s z y) / (binProb P s x z / binProb P s z 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. 110, Equation (9) (PDF p. 6)
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