OAI/Combinatorics/EditApproximation/Refinement/PhysicalSeedMedian.lean
9 declarations, 0 contain sorry, 0 declared as axioms
The seed update uses the actual integer ceilings, upper median and clamp. Copies share an entire table within each run and are independent between runs.
- def
OAI.EditApproximation.finiteMedianSeedline 14 - theorem
OAI.EditApproximation.ofFn_countP_filterline 17 - theorem
OAI.EditApproximation.finiteMedianSeed_lowerline 23 - theorem
OAI.EditApproximation.finiteMedianSeed_upperline 32 - theorem
OAI.EditApproximation.finiteMedianSeed_failure_boundline 45 - theorem
OAI.EditApproximation.scaledCopy_roundingline 84Source documentation
The integer multiplication and ceiling used before the median preserve both the deterministic lower approximation and a successful copy's upper bound.
theorem scaledCopy_rounding (c a : ℕ) (ha : 0 < a) (value : ℚ) (hlower : (c : ℚ) / a ≤ value) (hupper : value ≤ 2 * c) : c ≤ ⌈(a : ℚ) * value⌉₊ ∧ ⌈(a : ℚ) * value⌉₊ ≤ 2 * a * c := by … - theorem
OAI.EditApproximation.finite_positive_excess_tailline 98 - def
OAI.EditApproximation.physicalScaledCopyline 117 - theorem
OAI.EditApproximation.physicalScaledCopy_lowerline 124