AFTD Auto-Formalizing Theoretical Domains

cluster_nodes

def

For cluster index j ∈ Fin 6, the finite set cluster_nodes j : Finset (Fin 12) consisting of the two vertices in Fin 12 with indices 2 * j.val and 2 * j.val + 1 representing the twin nodes of cluster C_j in the 6-cycle cluster graph.

Statement

def cluster_nodes (j : Fin 6) : Finset (Fin 12)
Defined in
arXiv:2611.33631, Section 3
Verified
29 Nov 2026
Axioms
none listed
Used by 2
  • 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…

Read back from the Lean

The function cluster_nodes maps an element $j \in \mathrm{Fin}(6)$ to the finite subset of $\mathrm{Fin}(12)$ consisting of the two elements $\langle 2 \cdot j.\mathrm{val}, \_ \rangle$ and $\langle 2 \cdot j.\mathrm{val} + 1, \_ \rangle$.

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 two twin nodes in cluster C_j for j ∈ Fin 6. -/
def cluster_nodes (j : Fin 6) : Finset (Fin 12) := {⟨2 * j.val, by omega⟩, ⟨2 * j.val + 1, by omega⟩}
See it in the graphDiscuss this resultChallenge it