Anti-concentration gain of the coin race, padded form
ProvedKServer.race_gain_bound2The gain of the coin race, in the padded form usable after grid regridding. For the race of two side chunk systems with clamped coins, clamp and sizes in , let bound the expected number of coin steps at which either side's next chunk size falls below a floor . Then the expected imbalance of the consumed side masses satisfies
where and . Unlike the pointwise-window form, no lower bound on the chunk sizes is assumed: the imbalance martingale is padded with synthetic fair coins on the out-of-window steps, restoring the pathwise variance window required by the anti-concentration inequality, and the discrepancy is charged to the expected bad-step count , which the grid-regridded systems control via Chebyshev. This is the form of the gain used in the level recursion of the BCR lower bound.
import Mathlib import Definitions.Def_KServer_race_core import Definitions.Def_KServer_race_gain import Definitions.Def_KServer_race_pad
namespace KServer
open Race
theorem race_gain_bound2 {X : Type*} [MetricSpace X] {s t : X}
{cB T pe : ℝ} {mL : ℕ}
(A BL BR CC : ChunkSystemB X s t 0 cB T pe mL)
(κ : ℕ) (ε : ℝ) (hε : 0 < ε) (hcB : 0 ≤ cB)
{cLo' : ℝ} (hεLo : ε ≤ cLo') (hLocB : cLo' ≤ cB + ε)
{Nb : ℝ} (hNb : ∑ ω : RΩ A BL BR CC κ, RP A BL BR CC κ ε ω
* Nbad A BL BR CC κ cLo' ω ≤ Nb) :
Real.sqrt (((κ : ℝ) * cLo' ^ 2) ^ 3
/ (8 * ((κ : ℝ) * (cB + ε) ^ 2) ^ 2
+ 3 * (cB + ε) ^ 2 * ((κ : ℝ) * (cB + ε) ^ 2)))
- (κ : ℝ) * ε - (cB + ε + cLo') * Nb
≤ ∑ ω : RΩ A BL BR CC κ, RP A BL BR CC κ ε ω
* |sumL A BL BR CC κ ω - sumR A BL BR CC κ ω| := by sorry
end KServer