Documentation

CslibFrontier.Computability.Complexity.Problems.SAT.Incidence.Degree

Degrees of CNF incidence vertices #

Degrees count listed literal incidences, including repeated literals within one clause. This is the degree convention required by the canonical three-port drawing construction.

Main results #

References #

A variable's graph degree counts every occurrence, including repetitions within one clause.

A clause vertex has one incidence for every literal position; an out-of-range clause has no incidences.

theorem Cslib.Complexity.SAT.incidenceGraph_degree_le {V : Type} [DecidableEq V] {φ : Logic.PL.CNF V} {k : ℕ} (hw : ∀ c ∈ φ, List.length c ≤ k) (hv : ∀ (v : V), List.count v φ.vars ≤ k) (v : ℕ) :

Width and literal-occurrence bounds give the actual listed-incidence degree bound needed by canonical ports. Parallel edge records are counted separately.