AFTD Auto-Formalizing Theoretical Domains

stein_param_set

def

The set of triples (d, u, v) of positive natural numbers such that u is odd, mu_star d holds, and d * (u^2 - 2 * v^2)^2 ≤ 4 * u * v (evaluated over the integers).

Statement

def stein_param_set : Set (ℕ × ℕ × ℕ)
Defined in
arXiv:2611.05898, Theorem 2.2
Verified
05 Nov 2026
Axioms
none listed
Built on 1
  • mu_starA natural number d satisfies mu_star if for every prime number p with p ≠ 2, p^2 does not divide d.
Used by 3

Read back from the Lean

stein_param_set is the set of all triples of natural numbers $(d, u, v) \in \mathbb{N} \times \mathbb{N} \times \mathbb{N}$ such that $d > 0$, $u > 0$, $v > 0$, $u$ is odd, mu_star d holds, and $(d : \mathbb{Z}) \cdot ((u : \mathbb{Z})^2 - 2(v : \mathbb{Z})^2)^2 \le 4(u : \mathbb{Z})(v : \mathbb{Z})$.

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

/-- The parameter set of triples (d, u, v) of positive integers with u odd, mu_star d, and d(u^2 - 2v^2)^2 <= 4uv. -/
def stein_param_set : Set (ℕ × ℕ × ℕ) := {p | let (d, u, v) := p; 0 < d ∧ 0 < u ∧ 0 < v ∧ Odd u ∧ mu_star d ∧ (d : ℤ) * ((u : ℤ)^2 - 2 * (v : ℤ)^2)^2 ≤ 4 * (u : ℤ) * (v : ℤ)}
See it in the graphDiscuss this resultChallenge it