AFTD Auto-Formalizing Theoretical Domains

expectedValue_isLinearUtility

theoremverifiedformalizationimported Lean

Expected value (with respect to a fixed payoff function) is a linear utility.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open Finset BigOperators in
variable {π•œ : Type*} [Field π•œ] [LinearOrder π•œ] [IsStrictOrderedRing π•œ] in
set_option linter.unusedSectionVars false in
theorem expectedValue_isLinearUtility {O : Type*} [Fintype O] (f : O β†’ π•œ) :
    IsLinearUtility (π•œ := π•œ) (fun L => Lottery.expectedValue L f)
Formalizes
EconCSLib, `expectedValue_isLinearUtility`
Lean proof
By xbei (from the file's git history), from github.com/gametheoryinlean/EconCSLib at 1a88f809b538 (Copyright (c) 2026 EconCSLib contributors. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.30.0.
Verified
08 Oct 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 6
  • LotteryA lottery over outcomes O: a probability distribution. Just stdSimplex π•œ O with a game-theoretic name.
  • IsLinearUtilityA utility function u is linear (in the vNM sense) if it respects compound lottery simplification:…
  • Lottery.expectedValue_mixLinearity of expected value under convex combination. E[mix Ξ± L₁ Lβ‚‚] = Ξ± Β· E[L₁] + (1-Ξ±) Β· E[Lβ‚‚] This is the key property…
  • wsum_pure_applyWeighted sum at a point mass evaluates the chosen coordinate.
  • stdSimplex.mix_applystdSimplex.mix_apply
  • Lottery.expectedValueExpected value of f under lottery L: E_L[f] = βˆ‘ o, L(o) Β· f(o). Alias of wsum from Math.Simplex.

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen Finset BigOperators invariable {π•œ : Type*} [Field π•œ] [LinearOrder π•œ] [IsStrictOrderedRing π•œ] inset_option linter.unusedSectionVars false in/-- Expected value (with respect to a fixed payoff function) is a linear utility. -/theorem expectedValue_isLinearUtility {O : Type*} [Fintype O] (f : O β†’ π•œ) :    IsLinearUtility (π•œ := π•œ) (fun L => Lottery.expectedValue L f) := by  intro Ξ± hΞ±β‚€ hα₁ L₁ Lβ‚‚  exact Lottery.expectedValue_mix Ξ± hΞ±β‚€ hα₁ L₁ Lβ‚‚ f
See it in the graphDiscuss this resultChallenge it