Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move theorems about lists from mathlib
* `List.isEmpty_iff_eq_nil` and `List.modifyHead_modifyHead` are from `Mathlib.Data.List.Basic`. I removed the `simp` priority and `nolint` attribute from `modifyHead_modifyHead` because we don't need them anymore. * `List.cons_prefix_cons` is from `Mathlib.Data.List.Infix`. Its previous name was `List.cons_prefix_iff`. We need these theorems to prove `String.splitOn_of_valid`. See #756. Co-authored-by: Kim Morrison <[email protected]>
- Loading branch information