Numerical invariants of finite refinement runs #
The state at stage i has at most 2^i nodes, lies within the predetermined
radius horizon, and has lost at most the first i explicit mass budgets.
Scale assigned to a given stage of the bounded iteration.
Equations
Instances For
Accumulated mass-loss budget before a given iteration index.
Equations
- EGZ.FlagDecomposition.Iteration.prefixBudget d ε i = ∑ j ∈ Finset.range i, EGZ.DecompositionParameters.lossBudget d ε (EGZ.DecompositionParameters.initialScale d ε) (j + 1)
Instances For
@[simp]
theorem
EGZ.FlagDecomposition.Iteration.prefixBudget_succ
(d : ℕ)
(ε : ℝ)
(i : ℕ)
:
prefixBudget d ε (i + 1) = prefixBudget d ε i + (ε * stageScale d ε i ^ 2 + 3 ^ (d + 1) * stageScale d ε i)
theorem
EGZ.FlagDecomposition.Iteration.stageScale_antitone
{d : ℕ}
(hd : 1 ≤ d)
{ε : ℝ}
(hε : 0 < ε)
:
Antitone (stageScale d ε)
structure
EGZ.FlagDecomposition.Iteration.BoundedState
{p d : ℕ}
[NeZero p]
{f : FpCoord p d → ℕ}
{g : ℕ → ℕ}
(P : NormalizedOperationParameters d g)
(ε : ℝ)
(i : ℕ)
extends EGZ.FlagDecomposition.Iteration.State p d f :
Type 1
Iteration state with bounds on node count, radius, and accumulated mass loss.
- decomposition : FlagDecomposition p d f
- minimal : self.decomposition.IsMinimal
- reduced : self.decomposition.IsReduced
- bounded : self.decomposition.IsKBounded fun (x : self.decomposition.flag.Node) => self.radius
- mass_loss_bound : ↑(natMass f) - ↑self.decomposition.retainedMass ≤ prefixBudget d ε i * ↑(natMass f)
Instances For
theorem
EGZ.FlagDecomposition.Iteration.BoundedState.mass_le_input
{p d : ℕ}
[NeZero p]
{f : FpCoord p d → ℕ}
{g : ℕ → ℕ}
{P : NormalizedOperationParameters d g}
{ε : ℝ}
{i : ℕ}
(s : BoundedState P ε i)
:
theorem
EGZ.FlagDecomposition.Iteration.BoundedState.mass_bounds
{p d : ℕ}
[NeZero p]
{f : FpCoord p d → ℕ}
{g : ℕ → ℕ}
{P : NormalizedOperationParameters d g}
{ε : ℝ}
{i : ℕ}
(s : BoundedState P ε i)
(hd : 1 ≤ d)
(hε : 0 < ε)
(hεhalf : ε ≤ 1 / 2)
:
↑(natMass f) / 2 ≤ ↑s.decomposition.retainedMass ∧ (1 - ε) * ↑(natMass f) ≤ ↑s.decomposition.retainedMass
noncomputable def
EGZ.FlagDecomposition.Iteration.BoundedState.initial
{p d : ℕ}
[NeZero p]
{f : FpCoord p d → ℕ}
{g : ℕ → ℕ}
{P : NormalizedOperationParameters d g}
{ε : ℝ}
(hf : f ≠ 0)
:
BoundedState P ε 0
Initial bounded state for a nonzero input weight.
Equations
- One or more equations did not get rendered due to their size.
Instances For
noncomputable def
EGZ.FlagDecomposition.Iteration.BoundedState.advance
{p d : ℕ}
[NeZero p]
[Fact (Nat.Prime p)]
{f : FpCoord p d → ℕ}
{g : ℕ → ℕ}
{P : NormalizedOperationParameters d g}
{ε : ℝ}
{i : ℕ}
(s : BoundedState P ε i)
{t : State p d f}
(hε : 0 < ε)
(D : Progress s.toState t ε (stageScale d ε i) g)
(hR : t.radius ≤ P.radiusGrowth s.radius)
:
BoundedState P ε (i + 1)
Advance a bounded state using a certified progress step and a radius bound.
Equations
Instances For
noncomputable def
EGZ.FlagDecomposition.Iteration.BoundedState.keep
{p d : ℕ}
[NeZero p]
{f : FpCoord p d → ℕ}
{g : ℕ → ℕ}
{P : NormalizedOperationParameters d g}
{ε : ℝ}
{i : ℕ}
(s : BoundedState P ε i)
(hε : 0 < ε)
:
BoundedState P ε (i + 1)
Retain the same underlying state at the next iteration index.