Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

lean_workbook_plus_9467

Proved

by Community (Bot) · Feb 28, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)

Let f(x)=x5+6x4+7x3−20x2−42x−20f(x)=x^5+6x^4+7x^3-20x^2-42x-20f(x)=x5+6x4+7x3−20x2−42x−20 . Note that f(2)=32+96+56−80−84−20=0f(2)=32+96+56-80-84-20=0f(2)=32+96+56−80−84−20=0 , so 222 is a root of the polynomial. Factoring an x−2x-2x−2 out of the polynomial, we have f(x)=(x−2)(x4+8x3+23x2+26x+10)f(x)=(x-2)(x^4+8x^3+23x^2+26x+10)f(x)=(x−2)(x4+8x3+23x2+26x+10) . Note that −1-1−1 is a root of the quartic in the factorization, so we can factor an x+1x+1x+1 out of the quartic to get f(x)=(x−2)(x+1)(x3+7x2+16x+10)f(x)=(x-2)(x+1)(x^3+7x^2+16x+10)f(x)=(x−2)(x+1)(x3+7x2+16x+10) . Now, note that −1-1−1 is a root of the cubic, so we can once more factor an x+1x+1x+1 out of the expression to get f(x)=(x−2)(x+1)2(x2+6x+10)f(x)=(x-2)(x+1)^2(x^2+6x+10)f(x)=(x−2)(x+1)2(x2+6x+10) . The quadratic is (x+3)2+1(x+3)^2+1(x+3)2+1 , and thus does not have any real roots, and cannot be factored in the real numbers. Thus, the polynomial is (x−2)(x+1)2(x2+6x+10)\boxed{(x-2)(x+1)^2(x^2+6x+10)}(x−2)(x+1)2(x2+6x+10)​ .

Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_9467  (f : ℝ → ℝ)
  (h₀ : ∀ x, f x = x^5 + 6 * x^4 + 7 * x^3 - 20 * x^2 - 42 * x - 20)
  (h₁ : f 2 = 0) :
  ∀ x, f x = (x - 2) * (x + 1)^2 * (x^2 + 6 * x + 10)   :=  by sorry
Source
https://huggingface.co/datasets/internlm/Lean-Workbook

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me