Problem 6: Large epsilon-light vertex subsets -- Laplacian Basics #
Basic definitions: edge Laplacian, graph Laplacian, induced Laplacian,
epsilon-lightness. Fundamental properties: PSD, symmetry, equivalence
with mathlib's lapMatrix.
Main definitions #
Problem6.graphLaplacian: graph Laplacian as sum of edge LaplaciansProblem6.inducedLaplacian: Laplacian of the induced subgraph on SProblem6.inducedSubgraph: the induced subgraph on S as aSimpleGraph VProblem6.IsEpsLight: epsilon-lightness predicate
Main theorems #
Problem6.graphLaplacian_eq_lapMatrix: equivalence with mathlibProblem6.graphLaplacian_posSemidef: graph Laplacian is PSDProblem6.graphLaplacian_isHermitian: graph Laplacian is symmetricProblem6.inducedLaplacian_eq_lapMatrix: inducedLaplacian = (inducedSubgraph G S).lapMatrix ℝProblem6.lapMatrix_loewner_mono: Loewner monotonicity for lapMatrix
The Laplacian matrix of a simple graph, defined as ∑{e ∈ E} L_e where each L_e is the edge Laplacian. We use the standard definition L{ij} = deg(i) if i=j, -1 if i~j, 0 otherwise.
Equations
- Problem6.graphLaplacian G = Matrix.of fun (i j : V) => if i = j then ↑(Finset.filter (G.Adj i) Finset.univ).card else if G.Adj i j then -1 else 0
Instances For
The Laplacian of the induced subgraph on S: restricting to edges within S.
Equations
Instances For
A set S is ε-light if εL - L_S is positive semidefinite.
Equations
- Problem6.IsEpsLight G ε S = (ε • Problem6.graphLaplacian G - Problem6.inducedLaplacian G S).PosSemidef
Instances For
The induced subgraph as a SimpleGraph V #
Using Mathlib's Subgraph.induce and Subgraph.spanningCoe to construct the induced
subgraph on S as a SimpleGraph V, connecting to Mathlib's lapMatrix API.
The induced subgraph of G on S, as a SimpleGraph V.
Uses Mathlib's Subgraph.induce + spanningCoe to stay in SimpleGraph V.
Equations
- Problem6.inducedSubgraph G S = (⊤.induce ↑S).spanningCoe
Instances For
Equations
Adjacency in the induced subgraph:
(inducedSubgraph G S).Adj v w ↔ G.Adj v w ∧ v ∈ S ∧ w ∈ S.
The induced subgraph is a subgraph of G.
Monotonicity: S ⊆ T implies inducedSubgraph G S ≤ inducedSubgraph G T.
Bridge: inducedLaplacian G S = graphLaplacian (inducedSubgraph G S).
The graph Laplacian equals the Mathlib lapMatrix (degree minus adjacency).
Bridge: inducedLaplacian G S = (inducedSubgraph G S).lapMatrix ℝ.
The graph Laplacian is positive semidefinite. xᵀLx = ∑_{u~v} (x_u - x_v)² ≥ 0.
The graph Laplacian is symmetric (L is Hermitian since G.Adj is symmetric).
Loewner monotonicity for lapMatrix #
Loewner monotonicity for graph Laplacians: if H₁ ≤ H₂ (subgraph ordering),
then (H₂.lapMatrix ℝ - H₁.lapMatrix ℝ).PosSemidef.
Proof: the difference equals the lapMatrix of the edge-difference graph, which is PSD.