theorem
MindFormal.A695LogicPaper.SecurityProgram.calibrated_computed_security
{m n Q : ℕ}
(pay : Fin (m + 1) → Fin (n + 1) → ℝ)
(estimate : Fin (m + 1) → Fin (n + 1) → ℚ)
(hQ : 1 ≤ Q)
(ε R : ℝ)
(hR : 0 ≤ R)
(tableError : ∀ (i : Fin (m + 1)) (b : Fin (n + 1)), |↑(estimate i b) - pay i b| ≤ ε)
(oscillation : ∀ (b : Fin (n + 1)) (i j : Fin (m + 1)), |↑(estimate i b) - ↑(estimate j b)| ≤ R)
:
Security.value pay - 2 * ε - R * (↑m / ↑Q) ≤ Security.worst pay (Security.gridMixture (computedGrid estimate Q))
The table is a read/calibration premise, not an optimizer premise. The two passages between the true and represented tables are both charged.