lean_workbook_plus_48467
Provedif are roots of with , then , , and we are given . Eliminating the variables from this system is easy: We have consequently and since , the result follows.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_48467 (a b c p q : ℝ) (h₀ : a ≠ 0) (h₁ : a * p^2 + b * p + c = 0) (h₂ : a * q^2 + b * q + c = 0) (h₃ : p > q) (h₄ : p - q = 1) : p + q = -b / a ∧ p * q = c / a := by sorry
Source