mathlib4
mathlib4 copied to clipboard
chore(Data/List): Depend less on big operators
trafficstars
- Make
Data.List.Count,Data.List.Dedup,Data.List.ProdSigma,Data.List.Range,Data.List.Rotate,Data.List.Zipnot depend onData.List.BigOperators.Basic. - As a consequence, move the big operators lemmas that were in there to
Data.List.BigOperators.Basic. For the lemmas that wereNat-specific, keep a version of themin the original file but stated usingNat.sum. - To help with this, add
Nat.sum_eq_listSum (l : List Nat) : Nat.sum l = l.sum.