lean_workbook_plus_69558
ProvedSolutionLet and be the four numbers. Then, \n\n \begin{align*} w + x &= 42 \ x + y &= 52 \ y + z &= 60. \end{align*} Adding up the three equations we get that . Thus Thus, the average of the first and last numbers is
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_69558 (w x y z : ℝ) (h₀ : w + x = 42) (h₁ : x + y = 52) (h₂ : y + z = 60) : (w + z) / 2 = 25 := by sorry
Source