Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cantor Normal Form in set.mm #4171

Open
sctfn opened this issue Aug 29, 2024 · 6 comments
Open

Cantor Normal Form in set.mm #4171

sctfn opened this issue Aug 29, 2024 · 6 comments

Comments

@sctfn
Copy link
Contributor

sctfn commented Aug 29, 2024

So, for further work on surreals, I need to define natural ordinal addition (see https://en.m.wikipedia.org/wiki/Ordinal_arithmetic#Natural_operations) Using my frecs, I can define this as

A+B = |^| { x e. On | ( A. b e. B ( A + b ) e. x /\ A. a e. A ( a + B ) e. x ) }

However, the more usual definition is in terms of the Cantor Normal Form of A and B (see https://en.m.wikipedia.org/wiki/Ordinal_arithmetic#Cantor_normal_form). There is a lot of machinery needed to state, let alone prove, CNF in Metamath. This issue is for either me or someone else to take up developing that machinery.

In particular, we need an analog of sum for _om. Since ordinal addition is non-commutative we need to take some care in defining this.

@icecream17
Copy link
Contributor

is df-oadd for ordinal arithmetic not suitable?

and (df-sum but using df-rdg or df-secom, or df-gsum) might be useful in the summation of several ordinals

@sctfn
Copy link
Contributor Author

sctfn commented Aug 29, 2024

The problem with using +o is that I need an addition that is strictly increasing in both arguments, not just the second.

I can't use gsum for CNF because it adds on the right, whereas CNF needs addition on the left to avoid absorption. Anyway, I'd like to avoid using the complex number naturals here if possible - one of the things this is leading to is an alternative construction of the reals.

Yeah, a sum using rdg is my general thought, there's just a lot of work between here and there.

@icecream17
Copy link
Contributor

icecream17 commented Aug 29, 2024

without fully looking into it, I would think that for natural (finite) ordinals specifically, one could use commutativity of addition to show addition is strictly increasing in both arguments

@digama0
Copy link
Member

digama0 commented Aug 29, 2024

I added CNF to metamath a long time ago because it was needed for the proof of GCH implies choice. See ~df-cnf and related theorems.

@sctfn
Copy link
Contributor Author

sctfn commented Aug 30, 2024

Cool! I missed that. I'll give it a look.

@jkingdon
Copy link
Contributor

I'm assuming we should close this issue in light of df-cnf existing. I suppose I'll do that if no one objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants