Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary (first clause) — VexΩ x⊤y=∑iVexΩi xiyi\mathrm{Vex}_\Omega\, x^\top y = \sum_i \mathrm{Vex}_{\Omega_i}\, x_i y_iVexΩ​x⊤y=∑i​VexΩi​​xi​yi​ on a box

Proved
BiconvexProg.BranchBound.vex_bilinear_separable

by mikedeng1 · Sep 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

bilinearconvex-envelopep2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let Ω={(x,y):l≤x≤L, m≤y≤M}⊆Rn×Rn\Omega = \{(x,y) : l \le x \le L,\ m \le y \le M\} \subseteq \mathbb{R}^n \times \mathbb{R}^nΩ={(x,y):l≤x≤L, m≤y≤M}⊆Rn×Rn be a box with coordinate rectangles Ωi={(xi,yi):li≤xi≤Li, mi≤yi≤Mi}\Omega_i = \{(x_i, y_i) : l_i \le x_i \le L_i,\ m_i \le y_i \le M_i\}Ωi​={(xi​,yi​):li​≤xi​≤Li​, mi​≤yi​≤Mi​}. Then for every (x,y)∈Ω(x, y) \in \Omega(x,y)∈Ω,

VexΩ x⊤y=∑i=1nVexΩi xiyi.\mathrm{Vex}_\Omega\, x^\top y = \sum_{i=1}^n \mathrm{Vex}_{\Omega_i}\, x_i y_i .VexΩ​x⊤y=i=1∑n​VexΩi​​xi​yi​.

Together with Theorem 2, this gives the node functions of the algorithm in closed form: over a box, the envelope of the bilinear term is a sum of nnn maxima of two affine functions.

Formalization Note The identity is stated at the points of Ω\OmegaΩ. Degenerate boxes are allowed.

Preamble
import Mathlib
import Definitions.Def_BiconvexProg_BranchBound_problem
Formal statement
namespace BiconvexProg.BranchBound

/-- Corollary, first clause (p. 276): on a box `Ω ⊂ ℝⁿ × ℝⁿ`, the convex envelope of `xᵀy` is the
sum of the convex envelopes of `x_i y_i` over the coordinate rectangles `Ω_i`. -/
theorem vex_bilinear_separable {n : ℕ} (Ω : Box n) (z : (Fin n → ℝ) × (Fin n → ℝ))
    (hz : z ∈ Ω.toSet) :
    convexEnvelope Ω.toSet bilin z =
      ∑ i, convexEnvelope (Ω.rect i) (fun p : ℝ × ℝ => p.1 * p.2) (z.1 i, z.2 i) := by sorry

end BiconvexProg.BranchBound
Source
Al-Khayyal, Falk, Jointly Constrained Biconvex Programming, Math. Oper. Res. 8(2), 1983, p. 276, Corollary (first clause); also p. 275, display before Theorem 2
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting. Ω=(l,L,m,M)\Omega = (l, L, m, M)Ω=(l,L,m,M) is any box: four vectors in Rn\mathbb{R}^nRn with no assumed order. Its point set is [Ω]={(x,y)∈Rn×Rn:l≤x≤L, m≤y≤M}[\Omega] = \{(x,y) \in \mathbb{R}^n \times \mathbb{R}^n : l \le x \le L,\ m \le y \le M\}[Ω]={(x,y)∈Rn×Rn:l≤x≤L, m≤y≤M} (coordinatewise), and Ωi=[li,Li]×[mi,Mi]⊆R2\Omega_i = [l_i, L_i] \times [m_i, M_i] \subseteq \mathbb{R}^2Ωi​=[li​,Li​]×[mi​,Mi​]⊆R2. Vex⁡Ah(p)\operatorname{Vex}_A h(p)VexA​h(p) is the real supremum of g(p)g(p)g(p) over real-valued ggg convex on AAA (so AAA convex) with g≤hg \le hg≤h on AAA. It is 000 if that set is empty or unbounded above.

Claim. For every z=(x,y)∈[Ω]z = (x, y) \in [\Omega]z=(x,y)∈[Ω],

Vex⁡[Ω](∑ixiyi)(z)  =  ∑iVex⁡Ωi(pq) (xi,yi),\operatorname{Vex}_{[\Omega]}\Bigl(\sum_i x_i y_i\Bigr)(z) \;=\; \sum_{i} \operatorname{Vex}_{\Omega_i}(p q)\,(x_i, y_i),Vex[Ω]​(i∑​xi​yi​)(z)=i∑​VexΩi​​(pq)(xi​,yi​),

where pqpqpq is the product on R2\mathbb{R}^2R2.

Degenerate cases:

  • The hypothesis z∈[Ω]z \in [\Omega]z∈[Ω] forces l≤Ll \le Ll≤L and m≤Mm \le Mm≤M. For an empty box the claim is vacuous. Flat boxes are included.
  • For n=0n = 0n=0, [Ω][\Omega][Ω] is the single point of R0×R0\mathbb{R}^0 \times \mathbb{R}^0R0×R0, the bilinear form is 000, and the right side is an empty sum 000.
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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