Split order.v#1580
Conversation
39efbf5 to
20cd9f1
Compare
03938d9 to
2cc96da
Compare
This comment was marked as outdated.
This comment was marked as outdated.
|
Maybe the instances can go in three files? (the last one requiring the tow other independent ones) |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
8ce164a to
d0ee04c
Compare
|
I added a long TODO list to the PR description above. It would be great if I could discharge some of them, since I won't be able to address all of them. Here I elaborate on them: TODOs for this PRName conflicts of
|
cafd341 to
0233f5b
Compare
f735b88 to
dfe2e9f
Compare
|
@affeldt-aist Do you mind reviewing the header documentation and the changelog entries? |
|
It is difficult for me to act on this before Saturday. I will try to do that tomorrow evening JST. |
|
No hurry since I aim to merge this shortly after the release, not before. |
|
If a part of the reviews arrives before the 27th, I should be able to make some progress during the MathComp sharing day. |
0195e5b to
120d40e
Compare
@affeldt-aist Any news? |
No, I'm sorry, I can't find time. :-( |
|
@hoheinzollern @t6s By any chance, are you able to review the documentation part of this PR? |
sure. I'll see it in a few days |
t6s
left a comment
There was a problem hiding this comment.
Looked through the changelog and header docs, and they look mostly good.
It seems 04-removed/1580-split-order.md needs to be updated. Please check.
I have also suggested two minor corrections.
|
I am satisfied by the current state of the documentation! |
|
Since this is a huge PR and it's hard to check that everything is preserved, I built a mapping showing where HB instances, lemmas and notations went: |
|
Comments about the mapping:
|
If you are talking about these, they are in an Lines 4179 to 4186 in 1054971 The
They are internal lemmas for building lattice instances on Lines 5612 to 5616 in 1054971
Idem. |
Motivation for this change
Since
order.vis 8k lines long and the largest file in MathComp, this PR splits it into smaller pieces. This is the result:$ wc order/*.v 1 3 22 order/all_order.v 1659 10520 65624 order/complemented_lattice_instances.v 637 3769 23625 order/complemented_lattice.v 820 6133 34117 order/lattice_instances.v 2148 14386 85315 order/lattice.v 125 643 4642 order/order_instances.v 177 1529 12929 order/order.v 842 5291 29276 order/porder.v 1911 13834 75124 order/preorder.v 2047 13860 80854 order/total_order_instances.v 1228 8636 45177 order/total_order.v 11595 78604 456705 totalThis PR also reduces the compilation time of MC in several scenarios: #1580 (comment)
Closes #1508
Minimal TODO list
doc/changelog/make-entry.shSee this Checklist for details.
TODO list
They are more or less sorted by importance/urgency. Less important ones can be done in separate PRs. See #1580 (comment) for details.
ltEprodandlt_pairincomplemented_lattice_instances.vmake -j 1,make -j 8, per-package build, etc.)order_instances.vtototal_order_instances.v(this requires a non-trivial adaptation of some proofs)sub_typeinterval.vandorderedzmod.vtoorder/lattice.vwith the join of semilattice structures andsubTypelattice.vinto two:semilattice.vandlattice.vlattice.vwith modular lattices (see Modular lattice of linear subspaces #613 and [WIP] Make linear subspaces canonically atbLatticeType#653)Overlays
Dependencies
\min^dand\max^dnotations fromorder.v#1590[POrder of T by <:]and[Order of T by <:]#1584Automatic note to reviewers
Read this Checklist.