Translation preserves mean absolute deviation
ProvedWorkbookSource.problem_13814lean-workbooksource-checked
Let's say the set is let . From the information given, the standard deviation is the average of the differences between the elements of the set and . Something like and that equals 6. Now, the new set should be let . . This should hold no matter how many elements the sets contain. We can see that the cancel out so that .
Source: InternLM Lean-Workbook, record lean_workbook_13814 (Apache-2.0). The complete source proposition and explicit variable declarations are preserved. The displayed absolute-deviation formula measures mean absolute deviation, although the source calls it standard deviation.
Preamble
import Mathlib open Real Nat
Formal statement
theorem WorkbookSource.problem_13814 (a b c d m n : ℝ) (h₀ : m = (a + b + c + d) / 4) (h₁ : n = (a + 3 + b + 3 + c + 3 + d + 3) / 4) (h₂ : abs (a - m) + abs (b - m) + abs (c - m) + abs (d - m) = 24) : abs (a + 3 - n) + abs (b + 3 - n) + abs (c + 3 - n) + abs (d + 3 - n) = 24 := by sorry
Source