Experiment on contra-variant subtyping#301
Experiment on contra-variant subtyping#301jiangsy wants to merge 46 commits intoext/contra-subtypingfrom
Conversation
|
https://github.com/Beluga-lang/McTT/tree/pr-some-contra This branch may also give you some idea |
|
fix the cr by commenting entries in _CoqProject, and then it can be merged. |
I think the Core part itself is good with failed files all commented out. The error is about extraction. |
Thanks for the reminder. I have already ported most development in that branch. |
|
Could you explain why do we need that weak cong? |
|
Also some relevant discussion: #129 |
it's still an experiment. basically for "realizaibility" of subtyping, I think we want |
a short answer is that with eta expansion, the theorem in your discussion simply won't hold with a strict equality, though I speculate that it might if we ignore types that are introduced via eta, e.g. input types of Pi, and second types of Sigma. |
2ae3fef to
d2ff68b
Compare
|
That sounds more like we need to remove the annotation on lambda after introducing type annotations on an intermediate representation |
43d3936 to
861e798
Compare
861e798 to
67bb64c
Compare
No description provided.