@[reducible, inline]
abbrev
SimpleGraph.cartesianProduct
{V : Type u_1}
{W : Type u_2}
(G : SimpleGraph V)
(H : SimpleGraph W)
:
SimpleGraph (V × W)
Instances For
@[reducible, inline]
Instances For
theorem
SpectraCommonGraphs.lapMatrix_mulVec_cosEigenvector
(n k : ℕ)
:
(SimpleGraph.lapMatrix ℝ (ringGraph (n + 3))).mulVec (cosEigenvector (n + 3) k) = ringEigenvalue (n + 3) k • cosEigenvector (n + 3) k
theorem
SpectraCommonGraphs.lapMatrix_mulVec_sinEigenvector
(n k : ℕ)
:
(SimpleGraph.lapMatrix ℝ (ringGraph (n + 3))).mulVec (sinEigenvector (n + 3) k) = ringEigenvalue (n + 3) k • sinEigenvector (n + 3) k
theorem
SpectraCommonGraphs.ringGraph_lapMatrix_eigenvectors
(n k : ℕ)
:
(SimpleGraph.lapMatrix ℝ (ringGraph (n + 3))).mulVec (cosEigenvector (n + 3) k) = ringEigenvalue (n + 3) k • cosEigenvector (n + 3) k ∧ (SimpleGraph.lapMatrix ℝ (ringGraph (n + 3))).mulVec (sinEigenvector (n + 3) k) = ringEigenvalue (n + 3) k • sinEigenvector (n + 3) k
theorem
GraphProductSpectrum.kronecker_one_mulVec_tensor
{V : Type u_1}
{W : Type u_2}
[Fintype V]
[Fintype W]
[DecidableEq V]
[DecidableEq W]
(A : Matrix V V ℝ)
(v : V → ℝ)
(w : W → ℝ)
:
theorem
GraphProductSpectrum.one_kronecker_mulVec_tensor
{V : Type u_1}
{W : Type u_2}
[Fintype V]
[Fintype W]
[DecidableEq V]
[DecidableEq W]
(B : Matrix W W ℝ)
(v : V → ℝ)
(w : W → ℝ)
:
@[implicit_reducible]
instance
GraphProductSpectrum.boxProd_decidableAdj
{V : Type u_1}
{W : Type u_2}
[DecidableEq V]
[DecidableEq W]
(G : SimpleGraph V)
(H : SimpleGraph W)
[DecidableRel G.Adj]
[DecidableRel H.Adj]
:
DecidableRel (G □ H).Adj
theorem
GraphProductSpectrum.boxProd_degree_eq
{V : Type u_1}
{W : Type u_2}
[Fintype V]
[Fintype W]
[DecidableEq V]
[DecidableEq W]
(G : SimpleGraph V)
(H : SimpleGraph W)
[DecidableRel G.Adj]
[DecidableRel H.Adj]
(v : V)
(w : W)
:
theorem
GraphProductSpectrum.lapMatrix_boxProd_eq_kronecker_sum
{V : Type u_1}
{W : Type u_2}
[Fintype V]
[Fintype W]
[DecidableEq V]
[DecidableEq W]
(G : SimpleGraph V)
(H : SimpleGraph W)
[DecidableRel G.Adj]
[DecidableRel H.Adj]
:
SimpleGraph.lapMatrix ℝ (G □ H) = Matrix.kroneckerMap (fun (x1 x2 : ℝ) => x1 * x2) (SimpleGraph.lapMatrix ℝ G) 1 + Matrix.kroneckerMap (fun (x1 x2 : ℝ) => x1 * x2) 1 (SimpleGraph.lapMatrix ℝ H)
theorem
GraphProductSpectrum.lapMatrix_boxProd_eigenvector
{V : Type u_1}
{W : Type u_2}
[Fintype V]
[Fintype W]
[DecidableEq V]
[DecidableEq W]
(G : SimpleGraph V)
(H : SimpleGraph W)
[DecidableRel G.Adj]
[DecidableRel H.Adj]
(v : V → ℝ)
(w : W → ℝ)
(eigG eigH : ℝ)
(hv : (SimpleGraph.lapMatrix ℝ G).mulVec v = eigG • v)
(hw : (SimpleGraph.lapMatrix ℝ H).mulVec w = eigH • w)
: