AFTD Auto-Formalizing Theoretical Domains

BayesianSingleItemAuction.hasInterimPaymentFormula_of_hasInterimEnvelopeFormula

theoremverifiedformalizationimported Lean

The payoff envelope implies the payment identity.

Statement

set_option autoImplicit true in
set_option relaxedAutoImplicit true in
open BayesianSingleItemAuction in
open MeasureTheory in
variable {I : Type*} in
theorem BayesianSingleItemAuction.hasInterimPaymentFormula_of_hasInterimEnvelopeFormula
    (A : BayesianSingleItemAuction I) (henv : A.HasInterimEnvelopeFormula) :
    A.HasInterimPaymentFormula
Formalizes
EconCSLib, `BayesianSingleItemAuction.hasInterimPaymentFormula_of_hasInterimEnvelopeFormula`
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 20
Used by 5

Lean source view module on GitHub

set_option autoImplicit true inset_option relaxedAutoImplicit true inopen BayesianSingleItemAuction inopen MeasureTheory invariable {I : Type*} in/-- The payoff envelope implies the payment identity. -/theorem BayesianSingleItemAuction.hasInterimPaymentFormula_of_hasInterimEnvelopeFormula    (A : BayesianSingleItemAuction I) (henv : A.HasInterimEnvelopeFormula) :    A.HasInterimPaymentFormula := by  intro i v_i  calc    A.interimExpectedPayment i v_i        = A.interimAllocProb i v_i * v_i - A.equilibriumPayoff i v_i := by          rw [equilibriumPayoff, interimQuasiLinearUtility]          ring    _ = A.interimAllocProb i v_i * v_i -          (A.equilibriumPayoff i 0 + ∫ z in 0..v_i, A.interimAllocProb i z) := by          rw [henv i v_i]    _ = A.interimExpectedPayment i 0 + A.interimAllocProb i v_i * v_i -          ∫ z in 0..v_i, A.interimAllocProb i z := by          rw [equilibriumPayoff, interimQuasiLinearUtility]          ring
See it in the graphDiscuss this resultChallenge it