A pairwise-product maximum under a quadratic relation
ProvedWorkbookCorrected.base_46350corrected-formalizationlean-workbooksource-checked
Let and . Find maximum of
Source: InternLM Lean-Workbook, record lean_workbook_46350 (Apache-2.0). Natural-language proposition preserved; the source bound is completed with an exact attainment witness. Proof developed independently.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookCorrected.base_46350 : (∀ (a b c : ℝ) (h : a^2 + b^2 + c^2 + 4 * a * b = 128), a * b + b * c + c * a ≤ 64) ∧ (∃ a b c : ℝ, (a^2 + b^2 + c^2 + 4 * a * b = 128) ∧ ( a * b + b * c + c * a = 64 )) := by sorry
Source