AFTD Auto-Formalizing Theoretical Domains

cyclic_four_block_next

def

Helper for cyclic_four_block_graph_exists_rich_neighbor_five_coloring: the next block index i+1, cyclically mod n=2m+5.

Statement

def cyclic_four_block_next (m : ℕ) (i : Fin ((2*m+5))) : Fin ((2*m+5))
Source
decomposition of cyclic_four_block_graph_exists_rich_neighbor_five_coloring (proof plan of the IN-156 scratch file)
Verified
25 Oct 2026
Axioms
none listed
Used by 8

Lean source view module on GitHub

def cyclic_four_block_next (m : ℕ) (i : Fin ((2*m+5))) : Fin ((2*m+5)) :=
  ⟨if i.val+1 < (2*m+5) then i.val+1 else 0, by split_ifs <;> omega⟩
See it in the graphDiscuss this resultChallenge it