Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Based on https://arxiv.org/abs/1904.09193. I thought, this theorem would be nice to formalize and give it some exposure.
How about including this in the library? I don’t expect this library to actually use this theorem. Also, the proof doesn’t depend on any other parts of the ZornsLemma library. So it could as well be published on its own.
The only thing that uses things from ZornsLemma is an example, that every finite type is "omniscient".
Whether we include it or not, I need to clean up some bits (Print statements, comments).
I couldn’t avoid using extensionality axioms. The many
...'
lemmas are there because I tried to find out where extensionality is necessary.Also note, that
N_infty
can’t be replaced byoption nat
, without using more axioms.Namely, the definition of the epsilon function fails, or at least needs
some non-trivial change.