lean_workbook_plus_49423
ProvedFind all integers for which both and are perfect squares.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_49423 (a b : ℤ) (h1 : ∃ x : ℤ, x^2 = a^2 - 4*b) (h2 : ∃ y : ℤ, y^2 = b^2 - 4*a) : (∃ x : ℤ, x^2 = a^2 - 4*b) ∧ (∃ y : ℤ, y^2 = b^2 - 4*a) := by sorry
Source