lean_workbook_plus_35005
ProvedGiven that satisfies , what is the largest possible value of ? (For this problem I solved for in the first equation and plugged it back in the second to get 29. What other way can this be done?)
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_35005 (x y : ℝ) (hx : x^2 + y^2 = 9) : x^2 + 3*y^2 + 4*x ≤ 29 := by sorry
Source