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

The type ℕ∞ has decidable equality iff WLPO holds #4151

Closed
jkingdon opened this issue Aug 22, 2024 · 7 comments · Fixed by #4476
Closed

The type ℕ∞ has decidable equality iff WLPO holds #4151

jkingdon opened this issue Aug 22, 2024 · 7 comments · Fixed by #4476

Comments

@jkingdon
Copy link
Contributor

This is mentioned as background knowledge at https://mathstodon.xyz/@MartinEscardo/113001536506411322 but I don't see it proved in iset.mm, or an issue for it.

In iset.mm notation this would be

A. x e. NN+oo A. y e. NN+oo DECID x = y <-> _om e. WOmni
@jkingdon jkingdon added this to iset.mm Aug 22, 2024
@benjub
Copy link
Contributor

benjub commented Aug 22, 2024

/!\ Spoiler alert below the dots /!\

...

...

...

Forward implication:
Given a proposition $f \colon \omega \to 2$, define $g \in \mathbb{N}_\infty$ by $g(n) \coloneqq \min ( f(i) \mid i \leq n)$.
Then, $g$ is the point at infinity iff $\forall n \in \omega f(n)=1$.

Backward implication:
Decidability of equality with the point at infinity follows from the fact that $\mathbb{N}_\infty \subseteq \Omega$, and decidability of equality in $\mathbb{N}$ has been proved.

@jkingdon
Copy link
Contributor Author

jkingdon commented Dec 6, 2024

Backward implication:
Decidability of equality with the point at infinity follows from the fact that N ∞ ⊆ Ω

Not sure it is the same proof you have in mind, but there's a proof of this at #4469

, and decidability of equality in N has been proved.

OK.....

But how does this help us prove _om e. WOmni -> A. x e. NN+oo A. y e. NN+oo DECID x = y?

The statement that an element of NN+oo is either finite or infinite would be equivalent to .... uh LPO I guess it would be. Or perhaps you had something else in mind?

@digama0
Copy link
Member

digama0 commented Dec 6, 2024

Given two elements of NN+oo (that is, increasing functions om -> 2o), we can compare them pointwise and return 1 if they are equal and 0 if not. Then the resulting function will be identically 1 iff the elements are equal.

@jkingdon
Copy link
Contributor Author

jkingdon commented Dec 6, 2024

Given two elements of NN+oo (that is, increasing functions om -> 2o), we can compare them pointwise and return 1 if they are equal and 0 if not. Then the resulting function will be identically 1 iff the elements are equal.

I'll try to formalize this argument. Seems like it should work.

@benjub
Copy link
Contributor

benjub commented Dec 7, 2024

I don't remember what I had in mind, but there was probably a gap anyway. Mario's proof above is in any case the way to go.

@jkingdon
Copy link
Contributor Author

jkingdon commented Dec 8, 2024

Given two elements of NN+oo (that is, increasing functions om -> 2o), we can compare them pointwise and return 1 if they are equal and 0 if not. Then the resulting function will be identically 1 iff the elements are equal.

I'll try to formalize this argument. Seems like it should work.

Formalized at #4473

@jkingdon
Copy link
Contributor Author

I posted about this theorem at https://sfba.social/@soaproot/113659190325018274

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

Successfully merging a pull request may close this issue.

3 participants