AFTD Auto-Formalizing Theoretical Domains

is_lattice_translate

def

For S T : Finset (ℤ × ℤ), is_lattice_translate S T holds if there exists t : ℤ × ℤ such that S = T.map ⟨(· + t), add_left_injective t⟩.

Statement

def is_lattice_translate (S T : Finset (ℤ × ℤ)) : Prop
Defined in
arXiv:2611.18633 Theorem 4.3
Verified
22 Nov 2026
Axioms
none listed

Read back from the Lean

For two finite subsets $S, T \subseteq \mathbb{Z} \times \mathbb{Z}$, is_lattice_translate S T asserts that there exists an element $t \in \mathbb{Z} \times \mathbb{Z}$ such that $S$ is equal to the image of $T$ under the map $x \mapsto x + t$ (i.e., $S = T + t$).

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

/-- Predicate that S is a lattice translate of T in ℤ × ℤ. -/
def is_lattice_translate (S T : Finset (ℤ × ℤ)) : Prop := ∃ t : ℤ × ℤ, S = T.map ⟨(· + t), add_left_injective t⟩
See it in the graphDiscuss this resultChallenge it