`BookProof.ChapterF6.mgT_apply_le` (k : ℕ) (T : α →₀ ℕ) (s : List α) (y : α) : (mgT k T s) y ≤ T y + s.count y
ProvedBookProof.ChapterF6.mgT_apply_letheoremstimepiece
Prove the following Lean 4 theorem from ChapterF6.
BookProof.ChapterF6.mgT_apply_le (k : ℕ) (T : α →₀ ℕ) (s : List α) (y : α) : (mgT k T s) y ≤ T y + s.count y
Formalization note: Lean 4 identifier BookProof.ChapterF6.mgT_apply_le.
Preamble
-- Generated from ChapterF6.lean — theorem BookProof.ChapterF6.mgT_apply_le
import Mathlib
import Definitions.Def_ChapterF6
open BookProof.ChapterF6
open scoped BigOperators
variable {α : Type*} [DecidableEq α]Formal statement
theorem BookProof.ChapterF6.mgT_apply_le (k : ℕ) (T : α →₀ ℕ) (s : List α) (y : α) :
(mgT k T s) y ≤ T y + s.count y := by sorry