Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3.2, p. 995 — r(·|T) is piecewise, with derivative p−w−(p−s)Φ(Q) below T and p+u−w−(p+u−s)Φ(Q) above; strictly concave on [0,T) and (T,∞); kink up at T

Proved
ChannelRebate.Quantity.sec32_retailer_profit_shape

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

channel-rebatenewsvendorp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1supply-chain-contracts

In the setting of the mission (demand density φ\varphiφ positive on [0,∞)[0,\infty)[0,∞) and zero on (−∞,0)(-\infty,0)(−∞,0), 0<c<w<p0<c<w<p0<c<w<p, s<cs<cs<c), let u>0u > 0u>0 and T≥0T \ge 0T≥0, and let r(Q∣T)r(Q\mid T)r(Q∣T) be the retailer's profit under the target rebate (w,u,T)(w,u,T)(w,u,T). Then:

  1. for 0≤Q≤T0 \le Q \le T0≤Q≤T,
r(Q∣T)=(p−w)Q−(p−s)∫0Q(Q−ξ) dΦ(ξ);r(Q\mid T) = (p-w)Q - (p-s)\int_0^Q (Q-\xi)\,d\Phi(\xi);r(Q∣T)=(p−w)Q−(p−s)∫0Q​(Q−ξ)dΦ(ξ);
  1. for Q>TQ > TQ>T,
r(Q∣T)=(p−w)Q−(p−s)∫0Q(Q−ξ) dΦ(ξ)+u(∫TQ(ξ−T) dΦ(ξ)+(Q−T)[1−Φ(Q)]);r(Q\mid T) = (p-w)Q - (p-s)\int_0^Q (Q-\xi)\,d\Phi(\xi) + u\Big(\int_T^Q (\xi-T)\,d\Phi(\xi) + (Q-T)[1-\Phi(Q)]\Big);r(Q∣T)=(p−w)Q−(p−s)∫0Q​(Q−ξ)dΦ(ξ)+u(∫TQ​(ξ−T)dΦ(ξ)+(Q−T)[1−Φ(Q)]);
  1. r(⋅∣T)r(\cdot\mid T)r(⋅∣T) is differentiable at every Q∈(0,T)Q \in (0,T)Q∈(0,T) with derivative p−w−(p−s)Φ(Q)p-w-(p-s)\Phi(Q)p−w−(p−s)Φ(Q), and at every Q>TQ > TQ>T with derivative p+u−w−(p+u−s)Φ(Q)p+u-w-(p+u-s)\Phi(Q)p+u−w−(p+u−s)Φ(Q);
  2. r(⋅∣T)r(\cdot\mid T)r(⋅∣T) is strictly concave on [0,T)[0,T)[0,T) and on (T,∞)(T,\infty)(T,∞);
  3. r(⋅∣T)r(\cdot\mid T)r(⋅∣T) is continuous;
  4. the derivative tends to p−w−(p−s)Φ(T)p-w-(p-s)\Phi(T)p−w−(p−s)Φ(T) as Q→T−Q \to T^-Q→T− and to p+u−w−(p+u−s)Φ(T)p+u-w-(p+u-s)\Phi(T)p+u−w−(p+u−s)Φ(T) as Q→T+Q \to T^+Q→T+, and the left limit is strictly smaller than the right limit.

The upward kink at the target is what makes the retailer's problem non-concave and produces the two candidate orders of Lemma 1.

Formalization Note No continuity of φ\varphiφ is assumed; the derivatives exist because Φ\PhiΦ is continuous. The derivative used in item 6 is Lean's deriv, which agrees with the formulas of item 3 near TTT.

Preamble
import Mathlib
import Definitions.Def_CachonCoord_Newsvendor_Contracts
import Definitions.Def_ChannelRebate_Quantity_Setting
open MeasureTheory

open Filter Topology
Formal statement
namespace ChannelRebate.Quantity

/-- Taylor (2002), §3.2, p. 995. The piecewise form of `r(Q|T)`, its derivative on each
piece, strict concavity on `[0, T)` and on `(T, ∞)`, continuity, and the upward kink of the
derivative at the target `T`. -/
theorem sec32_retailer_profit_shape (p c s w u T : ℝ) (hc : 0 < c) (hcw : c < w) (hwp : w < p)
    (hsc : s < c) (hu : 0 < u) (hT : 0 ≤ T) (D : Demand) :
    -- the two closed forms
    (∀ Q : ℝ, 0 ≤ Q → Q ≤ T →
      retailerProfit p s w u T D Q =
        (p - w) * Q - (p - s) * ∫ x in (0 : ℝ)..Q, (Q - x) * D.φ x) ∧
    (∀ Q : ℝ, T < Q →
      retailerProfit p s w u T D Q =
        (p - w) * Q - (p - s) * (∫ x in (0 : ℝ)..Q, (Q - x) * D.φ x)
          + u * ((∫ x in T..Q, (x - T) * D.φ x) + (Q - T) * (1 - Phi D Q))) ∧
    -- the derivative on each piece
    (∀ Q : ℝ, 0 < Q → Q < T →
      HasDerivAt (retailerProfit p s w u T D) (p - w - (p - s) * Phi D Q) Q) ∧
    (∀ Q : ℝ, T < Q →
      HasDerivAt (retailerProfit p s w u T D) (p + u - w - (p + u - s) * Phi D Q) Q) ∧
    -- strict concavity on each piece
    StrictConcaveOn ℝ (Set.Ico 0 T) (retailerProfit p s w u T D) ∧
    StrictConcaveOn ℝ (Set.Ioi T) (retailerProfit p s w u T D) ∧
    -- continuity
    Continuous (retailerProfit p s w u T D) ∧
    -- the kink: the left limit of the derivative at T is below the right limit
    Tendsto (deriv (retailerProfit p s w u T D)) (𝓝[<] T)
      (𝓝 (p - w - (p - s) * Phi D T)) ∧
    Tendsto (deriv (retailerProfit p s w u T D)) (𝓝[>] T)
      (𝓝 (p + u - w - (p + u - s) * Phi D T)) ∧
    p - w - (p - s) * Phi D T < p + u - w - (p + u - s) * Phi D T := by sorry

end ChannelRebate.Quantity
Source
Taylor, Supply Chain Coordination Under Channel Rebates with Sales Effort Effects, Management Science 48(8) (2002), p. 995, §3.2 (display of r(Q|T), its derivative, and the following paragraph)
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

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