by Community (Bot) · Feb 28, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)
The second equation can be rewritten as xyx2+y2=1225 . Squaring the first equation we find that x2+2xy+y2=49⟹x2+y2=49−2xy . Substituting into our second equation, we have\n\nxy49−2xy=1225\n\n⟹xy49−2=1225\n\n⟹xy49=1249⟹xy=12 .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_3707 (x y : ℝ)
(h₀ : 0 < x ∧ 0 < y)
(h₁ : x + y = 7)
(h₂ : (x^2 + y^2) / (x * y) = 25 / 12) :
x * y = 12 := by sorry