Display (4) with (7):
ProvedTradeAgentNV.equation_4biddingnewsvendorp2o-gran-per-chapterp2o-plan-paperp2o-v1random-yieldsupply-uncertainty
The model. On a probability space the seller's ask price and the yield fraction are independent real random variables. The win probability is , with ; has a derivative (within ) at every , so the support of is . The yield satisfies almost surely and . The parameters are positive with , and the lot size is . The expected profit at bid is
, and is the expected benefit of bidding (7).
Then for every bid ,
This reduces the agent's two-stage problem to a one-dimensional objective in whose only distributional inputs are and the scalar .
Differences from the source:
- reading: display (3) charges on and on → on the excess supply and on the unmet demand ; reason: p.8 defines as the excess-supply cost and as the lost-sales cost, and only this assignment gives display (4)
- encoding: the bid outcome () and the yield as two separate uncertainties, w.p. (2) → and are random variables on one probability space and are independent; reason: (2) multiplies the win probability by the yield distribution, i.e. the yield is independent of the bid outcome; same instances
- encoding: is a nonnegative, continuous random variable → ; reason: for a nonnegative continuous , ; conversely with the derivative hypothesis is continuous and vanishes on ; the proof uses
- reading: is differentiable with density and → has derivative within at every , and for ; reason: a two-sided derivative at is impossible when on and ; the paper uses the derivative only on
- encoding: the seller has units ( is used throughout) → ; reason: implicit in the paper; is undefined at
Preamble
import Mathlib import Definitions.Def_TradeAgentNV_winProb import Definitions.Def_TradeAgentNV_expProfit import Definitions.Def_TradeAgentNV_expBenefit open MeasureTheory ProbabilityTheory
Formal statement
namespace TradeAgentNV
/-- **Display (4) with (7)** (pp.10–11; also display (29), p.28) of Çakıcı & Karaesmen, *When Yield is Not the Only Supply Uncertainty: Newsvendor Model of a
Trade Agent*, SSRN 4409114 (v. Oct 14, 2023):
the expected profit simplifies to `E[Vʸ(b)] = w(b)[R − bq] − πD` for every bid `b ∈ Ω = [0, ∞)`,
where `R = ρE[min(qU, D)] − hqE[U]` is the expected benefit of bidding.
**Formalization Note.** The model: on a probability space `(Ω, P)` the ask price `Z` and the
yield fraction `U` are independent random variables (the yield is exogenous to the bid, (2));
`P(Z ≤ 0) = 0` encodes "`Z` nonnegative and continuous" (the proof uses `w(0) = 0`); `w'` is the
density, a derivative of `w` within `Ω = [0, ∞)` (a two-sided derivative at `0` is impossible
when `w = 0` on `(−∞, 0]` and `w'(0) > 0`), positive on `[0, ∞)` (`Ω = {b : w'(b) > 0} = [0, ∞)`,
p.9); `0 ≤ U ≤ 1` a.s. and `E[U] > 0` (p.9); `D, r, t, h, π > 0`, `r − t + π > 0` (p.8) and lot
size `q > 0` (implicit: `D/q` is used throughout). -/
theorem equation_4
(Ω : Type*) [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
(Z U : Ω → ℝ) (hZ : Measurable Z) (hU : Measurable U) (hZU : IndepFun Z U P)
(hZ0 : P.real {ω | Z ω ≤ 0} = 0)
(w' : ℝ → ℝ)
(hw : ∀ b, 0 ≤ b → HasDerivWithinAt (winProb P Z) (w' b) (Set.Ici 0) b)
(hw'pos : ∀ b, 0 ≤ b → 0 < w' b)
(hU01 : ∀ᵐ ω ∂P, U ω ∈ Set.Icc (0 : ℝ) 1) (hEU : 0 < ∫ ω, U ω ∂P)
(r t h π D q : ℝ) (hr : 0 < r) (ht : 0 < t) (hh : 0 < h) (hπ : 0 < π) (hD : 0 < D)
(hq : 0 < q) (hrtπ : 0 < r - t + π) :
∀ b, 0 ≤ b → expProfit P Z U r t h π D q b =
winProb P Z b * (expBenefit P U r t h π D q - b * q) - π * D := by sorry
end TradeAgentNV
Source
Çakıcı & Karaesmen, When Yield is Not the Only Supply Uncertainty: Newsvendor Model of a Trade Agent, SSRN 4409114 (v. Oct 14, 2023), https://ssrn.com/abstract=4409114, displays (4) and (7), pp.10–11 (also display (29), p.28)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.