lean_workbook_plus_72520
ProvedLet be a (not necessarily real) root of . Substituting gives\n\n P(1)=0\nTherefore, is a root of . We have . This gives us:\n\n P(x)=ax^2+bx-a-b=(x-1)(ax+a+b)
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_72520 (a b c : ℂ) (f : ℂ → ℂ) (h₀ : ∀ x, f x = a * x^2 + b * x + c) (h₁ : f 1 = 0) : c = -a - b := by sorry
Source