Mathlib v3 is deprecated. Go to Mathlib v4

Theorem ennreal.of_real_eq_of_real_iff

Modification history