AFTD Auto-Formalizing Theoretical Domains

satisfies_condition_r

def

For a prime p and natural number r, a function χ : (ZMod p)ˣ → ZMod r, and a map s : α → ZMod p, satisfies_condition_r p r χ s asserts that for every y : ZMod p, there does not exist c : ZMod r such that for all a : α and all proofs h : y + s a ≠ 0, χ (Units.mk0 (y + s a) h) = c.

Statement

def satisfies_condition_r (p r : ℕ) [Fact p.Prime] (χ : (ZMod p)ˣ → ZMod r) {α : Type*} (s : α → ZMod p) : Prop
Defined in
arXiv:2611.22205 Section 3, Condition (R)
Verified
20 Nov 2026
Axioms
none listed

Read back from the Lean

Given natural numbers p and r with p prime (via [Fact p.Prime]), a function χ : (ZMod p)ˣ → ZMod r, a type α, and a map s : α → ZMod p, satisfies_condition_r p r χ s asserts that: for every y : ZMod p, there does not exist c : ZMod r such that for all a : α and every proof h : y + s a ≠ 0, the value χ (Units.mk0 (y + s a) h) equals c. In other words, for every shift y ∈ ZMod p, the values of χ(y + s a) (for all a ∈ α such that y + s a ≠ 0) are not all equal to the same constant c.

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

/-- Condition (R): for every y in ZMod p, the colors chi(y + s_a) for nonzero y + s_a are not all equal. -/
def satisfies_condition_r (p r : ℕ) [Fact p.Prime] (χ : (ZMod p)ˣ → ZMod r) {α : Type*} (s : α → ZMod p) : Prop := ∀ y : ZMod p, ¬ ∃ c : ZMod r, ∀ a : α, ∀ h : y + s a ≠ 0, χ (Units.mk0 (y + s a) h) = c
See it in the graphDiscuss this resultChallenge it