is_snark
def
Given a finite type V and a simple graph G on V, is_snark G asserts that every vertex of G has degree 3, G is bridgeless, and the line graph of G is not 3-colorable.
Statement
def is_snark {V : Type*} [Fintype V] (G : SimpleGraph V) : Prop
- Defined in
- arXiv:2611.32276, Section 1
- Verified
- 25 Nov 2026
- Axioms
- none listed
- Built on 1
- is_bridgeless_graphA simple graph G is bridgeless if no edge of G is a bridge.
- Used by 3
- op_2378_petersen_is_snarkThe witness graph is a snark.
- op_2378_partial_r_twoThere exists a snark G on a finite vertex type V such that the resistance of G is 2 and the weak oddness of G is 2.
- not_is_snark_completeGraph_fourThe complete graph on four vertices is not a snark.
Read back from the Lean
Given a finite type $V$ and a simple graph $G$ on $V$, is_snark G asserts that:
1. For every vertex $v : V$, the cardinality of the neighbor set of $v$ is 3 (i.e., $G$ is 3-regular / cubic);
2. $G$ is bridgeless (for every edge $e$ in $G$, $e$ is not a bridge in $G$); and
3. The line graph of $G$ is not 3-colorable (i.e., $G$ does not admit a proper 3-edge-coloring).
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 simple graph on a finite vertex type is a snark if it is cubic, bridgeless, and not 3-edge-colorable. -/ def is_snark {V : Type*} [Fintype V] (G : SimpleGraph V) : Prop := (∀ v : V, Nat.card (G.neighborSet v) = 3) ∧ is_bridgeless_graph G ∧ ¬ G.lineGraph.Colorable 3