Inductive cumulativity supports sort cumulativity (Prop <= Type) - #21773
Inductive cumulativity supports sort cumulativity (Prop <= Type)#21773SkySkimmer wants to merge 1 commit into
Conversation
c3958c9 to
f9e0b03
Compare
f9e0b03 to
bc284d6
Compare
bc284d6 to
e86af7f
Compare
e86af7f to
be5f608
Compare
6273969 to
6577fed
Compare
ppedrot
left a comment
There was a problem hiding this comment.
Sounds fine now (famous last words).
|
I'm leaving a bit of time before merging for others to chime in and double check that we did not miss a case both in the code and in the theory. |
6577fed to
8860f32
Compare
yannl35133
left a comment
There was a problem hiding this comment.
This feature needs documentation (universe cumulative inductives also lack a formal specification in the reference manual).
| let mk nsec variance = | ||
| (Array.sub variance nsec (Array.length variance - nsec)), | ||
| (Array.sub variance 0 nsec) | ||
| in |
There was a problem hiding this comment.
Isn't that Array.chop flipped?
| let quals = Array.map2 (fun a b -> a,b) quals qvariances in | ||
| let univs = Array.map2 (fun a b -> a,b) univs uvariances in |
There was a problem hiding this comment.
| let quals = Array.map2 (fun a b -> a,b) quals qvariances in | |
| let univs = Array.map2 (fun a b -> a,b) univs uvariances in | |
| let quals = Array.combine quals qvariances in | |
| let univs = Array.combine univs uvariances in |
8860f32 to
c89fff8
Compare
|
The "needs: rebase" label was set more than 30 days ago. If the PR is not rebased in 30 days, it will be automatically closed. |
|
The inconsistency scared me enough that I'm not sure if we want to continue this, especially considering we intend to remove Prop <= Type eventually. |
|
This PR was not rebased after 30 days despite the warning, it is now closed. |
Overlays: