lean_workbook_plus_28715
ProvedSuppose , , and are three numbers for which and .The average of the three numbers , , and is\n\n \n\nDividing by 1001 for the first equation results in . Dividing by 1001 for the second equation results in . Adding both equations gives us , so the average is , or .
Preamble
import Mathlib.Analysis.Complex.Basic
Formal statement
theorem lean_workbook_plus_28715 (a b c : ℝ) (h₀ : 1001 * c - 2002 * a = 4004) (h₁ : 1001 * b + 3003 * a = 5005) : (a + b + c) / 3 = 3 := by sorry
Source