Commit 2023-02-18 18:11 4557f2c4
View on Github →feat: add lemmas about List.Sorted
(#2311)
- Add
List.Sorted.le_of_lt
andList.Sorted.lt_of_le
(new). - Add
List.Sorted.rel_get_of_lt
andList.Sorted.rel_get_of_le
(get
versions ofnthLe
lemmas). - Add
List.sorted_ofFn_iff
,List.sorted_lt_ofFn_iff
, andList.sorted_le_ofFn_iff
(new). - Deprecate
List.monotone_iff_ofFn_sorted
in favor ofList.sorted_le_ofFn_iff
. - Rename
List.Monotone.ofFn_sorted
toMonotone.ofFn_sorted
. In Lean 3, dot notationhf.of_fn_sorted
usedlift.monotone.of_fn_sorted
if thelist
namespace is open. This is no longer the case in Lean 4.