Skip to content

[Merged by Bors] - feat(Order): add {WithTop,WithBot}.subtypeOrderIso - #28192

Closed
wwylele wants to merge 3 commits into
leanprover-community:masterfrom
wwylele:wwylele-hahn-withtopiso
Closed

wwylele wants to merge 3 commits into
leanprover-community:masterfrom
wwylele:wwylele-hahn-withtopiso

Conversation

@wwylele

@wwylele wwylele commented Aug 10, 2025 •

Copy link
Copy Markdown
Collaborator

Separated from #25970


Open in Gitpod

@github-actions

github-actions Bot commented Aug 10, 2025 •

Copy link
Copy Markdown

PR summary 8623f65b75

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

++ subtypeOrderIso
++ subtypeOrderIso_apply_coe
++ subtypeOrderIso_symm_apply

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh 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).

@github-actions github-actions Bot added the t-order Order theory label Aug 10, 2025
@wwylele wwylele assigned YaelDillies and unassigned YaelDillies Aug 10, 2025
@wwylele
wwylele requested a review from YaelDillies August 10, 2025 19:28
Comment thread Mathlib/Order/Hom/WithTopBot.lean Outdated
Comment on lines +88 to +90
theorem subtypeOrderIso_symm_apply [DecidableEq α] [PartialOrder α] [OrderTop α]
{a : α} (h : a ≠ ⊤) :
(subtypeOrderIso).symm a = (⟨a, h⟩ : {a : α // a ≠ ⊤}) := by

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

you might want to also state symm_apply_fst

@wwylele wwylele Aug 10, 2025 •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I don't think symm_apply_fst works. There is a cast from {a : α // a ≠ ⊤} to WithTop {a : α // a ≠ ⊤} on the right side

Comment thread Mathlib/Order/Hom/WithTopBot.lean Resolved
Comment thread Mathlib/Order/Hom/WithTopBot.lean Resolved
Comment thread Mathlib/Order/Hom/WithTopBot.lean Resolved

@YaelDillies YaelDillies 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.

Thanks!

maintainer delegate

Comment thread Mathlib/Order/Hom/WithTopBot.lean Resolved
@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by YaelDillies.

@ghost ghost added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Aug 11, 2025
@bryangingechen

Copy link
Copy Markdown
Contributor

Thanks!
bors r+

@ghost ghost added ready-to-merge This PR has been sent to bors. and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels Aug 14, 2025
mathlib-bors Bot pushed a commit that referenced this pull request Aug 14, 2025
@mathlib-bors

mathlib-bors Bot commented Aug 14, 2025

Copy link
Copy Markdown
Contributor

This PR was included in a batch that successfully built, but then failed to merge into master (it was a non-fast-forward update). It will be automatically retried.

mathlib-bors Bot pushed a commit that referenced this pull request Aug 14, 2025
@mathlib-bors

mathlib-bors Bot commented Aug 14, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(Order): add {WithTop,WithBot}.subtypeOrderIso [Merged by Bors] - feat(Order): add {WithTop,WithBot}.subtypeOrderIso Aug 14, 2025
@mathlib-bors mathlib-bors Bot closed this Aug 14, 2025
Paul-Lez pushed a commit to Paul-Lez/mathlib4 that referenced this pull request Aug 23, 2025
pechersky pushed a commit to pechersky/mathlib4 that referenced this pull request Aug 25, 2025
@wwylele
wwylele deleted the wwylele-hahn-withtopiso branch September 2, 2025 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-order Order theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants