Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Equation (1): benchmark optimal purchase quantity

Proved
ViceGoals.Personal.eq_1

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

consumption-goalsmonopoly-pricingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1present-biasself-controlvice-goods

Let q≥0q\ge0q≥0 be the consumer's period-4 purchase quantity without a goal, at a nonnegative price ppp. Under the model's standing conditions, qqq maximizes period-4 utility exactly when

q={v−βh−p,p≤v−βh,0,p>v−βh.q=\begin{cases}v-\beta h-p,&p\le v-\beta h,\\0,&p>v-\beta h.\end{cases}q={v−βh−p,0,​p≤v−βh,p>v−βh.​

This characterizes the quantity that the planning-stage consumer anticipates.

Preamble
import Mathlib
import Definitions.Def_ViceGoals_Personal_Model
Formal statement
namespace ViceGoals.Personal

theorem eq_1 (m : Params) (hm : m.Standing) (p q : ℝ) (hp : 0 ≤ p) :
    IsOptQtyB m p q ↔
      q = if p ≤ m.v - m.beta * m.h then m.v - m.beta * m.h - p else 0 := by sorry

end ViceGoals.Personal
Source
Amaldoss & Harutyunyan, Pricing of Vice Goods for Goal-Driven Consumers, SSRN 4226237 (version of September 2022), p. 10 (PDF 11), §4.1, (1)
Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

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