Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Equation (10) — logit form with a benchmark member zzz of the alternative set

Proved
McFadden1974.IIA.logit_of_benchmark_mem

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. For an attribute vector sss, a possible alternative set BBB and a benchmark z∈Bz\in Bz∈B, define V(s,x,z)=log⁡(pxz/pzx)V(s,x,z) = \log(p_{xz}/p_{zx})V(s,x,z)=log(pxz​/pzx​), where 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 and pxx=12p_{xx}=\tfrac12pxx​=21​. Then for every x∈Bx\in Bx∈B,

P(x∣s,B)=eV(s,x,z)∑y∈BeV(s,y,z).P(x\mid s,B) = \frac{e^{V(s,x,z)}}{\sum_{y\in B} e^{V(s,y,z)}}.P(x∣s,B)=∑y∈B​eV(s,y,z)eV(s,x,z)​.

This is the logit form with a function VVV that may depend on the benchmark, and so on the alternative set; the paper interprets sss, xxx and zzz as a measured taste effect, a choice alternative effect and an alternative set effect.

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

/-- **Equation (10)** (p. 110, PDF p. 6): "Taking z to be a 'benchmark' member of the alternative
set B and defining V(s, x, z) = log(p_xz/p_zx), Equation (8) can be written
(10) P(x | s, B) = e^{V(s,x,z)} / Σ_{y∈B} e^{V(s,y,z)}."

Formalization Note: standing assumptions `IsSelectionProb` and `PairsPossible`, and Axioms 1
and 2; the benchmark `z` is a member of `B`. `altSetV P s x z` is `V(s, x, z)`, which depends
on the benchmark `z` and hence, through the choice `z ∈ B`, on the alternative set. -/
theorem logit_of_benchmark_mem {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) (z : X) (hz : z ∈ B) (x : X) (hx : x ∈ B) :
    P s B x = Real.exp (altSetV P s x z) / ∑ y ∈ B, Real.exp (altSetV P s y z) := 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 (10) (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