mathlib4 icon indicating copy to clipboard operation
mathlib4 copied to clipboard

feat(Algebra/Order/Field/Basic): add Nat cast lemmas

Open mariainesdff opened this issue 1 year ago • 2 comments

These lemmas have one-line proofs, but I use them enough times in #15373 that I think it makes sense to introduce them.


Open in Gitpod

mariainesdff avatar Oct 24 '24 13:10 mariainesdff

PR summary a28a96dda8

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ one_div_cast_ne_zero + one_div_cast_nonneg + one_div_cast_pos

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.

github-actions[bot] avatar Oct 24 '24 13:10 github-actions[bot]

:v: mariainesdff can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

mathlib-bors[bot] avatar Oct 24 '24 18:10 mathlib-bors[bot]

bors r+

mariainesdff avatar Oct 28 '24 10:10 mariainesdff

Pull request successfully merged into master.

Build succeeded:

mathlib-bors[bot] avatar Oct 28 '24 10:10 mathlib-bors[bot]