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 into
masterfrom
markus/sub-lt-iff-lt-add
Closed

TwoFX wants to merge 1 commit into
masterfrom
markus/sub-lt-iff-lt-add

Conversation

@TwoFX

@TwoFX TwoFX commented Apr 15, 2025 •

Copy link
Copy Markdown
Member

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

b-mehta commented Apr 15, 2025

Copy link
Copy Markdown
Contributor

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

@b-mehta

b-mehta commented Apr 15, 2025

Copy link
Copy Markdown
Contributor

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 <[email protected]>
@mathlib-bors

mathlib-bors Bot commented Apr 15, 2025

Copy link
Copy Markdown
Contributor

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 <[email protected]>
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