Proposition 3.2, proof — and
ProvedScenarioReduction.TernaryTree.card_IStarStarLet , , and . Let be the set of scenarios of a regular ternary tree that take the middle branch at level and outer branches at levels , or an outer branch at level and middle branches at levels , and let . Then
The count shows that the reduction kept at has exactly scenarios, the threshold of Proposition 3.2.
Formalization Note and are written as and (natural-number exponents, ). is defined by branch indices, not by the values of the increments; see the definition IStarStar.
import Mathlib import Definitions.Def_ScenarioReduction_TernaryTree_IStarStar
namespace ScenarioReduction.TernaryTree
theorem card_IStarStar (K k0 : ℕ) (hk0 : 1 ≤ k0) (hk0K : k0 ≤ K - 2) (hK : 3 ≤ K) :
(IStarStar K k0).card = 2 * 3 ^ (K - 2) ∧ (IStarStar K k0)ᶜ.card = 7 * 3 ^ (K - 2) := by sorry
end ScenarioReduction.TernaryTree
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Consider the branch assignments . Say that is:
- middle at level if and ;
- outer at level if and .
is the set of assignments that satisfy at least one of these patterns:
- middle at , outer at and outer at ;
- outer at , middle at and middle at .
Hypotheses.
- .
- .
- . Since , this is genuine subtraction and means .
Claim. Both of the following hold:
Here the complement is taken within the set of all assignments.
Degenerate cases. The hypotheses rule out every and . The exponent is therefore at least , so no truncated subtraction occurs. The smallest admissible case is , , where the claim reads and .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.