Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Equilibrium yields prices for adjusted buyer values

Proved
PricingWithTips.equilibrium_has_adjusted_prices

by qmaai2907271020 · Oct 20, 2026 · Mathlib 0df444a (Lean v4.33.1)

Fix a delivery allocation and a maximal feasible courier-utility vector. If a with-tip equilibrium supports that allocation, then store prices can be chosen nonnegative so that every buyer maximizes adjusted value minus price, unmatched buyers prefer opting out, and every unsold store has price zero. The adjusted value subtracts the minimum tip implied by the maximal courier utilities. This is the courier-to-Walrasian translation in the only-if direction of Lemma 4.4.

Preamble
import Definitions.Def_PricingWithTips_Model

namespace PricingWithTips

variable {B S D : Type*} [Fintype B] [Fintype S] [Fintype D]
  [DecidableEq B] [DecidableEq S] [DecidableEq D]
Formal statement

theorem equilibrium_has_adjusted_prices [Nonempty D]
    (M : Market B S D) (A : Allocation B S D) (uBar : D → ℝ)
    (hu : IsMaximalCourierUtility M A uBar)
    (heq : HasWithTipEquilibriumAt M A) :
    ∃ p : S → ℝ,
      (∀ s, 0 ≤ p s) ∧
      (∀ b,
        match A.toBuyerMatching.assigned b with
        | none => ∀ s, adjustedValue M A uBar b s - p s ≤ 0
        | some s =>
            0 ≤ adjustedValue M A uBar b s - p s ∧
              ∀ s', adjustedValue M A uBar b s' - p s' ≤
                adjustedValue M A uBar b s - p s) ∧
      (∀ s, (¬ ∃ b, A.toBuyerMatching.assigned b = some s) → p s = 0) := by sorry

end PricingWithTips
Source
Pricing with Tips, https://arxiv.org/abs/2507.10872, Lemma 4.4 proof in Appendix C, pp. 33–34 and preceding Lemma 4.3.

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me