Skip to content

[Merged by Bors] - chore: exchange Nat.sub_lt_iff_lt_add and Nat.sub_lt_iff_lt_add'#24080

Closed
TwoFX wants to merge 1 commit intomasterfrom
markus/sub-lt-iff-lt-add
Closed

[Merged by Bors] - chore: exchange Nat.sub_lt_iff_lt_add and Nat.sub_lt_iff_lt_add'#24080
TwoFX wants to merge 1 commit intomasterfrom
markus/sub-lt-iff-lt-add

Conversation

@TwoFX
Copy link
Copy Markdown
Member

@TwoFX TwoFX commented Apr 15, 2025

This PR swaps Nat.sub_lt_iff_lt_add and Nat.sub_lt_iff_lt_add' to align them with the top-level sub_lt_iff_lt_add and sub_lt_iff_lt_add' lemmas.

leanprover/lean4#7971 will upstream these lemmas with this swapped meaning.


Open in Gitpod

@github-actions
Copy link
Copy Markdown

PR summary 7b3db34496

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

No declarations were harmed in the making of this PR! 🐙

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

@b-mehta
Copy link
Copy Markdown
Contributor

b-mehta commented Apr 15, 2025

Looks great, thank you! (I have edited the PR description for a typo)

@b-mehta
Copy link
Copy Markdown
Contributor

b-mehta commented Apr 15, 2025

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Apr 15, 2025
mathlib-bors bot pushed a commit that referenced this pull request Apr 15, 2025
…24080)

This PR swaps `Nat.sub_lt_iff_lt_add` and `Nat.sub_lt_iff_lt_add'` to align them with the top-level `sub_lt_iff_lt_add` and `sub_lt_iff_lt_add'` lemmas.

leanprover/lean4#7971 will upstream these lemmas with this swapped meaning.



Co-authored-by: Markus Himmel <markus@lean-fro.org>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Apr 15, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: exchange Nat.sub_lt_iff_lt_add and Nat.sub_lt_iff_lt_add' [Merged by Bors] - chore: exchange Nat.sub_lt_iff_lt_add and Nat.sub_lt_iff_lt_add' Apr 15, 2025
@mathlib-bors mathlib-bors bot closed this Apr 15, 2025
@mathlib-bors mathlib-bors bot deleted the markus/sub-lt-iff-lt-add branch April 15, 2025 14:24
tannerduve pushed a commit that referenced this pull request May 13, 2025
…24080)

This PR swaps `Nat.sub_lt_iff_lt_add` and `Nat.sub_lt_iff_lt_add'` to align them with the top-level `sub_lt_iff_lt_add` and `sub_lt_iff_lt_add'` lemmas.

leanprover/lean4#7971 will upstream these lemmas with this swapped meaning.



Co-authored-by: Markus Himmel <markus@lean-fro.org>
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