Repository navigation
Conversation
Contributor
Author
|
Error message from #6017 w/ the current implementation: |
plt-amy
force-pushed
the
aliao/boundary-sensitive-elaboration
branch
2 times, most recently
from
August 27, 2022 03:46
434d395 to
2817b99
Compare
plt-amy
force-pushed
the
aliao/boundary-sensitive-elaboration
branch
from
August 31, 2022 19:54
2817b99 to
66d88d8
Compare
Contributor
Author
|
Y'know I was expecting CI to fail on the previous commit but I wasn't expecting it to fail so fast |
Contributor
Author
|
Putting this here as a note to myself: There's a recurring problem that I really need to minimize, but line 278 in |
plt-amy
force-pushed
the
aliao/boundary-sensitive-elaboration
branch
from
September 4, 2022 17:11
98a628f to
5001294
Compare
plt-amy
force-pushed
the
aliao/boundary-sensitive-elaboration
branch
from
September 27, 2022 16:06
5001294 to
9025104
Compare
Contributor
Author
|
@Mergifyio rebase |
✅ Branch has been successfully rebased |
plt-amy
force-pushed
the
aliao/boundary-sensitive-elaboration
branch
from
September 30, 2022 17:26
9025104 to
b2dc725
Compare
fixup! path boundary scoping fixup! interaction boundary printing * pre-compute faces in normaliseBoundary * use boundary machinery in IApplyConfluence * discard boundary when checking all term formers * mark LHS-induced boundary constraints as being hints only (they're handled by IApplyConfluence) * Pretty instances for BoundaryConstraint fixup! only compute dfs for iapplyconfluence fixup! block discardAndCheck on type
plt-amy
force-pushed
the
aliao/boundary-sensitive-elaboration
branch
from
November 10, 2022 14:37
e0e2adb to
6484432
Compare
Member
|
Closed in favor of |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Refactors the type checker to keep track of cubical constraints as a dedicated field in the
TCEnv. The constraints associated with any given metavariable are printed in the goal, as before, but their precise representation allows us to e.g. reify the boundary as aSubtype (implemented asagda2-goal-type-as-sub). Going under introduction forms refines the boundary with the corresponding elimination.Super WIP, no attention has been paid to making sure tests still pass, boundaries in goal types are printed with their internal representation rather than a user-facing representation, etc, etc.
TODO (off the top of my head):
Can I really axeIApplyConfluencelike that? Probably not. Let's only call it when there's ≥2 definitions in the mutual block: that way we can be sure that it still works for mutual higher recursion, but for the most common case, we get a nice boundary and no yellow.IApplyConfluencelives again (it just uses theBoundarymachinery to get better error messages)hcomp-and-friends' magical type-checking rules with boundary constraintsMosquito nuke: this fixes #6017, but I need to make the error term less absolutely massive. "Fixes" #5884 since the boundary at any interaction point can be reified to a
Sub-type. Supersedes #5999 and closes #5997.