AFTD Auto-Formalizing Theoretical Domains

BayesianSingleItemAuction.hasInterimEnvelopeDerivative_of_isIncentiveCompatible_of_equilibriumPayoff_differentiable

theoremverifiedformalizationimported Lean

IC and differentiability give the envelope derivative.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open BayesianSingleItemAuction in
open MeasureTheory in
variable {I : Type*} in
theorem BayesianSingleItemAuction.hasInterimEnvelopeDerivative_of_isIncentiveCompatible_of_equilibriumPayoff_differentiable
    (A : BayesianSingleItemAuction I) (hIC : A.IsIncentiveCompatible)
    (hdiff : ∀ (i : I) (v_i : ℝ), DifferentiableAt ℝ (A.equilibriumPayoff i) v_i) :
    A.HasInterimEnvelopeDerivative
Formalizes
EconCSLib, `BayesianSingleItemAuction.hasInterimEnvelopeDerivative_of_isIncentiveCompatible_of_equilibriumPayoff_differentiable`
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 19

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen BayesianSingleItemAuction inopen MeasureTheory invariable {I : Type*} in/-- IC and differentiability give the envelope derivative. -/theorem BayesianSingleItemAuction.hasInterimEnvelopeDerivative_of_isIncentiveCompatible_of_equilibriumPayoff_differentiable    (A : BayesianSingleItemAuction I) (hIC : A.IsIncentiveCompatible)    (hdiff : ∀ (i : I) (v_i : ℝ), DifferentiableAt ℝ (A.equilibriumPayoff i) v_i) :    A.HasInterimEnvelopeDerivative := by  intro i v_i  have hderiv := (hdiff i v_i).hasDerivAt  have hderiv_eq :      deriv (A.equilibriumPayoff i) v_i = A.interimAllocProb i v_i :=    A.deriv_equilibriumPayoff_eq_interimAllocProb_of_isIncentiveCompatible      hIC (hdiff i v_i)  simpa [hderiv_eq] using hderiv
See it in the graphDiscuss this resultChallenge it