AFTD Auto-Formalizing Theoretical Domains

BayesianSingleItemAuction.hasInterimPaymentEnvelopeUpperBound_of_pointwise

theoremverifiedformalizationimported Lean

BayesianSingleItemAuction.hasInterimPaymentEnvelopeUpperBound_of_pointwise

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.hasInterimPaymentEnvelopeUpperBound_of_pointwise
    [Fintype I] (A B : BayesianSingleItemAuction I)
    (hdens_ae :
      ∀ i : I,
        ∀ᵐ v ∂(volume.restrict (Set.Ioc 0 (A.typeData.omega i))),
          0 ≤ A.typeDensity i v)
    (hint_pay :
      ∀ i : I,
        IntervalIntegrable
          (fun v => B.interimExpectedPayment i v * A.typeDensity i v)
          volume 0 (A.typeData.omega i))
    (hint_env :
      ∀ i : I,
        IntervalIntegrable
          (fun v =>
            (B.interimAllocProb i v * v -
              ∫ z in 0..v, B.interimAllocProb i z) * A.typeDensity i v)
          volume 0 (A.typeData.omega i))
    (hpoint :
      ∀ (i : I) (v : ℝ),
        0 ≤ v →
          v ≤ A.typeData.omega i →
            B.interimExpectedPayment i v ≤
              B.interimAllocProb i v * v -
                ∫ z in 0..v, B.interimAllocProb i z) :
    A.HasInterimPaymentEnvelopeUpperBound B
Formalizes
EconCSLib, `BayesianSingleItemAuction.hasInterimPaymentEnvelopeUpperBound_of_pointwise`
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 32
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.hasInterimPaymentEnvelopeUpperBound_of_pointwise    [Fintype I] (A B : BayesianSingleItemAuction I)    (hdens_ae :      ∀ i : I,        ∀ᵐ v ∂(volume.restrict (Set.Ioc 0 (A.typeData.omega i))),          0 ≤ A.typeDensity i v)    (hint_pay :      ∀ i : I,        IntervalIntegrable          (fun v => B.interimExpectedPayment i v * A.typeDensity i v)          volume 0 (A.typeData.omega i))    (hint_env :      ∀ i : I,        IntervalIntegrable          (fun v =>            (B.interimAllocProb i v * v -              ∫ z in 0..v, B.interimAllocProb i z) * A.typeDensity i v)          volume 0 (A.typeData.omega i))    (hpoint :      ∀ (i : I) (v : ℝ),        0 ≤ v →          v ≤ A.typeData.omega i →            B.interimExpectedPayment i v ≤              B.interimAllocProb i v * v -                ∫ z in 0..v, B.interimAllocProb i z) :    A.HasInterimPaymentEnvelopeUpperBound B := by  intro i  have hae :      (fun v : ℝ => B.interimExpectedPayment i v * A.typeDensity i v)        ≤ᵐ[volume.restrict (Set.Ioc 0 (A.typeData.omega i))]      (fun v : ℝ =>        (B.interimAllocProb i v * v -          ∫ z in 0..v, B.interimAllocProb i z) * A.typeDensity i v) := by    filter_upwards [ae_restrict_mem measurableSet_Ioc, hdens_ae i] with v hv hdens_v    exact mul_le_mul_of_nonneg_right (hpoint i v hv.1.le hv.2) hdens_v  rw [intervalIntegral.integral_of_le (A.typeData.cdf i).omega_nonneg,    intervalIntegral.integral_of_le (A.typeData.cdf i).omega_nonneg]  exact setIntegral_mono_ae_restrict (hint_pay i).1 (hint_env i).1 hae
See it in the graphDiscuss this resultChallenge it