lean_workbook_plus_52052
ProvedFind given the equation with roots , , .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_52052 (p q r : ℂ) (hp : p^3 - 9 * p^2 + 8 * p + 2 = 0) (hq : q^3 - 9 * q^2 + 8 * q + 2 = 0) (hr : r^3 - 9 * r^2 + 8 * r + 2 = 0) : p * (p - 1) * (p - 8) + q * (q - 1) * (q - 8) + r * (r - 1) * (r - 8) = -6 := by sorry
Source