AFTD Auto-Formalizing Theoretical Domains

three_token_cycle_sum_fiber_indep

theoremverified

For any natural number n ≥ 3 and any subset S of ZMod n with no two elements differing by 1, the set of 3-element subsets of Fin n whose coordinate sum in ZMod n belongs to S is an independent set in the 3-token graph of C_n.

Statement

theorem three_token_cycle_sum_fiber_indep (n : ℕ) (hn : 3 ≤ n)
    (S : Set (ZMod n))
    (hS : ∀ a ∈ S, ∀ b ∈ S, ¬ (a - b = 1 ∨ b - a = 1)) :
    (token_graph (SimpleGraph.cycleGraph n) 3).IsIndepSet
      { x | x.val.sum (fun i => (i : ZMod n)) ∈ S }
Source
arXiv:2611.22830 Section 5; open problem OP-2010
Verified
22 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2
  • token_graphThe k-token graph F_k(G) of a simple graph G has as vertices the k-subsets of V(G), with two k-subsets adjacent whenever their symmetric…
  • three_token_cycle_adj_sum_diffFor any natural number n ≥ 3 and any two adjacent vertices x and y in the 3-token graph of C_n, the difference in ZMod n between the sum…

Read back from the Lean

For every natural number $n \ge 3$ and every subset $S \subseteq \mathbb{Z}/n\mathbb{Z}$ such that no two elements $a, b \in S$ satisfy $a - b = 1$ or $b - a = 1$ in $\mathbb{Z}/n\mathbb{Z}$, the collection of 3-element subsets $x \subseteq \mathbb{Z}/n\mathbb{Z}$ whose element sum $\sum_{i \in x} i$ (evaluated in $\mathbb{Z}/n\mathbb{Z}$) lies in $S$ forms an independent set in the 3-token graph of the cycle graph $C_n$.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

The proof, explained

To show that the collection of 3-element subsets whose sums lie in S is independent in the 3-token graph of C_n, we assume for contradiction that two such subsets are adjacent. By a previously proven lemma (three_token_cycle_adj_sum_diff), the coordinate sums in ℤ/nℤ of adjacent 3-subsets in C_n must differ by 1. Since both sums belong to S, this immediately contradicts the assumption that S contains no pair of elements differing by 1.

  1. To show that the fiber is an independent set, suppose for contradiction that it contains two distinct adjacent vertices.

    By definition, a set of vertices is independent if no two of its members are adjacent. We introduce two 3-element subsets x and y whose coordinate sums belong to S, assume they are distinct and adjacent in the 3-token graph of C_n, and set out to derive a contradiction (False).

    line 7

      intro x hx y hy hne hadj
  2. The coordinate sums of x and y in ℤ/nℤ must differ by 1.

    By three_token_cycle_adj_sum_diff, whenever two 3-element subsets are adjacent in the 3-token graph of C_n, their coordinate sums s_x and s_y in ℤ/nℤ satisfy s_x - s_y = 1 or s_y - s_x = 1.

    line 8

    uses three_token_cycle_adj_sum_diff

      have hdiff := three_token_cycle_adj_sum_diff n hn x y hadj
  3. False, completing the proof.

    Since the coordinate sums of x and y both lie in S and differ by 1, this directly contradicts the hypothesis hS, which asserts that no two elements of S differ by 1 modulo n.

    line 9

      exact hS _ hx _ hy hdiff
three_token_cycle_adj_sum_diff
In the 3-token graph of the cycle C_n (for n ≥ 3), the coordinate sums in ℤ/nℤ of any two adjacent 3-element subsets differ by 1 (either s_x - s_y = 1 or s_y - s_x = 1).

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

/-- A set of residues without consecutive elements pulls back to an independent set in the 3-token graph of C_n. -/theorem three_token_cycle_sum_fiber_indep (n : ℕ) (hn : 3 ≤ n)    (S : Set (ZMod n))    (hS : ∀ a ∈ S, ∀ b ∈ S, ¬ (a - b = 1 ∨ b - a = 1)) :    (token_graph (SimpleGraph.cycleGraph n) 3).IsIndepSet      { x | x.val.sum (fun i => (i : ZMod n)) ∈ S } := by  intro x hx y hy hne hadj  have hdiff := three_token_cycle_adj_sum_diff n hn x y hadj  exact hS _ hx _ hy hdiff
See it in the graphDiscuss this resultChallenge it