Zulip Chat Archive

Stream: mathlib4

Topic: ENat.card, Nat.card


Yury G. Kudryashov (Jan 16 2024 at 22:36):

Hi, I finally started working on adding ENat.card and redefining Nat.card the way I want to see it in Mathlib.

Yury G. Kudryashov (Jan 16 2024 at 22:36):

Tracking issue is #9794, comments are welcome.

Yury G. Kudryashov (Jan 16 2024 at 22:36):

The first PR is #9792. It lacks documentation, otherwise should be is ready for review.

Yury G. Kudryashov (Jan 16 2024 at 22:38):

As for ENat.card and Nat.card, I'm going to port some code from my old mathlib3 branch

Floris van Doorn (Jan 18 2024 at 13:11):

This looks good to me. Is "Define ENat.card without using Cardinals" just to avoid the dependency?

Yury G. Kudryashov (Jan 18 2024 at 16:48):

Yes.

Yury G. Kudryashov (Jan 18 2024 at 16:49):

Then we can redefine Cardinal.toENat as Quotient.lift ENat.card _


Last updated: May 02 2025 at 03:31 UTC