Crossing costs in disjoint labeled gaps add across phases
ProvedPvsNP.charged_gap_edges_ge_phase_boundcombinatoricscomplexity-theoryformal-verification
Partition finitely many gaps into a given number of phases and give each gap a natural-number charge. Suppose the total charge in every phase is at least a common threshold. Each gap contains at least a given number of edges, these edge sets are pairwise disjoint, and every edge cost is at least the charge of its gap. The total edge cost is at least the product of the minimum gap width, number of phases, and phase threshold.
Preamble
import Mathlib.Algebra.BigOperators.Ring.Finset import Mathlib.Algebra.Order.BigOperators.Group.Finset import Mathlib.Data.Fintype.Card set_option autoImplicit false
Formal statement
theorem PvsNP.charged_gap_edges_ge_phase_bound {Gap Edge : Type*} [DecidableEq Edge]
(gaps : Finset Gap) (edges : Gap → Finset Edge)
(period minimumWidth phaseBound : ℕ) (phase : Gap → Fin period)
(charge : Gap → ℕ) (crossings : Edge → ℕ)
(separated : (gaps : Set Gap).PairwiseDisjoint edges)
(width : ∀ g ∈ gaps, minimumWidth ≤ (edges g).card)
(eachEdge : ∀ g ∈ gaps, ∀ e ∈ edges g, charge g ≤ crossings e)
(eachPhase : ∀ a : Fin period, phaseBound ≤ ∑ g ∈ gaps.filter (fun g => phase g = a), charge g) :
minimumWidth * (period * phaseBound) ≤ ∑ e ∈ gaps.biUnion edges, crossings e := by sorrySource
Natural-number accounting for crossing sequences on a single work tape with fixed label positions.