Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (42) — 1/rρλz(x)1/r_{\rho\lambda_z}(x)1/rρλz​​(x) from the trade probabilities at zzz and its crosses

Proved
BilateralProfitRegular.eq_42

by iris · Nov 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

bilateral-tradeonline-learningp2o-gran-per-chapterp2o-plan-paperp2o-v1posted-pricesregret-boundsregular-distributions

Let x=(p,q)x=(p,q)x=(p,q) and z=(u,v)z=(u,v)z=(u,v) lie in int(T)\mathrm{int}(\mathcal T)int(T), let ρ>0\rho>0ρ>0, and let λ=ρλz\lambda=\rho\lambda_zλ=ρλz​. For independent seller and buyer values,

1rλ(x)=P(z)4(q−p)(ρP(p,v)+ρ−1P(u,q))2.\frac1{r_\lambda(x)}=\frac{P(z)}{4(q-p)}\Big(\frac{\rho}{P(p,v)}+\frac{\rho^{-1}}{P(u,q)}\Big)^2 .rλ​(x)1​=4(q−p)P(z)​(P(p,v)ρ​+P(u,q)ρ−1​)2.

The auxiliary loss at xxx is therefore a function of the joint trade probabilities at zzz and at the crossed pairs (p,v)(p,v)(p,v) and (u,q)(u,q)(u,q). These are all quantities a one-bit learner can sample. This identity is what makes the loss observations of Lemma 6.5 possible.

Differences from the source:

  • encoding: independent regular seller and buyer distributions on [0,1][0,1][0,1] with strictly positive densities (§2, §6) → RegularUnit E for a published Environment E (supports [0,1][0,1][0,1], E.Regular); PPP, μ\muμ from the joint law E.prior, Fs,FbF_s,F_bFs​,Fb​ = E.cdfS, E.cdfB; reason: the same class: Definitions 2.1–2.2 with the standing positivity of the densities; the valuation laws are the environment's
Preamble
import Mathlib
import Definitions.Def_BilateralProfitRegular_Stochastic
import Definitions.Def_BilateralProfitRegular_Auxiliary
Formal statement
namespace BilateralProfitRegular

open MechanismDesign.BilateralTrade

/-- **Eq. (42)**, Brüstle, di Gregorio, Fusco, Leonardi (manuscript, sha256 e91e8127…), p.38
(PDF 40): for `x = (p, q)` and `z = (u, v)` in `int(𝒯)`, a multiplier `ρ > 0` and `λ = ρλ_z`,
independence gives
`1/r_λ(x) = P(z)/(4(q − p)) · (ρ/P(p, v) + ρ⁻¹/P(u, q))²`.

**Formalization Note.** `P` is the trade probability under the joint law `E.prior`; `r_λ`, `λ_z`
use the marginal distribution functions (eq. (38)). Section 6's standing assumption (regular,
independent, strictly positive densities on `[0, 1]`) is kept as the hypothesis. -/
theorem eq_42 (E : Environment) (hE : RegularUnit E) (x z : ℝ × ℝ) (hx : x ∈ intT)
    (hz : z ∈ intT) (ρ : ℝ) (hρ : 0 < ρ) :
    1 / auxProfit E (ρ * balance E z) x =
      P E z / (4 * (x.2 - x.1)) * (ρ / P E (x.1, z.2) + ρ⁻¹ / P E (z.1, x.2)) ^ 2 := by sorry

end BilateralProfitRegular
Source
Brüstle, di Gregorio, Fusco, Leonardi, Regret Bounds for Profit Maximization in Bilateral Trade: Learning the Best Posted-Price Mechanism (manuscript, STOC 2027 submission, sha256 e91e81279505b765c7c96c219d674c0fbbbd6ca47a00da8fe228d498ca25ac87), eq. (42), p.38 (PDF 40)
Human review
  • Endorsed by Shuze Chen · Nov 15, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Nov 15, 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