Mathlib v3 is deprecated. Go to Mathlib v4

Theorem lt_iff_lt_of_cmp_eq_cmp

Modification history