is_even_factor
def
An even factor of a finite simple graph $G$ is a spanning subgraph $H$ of $G$ such that every vertex has even degree in $H$.
Statement
def is_even_factor {V : Type*} [Fintype V] (G : SimpleGraph V) (H : SimpleGraph V) : Prop
- Defined in
- arXiv:2611.32276, Section 1
- Verified
- 25 Nov 2026
- Axioms
- none listed
- Used by 5
- weak_oddness_le_card_all_three_add_card_zeroLet G be a cubic graph on a finite vertex type and c an assignment of colours 0,1,2,3 to the edges (any function Sym2 V → Fin 4) such that…
- op_2378_petersen_even_factor_two_oddThere is an even factor of the witness graph with exactly two odd components.
- simple_graph_weak_oddnessThe weak oddness of a finite simple graph G is the infimum of the number of odd components over all even factors of G.
- op_2378_petersen_weak_oddness_lowerEvery even factor of the witness graph has at least two odd components.
- op_2378_petersen_weak_oddness_eqThe weak oddness of the witness graph equals 2.
Read back from the Lean
For a finite type V and simple graphs G and H on V, is_even_factor G H asserts that H is a subgraph of G (H ≤ G) and, for every vertex v : V, the degree of v in H (the cardinality of H.neighborSet v) is even.
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
/-- An even factor of a simple graph is a spanning subgraph in which every vertex degree is even. -/ def is_even_factor {V : Type*} [Fintype V] (G : SimpleGraph V) (H : SimpleGraph V) : Prop := H ≤ G ∧ ∀ v : V, Even (Nat.card (H.neighborSet v))