Two large classes avoid a bounded conflict relation
ProvedPvsNP.large_nonconflicting_classescombinatoricscomplexity-theoryformal-verification
Classify a finite population into a prescribed finite list of classes. If every individual conflicts with at most a fixed number of individuals, and the number of classes times a size threshold plus that conflict cap is smaller than the population, two nonconflicting individuals belong to classes of size at least the threshold.
Preamble
import Mathlib
Formal statement
theorem PvsNP.large_nonconflicting_classes {V Tag : Type*} [DecidableEq Tag]
(population : Finset V) (classes : Finset Tag) (classify : V → Tag)
(conflict : Tag → Tag → Prop) [DecidableRel conflict] (threshold bound : ℕ)
(inClasses : ∀ v ∈ population, classify v ∈ classes)
(limited : ∀ v ∈ population,
(population.filter (fun w => conflict (classify v) (classify w))).card ≤ bound)
(space : classes.card * threshold + bound < population.card) :
∃ v ∈ population, ∃ w ∈ population,
¬conflict (classify v) (classify w) ∧
threshold ≤ (population.filter (fun x => classify x = classify v)).card ∧
threshold ≤ (population.filter (fun x => classify x = classify w)).card := by sorrySource
Selecting many variables whose query occurrences occupy disjoint buckets in an oblivious read-bounded schedule.