Skip to content

[Merged by Bors] - chore(Order/FixedPoints): remove adaptation notes for OrderHom regarding lean4 issue #1910#19380

Closed
edegeltje wants to merge 1 commit intomasterfrom
blizzard_inc/issue_lean1910_part_2
Closed

[Merged by Bors] - chore(Order/FixedPoints): remove adaptation notes for OrderHom regarding lean4 issue #1910#19380
edegeltje wants to merge 1 commit intomasterfrom
blizzard_inc/issue_lean1910_part_2

Conversation

@edegeltje
Copy link
Copy Markdown
Collaborator

@edegeltje edegeltje commented Nov 22, 2024

this PR removes 3 porting notes regarding lean4 issue leanprover/lean4#1910, and makes adaptations to mathlib to make use of the newly working notation. Concretely, that means that OrderHom.lfp f now is written f.lfp, and similar for OrderHom.dual and OrderHom.gfp.

there might still be some dual x application left inside code with open OrderHom, but those are hard to filter for with grep, as there are many declarations named dual in different namespaces.


Open in Gitpod

also make use of the newly available notation for the relevant function, where grep can find it
@github-actions
Copy link
Copy Markdown

PR summary af1e5505dc

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

++-- dual_id

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.


Decrease in tech debt: (relative, absolute) = (3.00, 0.00)
Current number Change Type
5082 -3 porting notes

Current commit af1e5505dc
Reference commit be959a9ade

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).

@alreadydone alreadydone changed the title chore(Order/FixedPoints): remove adaptation notes for OrderHom regarding lean4 issue #1910 chore(Order/FixedPoints): remove adaptation notes for OrderHom regarding leanprover/lean4#1910 Nov 22, 2024
@alreadydone alreadydone changed the title chore(Order/FixedPoints): remove adaptation notes for OrderHom regarding leanprover/lean4#1910 chore(Order/FixedPoints): remove adaptation notes for OrderHom regarding lean4 issue #1910 Nov 22, 2024
Copy link
Copy Markdown
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

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

Thanks 🎉

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Nov 23, 2024
mathlib-bors bot pushed a commit that referenced this pull request Nov 23, 2024
…ing lean4 issue #1910 (#19380)

this PR removes 3 porting notes regarding lean4 issue leanprover/lean4#1910, and makes adaptations to mathlib to make use of the newly working notation. Concretely, that means that `OrderHom.lfp f` now is written `f.lfp`, and similar for `OrderHom.dual` and `OrderHom.gfp`.

there might still be some `dual x` application left inside code with `open OrderHom`, but those are hard to filter for with grep, as there are many declarations named `dual` in different namespaces.
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Nov 23, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore(Order/FixedPoints): remove adaptation notes for OrderHom regarding lean4 issue #1910 [Merged by Bors] - chore(Order/FixedPoints): remove adaptation notes for OrderHom regarding lean4 issue #1910 Nov 23, 2024
@mathlib-bors mathlib-bors bot closed this Nov 23, 2024
@mathlib-bors mathlib-bors bot deleted the blizzard_inc/issue_lean1910_part_2 branch November 23, 2024 06:30
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants