AFTD Auto-Formalizing Theoretical Domains

indicator_type_even

def

For s ∈ Fin 3, the indicator vector indicator_type_even s : Fin 24 → ℝ taking value 1 on edge e : Fin 24 if e.val / 4 = 2 * s.val and 0 otherwise, indicating edges of type 2s among the 24 edges of the 6-cycle cluster graph.

Statement

def indicator_type_even (s : Fin 3) : Fin 24 → ℝ
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

Given an element s : Fin 3, indicator_type_even s is the function from Fin 24 to ℝ mapping each e : Fin 24 to 1 (as a real number) if the natural number quotient e.val / 4 is equal to 2 * s.val, and 0 otherwise.

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

/-- Indicator vector A_s of edges of type 2s in the 6-cycle cluster graph. -/
def indicator_type_even (s : Fin 3) : Fin 24 → ℝ := fun e => if e.val / 4 = 2 * s.val then 1 else 0
See it in the graphDiscuss this resultChallenge it