AFTD Auto-Formalizing Theoretical Domains

BayesianSingleItemAuction.hasInterimEnvelopeFormula_of_hasInterimEnvelopeDerivative

theoremverifiedformalizationimported Lean

The envelope derivative gives the payoff envelope.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open BayesianSingleItemAuction in
open MeasureTheory in
variable {I : Type*} in
theorem BayesianSingleItemAuction.hasInterimEnvelopeFormula_of_hasInterimEnvelopeDerivative
    (A : BayesianSingleItemAuction I)
    (hderiv : A.HasInterimEnvelopeDerivative)
    (hint : A.HasIntervalIntegrableInterimAllocation) :
    A.HasInterimEnvelopeFormula
Formalizes
EconCSLib, `BayesianSingleItemAuction.hasInterimEnvelopeFormula_of_hasInterimEnvelopeDerivative`
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
Used by 2

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen BayesianSingleItemAuction inopen MeasureTheory invariable {I : Type*} in/-- The envelope derivative gives the payoff envelope. -/theorem BayesianSingleItemAuction.hasInterimEnvelopeFormula_of_hasInterimEnvelopeDerivative    (A : BayesianSingleItemAuction I)    (hderiv : A.HasInterimEnvelopeDerivative)    (hint : A.HasIntervalIntegrableInterimAllocation) :    A.HasInterimEnvelopeFormula := by  intro i v_i  have hFTC :      ∫ z in 0..v_i, A.interimAllocProb i z =        A.equilibriumPayoff i v_i - A.equilibriumPayoff i 0 := by    exact intervalIntegral.integral_eq_sub_of_hasDerivAt      (f := A.equilibriumPayoff i)      (f' := A.interimAllocProb i)      (a := 0) (b := v_i)      (fun x _hx => hderiv i x)      (hint i 0 v_i)  rw [hFTC]  ring
See it in the graphDiscuss this resultChallenge it