Repository navigation
Fix #5816: skip generating cubical clauses for Prop stuff - #5897
andreasabel wants to merge 2 commits into
Conversation
|
The models of CTT support a Prop universe. What one should do for indexed families and/or HITs in Prop would require more thought though. It does not seem like you should be able to support the same eliminators in general. |
|
Thanks for chiming in, @Saizan. |
| return $ abstract (mapCohesion updCoh <$> dtel) dt | ||
| dsort <- addContext delta1 $ reduce (getSort dtype) | ||
| dsort <- fromMaybe __IMPOSSIBLE__ . isSort . unEl <$> do addContext dtel $ reduce dt | ||
| return $ (dsort,) $ abstract (mapCohesion updCoh <$> dtel) dt |
There was a problem hiding this comment.
@Saizan: Do you agree to this fix, that dsort should be the target universe of the data type?
One option is perhaps to disallow the combination of |
|
@Mergifyio rebase |
✅ Branch has been successfully rebased |
|
The fix looks good; In the future we'd have to revisit generation of hcomp clauses into types living in |
Should that flag be compatible with |
|
It doesn't let you prove anything new, so it's not not |
|
If the only problem is that Agda might crash, then I think it is fine to make the flag compatible with |
|
In the past we have often made experimental flags not compatible with --safe, even though in principle they do not add any inconsistencies (see for example |
|
Actually, do we still need this after #6153? I don't think so |
|
Since the problems reported in #5816 are fixed (and a testcase has been added), I don't see a reason to keep this PR. |
Fix #5816: skip generating cubical clauses for Prop stuff
TODO:
--cubicaland--proptogether?