Eq. (22) — the retailer's optimal prebook ,
ProvedCachonPushPull.ShippingCost.retailer_prebook_argmaxConsider a contract with , and let be the demand distribution function of the model. Fix any production quantity . Then the retailer's profit is concave on , there is a prebook with
and every such is the unique maximizer of over : for every , .
Since does not depend on , the retailer's optimal prebook is independent of the supplier's production whenever he prebooks less than she produces. The shipping cost does not enter the retailer's profit, so this equation is the same with and without it.
Formalization Note The paper writes " is concave in , so let "; the statement asserts concavity, existence of and that it is the unique maximizer. The paper's contracts have ; the weaker hypothesis suffices.
import Mathlib import Definitions.Def_CachonPushPull_ShippingCost_Game
namespace CachonPushPull.ShippingCost
open MeasureTheory ProbabilityTheory
/-- Eq. (22), p. 233: under a contract with `v < w₁ ≤ w₂ ≤ p` and any fixed production `q`, the
retailer's profit `π_r(y, q)` is concave in the prebook `y ≥ 0`, a prebook `y_r ≥ 0` with
`F(y_r) = (w₂ - w₁)/(w₂ - v)` exists, and every such `y_r` is the unique maximizer of
`y ↦ π_r(y, q)` over `y ≥ 0`; in particular `y_r` does not depend on `q`. -/
theorem retailer_prebook_argmax (μ : Measure ℝ) [IsProbabilityMeasure μ] (f : ℝ → ℝ)
(hD : DemandModel μ f) (p c v : ℝ) (hvc : v < c) (hcp : c < p)
(w₁ w₂ : ℝ) (hvw₁ : v < w₁) (hw₁₂ : w₁ ≤ w₂) (hw₂p : w₂ ≤ p) (q : ℝ) :
ConcaveOn ℝ (Set.Ici 0) (fun y : ℝ => retailerProfit μ p v w₁ w₂ y q) ∧
(∃ yr : ℝ, 0 ≤ yr ∧ cdf μ yr = (w₂ - w₁) / (w₂ - v)) ∧
∀ yr : ℝ, 0 ≤ yr → cdf μ yr = (w₂ - w₁) / (w₂ - v) →
∀ y : ℝ, 0 ≤ y → y ≠ yr →
retailerProfit μ p v w₁ w₂ y q < retailerProfit μ p v w₁ w₂ yr q := by sorry
end CachonPushPull.ShippingCost
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Let be a probability measure on , so . Let be such that satisfies the demand model:
- ;
- is strictly increasing on ;
- for every ;
- has a strictly positive derivative at every .
Let be reals with
and let be any real, with no sign condition and no relation to anything else. Here , with .
Conclusion. All three of the following hold:
- The map is concave on .
- There exists with
- For every satisfying that equation, and every with ,
Consequently, such a is unique and is the strict maximiser over for every choice of . The parameter appears only in the hypothesis .
Degenerate cases. The denominator is positive, and the target value lies in . When the target is . Then, because and is strictly increasing on , the only admissible is , and the statement says the prebook is the strict maximiser. Negative values of are allowed, and need not be at least .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.