Mathlib v3 is deprecated. Go to Mathlib v4

Theorem finite_dimensional.not_linear_independent_of_infinite

Modification history