Documentation

CslibFrontier.Foundations.Combinatorics.FewBadRounds

A schedule with few bad rounds for every history #

Let each element i of a finset I (an edge) be assigned a round ฯ i among T rounds, and let every h of a finite family ๐“— (the histories) declare a set bad h i of at most B bad rounds for each i. Some schedule ฯ simultaneously keeps, for every h โˆˆ ๐“—, the number of i โˆˆ I with ฯ i โˆˆ bad h i at most (log #๐“— + #I * B / T) / log 2.

This is a step in the proof of Theorem 4.1 of [KPS26], tracked in #8325: the counting form of the paper's Lemma 3.11 (ยง3.4, p. 21), abstracted from the certificate procedure. The source's proof draws ฯ uniformly and bounds ๐”ผ 2 ^ X_h(ฯ). Here the expectation is a finite double count over all T ^ #I schedules: โˆ‘_ฯ 2 ^ X_h(ฯ) = โˆ_i (T + #(bad h i)) โ‰ค (T + B) ^ #I, so some schedule has T ^ #I * โˆ‘_h 2 ^ X_h(ฯ) โ‰ค #๐“— * (T + B) ^ #I. Taking logarithms and log (1 + B / T) โ‰ค B / T gives the bound. The source's case is T = tยฒ and B = 2t, where #I * B / T = 2 #I / t.

Main results #

References #

theorem Cslib.exists_schedule_few_bad_rounds {ฮน : Type u_1} {R : Type u_2} {H : Type u_3} [Fintype R] [DecidableEq R] [Nonempty R] (I : Finset ฮน) (๐“— : Finset H) (bad : H โ†’ ฮน โ†’ Finset R) {B : โ„•} (hB : โˆ€ h โˆˆ ๐“—, โˆ€ i โˆˆ I, (bad h i).card โ‰ค B) :
โˆƒ (ฯ : ฮน โ†’ R), โˆ€ h โˆˆ ๐“—, โ†‘{i โˆˆ I | ฯ i โˆˆ bad h i}.card * Real.log 2 โ‰ค Real.log โ†‘๐“—.card + โ†‘I.card * โ†‘B / โ†‘(Fintype.card R)

A schedule with few bad rounds, a step in the proof of Theorem 4.1 of [KPS26] (the paper's Lemma 3.11, ยง3.4, p. 21, abstracted from the certificate procedure). Let bad h i be a set of at most B of the T = Fintype.card R โ‰ฅ 1 rounds, for every history h โˆˆ ๐“— and element i โˆˆ I. Then one schedule ฯ : ฮน โ†’ R puts, for every h โˆˆ ๐“— at once, at most (log #๐“— + #I * B / T) / log 2 elements of I into one of their bad rounds.

The source's bound (log |๐“—| + 2m / t) / log 2 is the case T = tยฒ, B = 2t, #I = m; the source passes through m log (1 + B / T) โ‰ค m B / T. Values of ฯ outside I are irrelevant.