OAI/Combinatorics/ContingencyTables/Rooted/RootedCorrectionArithmetic.lean
7 declarations, 0 contain sorry, 0 declared as axioms
Rational evaluation of the literal integer-population correction
- def
OAI.ContingencyTables.RootedOracleDensity.correctionExponentline 19 - lemma
OAI.ContingencyTables.RootedOracleDensity.correctionExponent_castline 24 - theorem
OAI.ContingencyTables.RootedOracleDensity.correctionExponent_boundsline 34Source documentation
The exponent passed to numerical approximation is a bounded rational, although the original capacities may be arbitrarily large.
theorem correctionExponent_bounds (A : Instance I J) (R : RootedCompletion.Selection A.T) (C a : ℕ) (hC : 0 < C) (haH : a ≤ rationalHeight A C) (z : View A → ℕ) (K : ℕ) (hK : 0 < K) (hB : (K:ℝ)=binWidth A C) (f : FreeIndex A.small A.T A.b) : -2 ≤ correctionExponent A R C a z K hK f ∧ correctionExponent A R C a z K hK f ≤ 2 := by …Mentions: OAI.ContingencyTables.RootedCompletion.Selection, OAI.ContingencyTables.RootedOracleDensity.correctionExponent
- lemma
OAI.ContingencyTables.RootedOracleDensity.correction_eq_population_powerline 57 - def
OAI.ContingencyTables.RootedOracleDensity.computedCorrectionline 78 - theorem
OAI.ContingencyTables.RootedOracleDensity.computedCorrection_errorline 85Source documentation
A deterministic pointwise relative-error guarantee for the actual rational correction returned on every integer assignment.
theorem computedCorrection_error (A : Instance I J) (R : RootedCompletion.Selection A.T) (C a : ℕ) (hC : 0 < C) (haH : a ≤ rationalHeight A C) (z : View A → ℕ) (K : ℕ) (hK : 0 < K) (hB : (K:ℝ)=binWidth A C) (sigma : ℚ) (hsigma : 0 < sigma) (f : FreeIndex A.small A.T A.b) : |(computedCorrection A R C a z K hK sigma f:ℝ)-correction A R C a z K hK f| ≤ (sigma:ℝ)*correction A R C a z K hK f := by …Mentions: OAI.ContingencyTables.RootedCompletion.Selection, OAI.ContingencyTables.RootedOracleDensity.computedCorrection, OAI.ContingencyTables.RootedOracleDensity.correction
- theorem
OAI.ContingencyTables.RootedOracleDensity.computedCorrection_boundsline 102Source documentation
Positivity and a uniform range hold on all executions, independently of the statistical event used by the estimator.
theorem computedCorrection_bounds (A : Instance I J) (R : RootedCompletion.Selection A.T) (C a : ℕ) (hC : 0 < C) (haH : a ≤ rationalHeight A C) (z : View A → ℕ) (K : ℕ) (hK : 0 < K) (hW : 100*A.d*K ≤ A.W) (hB : (K:ℝ)=binWidth A C) (sigma : ℚ) (hsigma : 0 < sigma) (hsigmaHalf : sigma ≤ 1/2) (f : FreeIndex A.small A.T A.b) : (1/16:ℝ) ≤ computedCorrection A R C a z K hK sigma f ∧ (computedCorrection A R C a z K hK sigma f:ℝ) ≤ 8 := by …Mentions: OAI.ContingencyTables.RootedCompletion.Selection, OAI.ContingencyTables.RootedOracleDensity.computedCorrection