lean_workbook_plus_3470
ProvedReplace with . Now we have . Because this holds for all reals, we can simply substitute for again to get .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_3470 (x y : ℝ) (f : ℝ → ℝ) (h₀ : ∀ z, f z = 3 * (z - 3)^2 + 7 * (z - 3) + 4) (h₁ : y = f x) : y = 3 * x^2 - 11 * x + 10 := by sorry
Source