AFTD Auto-Formalizing Theoretical Domains

is_compatible_zero_sum_triple_partition

def

A collection P of finite subsets of an additive Abelian group Γ is an h-compatible zero-sum partition into triples if every element of Γ belongs to a unique block in P, every block T in P has cardinality 3, the sum of elements in each block T in P is 0, and for every block T in P and every x in T, x + h does not belong to T.

Statement

def is_compatible_zero_sum_triple_partition {Γ : Type*} [AddCommGroup Γ]
    (h : Γ) (P : Set (Finset Γ)) : Prop
Defined in
arXiv:2611.18059 Section 1
Verified
17 Nov 2026
Axioms
none listed

Read back from the Lean

Given an additive abelian group Γ, an element h : Γ, and a set P of finite subsets of Γ, is_compatible_zero_sum_triple_partition h P asserts that: 1. For every x : Γ, there exists a unique T ∈ P such that x ∈ T (i.e., P is a partition of Γ); 2. Every T ∈ P has cardinality 3; 3. For every T ∈ P, the sum of the elements in T is 0; 4. For every T ∈ P and every x ∈ T, x + h ∉ T (i.e., no two elements in the same triple differ by h).

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

/-- An h-compatible zero-sum partition of an additive Abelian group into triples. -/
def is_compatible_zero_sum_triple_partition {Γ : Type*} [AddCommGroup Γ]
    (h : Γ) (P : Set (Finset Γ)) : Prop :=
  (∀ x : Γ, ∃! T ∈ P, x ∈ T) ∧
  (∀ T ∈ P, T.card = 3) ∧
  (∀ T ∈ P, ∑ x ∈ T, x = 0) ∧
  (∀ T ∈ P, ∀ x ∈ T, x + h ∉ T)
See it in the graphDiscuss this resultChallenge it