OAI/Combinatorics/ContingencyTables/Counting/CompanionReferenceAccuracy.lean
4 declarations, 0 contain sorry, 0 declared as axioms
Relative accuracy of the literal companion ratio estimator
The source's tolerance epsilon/(200(H+1)) turns the proved accumulated logarithmic error into the required multiplicative error. The terminal contamination bound supplies the remaining error term.
- theorem
OAI.ContingencyTables.CompanionReferenceAccuracy.relative_of_log_errorline 17 - def
OAI.ContingencyTables.CompanionReferenceAccuracy.toleranceline 34 - theorem
OAI.ContingencyTables.CompanionReferenceAccuracy.accurate_phases_relativeline 37 - theorem
OAI.ContingencyTables.CompanionReferenceAccuracy.reference_accuracyline 63Source documentation
The terminal contamination bound and a successful phase history give a relative-error estimate of the table count.
theorem reference_accuracy (A : Instance I J) (samples : ℕ → List (Set (Labels A×Bool))) (epsilon Z : ℝ) (he0 : 0 < epsilon) (he1 : epsilon < 1) (hZ : 0 ≤ Z) (H : ℕ) (hall : ∀ j < H, Accurate A samples (tolerance epsilon H) j) (hterminal : Z ≤ total A H ∧ total A H ≤ (1+epsilon/32)*Z) : (1-epsilon)*Z ≤ estimate A samples H ∧ estimate A samples H ≤ (1+epsilon)*Z := by …Mentions: OAI.ContingencyTables.CompanionReferenceAccuracy.tolerance