Theorem 5: a markup-ordered assortment is optimal, with long service on an adjusted markup-ordered subset
ProvedPriceQualityService.Dealer.theorem_5Consider the dealer's problem (13): prices and qualities are fixed, and the dealer chooses disjoint sets of products offered with long service and short service to maximize . Write for the markup with short service, and with for the adjusted markup. A markup-ordered assortment is a set of the form and an adjusted markup-ordered set one of the form .
Theorem 5. Assume , and and for every product. Then there are thresholds such that, with and :
- (a) is an optimal offer set for (13);
- (b) , and attaching the long service to and the short service to is optimal:
Consequently at most candidate pairs need to be examined, and long service goes to the products with the highest adjusted profit margins.
Formalization Note The paper relabels products by decreasing markup and calls a prefix a markup-ordered assortment. Here such sets are the upper level sets and ; every level set is a prefix of every decreasing relabelling, so the statement holds whatever tie-break the relabelling uses. The empty set and the full set are allowed. Parts (a) and (b) share the same : (a) is the optimality of the pair in (b), whose union is . The hypotheses , and are the model's standing assumptions made explicit (shortest and longest duration, service utility, service cost); the first two make well defined, and without the third part (b) is false.
import Mathlib import Definitions.Def_PriceQualityService_Dealer_Model import Definitions.Def_PriceQualityService_Dealer_Breakpoints open Finset
namespace PriceQualityService.Dealer
/-- Theorem 5, p. 23. Assume `t_s < t_l`, `0 < s_i` and `0 ≤ a_i − b_i q_i` for every product.
(a) Some markup-ordered assortment `S = {i | z_i ≥ θ}`, `z_i = p_i − c_i q_i² − t_s(a_i − b_i q_i)`,
is an optimal offer set for problem (13); (b) some adjusted markup-ordered set
`L = {i | x_i ≥ θ'}` lies within `S`, and attaching the long service to `L` and the short service
to `S \ L` is optimal among all disjoint pairs `(S_l, S_s)`. -/
theorem theorem_5 {N : ℕ} (α a b c s p q : Fin N → ℝ) (ts tl : ℝ) (hts : ts < tl)
(hs : ∀ i, 0 < s i) (hg : ∀ i, 0 ≤ a i - b i * q i) :
∃ θ θ' : ℝ,
(univ.filter fun i => θ' ≤ adjustedMarkup a b c s p q ts tl i) ⊆
(univ.filter fun i => θ ≤ markup a b c p q ts i) ∧
∀ Sl Ss : Finset (Fin N), Disjoint Sl Ss →
dealerProfit α a b c s p q ts tl Sl Ss ≤
dealerProfit α a b c s p q ts tl
(univ.filter fun i => θ' ≤ adjustedMarkup a b c s p q ts tl i)
((univ.filter fun i => θ ≤ markup a b c p q ts i) \
univ.filter fun i => θ' ≤ adjustedMarkup a b c s p q ts tl i) := by sorry
end PriceQualityService.Dealer
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.