StepSevenGoodScales #
Ported from scottnarmstrong/Superdiffusion at 7f20476385d4af418f110303085ad0740c9eba46. Module imports, support namespace and local option directives adapted for Lean Pool.
t.regularity Step 7a: the extreme good scales n', m' #
The target #
n' := min { j ∈ [n+3, m-3] ∩ ℤ : j ∉ 𝓑 } ,
m' := max { j ∈ [n+3, m-3] ∩ ℤ : j ∉ 𝓑 } ,
max{ n' - n , m - m' } ≤ |𝓑| + 6 .
This module supplies them.
What is delivered #
StepSevenSelection B n m n' m'— the selection as a named proposition: the two range facts, the two goodness facts, and the two facts (n'minimal,m'maximal among the good scales of[n+3, m-3]). The extremality form is what the gaps are proved from, so no consumer has to re-run amin/max.StepSevenSelection.lower_gap/upper_gap—n' - n ≤ |𝓑| + 3andm - m' ≤ |𝓑| + 3, the sharp gaps;max_gap_leis the printedmax{n'-n, m-m'} ≤ |𝓑| + 6. (The consumer asks form - m' ≤ |𝓑| + 3, i.e. the sharp form, so both are exported.)- the Step-3 instantiation:
exists_stepSevenSelection_stepThreeBadSetat𝓑 = stepThreeBadSet, andmem_stepThreeGoodEvent_of_stepSevenSelection, which turns "n'is a good scale" into the good-event membershipω ∈ 𝒢(n', z; ⅛s, ⅛ s δ^{1/2})that Step 7b (l.lambdas.stability) consumes.
The two combinatorial arguments, in one line each #
Non-emptiness: #(Icc (n+3) (m-3)) = m - n - 5 and
#(Icc (n+3) (m-3)) ≤ #(Icc (n+3) (m-3) \ 𝓑) + #𝓑, so |𝓑| + 6 ≤ m - n
forces the difference to be non-empty.
The gaps: minimality of n' puts the whole interval [n+3, n'-1] inside
𝓑, and that interval has n' - n - 3 elements; symmetrically (m', m-3]
has m - m' - 3 elements. Both gaps are therefore ≤ |𝓑| + 3.
References #
- ABK26,
t.regularityStep 7.
1. The candidate index set #
The Step-7a candidate range [n+3, m-3] ∩ ℤ.
Equations
- Algsuperdiff.Section4.Provider.Regularity.stepSevenCandidates n m = Finset.Icc (n + 3) (m - 3)
Instances For
The candidate range has m - n - 5 elements.
The good scales of the Step-7a range: the candidates outside the bad set.
Equations
Instances For
2. The selection, as a named proposition #
The Step-7a selection: n' is the smallest and m' the largest good scale
of [n+3, m-3]. The two extremality clauses are stated as universally
quantified minimality/maximality, which is what the gap bounds are proved from,
so a consumer never has to re-run the min/max.
n+3 ≤ n'.n' ≤ m-3.n+3 ≤ m'.m' ≤ m-3.- lower_good : n' ∉ B
n'is a good scale. - upper_good : m' ∉ B
m'is a good scale. n'is the smallest good scale of the range.m'is the largest good scale of the range.
Instances For
n' ≤ m'.
The sharp lower gap n' - n ≤ |𝓑| + 3: minimality of n' puts the whole
interval [n+3, n'-1] — which has n' - n - 3 elements — inside 𝓑.
The sharp upper gap m - m' ≤ |𝓑| + 3 — the form the consumer asks
for.
The pigeonhole: if m' ≤ n' then extremality forces every good scale
of [n+3, m-3] to equal n', so all m - n - 6 other candidates are bad.
3. The witnesses #
The Step-7a selection exists, as soon as the printed window demand |𝓑| + 6 ≤ m - n holds. The witnesses are literally the manuscript's min and max
over the good scales of [n+3, m-3].
4. The Step-3 instantiation #
The selection at the Step-3 bad set 𝓑_z's separation
StepOneBadSetSeparation (|𝓑_z| + 7 ≤ m - n) — which supplies both the
printed demand +6 and the extra unit, so n' < m' comes for free.
A selected scale IS a good scale of Step 3: j ∉ 𝓑_z together with n ≤ j ≤ m-1 is exactly ω ∈ 𝒢(j, z; ⅛s, ⅛ s δ^{1/2}), the good event
l.lambdas.stability (Step 7b) is applied on.
The good event at the two selected scales, packaged. The range facts n ≤ n', m' ≤ m - 1 are read off the selection's own [n+3, m-3] range.