Eq. (10) — keeping one scenario costs
ProvedScenarioReduction.ForwardSelection.forward_first_stepLet be scenarios with probabilities , , and let be the cost (3). Deleting all scenarios but , i.e. , has reduction cost
and consequently the values of problem (8) for are exactly the values of problem (10):
so that (8) with takes the form .
This is the first step of forward selection: the first kept scenario minimizes the expected cost to all scenarios.
Formalization Note The sum runs over all , including , as printed; the term vanishes because for the cost (3).
import Mathlib import Definitions.Def_ScenarioReduction_ForwardSelection_fmCost import Definitions.Def_ScenarioReduction_ForwardSelection_reductionCost
namespace ScenarioReduction.ForwardSelection
/-- Eq. (10), Heitsch–Römisch 2003, p. 191. Keeping a single scenario `u` (deleting
`J = {1..N} ∖ {u}`) costs `D_J = ∑_{i=1}^N pᵢ c(ωᵢ, ω_u)`, and the values of problem (8) with
`#J = N − 1` are exactly the values `∑ᵢ pᵢ c(ωᵢ, ω_u)`, `u = 1..N`, of problem (10). -/
theorem forward_first_step {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E]
[FiniteDimensional ℝ E] {N : ℕ} (h : ℝ → ℝ) (hh : IsGrowthFunction h) (ω₀ : E)
(ω : Fin N → E) (p : Fin N → ℝ) (hp : ∀ i, 0 < p i) (hsum : ∑ i, p i = 1) :
(∀ u : Fin N, reductionCost (scenCost h ω₀ ω) p (Finset.univ.erase u)
(compl_erase_nonempty _ _) = ∑ i, p i * scenCost h ω₀ ω i u) ∧
{x : ℝ | ∃ J : Finset (Fin N), ∃ hJ : Jᶜ.Nonempty, J.card = N - 1 ∧
x = reductionCost (scenCost h ω₀ ω) p J hJ} =
Set.range (fun u : Fin N => ∑ i, p i * scenCost h ω₀ ω i u) := by sorry
end ScenarioReduction.ForwardSelection
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting and hypotheses.
- is a finite-dimensional real normed vector space.
- is continuous and nondecreasing on , with and there.
- , , and are indexed by .
- for all , and .
Definitions.
and, for with nonempty complement,
Claim (a). For every ,
The right-hand sum includes the term , which is .
Claim (b). Two sets of reals are equal:
Degenerate cases.
- The hypotheses force , so is ordinary subtraction.
- For : the only admissible is with , and the right-hand set is .
- If all scenarios coincide, every value in both sets is .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.