Example 1 — the transfer-price allocation (0, 0, 16, 0) is not in the core
ProvedDecentralizedDistribution.FirstBest.example1_transfer_price_not_in_coreConsider four retailers and no warehouses with , for every , and for every arc, so that every shipment of excess supply to excess demand earns per unit. Take local stocks and demands , so that , , , and all other residuals vanish. Then
and the allocation , which gives the whole excess profit to the retailers whose residual demand is served, is not in the core of SAG: it violates the core constraint (7a) for the coalition .
The example shows that allocations by predetermined transfer prices need not lie in the core.
Formalization Note. Retailers are indices , so is {0, 3}. The costs are left arbitrary (they do not enter ). The paper gives only the residuals; the stocks and demands above are one realization producing them.
import Mathlib import Definitions.Def_Supermodularity_Cooperative_Core import Definitions.Def_DecentralizedDistribution_FirstBest_System open Supermodularity.Cooperative
namespace DecentralizedDistribution.FirstBest
/-- Example 1 (p. 358). Four retailers, no warehouses, `r_n = 10`, `v_n = 5`, `t_{i,n} = 1`,
`β_{i,n} = 1`; stocks `X = (3, 1, 0, 0)` and demands `D = (0, 0, 5, 2)`, so that
`H_1 = 3, H_2 = 1, E_3 = 5, E_4 = 2` (all other residuals zero). Then `W*_𝒩 = 16`, the coalition
`{1, 4}` (indices `0, 3`) has `W*_{{1,4}} = 8`, and the transfer-price allocation `(0, 0, 16, 0)`
is not in the core of SAG([Z], D⃗). -/
theorem example1_transfer_price_not_in_core (sys : System 4 0)
(hr : ∀ n, sys.r n = 10) (hv : ∀ n, sys.v n = 5)
(ht : ∀ i n, sys.t i n = 1) (hβ : ∀ i n, sys.β i n = 1)
(Z : Profile 4 0) (hX : (fun n => (Z n).X) = ![3, 1, 0, 0])
(D : Demand 4) (hD : D = ![0, 0, 5, 2]) :
coalitionValue sys Finset.univ Z D = 16 ∧
coalitionValue sys {0, 3} Z D = 8 ∧
(![0, 0, 16, 0] : Fin 4 → ℝ) ∉ Core Finset.univ (fun S => coalitionValue sys S Z D) := by sorry
end DecentralizedDistribution.FirstBest
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Consider any system with retailers, indexed , and no warehouses. Assume and for all , and and for all locations and retailers (including ). The costs are unconstrained. Every margin is therefore .
Let be any profile whose local stocks are . With no warehouses there are no claims. Let the demand be . Then
Conclusion. The statement asserts all three of the following:
- ;
- ;
- the vector is not in .
Here is the maximal shipping profit of retailer set (the real supremum of the profit ) over plans satisfying:
- ;
- unless ;
- for ;
- for .
is an imported definition whose text is not part of the code shown. It is applied to the ground set of all four retailers and the characteristic function .
Degenerate cases. The hypotheses are jointly satisfiable, so the claim is not vacuous. Indices in the vectors are -based. The costs play no role. All warehouse terms are empty.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.