Theorem 2, p. 8 — Q_i is continuous in u, all partials exist and are continuous, and equal (4)
OpenHetExponomial.ChoiceProb.Supplement.theorem_2differentiabilitydiscrete-choiceexponomial-choicep2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1
Throughout, with , the ideal utilities are real, and the errors are independent with , ; is the HEC choice probability. Fix the error rates and a choice . Then
- is continuous on ;
- every partial derivative exists at every and is a continuous function of ;
- the partial derivatives are given by (4):
When and both cross-partial formulas hold. Although the closed form of Theorem 1 is built from terms that jump when ideal utilities cross, the choice probabilities are continuously differentiable; this underlies the demand elasticities (7), the consumer surplus of Theorem 3 and the first-order conditions (12) of the pricing game.
Formalization Note The partial derivative in is the derivative at of (HasDerivAt); its continuity is stated for partialU, the deriv of that restriction, as a function on .
Differences from the source:
- encoding: partial derivative ∂Q_i/∂u_j → HasDerivAt of the coordinate restriction t ↦ Q_i(u with u_j := t) at u_j; continuity of its deriv as a function of u; reason: the standard definition of a partial derivative; the same claim
Preamble
import Mathlib import Definitions.Def_HetExponomial_ChoiceProb_Model import Definitions.Def_HetExponomial_ChoiceProb_Supplement_Model
Formal statement
namespace HetExponomial.ChoiceProb.Supplement
open MeasureTheory ProbabilityTheory HetExponomial.ChoiceProb
theorem theorem_2 {n : ℕ} (hn : 2 ≤ n) (lam : Fin n → ℝ) (hlam : ∀ j, 0 < lam j)
(i : Fin n) :
Continuous (fun u => choiceProb u lam i) ∧
(∀ j, Continuous (partialU (fun v => choiceProb v lam i) j)) ∧
∀ (u : Fin n → ℝ) (j : Fin n),
(j ≠ i → u i ≤ u j →
HasDerivAt (fun t => choiceProb (Function.update u j t) lam i)
(-(lam j * choiceProb u lam i)) (u j)) ∧
(j = i →
HasDerivAt (fun t => choiceProb (Function.update u j t) lam i)
(Lsum u lam i * G u lam i - lam i * choiceProb u lam i) (u j)) ∧
(j ≠ i → u j ≤ u i →
HasDerivAt (fun t => choiceProb (Function.update u j t) lam i)
(-(lam i * choiceProb u lam j)) (u j)) := by sorry
end HetExponomial.ChoiceProb.Supplement
Source
Alptekinoğlu & Semple, Heteroscedastic Exponomial Choice, SSRN 3232788 (version of August 8, 2020; forthcoming in Operations Research), p. 8, Theorem 2, (4); proof pp. 44–46