op874_quotient_mono_degree
def
Number of same-side edges incident to a vertex of an edge-indexed multigraph, counting parallel edges.
Statement
def op874_quotient_mono_degree {X E : Type*} [DecidableEq X] [Fintype E] (l r : E → X) (b : X → Bool) (x : X) : ℕ
- Source
- Maximum-cut and low-port structural reduction for OP-874, https://arxiv.org/abs/2610.41950; related degree-four cut structure: https://www.math.ru.nl/OpenGraphProblems/Gerjan/Kostochka5.pdf.
- Verified
- 26 Nov 2026
- Axioms
- none listed
- Used by 1
- op874_quotient_saturated_componentThe same-side connected component of x consists entirely of vertices with same-side degree two.
Lean source view module on GitHub
def op874_quotient_mono_degree {X E : Type*} [DecidableEq X] [Fintype E] (l r : E → X) (b : X → Bool) (x : X) : ℕ := ((Finset.univ : Finset E).filter fun e => (l e = x ∨ r e = x) ∧ b (l e) = b (r e)).card