is_resistance_regular
def
A finite simple graph G is resistance-regular if G is connected and there exists a Moore-Penrose pseudoinverse of its real Laplacian matrix whose diagonal entries are all equal.
Statement
def is_resistance_regular {V : Type*} [Fintype V] [DecidableEq V] (G : SimpleGraph V) [DecidableRel G.Adj] : Prop
- Defined in
- arXiv:2611.21670 Definition 2.3 and Theorem 2.4
- Verified
- 18 Nov 2026
- Axioms
- none listed
- Built on 1
- is_moore_penrose_inverseA real matrix A_pinv is the Moore-Penrose pseudoinverse of A if A * A_pinv * A = A, A_pinv * A * A_pinv = A_pinv, and both A * A_pinv and…
- Used by 1
- op1917_exists_nonregular_resistance_regular_order_16There exists a finite type V with 16 elements and a simple graph G on V such that G is resistance-regular and G is not regular (there does…
Read back from the Lean
For a simple graph G on a finite type V (with decidable equality and decidable adjacency), is_resistance_regular G asserts that:
1. G is connected, and
2. There exists a real matrix L_pinv : Matrix V V ℝ such that L_pinv is the Moore-Penrose pseudoinverse of the graph Laplacian matrix G.lapMatrix ℝ, and
3. There exists a real constant c : ℝ such that for all vertices v : V, the diagonal entry L_pinv v v equals c.
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 finite simple graph is resistance-regular if it is connected and the Moore-Penrose pseudoinverse of its Laplacian has constant diagonal. -/ def is_resistance_regular {V : Type*} [Fintype V] [DecidableEq V] (G : SimpleGraph V) [DecidableRel G.Adj] : Prop := G.Connected ∧ ∃ L_pinv : Matrix V V ℝ, is_moore_penrose_inverse (G.lapMatrix ℝ) L_pinv ∧ ∃ c : ℝ, ∀ v : V, L_pinv v v = c