is_graph_bisection
def
A vertex subset S in a finite type V is a bisection if the sizes of S and its complement Sᶜ differ by at most one: |card(S) - card(Sᶜ)| ≤ 1.
Statement
def is_graph_bisection {V : Type*} [Fintype V] [DecidableEq V] (S : Finset V) : Prop
- Defined in
- arXiv:2611.22760, Section 1
- Verified
- 18 Nov 2026
- Axioms
- none listed
- Used by 3
- simple_graph_max_bisection_weightFor a finite simple graph G with edge weights w : G.edgeSet → ℝ, the maximum bisection weight bis_w(G) is the supremum of…
- is_graph_bisection_singleton_boolIn the two-element type Bool, the singleton subset {true} is a bisection.
- not_is_graph_bisection_empty_boolIn the two-element type Bool, the empty set is not a bisection.
Read back from the Lean
For a finite type V with decidable equality and a subset S : Finset V, is_graph_bisection S asserts that the absolute difference between the cardinality of S and the cardinality of its complement Sᶜ (evaluated as integers) is at most 1.
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- A subset S of vertices in a finite type V is a bisection if |card(S) - card(Sᶜ)| ≤ 1. -/ def is_graph_bisection {V : Type*} [Fintype V] [DecidableEq V] (S : Finset V) : Prop := |(S.card : ℤ) - (Sᶜ.card : ℤ)| ≤ 1