Mathlib v3 is deprecated. Go to Mathlib v4

Theorem list.ne_and_not_mem_of_not_mem_cons

Modification history