cluster_graph_incidence_matrix
def
The 24 × 12 unsigned edge-node incidence matrix R of the cluster graph G on 12 nodes and 24 edges, where each node of a 6-cycle is replaced by a cluster of two twin nodes.
Statement
def cluster_graph_incidence_matrix : Matrix (Fin 24) (Fin 12) ℝ- Defined in
- arXiv:2611.33631, Section 3
- Verified
- 29 Nov 2026
- Axioms
- none listed
- Used by 3
- six_cycle_slack_nonneg_rank_boundsThe 24 × 39 six-cycle slack block matrix six_cycle_slack_matrix satisfies HasNonnegFactorization six_cycle_slack_matrix 14, and its…
- six_cycle_cluster_identityFor every t ∈ Fin 3 and edge e ∈ Fin 24, the indicator vector indicator_types_consecutive t evaluated at e equals indicator_type_even…
- six_cycle_slack_matrixThe 24 × 39 real slack block matrix six_cycle_slack_matrix : Matrix (Fin 24) (Fin 39) ℝ whose (e, j) entry is indicator_types_consecutive…
Read back from the Lean
cluster_graph_incidence_matrix is defined as the $24 \times 12$ matrix over $\mathbb{R}$ (with rows indexed by $e \in \mathrm{Fin}\ 24$ and columns indexed by $v \in \mathrm{Fin}\ 12$) whose entry at $(e, v)$ is $1$ if $v.\mathrm{val} = u$ or $v.\mathrm{val} = w$, and $0$ otherwise, where:
- $j = \lfloor e.\mathrm{val} / 4 \rfloor$
- $k = e.\mathrm{val} \bmod 4$
- $a = \lfloor k / 2 \rfloor$
- $b = k \bmod 2$
- $u = 2j + a$
- $w = 2((j + 1) \bmod 6) + b$
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
/-- Unsigned edge-node incidence matrix R of the cluster graph G on 12 nodes and 24 edges. -/ def cluster_graph_incidence_matrix : Matrix (Fin 24) (Fin 12) ℝ := Matrix.of fun e v => let j := e.val / 4 let k := e.val % 4 let a := k / 2 let b := k % 2 let u := 2 * j + a let w := 2 * ((j + 1) % 6) + b if v.val = u ∨ v.val = w then 1 else 0