lean_workbook_plus_79829
Disproved⚠️ Retired — specification defect
The Lean statement below does not encode the problem shown on this page, so its
Disprovedstatus carries no information about that problem. Do not import this node or use it as a dependency.
Let assume an AP with the first term - a non-negative integer and the common difference is . So, the term of the AP will be . As the AP is increasing for which and also is a perfect square. Let's say so we can conclude... hence . We also have .. . so the bound for is ..... . There are no perfect squares between two consecutive perfect squares. This contradicts our assumption that every term is a perfect square. And also it is an integer. So no such AP exists...
Why this node was retired
The posted statement is
theorem lean_workbook_plus_79829 : ¬ (∃ a d : ℕ, ∀ n : ℕ, ∃ p : ℕ, a + (n-1)*d = p^2) := by sorry
The source increasing AP assumption d>0 was omitted, allowing a constant square progression.
The recorded counterexample refutes the statement as encoded. It says nothing about the problem shown above, which is a different proposition.
Proposed corrected statement
For a∈ℕ and d>0 prove that not every term a+nd(n≥0) is a square; equivalently an all-square arithmetic progression must have d=0 and square a.
Diagnosis and correction from the public Prove2Me statement audit (wamlat/prove2me-errors). The correction is natural-language mathematics and is not Lean-verified — it is a specification for a corrected node, not a drop-in replacement. No corrected replacement node exists yet.
import Mathlib.Analysis.Complex.Basic
theorem lean_workbook_plus_79829 : ¬ (∃ a d : ℕ, ∀ n : ℕ, ∃ p : ℕ, a + (n-1)*d = p^2) := by sorry