Commit 2025-01-27 23:15 d66fa49e
View on Github →feat(Data/Matroid/Rank/Cardinal): Cardinality-valued rank function (#20921)
We abstract out the matroid property of 'having a well-defined Cardinality
-valued rank function' as a typeclass Matroid.CardinalRank
, and use it to define a rank function Matroid.cardRk
and prove basic properties. The fact that Finitary
matroids have such a rank function is now provided as an instance.