AFTD Auto-Formalizing Theoretical Domains

PutOrTakeAdmissibleTriples

def

The set $\mathcal{A}$ of triples $(d, u, v)$ of positive integers such that $u$ is odd, $p^2 \nmid d$ for all odd primes $p$, and $d(u^2 - 2v^2)^2 \le 4uv$.

Statement

def PutOrTakeAdmissibleTriples : Set (ℕ × ℕ × ℕ)
Defined in
arXiv:2611.05898 -- An Asymptotic for E. P. Stein Numbers
Verified
05 Nov 2026
Axioms
none listed

Read back from the Lean

The set PutOrTakeAdmissibleTriples of all triples of natural numbers $(a, b, c) \in \mathbb{N} \times \mathbb{N} \times \mathbb{N}$ satisfying: 1. $a > 0$, $b > 0$, and $c > 0$; 2. $b$ is odd; 3. for every prime natural number $p$, if $p \ne 2$, then $p^2$ does not divide $a$ (i.e., $a$ is not divisible by the square of any odd prime); and 4. $(a : \mathbb{Z}) \cdot ((b : \mathbb{Z})^2 - 2 (c : \mathbb{Z})^2)^2 \le 4 (b : \mathbb{Z}) (c : \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 set of triples (d, u, v) of positive integers with u odd, d having no odd square prime factors, and d(u^2 - 2v^2)^2 ≤ 4uv. -/
def PutOrTakeAdmissibleTriples : Set (ℕ × ℕ × ℕ) := {t : ℕ × ℕ × ℕ |
  0 < t.1 ∧ 0 < t.2.1 ∧ 0 < t.2.2 ∧
  Odd t.2.1 ∧
  (∀ p : ℕ, Nat.Prime p → p ≠ 2 → ¬ (p^2 ∣ t.1)) ∧
  (t.1 : ℤ) * ((t.2.1 : ℤ)^2 - 2 * (t.2.2 : ℤ)^2)^2 ≤ 4 * (t.2.1 : ℤ) * (t.2.2 : ℤ)}
See it in the graphDiscuss this resultChallenge it