AFTD Auto-Formalizing Theoretical Domains

BayesianSingleItemAuction.hasInterimPaymentVirtualSurplusIdentity_of_zeroNormalized_of_interimPaymentFormula

theoremverifiedformalizationimported Lean

BayesianSingleItemAuction.hasInterimPaymentVirtualSurplusIdentity_of_zeroNormalized_of_interimPaymentFormula

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open BayesianSingleItemAuction in
open scoped BigOperators in
open MeasureTheory in
variable {I : Type*} in
theorem BayesianSingleItemAuction.hasInterimPaymentVirtualSurplusIdentity_of_zeroNormalized_of_interimPaymentFormula
    [Fintype I] [DecidableEq I] (A B : BayesianSingleItemAuction I)
    (hzero : B.IsZeroNormalized)
    (hpay_formula : B.HasInterimPaymentFormula)
    (henv :
      A.EnvelopeVirtualSurplusAnalyticAssumptions B) :
    ∀ i : I,
      (∫ v in 0..A.typeData.omega i, B.interimExpectedPayment i v * A.typeDensity i v) =
        ∫ v in 0..A.typeData.omega i,
          B.interimAllocProb i v * A.virtualValue i v * A.typeDensity i v
Formalizes
EconCSLib, `BayesianSingleItemAuction.hasInterimPaymentVirtualSurplusIdentity_of_zeroNormalized_of_interimPaymentFormula`
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 36

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen BayesianSingleItemAuction inopen scoped BigOperators inopen MeasureTheory invariable {I : Type*} intheorem BayesianSingleItemAuction.hasInterimPaymentVirtualSurplusIdentity_of_zeroNormalized_of_interimPaymentFormula    [Fintype I] [DecidableEq I] (A B : BayesianSingleItemAuction I)    (hzero : B.IsZeroNormalized)    (hpay_formula : B.HasInterimPaymentFormula)    (henv :      A.EnvelopeVirtualSurplusAnalyticAssumptions B) :    ∀ i : I,      (∫ v in 0..A.typeData.omega i, B.interimExpectedPayment i v * A.typeDensity i v) =        ∫ v in 0..A.typeData.omega i,          B.interimAllocProb i v * A.virtualValue i v * A.typeDensity i v := by  intro i  calc    (∫ v in 0..A.typeData.omega i, B.interimExpectedPayment i v * A.typeDensity i v)        = ∫ v in 0..A.typeData.omega i,            (B.interimAllocProb i v * v -              ∫ z in 0..v, B.interimAllocProb i z) * A.typeDensity i v :=          A.hasInterimPaymentEnvelopeIdentity_of_zeroNormalized_of_interimPaymentFormula            B hzero hpay_formula i    _ = ∫ v in 0..A.typeData.omega i,          B.interimAllocProb i v * A.virtualValue i v * A.typeDensity i v :=          henv.envelopeIntegral_eq_virtualSurplusIntegral i
See it in the graphDiscuss this resultChallenge it