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