Repository navigation
Conversation
* Some docstrings still use Lean3 structure notation. * Some mistakenly use `(sup|inf)` instead of `s(Sup|Inf)` * `conditionallyCompleteLatticeOfs(Sup|Inf)` provides both `sup` & `inf` These were found while reviewing leanprover-community#35774.
PR summary de4f458186Import changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diffNo declarations were harmed in the making of this PR! 🐙 You can run this locally as follows## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/pr_summary/declarations_diff.sh long <optional_commit>The doc-module for No changes to technical debt.You can run this locally as
|
| This should only be used when it is both hard and unnecessary to provide `sup` & `inf` | ||
| explicitly. -/ |
There was a problem hiding this comment.
I think the original docstring meant sInf here. Adding sup and inf is okay here too. (Also a minor style point: we prefer to expand abbreviations.)
| This should only be used when it is both hard and unnecessary to provide `sup` & `inf` | |
| explicitly. -/ | |
| This should only be used when it is both hard and unnecessary to provide `sInf`, `sup` and `inf` | |
| explicitly. -/ |
There was a problem hiding this comment.
Thank you for your comment.
Your comment made me realize that I had misunderstood: This refers to conditionallyCompleteLatticeOfsSup, not conditionallyCompleteLatticeOfLatticeOfsSup.
If This refers to conditionallyCompleteLatticeOfLatticeOfsSup, then `sup` and `inf` are unnecessary since it is given by [H1 : Lattice α], so the correct docstrings would be:
| This should only be used when it is both hard and unnecessary to provide `sup` & `inf` | |
| explicitly. -/ | |
| This should only be used when it is both hard and unnecessary to provide `sInf` explicitly. -/ |
@Vierkantor Would you mind confirming this before I merge this PR?
| This should only be used when it is both hard and unnecessary to provide `sup` & `inf` | ||
| explicitly. -/ |
There was a problem hiding this comment.
| This should only be used when it is both hard and unnecessary to provide `sup` & `inf` | |
| explicitly. -/ | |
| This should only be used when it is both hard and unnecessary to provide `sSup`, `sup` and `inf` | |
| explicitly. -/ |
|
✌️ Komyyy can now approve this pull request. To approve and merge a pull request, simply reply with |
Also, some docstrings in `Order.ConditionallyCompleteLattice.Defs` are outdated (they still use Lean3 structure notation). #36671 is an orthogonal PR to fix this.
|
bors r+ |
#36671) * Some docstrings still use Lean3 structure notation. * Some mistakenly use `(sup|inf)` instead of `s(Sup|Inf)` * `conditionallyCompleteLatticeOfs(Sup|Inf)` provides both `sup` & `inf` These were found while reviewing #35774. Co-authored-by: Komyyy <[email protected]>
|
Pull request successfully merged into master. Build succeeded: |
leanprover-community#36671) * Some docstrings still use Lean3 structure notation. * Some mistakenly use `(sup|inf)` instead of `s(Sup|Inf)` * `conditionallyCompleteLatticeOfs(Sup|Inf)` provides both `sup` & `inf` These were found while reviewing leanprover-community#35774. Co-authored-by: Komyyy <[email protected]>
(sup|inf)instead ofs(Sup|Inf)conditionallyCompleteLatticeOfs(Sup|Inf)provides bothsup&infThese were found while reviewing #35774.