Finite uniform averages and existence of balanced label schedules #
This module develops the finite-average step and schedule-existence proof of Lemma 4.5,
printed pp. 30–31 of [OpenAI2026ETH]:
Schedule marginals and expected potentials:
- A sampled schedule is a single function: repeated access to one variable reads the same
coordinate (
expect_schedule_apply,expect_schedule_apply_apply,expect_schedule_collision). - Exact finite-uniform occupancy variance
expect_potentialand expected total group potentialexpect_group_potential($\mathbb{E}\Xi = Q n (1 - 1 / r) \le Q n$,expect_group_potential_le). - Product formula
expect_incidence_collisionfor incidence-label collisions and the upper boundexpect_incidence_potential_le($\mathbb{E}\Phi \le M (b + w)$) when each variable belongs to at mostbincidences and each factor contains at mostwincidences.
- A sampled schedule is a single function: repeated access to one variable reads the same
coordinate (
Finite-average selection and conditional expectation step:
exists_le_expectandexists_coord_expect_le(fixing one schedule coordinate at a time without increasing the conditional expectation over the remaining coordinates).normalizeEmptyFactors: setting $d_f(t) = g_0$ on factors with no incidences inAleaves all incidence labels(a (varOf e), d (factorOf e))unchanged (incidenceLabel_normalizeEmptyFactors).exists_balanced_schedulesandexists_balanced_schedules_of_scopes: full existence statement of Lemma 4.5 from the size hypotheses (4.13).
Finite averages are mathematical sums, not runtime certificates.
References #
Accessing one coordinate of a uniformly enumerated function gives a uniform label.
Distinct coordinates of a uniformly enumerated function give two independent uniform labels. The distinctness hypothesis is essential: a repeated coordinate is not resampled.
Exact collision average, retaining the diagonal case separately.
Exact finite-uniform occupancy variance. No independence is asserted for a repeated source coordinate; its diagonal collision contributes one.
The expected total group potential for a schedule family. Every variable has one whole schedule, reused at all points; swapping the two function indices just enumerates that same data.
Exact average collision probability for two incidence labels. Only variable labels and factor labels are independently enumerated; incidences sharing either endpoint stay correlated.
Upper bound 𝔼 Ξ ≤ |T| * |V| on the expected total group potential (Lemma 4.5, p. 31).
The incidence label map u_e = (a (varOf e), d (factorOf e)) assigning each incidence e : A
the pair of schedules of its variable varOf e and its factor factorOf e (Section 4.4, p. 30).
Instances For
Expected collision probability of incidenceLabel varOf factorOf a d at two incidences
e, e' : A.
Lemma 4.5 expected incidence potential bound (p. 31): when each variable occurs in at
most b incidences and each factor contains at most w incidences,
𝔼 a, 𝔼 d, potential (incidenceLabel varOf factorOf a d) ≤ |A| * (b + w).
Any rational function on a nonempty finite type attains a value at most its uniform average.
Fixing one coordinate i : A of a schedule a : A → L can be done without increasing the
conditional expectation over the remaining coordinates {j : A // j ≠ i} → L (Lemma 4.5, p. 31).
Replace d f by the constant schedule fun _ => g₀ on every factor f : F that has no
incidences in A (Lemma 4.5, p. 30: "with d_f(t) = 1 for factors of empty scope").
Instances For
Lemma 4.5 (balanced variable and factor schedules, pp. 30–31):
Suppose each variable in V occurs in at most b incidences of A, each factor in F
contains at most w incidences of A, 0 < b + w, and the size hypotheses (4.13) hold:
2 * (b + w) * Fintype.card ((T → G) × (T → G)) ^ 2 ≤ Fintype.card A and
2 * Fintype.card T * Fintype.card G ^ 2 ≤ Fintype.card V.
Then for any default group g₀ : G, there exist schedules a : V → T → G and d : F → T → G
such that:
d f = fun _ => g₀for every factorf : Fwith no incidences inA;- Every label pair
u : (T → G) × (T → G)has incidence occupancy satisfyingoccupancy (incidenceLabel varOf factorOf a d) u * Fintype.card ((T → G) × (T → G)) ≤ 2 * Fintype.card A; - Every step
t : Tand groupg : Ghas variable group size satisfyingoccupancy (fun v => a v t) g * Fintype.card G ≤ 2 * Fintype.card V.
Explicit factor-scope incidence type A = {(f, v) : f ∈ F, v ∈ I_f} (eq. 4.1, p. 26) #
Variable projection (f, v) ↦ v on ScopeIncidence scope.
Instances For
Factor projection (f, v) ↦ f on ScopeIncidence scope.
Instances For
Total incidence count M = |A| = ∑ f, #(scope f) (eq. 4.1, p. 26).
For each e : ScopeIncidence scope, the number of incidences sharing factor
scopeFactorOf scope e equals #(scope (scopeFactorOf scope e)).
For each e : ScopeIncidence scope, the number of incidences sharing variable
scopeVarOf scope e equals #{f : F | scopeVarOf scope e ∈ scope f}.
A factor f : F has an incidence in ScopeIncidence scope iff scope f is nonempty.
Lemma 4.5 for explicit factor scopes scope : F → Finset V (pp. 30–31):
When ∀ f, #(scope f) ≤ w, ∀ v, #{f | v ∈ scope f} ≤ b, 0 < b + w, and the size bounds
(4.13) hold for M = Fintype.card (ScopeIncidence scope) = ∑ f, #(scope f), there exist
schedules a : V → T → G and d : F → T → G such that d f = fun _ => g₀ whenever
scope f = ∅, every label pair u has incidence occupancy at most 2 * M / D, and every
variable group has size at most 2 * |V| / |G|.