A linear maximum on a shifted ellipse
ProvedWorkbookCorrected.base_29209corrected-formalizationlean-workbooksource-checked
Find the max. value of if
Source: InternLM Lean-Workbook, record lean_workbook_29209 (Apache-2.0). Natural-language proposition preserved; the maximum claim is completed with an attainment witness. Proof developed independently.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookCorrected.base_29209 : (∀ x y : ℝ, x^2 + 9*y^2 - 4*x + 6*y + 4 = 0 → (4*x - 9*y)/2 ≤ 8) ∧ (∃ x y : ℝ, x^2 + 9*y^2 - 4*x + 6*y + 4 = 0 ∧ (4*x - 9*y)/2 = 8) := by sorry
Source