Equation-dependent confidence bounds belong with their Ch05 consumers.
noncomputable def
MindFormal.OwnNoiseToolkit.mixedTarget
{C : Type u_1}
[Fintype C]
[DecidableEq C]
(σ g : ℝ)
(own other : C → ℝ)
(i : C)
:
F1.9: use the opposite bounds for every other member of the pool.
Equations
- MindFormal.OwnNoiseToolkit.mixedTarget σ g own other i = max (own i / (σ + own i + ∑ j ∈ Finset.univ.erase i, other j) - g) 0
Instances For
theorem
MindFormal.OwnNoiseToolkit.full_pool_bounds
{C : Type u_1}
[Fintype C]
[DecidableEq C]
{σ g : ℝ}
(hσ : 0 < σ)
(lo input hi : C → ℝ)
(hlo : ∀ (i : C), 0 ≤ lo i)
(hb : ∀ (i : C), lo i ≤ input i ∧ input i ≤ hi i)
(i : C)
:
mixedTarget σ g lo hi i ≤ normalizedTarget σ g input i ∧ normalizedTarget σ g input i ≤ mixedTarget σ g hi lo i
Complete-pool interval arithmetic, with no missing or unsigned links hidden in the input vector. The caller bounds the full transformed inputs.
def
MindFormal.OwnNoiseToolkit.accountLead
{C : Type u_1}
(alternatives : Finset C)
(hne : alternatives.Nonempty)
(x : C → ℝ)
(account : C)
:
F1.9's whole-account read; the strongest alternative may change.
Equations
- MindFormal.OwnNoiseToolkit.accountLead alternatives hne x account = x account - alternatives.sup' hne x
Instances For
theorem
MindFormal.OwnNoiseToolkit.accountLead_bounds
{C : Type u_1}
(alternatives : Finset C)
(hne : alternatives.Nonempty)
(lo x hi : C → ℝ)
(h : ∀ (i : C), lo i ≤ x i ∧ x i ≤ hi i)
(account : C)
:
lo account - alternatives.sup' hne hi ≤ accountLead alternatives hne x account ∧ accountLead alternatives hne x account ≤ hi account - alternatives.sup' hne lo
theorem
MindFormal.OwnNoiseToolkit.transversal_margins
{center ε slope : ℝ}
(hε : 0 < ε)
(hs : 0 < slope)
(f : ℝ → ℝ)
(before : ∀ t < center - 2 * ε / slope, f t ≤ slope * (t - center))
(after : slope * (center + 2 * ε / slope - center) ≤ f (center + 2 * ε / slope))
:
The source's radius 2 epsilon/s for a one-sided transversal hit. Earlier times outside this local bracket still need the native before test.