Proposition 3.2 (7/9-solution) — for on a regular ternary tree
ProvedScenarioReduction.TernaryTree.seven_ninths_solutionLet a regular ternary scenario tree with scenarios and be given: with , widths and . All scenarios have probability , and the cost is the maximum norm . Let
Then
- the distance between any two distinct scenarios is at least ;
- there is a set of scenarios each of which has a partner outside at distance exactly (giving distinct pairs at distance );
- for each with ,
where , and the minimum is attained.
Eq. (21) gives an exact optimal value for the NP-hard optimal scenario-reduction problem (8) on a whole family of instances, which the paper uses to benchmark its heuristics.
Formalization Note The paper's claim "there are distinct pairs of scenarios such that the distance between the members of each pair is exactly " is false as an exact count of all such pairs (for and there are 130 such unordered pairs, not 21). Conclusion 2 states what the proof constructs: pairs, one for each scenario of , each pairing it with a scenario outside . The standing assumption (, p. 196) is a hypothesis. is written and as . The minimum in (21) is stated as IsLeast of the set of all values , , so it asserts attainment.
import Mathlib import Definitions.Def_ScenarioReduction_TernaryTree_scenario import Definitions.Def_ScenarioReduction_TernaryTree_redCost
namespace ScenarioReduction.TernaryTree
theorem seven_ninths_solution (K : ℕ) (hK : 3 ≤ K) (δ : ℕ → ℝ)
(hδ : ∀ k ∈ Finset.Icc 1 K, 0 ≤ δ k)
(k0 : ℕ) (hk0 : k0 ∈ Finset.Icc 1 K) (hmin : ∀ k ∈ Finset.Icc 1 K, δ k0 ≤ δ k)
(hk0K : k0 ≤ K - 2) (hmax : max (δ (k0 + 1)) (δ (k0 + 2)) ≤ 2 * δ k0) :
(∀ σ τ : Fin K → Fin 3, σ ≠ τ → δ k0 ≤ ‖scenario δ σ - scenario δ τ‖) ∧
(∃ Jss : Finset (Fin K → Fin 3), Jss.card = 7 * 3 ^ (K - 2) ∧
∀ j ∈ Jss, ∃ i ∉ Jss, ‖scenario δ i - scenario δ j‖ = δ k0) ∧
(∀ n : ℕ, 2 * 3 ^ K ≤ 9 * n → n < 3 ^ K →
IsLeast {x : ℝ | ∃ (J : Finset (Fin K → Fin 3)) (hJ : Jᶜ.Nonempty), J.card = 3 ^ K - n ∧
x = redCost (fun _ => 1 / (3 : ℝ) ^ K)
(fun i j => ‖scenario δ i - scenario δ j‖) J hJ}
(((3 : ℝ) ^ K - n) / 3 ^ K * δ k0)) := by sorry
end ScenarioReduction.TernaryTree
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Throughout, is a natural number and is a real sequence, written . A scenario index is any map , meaning a word of length over a three-letter alphabet. There are exactly of them, and denotes the set of all of them.
The statement uses two definitions from imported files whose code I was not given: scenario and redCost, both in the namespace ScenarioReduction.TernaryTree. So I cannot unfold them here.
-
For each , denotes the value
scenario δ σ. It lives in some type with subtraction and a norm . The code shown does not say which type or which norm, nor how depends on and . In particular, the letters of are indexed , while the hypotheses below constrain . How these two indexings relate is fixed only insidescenario. -
The distance between two scenario indices is .
-
is the value of
redCost. Its arguments are:- a weight function on ;
- the distance ;
- a finite set ;
- a proof that the complement is nonempty.
What quantity it computes is not visible here.
Hypotheses.
- .
- for every . Values of outside are unconstrained.
- There is a natural number with that minimizes over :
- . Since , this subtraction is ordinary. Together with hypothesis 3, the indices and both lie in .
- The next two values are at most twice the minimum:
Conclusion. All three of the following hold.
(a) Any two distinct scenario indices are at distance at least :
(b) There is a set with exactly elements, which is of all indices, with the following property. For every there is some at distance exactly :
(c) Take any natural number with
so that . Let be the uniform weight, for every . Let be the set of all reals for which there exist:
- a set with exactly elements, so its complement has exactly elements; this subtraction is ordinary because ;
- a proof that is nonempty;
such that .
Then the real number
is the least element of . That is, it belongs to , because some admissible attains it, and it is every element of . Here the subtraction is taken in .
Degenerate cases.
- Types and sizes. , so is never empty or a singleton: it has at least 27 elements. The alphabet is nonempty.
- Subtractions and division. , and whenever , so no truncated natural-number subtraction occurs. The division by is by a positive number.
- The range of in (c). It is never empty; for example, satisfies both conditions. Every admissible satisfies . So the complement of any with elements is automatically nonempty, and the proof argument imposes no extra restriction. Whether depends on is not visible.
- The hypotheses are satisfiable. For example, constant and positive works. They also allow , for instance on ; hypothesis 5 then forces . In that case:
- (a) reduces to the nonnegativity of a norm;
- (b) asserts that each has some with ;
- (c) asserts that the least value of over admissible is .
- Values of outside (for example , or for ) are unconstrained. Whether they affect is determined by
scenario, which is not shown. - Hidden defaults. Any default values that
scenarioorredCostmight produce internally (division by zero, empty infima and so on) cannot be determined from the code given.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.