Skip to content

re #6047: Just enough injectivity with --cubical - #6219

Merged
plt-amy merged 3 commits into
masterfrom
aliao/no-invert-unstable
Oct 24, 2022
Merged

plt-amy merged 3 commits into
masterfrom
aliao/no-invert-unstable

Conversation

@plt-amy

@plt-amy plt-amy commented Oct 23, 2022

Copy link
Copy Markdown
Contributor

I think there once was an injective function called Goldilocks?

Fixes #6047, and doesn't break #5576 and #5579. Rather than banning any function which matches on a "freely Kan type" (that is: higher inductive types, and, assuming --cubical, indexed inductive types) from being injective, it suffices not to consider f (hcomp φ u u0) and f (transpX ...) to be "constructor-headed", and skip inverting these applications.

@plt-amy plt-amy added type: bug Issues and pull requests about actual bugs injectivity Injectivity analysis for functions, application of injectivity during conversion cubical Cubical Agda paraphernalia: Paths, Glue, partial elements, hcomp, transp labels Oct 23, 2022
@plt-amy

plt-amy commented Oct 24, 2022

Copy link
Copy Markdown
Contributor Author

@Mergifyio rebase

@mergify

mergify Bot commented Oct 24, 2022

Copy link
Copy Markdown

rebase

✅ Branch has been successfully rebased

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cubical Cubical Agda paraphernalia: Paths, Glue, partial elements, hcomp, transp documented-in-changelog Issues already documented in the CHANGELOG injectivity Injectivity analysis for functions, application of injectivity during conversion type: bug Issues and pull requests about actual bugs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not enough injectivity with --cubical

2 participants