lean_workbook_plus_36456
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.
Find all pairs such that\n\n \n\nWe'll assume that operations are undefined, so . Note that must be odd from the first equation. Then is odd, so must be odd as well. It follows that and . Let and for some . Then by combining equations and letting , we get . The discriminant must be a perfect square, so . Letting , we get . must be even, so we set and simplify the equation to , or after rearranging. For to be an integer, must be a factor of . This gives possible values of , which correspond to probable values of after removing duplicates. Plugging these into the discriminant and solving the quadratic equation gives us as theoretical values of . We know is odd, so that narrows it down to . Plugging these in and analyzing possible values of gives us four solutions: , where a solution pair is represented as .
Why this node was retired
The posted statement is
theorem lean_workbook_plus_36456 (m n : ℤ)
(h₀ : 2 * m ≡ -1 [ZMOD n])
(h₁ : n^2 ≡ -2 [ZMOD m])
(h₂ : 0 < m ∧ 0 < n) :
(m = 1 ∧ n = -3) ∨ (m = -11 ∧ n = -3) ∨ (m = -3 ∧ n = -5) ∨ (m = 27 ∧ n = -5) := by sorry
The source’s incomplete four-pair list is also wrong; the formalization additionally adds positivity incompatible with its negative-n conclusions.
The recorded counterexample refutes the statement as encoded. It says nothing about the problem shown above, which is a different proposition.
Proposed corrected statement
Restore nonzero integer variables and give all22 pairs: (1,1),(3,1),(1,3),(27,5),(3,7),(17,7),(19,13),(−1,1),(−3,1),(−11,3),(−3,5), together with each pair’s second-coordinate sign reversal. If restricting to positive variables, use the first seven only.
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_36456 (m n : ℤ) (h₀ : 2 * m ≡ -1 [ZMOD n]) (h₁ : n^2 ≡ -2 [ZMOD m]) (h₂ : 0 < m ∧ 0 < n) : (m = 1 ∧ n = -3) ∨ (m = -11 ∧ n = -3) ∨ (m = -3 ∧ n = -5) ∨ (m = 27 ∧ n = -5) := by sorry