def
MindFormal.A881RecallReports.accountMax
{I : Type u_1}
(Q : Finset I)
(hne : Q.Nonempty)
(x : I → ℝ)
:
Equations
- MindFormal.A881RecallReports.accountMax Q hne x = Q.sup' hne x
Instances For
theorem
MindFormal.A881RecallReports.account_max_interval
{I : Type u_1}
(Q : Finset I)
(hne : Q.Nonempty)
(x y error : I → ℝ)
(h0 : ∀ i ∈ Q, 0 ≤ x i)
(hb : ∀ i ∈ Q, |x i - y i| ≤ error i)
:
(accountMax Q hne fun (i : I) => max (y i - error i) 0) ≤ accountMax Q hne x ∧ accountMax Q hne x ≤ accountMax Q hne fun (i : I) => y i + error i
theorem
MindFormal.A881RecallReports.confidence_interval
{I : Type u_1}
(Q : Finset I)
(hne : Q.Nonempty)
(x y error : I → ℝ)
(event : I)
(h0 : ∀ (i : I), 0 ≤ x i)
(hb : ∀ (i : I), |x i - y i| ≤ error i)
:
x event - accountMax Q hne x ∈ Set.Icc (max (y event - error event) 0 - accountMax Q hne fun (i : I) => y i + error i)
(y event + error event - accountMax Q hne fun (i : I) => max (y i - error i) 0)