six_cycle_slack_matrix
The 24 × 39 real slack block matrix six_cycle_slack_matrix : Matrix (Fin 24) (Fin 39) ℝ whose (e, j) entry is indicator_types_consecutive ⟨j.val / 13, by omega⟩ e if j.val % 13 = 0, and indicator_types_consecutive ⟨j.val / 13, by omega⟩ e + six_cycle_slack_L * cluster_graph_incidence_matrix e ⟨j.val % 13 - 1, by omega⟩ otherwise.
Statement
def six_cycle_slack_matrix : Matrix (Fin 24) (Fin 39) ℝ- Defined in
- arXiv:2611.33631, Section 3, equation (3.1)
- Verified
- 29 Nov 2026
- Axioms
- none listed
- Built on 3
- cluster_graph_incidence_matrixThe 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…
- indicator_types_consecutiveFor t ∈ Fin 3, the indicator vector indicator_types_consecutive t : Fin 24 → ℝ taking value 1 on edge e : Fin 24 if e.val / 4 equals (2 *…
- six_cycle_slack_LThe real constant six_cycle_slack_L : ℝ defined as 10 ^ 6.
- Used by 1
- 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…
Read back from the Lean
The declaration defines six_cycle_slack_matrix as a 24-by-39 real matrix whose entry at row $e \in \{0, \dots, 23\}$ and column $j \in \{0, \dots, 38\}$ is given by:
Let $t = \lfloor j / 13 \rfloor \in \{0, 1, 2\}$ and $\text{rem} = j \bmod 13 \in \{0, \dots, 12\}$.
- If $\text{rem} = 0$, the entry is indicator_types_consecutive t e.
- If $\text{rem} \neq 0$, letting $v = \text{rem} - 1 \in \{0, \dots, 11\}$, the entry is indicator_types_consecutive t e + six_cycle_slack_L * cluster_graph_incidence_matrix e v.
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
/-- The 24 × 39 slack block matrix S of the 6-cycle cluster graph. -/ def six_cycle_slack_matrix : Matrix (Fin 24) (Fin 39) ℝ := Matrix.of fun e j => let t : Fin 3 := ⟨j.val / 13, by omega⟩ let rem := j.val % 13 if h : rem = 0 then indicator_types_consecutive t e else let v : Fin 12 := ⟨rem - 1, by omega⟩ indicator_types_consecutive t e + six_cycle_slack_L * cluster_graph_incidence_matrix e v