lean_workbook_plus_39841
ProvedIf the mean of and is , then . Do this for the others and get and . Adding these three equations up, we get . Dividing both sides by , we get
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_39841 (a b c : ℝ) (h₀ : (a + b) / 2 = 5) (h₁ : (b + c) / 2 = 7) (h₂ : (c + a) / 2 = 12) : a + b + c = 24 := by sorry
Source