Skip to content

[Merged by Bors] - chore: Add floor_ofNat and ceil_ofNat - #13645

Closed
eric-wieser wants to merge 4 commits into
masterfrom
eric-wieser-patch-1
Closed

eric-wieser wants to merge 4 commits into
masterfrom
eric-wieser-patch-1

Conversation

@eric-wieser

@eric-wieser eric-wieser commented Jun 8, 2024 •

Copy link
Copy Markdown
Member

Also renames Nat.floor_coe to floor_natCast, leaving behind a deprecation.


Open in Gitpod

@github-actions

github-actions Bot commented Jun 8, 2024 •

Copy link
Copy Markdown

PR summary

Import changes

No significant changes to the import graph


Declarations diff

+ ceil_ofNat
+ floor_natCast
+ floor_ofNat
- floor_coe

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

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

@eric-wieser eric-wieser added easy < 20s of review time. See the lifecycle page for guidelines. t-order Order theory awaiting-review labels Jun 8, 2024
@eric-wieser eric-wieser changed the title chore: Add floor_ofNat chore: Add floor_ofNat and ceil_ofNat Jun 8, 2024

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

maintainer merge

#align nat.floor_coe Nat.floor_coe
#align nat.floor_coe Nat.floor_natCast

@[deprecated (since := "2024-06-08")] alias floor_coe := floor_natCast

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.

Have you heard about the new deprecated alias code snippet btw?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I used it here :)

@github-actions

github-actions Bot commented Jun 9, 2024

Copy link
Copy Markdown

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

@github-actions github-actions Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jun 9, 2024
@github-actions

github-actions Bot commented Jun 9, 2024

Copy link
Copy Markdown

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

@sgouezel

sgouezel commented Jun 9, 2024

Copy link
Copy Markdown
Contributor

bors r+

@github-actions github-actions Bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Jun 9, 2024
mathlib-bors Bot pushed a commit that referenced this pull request Jun 9, 2024
Also renames `Nat.floor_coe` to `floor_natCast`, leaving behind a deprecation.
@mathlib-bors

mathlib-bors Bot commented Jun 9, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore: Add floor_ofNat and ceil_ofNat [Merged by Bors] - chore: Add floor_ofNat and ceil_ofNat Jun 9, 2024
@mathlib-bors mathlib-bors Bot closed this Jun 9, 2024
@mathlib-bors
mathlib-bors Bot deleted the eric-wieser-patch-1 branch June 9, 2024 09:02
AntoineChambert-Loir pushed a commit that referenced this pull request Jun 20, 2024
Also renames `Nat.floor_coe` to `floor_natCast`, leaving behind a deprecation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

easy < 20s of review time. See the lifecycle page for guidelines. maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. 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.

3 participants