Skip to content

chore: remove set_option in Order.Nucleus - #44363

Open
Parcly-Taxel wants to merge 2 commits into
leanprover-community:masterfrom
Parcly-Taxel:boolalg-backward
Open

Parcly-Taxel wants to merge 2 commits into
leanprover-community:masterfrom
Parcly-Taxel:boolalg-backward

Conversation

@Parcly-Taxel

@Parcly-Taxel Parcly-Taxel commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

No description provided.

@Parcly-Taxel Parcly-Taxel added t-order Order theory tech debt Fixes cross-cutting technical debt, see the "technical debt counters" stream on zulip labels Sep 30, 2026
@github-actions

github-actions Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

PR summary c0fb6e806f

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff (regex)

+ instance : CompleteLattice (range n) := n.giRestrict.liftCompleteLattice
- giAux
- instance : CompleteLattice (range n) := n.giAux.liftCompleteLattice

You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci

## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>

## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>

The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.

Declarations diff (Lean)

✅ Lean-aware diff — post-build, computed from the Lean environment (commit c0fb6e8).

  • +0 new declarations
  • −0 removed declarations

No declaration differences.


Decrease in strong tech debt: (relative, absolute) = (2.28, 0.02)
Current number Change Type (strong)
456 -3 backward.privateInPublic
175 -2 backward.privateInPublic.warn
No changes to weak technical debt.

Current commit c0fb6e806f
Reference commit b33520dd70

This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.py pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@Parcly-Taxel Parcly-Taxel changed the title chore: remove set_option in Order.BooleanAlgebra.Basic chore(Order): remove privateInPublic Sep 30, 2026
@Parcly-Taxel Parcly-Taxel changed the title chore(Order): remove privateInPublic chore(Order): remove some set_options Sep 30, 2026
@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Oct 14, 2026
@mathlib-merge-conflicts

Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Oct 14, 2026
@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Oct 16, 2026
@mathlib-merge-conflicts

Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Oct 16, 2026
Comment thread Mathlib/Order/LiminfLimsup.lean Resolved
Comment thread Mathlib/Order/Closure.lean Resolved
Comment thread Mathlib/Order/Sum/Lattice.lean Resolved
Comment thread Mathlib/Order/Sum/Lattice.lean Resolved
@grunweg grunweg added the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Oct 26, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Oct 26, 2026
This PR was automatically created from PR #44363 by @Parcly-Taxel via a [review comment](#44363 (comment)) by @grunweg.

Co-authored-by: Parcly-Taxel <[email protected]>
mathlib-bors Bot pushed a commit that referenced this pull request Oct 28, 2026
 (#45299)

This PR was automatically created from PR #44363 by @Parcly-Taxel via a [review comment](#44363 (comment)) by @grunweg.

Co-authored-by: Parcly-Taxel <[email protected]>

@grunweg grunweg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find three out of the remaining four files' changes not a sufficient improvement: mathlib is really really short on review capacity, and I'd much rather spend time on other PRs (including yours!).
I don't like closing this PR fully, as one file's changes look useful to me. Would you like splitting those out/reverting the other three files?
awaiting-author

Comment thread Mathlib/Order/Nucleus.lean Resolved
@Parcly-Taxel Parcly-Taxel changed the title chore(Order): remove some set_options chore: remove set_option in Order.Nucleus Oct 28, 2026
@Parcly-Taxel Parcly-Taxel removed the awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. label Oct 28, 2026
@Parcly-Taxel
Parcly-Taxel requested a review from grunweg October 28, 2026 10:41
@grunweg

grunweg commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Thanks for making the split. I'm not enough of an expert here to give actual approval, though. Sorry.

@Parcly-Taxel

This comment was marked as abuse.

@mathlib-merge-conflicts mathlib-merge-conflicts Bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 26, 2026
@mathlib-merge-conflicts

Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Nov 26, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-order Order theory tech debt Fixes cross-cutting technical debt, see the "technical debt counters" stream on zulip

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants