Factoring an integer quartic
ProvedWorkbookSource.problem_4689lean-workbooksource-checked
Express as a product of two quadratic polynomials.
Source: InternLM Lean-Workbook, record lean_workbook_4689 (Apache-2.0). The complete source proposition and its explicit variable declarations are preserved.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.problem_4689 : ∀ n : ℤ, n^4 - 20*n^2 + 4 = (n^2 - 4*n - 2)*(n^2 + 4*n - 2) := by sorry
Source