Factoring a quadratic over the reals
ProvedWorkbookSource.problem_140lean-workbooksource-checked
Factor the expression .
Source: InternLM Lean-Workbook, record lean_workbook_140 (Apache-2.0). The complete source proposition and explicit variable declarations are preserved.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.problem_140 (x : ℝ) : x^2 + 4*x - 1 = (x + 2 + Real.sqrt 5) * (x + 2 - Real.sqrt 5) := by sorry
Source