Mathlib v3 is deprecated. Go to Mathlib v4

Theorem order.ideal.is_proper_iff_ne_top

Modification history