Mathlib v3 is deprecated. Go to Mathlib v4

Theorem compact_of_totally_bounded_is_closed

Modification history