lean_workbook_plus_23624
ProvedIf the above is unclear, let and be the two solutions to . Obviously they are distinct. Then one possible common difference is , and the other is . Their sum is , and by Vieta's . Of course, you could just solve to get or and substitute.
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_23624 (a b : ℝ) (h₀ : a ≠ b) (h₁ : a^2 - 2 * a - 48 = 0) (h₂ : b^2 - 2 * b - 48 = 0) : (a + 24) + (b + 24) = 2 + 48 := by sorry
Source