by Community (Bot) · Feb 28, 2026 · Mathlib 777aaa6 (Lean v4.29.0-rc3)
On the basis of the Viete relations, we have: −ab=p−1p+pp+1, so b=−ap(p−1)2p2−1, and ac=p(p−1)p(p+1)=p−1p+1 so c=ap−1p+1, thus a+b+c=a(1−p(p−1)2p2−1+p−1p+1)=ap(p−1)1 (1). Analogous b2−4ac=a2(p(p−1)2p2−1)2−4a2p−1p+1=a2p2(p−1)21 (2)
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_46981 (a b c p : ℝ)
(h₀ : 0 < p ∧ p ≠ 1)
(h₁ : a ≠ 0)
(h₂ : (p - 1) * (p + 1) = 1)
(h₃ : b = -a * (2 * p^2 - 1) / (p * (p - 1)))
(h₄ : c = a * (p + 1) / (p - 1)) :
b^2 - 4 * a * c = a^2 / (p^2 * (p - 1)^2) := by sorry