Commit 2025-02-10 14:34 48d0e0e6

View on Github →

chore: split Data.List.Basic (#21530)

+ getLast_append_of_right_ne_nil   -- better name
+ map_filter   -- previously primed and can be renamed
+ modifyLast_append_of_right_ne_nil  -- better name
+ modifyLast_concat   -- better name
+ span_eq_takeWhile_dropWhile -- better name
- decidableSublist  -- instance exists upstream
- lookmap.go_append  -- made private
- modifyLast.go_append_one  -- made private
- span.loop_eq_take_drop  -- made private

Estimated changes

deleted theorem List.bidirectionalRec_nil
deleted theorem List.dropWhile_eq_nil_iff
deleted theorem List.get?_succ_scanl
deleted theorem List.getElem?_scanl_zero
deleted theorem List.getElem_scanl_zero
deleted theorem List.getElem_succ_scanl
deleted theorem List.getLast_append'
deleted theorem List.getLast_filter'
deleted theorem List.get_succ_scanl
deleted theorem List.intercalate_splitOn
deleted theorem List.length_lookmap
deleted theorem List.length_scanl
deleted theorem List.lookmap.go_append
deleted theorem List.lookmap_congr
deleted theorem List.lookmap_cons_none
deleted theorem List.lookmap_cons_some
deleted theorem List.lookmap_id'
deleted theorem List.lookmap_map_eq
deleted theorem List.lookmap_nil
deleted theorem List.lookmap_none
deleted theorem List.lookmap_some
deleted theorem List.map_filter'
added theorem List.map_filter
deleted theorem List.mem_takeWhile_imp
deleted theorem List.modifyLast_append
deleted theorem List.monotone_filter_left
deleted def List.reverseRecOn
deleted theorem List.reverseRecOn_concat
deleted theorem List.reverseRecOn_nil
deleted theorem List.scanl_cons
deleted theorem List.scanl_nil
deleted theorem List.scanr_cons
deleted theorem List.scanr_nil
deleted theorem List.span_eq_take_drop
deleted theorem List.splitOnP.go_acc
deleted theorem List.splitOnP.go_ne_nil
deleted theorem List.splitOnP_cons
deleted theorem List.splitOnP_eq_single
deleted theorem List.splitOnP_first
deleted theorem List.splitOnP_ne_nil
deleted theorem List.splitOnP_nil
deleted theorem List.splitOnP_spec
deleted theorem List.splitOn_intercalate
deleted theorem List.splitOn_nil
deleted theorem List.takeWhile_eq_nil_iff
deleted theorem List.takeWhile_idem
deleted theorem List.takeWhile_takeWhile
added theorem List.length_lookmap
added theorem List.lookmap_congr
added theorem List.lookmap_cons_none
added theorem List.lookmap_cons_some
added theorem List.lookmap_id'
added theorem List.lookmap_map_eq
added theorem List.lookmap_nil
added theorem List.lookmap_none
added theorem List.lookmap_some
added theorem List.perm_lookmap
added theorem List.get?_succ_scanl
added theorem List.get_succ_scanl
added theorem List.length_scanl
added theorem List.scanl_cons
added theorem List.scanl_nil
added theorem List.scanr_cons
added theorem List.scanr_nil