Mathlib v3 is deprecated. Go to Mathlib v4

Theorem sum.get_right_eq_some_iff

Modification history