Commit 2023-08-02 02:18 444b9f33
View on Github →feat(Data.Set.Ncard): enat set cardinality (#5908)
This PR is a second attempt at defining the cardinality of a set as extended natural number, with a function encard
. The implementation involves a refactor, where the existingncard
function is redefined in terms of encard
. This shortens a lot of proofs, reduces reliance on the Finset
API, and allows for a potential future refactor where ncard
is removed if it is decided to be redundant.