Mathlib v3 is deprecated. Go to Mathlib v4

Theorem ergodic.ae_empty_or_univ_of_image_ae_le

Modification history