Bipartite lift for EIG recognition
Definitionrsg_paper_eig_bipartite_liftgraph-theory
For a simple graph and a natural number q, replace each vertex by a complete bipartite graph with q labels on each side. Above an edge between distinct original vertices, join opposite sides at the same label.
Definition code
import Definitions.Def_rsg_paper_structure
import Mathlib.Combinatorics.SimpleGraph.Bipartite
import Mathlib.Combinatorics.SimpleGraph.Connectivity.Connected
import Mathlib.Data.Set.Card
set_option autoImplicit false
namespace RSGPaper.EIGBipartite
open RSGRecognition
abbrev Vertex (V : Type) (q : ℕ) := V × Fin q × Bool
def adjacency {V : Type} {q : ℕ} (G : SimpleGraph V) (x y : Vertex V q) : Prop :=
x.2.2 ≠ y.2.2 ∧ (x.1 = y.1 ∨ (x.2.1 = y.2.1 ∧ G.Adj x.1 y.1))
/-- The bipartite lift joins complete fibers above vertices and matched labels above edges. -/
def graph {V : Type} (G : SimpleGraph V) (q : ℕ) : SimpleGraph (Vertex V q) where
Adj := adjacency G
symm := ⟨by
intro a b h
exact ⟨h.1.symm, h.2.imp Eq.symm (fun edge => ⟨edge.1.symm, G.adj_symm edge.2⟩)⟩⟩
loopless := ⟨fun _ h => h.1 rfl⟩
end RSGPaper.EIGBipartite
Source
Sirawit Pongnakintr, Riemannian Symmetric Graphs, Hexagon v2, Appendix A, Bipartite instances and completion of the reduction, https://hexagonmath.org/2611.01261v2