Proposition 3.1 (3/4-solution): for on a regular binary tree
ProvedScenarioReduction.BinaryTree.three_quarter_solutionLet a regular binary scenario tree with scenarios and be given: with , level parameters , and probabilities . Distances are measured in the maximum norm, , and is the cost of deleting the scenarios in . Let
Then:
- the distance between any two distinct scenarios is not smaller than ;
- there are (at least) distinct pairs of scenarios whose members are at distance exactly : there is a set of scenarios such that every has a partner with ;
- for each with , the minimum of over all with exists and equals
Proposition 3.1 gives the exact optimal value of the NP-hard optimal scenario reduction problem (8) for an explicit family of scenario trees, and is used in Section 4 of the paper as a benchmark against which the heuristic reduction algorithms are measured.
Formalization Note Scenarios are indexed by Fin K → Fin 2 (Fin-index is tree level ), so there are exactly of them; the parameters are , with nonnegativity and the arg min stated over . The minimum in (20) is stated as IsLeast of the set of attained values , so it includes attainment. is , and is . "Any scenarios" in claim 1 means two distinct scenarios, as in the proof. Claim 2 is stated as "at least pairs", in the form the proof exhibits: read as an exact count the printed claim is false (for , , , twenty unordered pairs are at distance exactly , while ). The pairs , , are pairwise distinct because each contains exactly one member of .
import Mathlib import Definitions.Def_ScenarioReduction_BinaryTree_redCost
namespace ScenarioReduction.BinaryTree
theorem three_quarter_solution (K : ℕ) (δ : ℕ → ℝ) (hδ : ∀ k ∈ Finset.Icc 1 K, 0 ≤ δ k)
(hK : 3 ≤ 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 2, σ ≠ τ → 2 * δ k0 ≤ ‖scenario δ σ - scenario δ τ‖) ∧
(∃ Jstar : Finset (Fin K → Fin 2), Jstar.card = 3 * 2 ^ (K - 2) ∧
∀ j ∈ Jstar, ∃ i ∉ Jstar, ‖scenario δ i - scenario δ j‖ = 2 * δ k0) ∧
(∀ n : ℕ, 2 ^ K ≤ 4 * n → n < 2 ^ K →
IsLeast {v : ℝ | ∃ J : Finset (Fin K → Fin 2), J.card = 2 ^ K - n ∧
∃ hJ : Jᶜ.Nonempty, v = redCost δ J hJ}
(((2 : ℝ) ^ K - n) / 2 ^ K * (2 * δ k0))) := by sorry
end ScenarioReduction.BinaryTree
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. The statement is about a natural number and a real sequence . Scenarios are indexed by binary strings , so there are exactly of them. The statement uses two functions from the imported module Def_ScenarioReduction_BinaryTree_redCost. Their definitions are not part of the code given to this auditor, so they cannot be unfolded here. The auditor must read them separately.
- (the code's
scenario δ σ) is some element built from and the binary string . It lives in a space with subtraction and a norm . Which space it is, which norm is used, and how the positions of are matched to the entries are all fixed by that definition. None of it is visible here. - (the code's
redCost δ J hJ) is a real number. It is defined for a set of binary strings whose complement (within all strings) is non-empty, and it takes a proof of that non-emptiness as an extra argument.
Hypotheses. Fix a natural number . Assume all of the following:
- for every with .
- .
- .
- is a minimum over the range: for every .
- .
- .
The hypotheses say nothing about or about for .
Conclusion. Under these hypotheses, all three of the following hold.
(i) Minimum separation. Any two distinct binary strings satisfy
(ii) A large set at exact distance from its complement. There is a set of binary strings with
such that every has some with
(exact equality). The partner may depend on , and several may share the same partner.
(iii) Exact optimal reduction cost. Take any natural number with
that is, . Let be the set of all values over sets of binary strings with
Then the number
is the least element of . This means two things:
- it is attained: some admissible has exactly this ;
- it is a lower bound: no admissible has a smaller .
This value depends on only through .
Degenerate and edge cases.
- No empty or tiny types. Because , there are at least binary strings, and , and all lie in .
- Subtractions stay exact. Every natural-number subtraction is a genuine difference: , and in (iii), . In (iii) the subtraction is taken in the real numbers, and the denominator is never zero.
- is excluded. The condition rules it out.
- The complement condition in (iii) is automatic. Since , every of size has a complement with elements.
- Size range in (iii). The allowed sizes of run from to .
- The case is allowed.
- Hypothesis 6 then forces .
- (i) then only says the norms are .
- (ii) asks for strings, each at norm distance exactly from some string outside the set.
- (iii) asserts that the least attainable is exactly .
- The hypotheses can be satisfied. For example, take any constant . Whether the conclusions are then consistent depends on the hidden definitions of and .
- Unconstrained entries. The values and for are arbitrary. They could still enter or , depending on how those definitions index .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.