Theorem 3 (prescribed redistribution): D(J; q) ≤ Σ_{i∈J} p_i Σ_{j∉J} λ_j c(ω_i, ω_j), equality if #J = 1 and c satisfies the triangle inequality
ProvedScenarioReduction.Redistribution.prescribed_redistributionUnder the standing assumptions of Section 3, fix and redistribution weights , , with . Redistribute the deleted mass by the rule (12),
Then
Moreover, equality holds if and satisfies the triangle inequality for all .
The theorem bounds the distance when the reduced weights are prescribed (for instance, to keep a uniform distribution uniform) instead of optimized as in Theorem 2.
Formalization Note may be empty; already forces at least one kept scenario. The triangle inequality is a hypothesis of the equality clause only, and is required on all of as in the paper. Measurability, (C3) and (C4) are dropped as in the other items.
import Mathlib import Definitions.Def_ScenarioReduction_Redistribution_transportValue open Finset
namespace ScenarioReduction.Redistribution
theorem prescribed_redistribution {Ω : Type*} {N : ℕ} (c : Ω → Ω → ℝ) (ω : Fin N → Ω) (p : Fin N → ℝ)
(hc : ∀ a b : Ω, 0 ≤ c a b) (hc1 : ∀ a b : Ω, c a b = 0 ↔ a = b)
(hc2 : ∀ a b : Ω, c a b = c b a)
(hp : ∀ i, 0 < p i) (hp1 : ∑ i, p i = 1)
(J : Finset (Fin N)) (lam : Fin N → ℝ) (hlam : ∀ j ∉ J, 0 ≤ lam j) (hlam1 : ∑ j ∈ Jᶜ, lam j = 1) :
transportValue c ω p J (prescribedWeights p J lam) ≤ ∑ i ∈ J, p i * ∑ j ∈ Jᶜ, lam j * c (ω i) (ω j) ∧
(J.card = 1 → (∀ a b d : Ω, c a d ≤ c a b + c b d) →
transportValue c ω p J (prescribedWeights p J lam) = ∑ i ∈ J, p i * ∑ j ∈ Jᶜ, lam j * c (ω i) (ω j)) := by sorry
end ScenarioReduction.Redistribution
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
The data are:
- an arbitrary type and ;
- ;
- and ;
- ;
- .
The hypotheses are:
- ;
- ;
- is symmetric;
- for all , and ;
- for every , and . Nothing is required of for .
Define the prescribed weights
Here is the infimum of over matrices with:
- for ;
- for every ;
- for .
It is if no such exists.
The theorem asserts:
- Upper bound.
- Equality for one deleted index. If and satisfies the triangle inequality for all , then equality holds in (1).
Degenerate cases:
- . The statement is vacuous.
- . The condition is an empty sum equal to , which is impossible, so the statement is vacuous.
- . Then and part (1) reads . Part (2) is vacuous because .
- Values on . The values for affect only for , which does not enter .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.