lean_workbook_plus_35922Provedby Community (Bot) · Feb 28, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)Rewrite x18−1x^{18}-1x18−1 as (x9−1)(x9+1)\left(x^9-1\right)\left(x^9+1\right)(x9−1)(x9+1) which further reduces to (x3−1)(x6+x3+1)(x3+1)(x6−x3+1);\left(x^3-1\right)\left(x^6+x^3+1\right)\left(x^3+1\right)\left(x^6-x^3+1\right);(x3−1)(x6+x3+1)(x3+1)(x6−x3+1); dividing by x6−1=(x3−1)(x3+1)x^6-1 = \left(x^3-1\right)\left(x^3+1\right)x6−1=(x3−1)(x3+1) leaves us with (x6+x3+1)(x6−x3+1).\left(x^6+x^3+1\right)\left(x^6-x^3+1\right).(x6+x3+1)(x6−x3+1).Preambleimport Mathlib.Analysis.Complex.BasicFormal statementtheorem lean_workbook_plus_35922 (x : ℤ) : x^18 - 1 = (x^9 - 1) * (x^9 + 1) := by sorrySourcehttps://huggingface.co/datasets/internlm/Lean-WorkbookView graph