Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2021-10-31 23:00 d6dd4516

View on Github →

chore(data/list/basic): use dot notation here and there (#10056)

Renamed lemmas

  • list.cons_sublist_conslist.sublist.cons_cons;
  • list.infix_of_prefixlist.is_prefix.is_infix;
  • list.infix_of_suffixlist.is_suffix.is_infix;
  • list.sublist_of_infixlist.is_infix.sublist;
  • list.sublist_of_prefixlist.is_prefix.sublist;
  • list.sublist_of_suffixlist.is_suffix.sublist;
  • list.length_le_of_infixlist.is_infix.length_le.

New simp attrs

list.singleton_sublist, list.repeat_sublist_repeat, list.reverse_suffix, list.reverse_prefix.

New lemmas

list.infix_insert, list.sublist_insert, list.subset_insert.

Estimated changes

deleted theorem list.cons_sublist_cons
added theorem list.infix.length_le
added theorem list.infix_insert
deleted theorem list.infix_of_prefix
deleted theorem list.infix_of_suffix
modified theorem list.infix_refl
deleted theorem list.length_le_of_infix
modified theorem list.nil_infix
modified theorem list.repeat_sublist_repeat
modified theorem list.reverse_prefix
modified theorem list.reverse_suffix
modified theorem list.singleton_sublist
added theorem list.sublist.cons_cons
added theorem list.sublist_insert
deleted theorem list.sublist_of_infix
deleted theorem list.sublist_of_prefix
deleted theorem list.sublist_of_suffix
added theorem list.subset_insert
modified theorem list.tail_sublist