-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upper/lower triangular matrix rings #1981
upper/lower triangular matrix rings #1981
Conversation
15c44fd
to
6fe8cb2
Compare
I see that you marked this a draft again, but I had noticed a few simplifications to the proofs, so I have pushed them. There is still a build problem having to do with the other PRs this depends on. |
@jdchristensen I re-drafted it since I forgot about the result mentioning diagonal matrices coming later. You can still continue to review it if you like, but it won't fully build just yet. |
Signed-off-by: Ali Caglayan <[email protected]> <!-- ps-id: 3c131867-4dc2-4d16-8069-0e1c2904166c -->
79ef6b0
to
90ae09e
Compare
I repushed my changes since they got lost in the force push you did. |
@jdchristensen I'm so sorry, I totally forgot that you pushed changes when rebasing. I won't force push any longer after undrafting. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once the two sets of slow lines are improved.
Signed-off-by: Ali Caglayan <[email protected]>
@jdchristensen This commit speeds up those lines a bit, I could probably speed it up further if I split it up like I did for the diagonal. WDYT? |
I think they are still too slow, so should be split up. ... And I checked In general, all of this should be really fast, so it would be good to check for slow lines and fix them, beginning with a fix to the universe variables. |
❗ I will see about fixing this. |
A quick look shows that the problems occur already in the List/Theory.v file, e.g. with Maybe the thing to do is to make a separate PR with cleanups to the universe variables, and then rebase this one on that one to see if the speed issue goes away. |
@jdchristensen I've been tweaking it from where you said since yesterday but the work grows a lot. I need to finish and split up the work. You're correct that seq and seq' should land in Set. The problem is way bigger than I expected. |
@Alizter I'm curious how things look here after rebasing, now that some universe variables are fixed in other places. Can you rebase? Or I can try hitting the "Update branch" button. |
I also opened this: |
Already the fixes to lists have made a huge improvement here, reducing the number of universe variables from thousands to dozens (e.g. 33 for |
After the universe modifications to vector and matrix, we can revisit the speed in this proof. |
I want to do another cleanup of universe levels but this time in Matrix. The fact that matrix rings are taking 30 universes seems to be the crux of the issue. |
…ringular_matrix_rings
Signed-off-by: Ali Caglayan <[email protected]>
@jdchristensen I've annotated the file so that the subrings for diagonal and upper/lower triangular matrices have the correct number of universes. This can probably be improved so that annotations can be removed but I don't see how to avoid |
Yes, it's odd that sometimes So this LGTM! |
We define upper and lower triangular matrices, show that they satisfy various closure properties and define the subring of upper and lower triangular matrices.
Depends on: