A quadratic relation bounds a sum minus product
ProvedWorkbookSource.base_815lean-workbooksource-checked
Let and Prove that
Source: InternLM Lean-Workbook, record lean_workbook_815 (Apache-2.0). Complete source proposition preserved; proof developed independently.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.base_815 (a b : ℝ) (ha : a ≥ 0) (hb : b ≥ 0) (hab : a^2 + b^2 = a + b) : a + b - a * b ≤ 9 / 8 := by sorry
Source