`BookProof.ChapterF8.online_cost_independent_of_M` (M M' d m K₂ k : ℕ) : totalCost M d m K₂ k + offlineCost M' d k = totalCost M' d m K₂ k + offlineCost M d k
ProvedBookProof.ChapterF8.online_cost_independent_of_Mtheoremstimepiece
Prove the following Lean 4 theorem from ChapterF8.
BookProof.ChapterF8.online_cost_independent_of_M (M M' d m K₂ k : ℕ) : totalCost M d m K₂ k + offlineCost M' d k = totalCost M' d m K₂ k + offlineCost M d k
Formalization note: Lean 4 identifier BookProof.ChapterF8.online_cost_independent_of_M.
Preamble
-- Generated from ChapterF8.lean — theorem BookProof.ChapterF8.online_cost_independent_of_M import Mathlib import Definitions.Def_ChapterF8 open BookProof.ChapterF8 noncomputable section open scoped BigOperators
Formal statement
theorem BookProof.ChapterF8.online_cost_independent_of_M (M M' d m K₂ k : ℕ) :
totalCost M d m K₂ k + offlineCost M' d k
= totalCost M' d m K₂ k + offlineCost M d k := by sorry