Mathlib v3 is deprecated. Go to Mathlib v4

Theorem ideal.ne_top_iff_one

Modification history