-
Notifications
You must be signed in to change notification settings - Fork 0
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
Choices translations #16
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
1573d3b
One direction of translation preservation is enough
ibbem b80f570
Translate between all different choice language variants
ibbem 8b9044c
Split the choices translations into multiple files
ibbem e591c9d
Shorten the choice translation names
ibbem b759ebe
Replace ArbitraryChoice by the preexisting CCC data type
ibbem 785e4f4
Replace NAryChoice by an integrated Choice-Fix data type
ibbem 0bfe070
Translate FCC to BCC
ibbem fa2a6b3
Add missing conf and fnoc aliases
ibbem 32061d6
Actually translate CCC to BCC
ibbem a811988
Generalize the choice translations to arbitrary variants
ibbem ba1456e
Translate BCC to FCC
ibbem 5f0872b
Make the arity parameter of FCC-to-CCC explicit
ibbem 5b09474
Translate BCC to CCC
ibbem 6dc7eef
Generalize the size constraint of the choice translations
ibbem 50c27f9
Factor out `IndexedDimension`
ibbem 1afabc5
Generalize BCC to FCC
ibbem 38bfe62
Generalize CCC to FCC
ibbem b720d26
Instantiate LanguageCompiler for choice translations
ibbem 4ee1074
Conclude expressiveness
ibbem a65dfc1
Let configuration compilers depend on the expression
ibbem 072954c
Rename _⊕ˡ_ to _⊕_
ibbem d020c6f
Use LanguageCompiler composition where possible
ibbem c5ac8c3
Cleanup choice translation imports
ibbem abdd27e
Simplify the BCC ≽ OC expressiveness proof
ibbem 0eb7a4e
Factor out configuration dimension maps
ibbem d2afb70
Rename Choices to 2Choice, NChoice and Choice
ibbem 796ad84
Improve formatting of the choice translations
ibbem 24c1e21
Generalize `ListChoiceLengthLimit-⊔`
ibbem cc6a073
Reuse `maximumIsLimit` in `maximum⁺IsLimit`
ibbem 92c50be
Document the choice translations
ibbem 5325579
Create separate conf and fnoc lemma modules for NCC-to-NCC
ibbem b605cdb
Rename `*ꟲ-map-dim` to `*-map-config`
ibbem d145885
Use qualified names instead suffixes for ⟦_⟧
ibbem 5f883a5
Calculate the exact maximum number of alternatives
ibbem 45debd9
Rename `maxChoiceLength` to `⌈_⌉`
ibbem 5a2f85e
Rename `ChoiceLenghtLimit` to `NumberOfAlternatives≤`
ibbem 791ba80
Use `Framework.Definitions` in the choice translations
ibbem c755f84
Make CCC-to-NCC a little bit more readable
ibbem File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. The previous definition allowed
zero
which was in fact illegal. Only very indirectly via the existence of a configuration, the caseSyntax zero
was forbidden. Took me quite a while to find that. Good that you fixed it here and made it explicit.... although an unary choice would have been fine too. ;)