Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Mangasarian (1969): a convex function over a positive affine function is quasiconvex

Proved
RetailVariety.Structure.mangasarian_ratio_quasiconvex

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

convex-analysisfractional-programmingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1quasiconvexity

Let XXX be a convex subset of a real vector space, let ggg be convex on XXX, and let fff be affine ("linear") on XXX with f(x)>0f(x)>0f(x)>0 for all x∈Xx\in Xx∈X. Then the ratio

x↦g(x)f(x)x\mapsto\frac{g(x)}{f(x)}x↦f(x)g(x)​

is quasiconvex on XXX: each of its sublevel sets {x∈X:g(x)/f(x)≤r}\{x\in X: g(x)/f(x)\le r\}{x∈X:g(x)/f(x)≤r} is convex.

The paper quotes this result from Mangasarian, Nonlinear Programming (1969), and applies it with X=[0,v1]X=[0,v_1]X=[0,v1​], fff of (9) and g=gI,gTg=g_I,g_Tg=gI​,gT​ of (10)–(11) to prove Lemma 1.

Formalization Note "fff is linear on XXX" is encoded as: fff is both convex and concave on XXX.

Preamble
import Mathlib
Formal statement
namespace RetailVariety.Structure

/-- Mangasarian (1969), as quoted in the proof of Lemma 1 (Appendix, p. 1507): if `g` is convex
on the convex set `X`, `f > 0` on `X`, and `f` is linear (affine) on `X`, then `g / f` is
quasiconvex on `X`. "Affine on `X`" is encoded as convex and concave on `X`. -/
theorem mangasarian_ratio_quasiconvex {E : Type*} [AddCommGroup E] [Module ℝ E] (X : Set E)
    (g f : E → ℝ) (hg : ConvexOn ℝ X g) (hf_pos : ∀ x ∈ X, 0 < f x)
    (hf_lin : ConvexOn ℝ X f ∧ ConcaveOn ℝ X f) :
    QuasiconvexOn ℝ X (fun x => g x / f x) := by sorry

end RetailVariety.Structure
Source
van Ryzin & Mahajan, On the Relationship Between Inventory Costs and Variety Benefits in Retail Assortments, Management Science 45(11), 1999, p. 1507, Appendix, proof of Lemma 1 (result quoted from Mangasarian 1969)
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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