AFTD Auto-Formalizing Theoretical Domains

BayesianSingleItemAuction.hasInterimPaymentEnvelopeIdentity_of_zeroNormalized_of_interimPaymentFormula

theoremverifiedformalizationimported Lean

BayesianSingleItemAuction.hasInterimPaymentEnvelopeIdentity_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.hasInterimPaymentEnvelopeIdentity_of_zeroNormalized_of_interimPaymentFormula
    [Fintype I] [DecidableEq I] (A B : BayesianSingleItemAuction I)
    (hzero : B.IsZeroNormalized)
    (hpay_formula : B.HasInterimPaymentFormula) :
    ∀ 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 * v -
            ∫ z in 0..v, B.interimAllocProb i z) * A.typeDensity i v
Formalizes
EconCSLib, `BayesianSingleItemAuction.hasInterimPaymentEnvelopeIdentity_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 33
Used by 1

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.hasInterimPaymentEnvelopeIdentity_of_zeroNormalized_of_interimPaymentFormula    [Fintype I] [DecidableEq I] (A B : BayesianSingleItemAuction I)    (hzero : B.IsZeroNormalized)    (hpay_formula : B.HasInterimPaymentFormula) :    ∀ 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 * v -            ∫ z in 0..v, B.interimAllocProb i z) * A.typeDensity i v := by  intro i  have hM0 : B.interimExpectedPayment i 0 = 0 :=    B.interimExpectedPayment_zero_of_isZeroNormalized hzero i  refine intervalIntegral.integral_congr_ae ?_  filter_upwards with v _hv  have hpay := hpay_formula i v  rw [hM0] at hpay  calc    B.interimExpectedPayment i v * A.typeDensity i v        = (B.interimAllocProb i v * v -            ∫ z in 0..v, B.interimAllocProb i z) * A.typeDensity i v := by          rw [hpay]          ring
See it in the graphDiscuss this resultChallenge it