Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Equation (A.2): ad hoc purchase and payment, general and symmetric

Proved
G2GImport.Sourcing.ad_hoc_stage

by mikedeng1 · Oct 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

ad-hoc-negotiationmultiple-sourcingnash-bargainingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Fix a realized yield y∈[0,1]y\in[0,1]y∈[0,1], a nonnegative production quantity kkk of the focal ad hoc supplier and buyer bargaining power γ∈(0,1)\gamma\in(0,1)γ∈(0,1); there are no forward suppliers. Write u(x)=2x−x2u(x)=2x-x^2u(x)=2x−x2. Let O≥0O\ge0O≥0 be the total quantity the other ad hoc suppliers have agreed to sell, held fixed (Nash-in-Nash). The focal pair (q,t)(q,t)(q,t) is a Nash bargaining solution exactly when

q=max⁡{0,min⁡{k,1−y−O}},t=(1−γ)[u(min⁡{1,y+O+q})−u(min⁡{1,y+O})].q=\max\{0,\min\{k,1-y-O\}\},\qquad t=(1-\gamma)\bigl[u(\min\{1,y+O+q\})-u(\min\{1,y+O\})\bigr].q=max{0,min{k,1−y−O}},t=(1−γ)[u(min{1,y+O+q})−u(min{1,y+O})].

In particular, with l≥1l\ge1l≥1 identical ad hoc suppliers whose other l−1l-1l−1 agreements equal the same purchase qqq (so O=(l−1)qO=(l-1)qO=(l−1)q), the focal pair is a solution exactly when

q=min⁡ ⁣{k,1−yl},t=(1−γ)[u(min⁡{1,y+lq})−u(min⁡{1,y+(l−1)q})].q=\min\!\left\{k,\frac{1-y}{l}\right\},\qquad t=(1-\gamma)\bigl[u(\min\{1,y+lq\})-u(\min\{1,y+(l-1)q\})\bigr].q=min{k,l1−y​},t=(1−γ)[u(min{1,y+lq})−u(min{1,y+(l−1)q})].

This stage outcome identifies each supplier's purchase and its share of the incremental buyer utility, providing the quantity rule used in the production stage.

Formalization Note The first part is (A.2) with Qf=0Q^f=0Qf=0. The feasible purchase is capped by remaining demand. This is the selection expressed in (A.2); it resolves the flat Nash-product region after demand is met.

Preamble
import Mathlib
import Definitions.Def_G2GImport_Sourcing_Model
Formal statement
namespace G2GImport.Sourcing

/-- Equation (A.2) with no forward suppliers: for any total `O ≥ 0` agreed by the other
ad hoc suppliers, the focal bargain buys `max 0 (min k (1 - y - O))` and pays `1 - γ` times
the buyer's marginal utility; in the symmetric case `O = (l - 1) q` this is
`q = min k ((1 - y) / l)`. -/
theorem ad_hoc_stage (γ k y : ℝ) (hγ : 0 < γ ∧ γ < 1) (hk : 0 ≤ k)
    (hy : y ∈ Set.Icc (0 : ℝ) 1) :
    (∀ O q t : ℝ, 0 ≤ O →
      (AdHocBargain γ k O y q t ↔
        q = max 0 (min k (1 - y - O)) ∧
        t = (1 - γ) * (supplyUtil (y + O + q) - supplyUtil (y + O)))) ∧
    (∀ (l : ℕ) (q t : ℝ), 1 ≤ l →
      (AdHocBargain γ k (((l : ℝ) - 1) * q) y q t ↔
        q = min k ((1 - y) / (l : ℝ)) ∧
        t = (1 - γ) *
          (supplyUtil (y + (l : ℝ) * q) -
            supplyUtil (y + ((l : ℝ) - 1) * q)))) := by sorry

end G2GImport.Sourcing
Source
Mu, Hu, Reddy & Gavirneni, Negotiating government-to-government food importing contracts: a Nash bargaining framework, accepted manuscript (MSOM, doi:10.1287/msom.2021.1027), PDF p. 8, §4.1 ad hoc outcome; PDF p. 13, equation (A.2)
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 21, 2026

    Confirmed by the mission captain (proposal self-audit).

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