Skip to content

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

Closed
eric-wieser wants to merge 4 commits intomasterfrom
eric-wieser-patch-1
Closed

[Merged by Bors] - chore: Add floor_ofNat and ceil_ofNat#13645
eric-wieser wants to merge 4 commits intomasterfrom
eric-wieser-patch-1

Conversation

@eric-wieser
Copy link
Copy Markdown
Member

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

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


Open in Gitpod

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jun 8, 2024

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
Copy link
Copy Markdown
Contributor

@YaelDillies YaelDillies left a comment

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
Copy link
Copy Markdown

github-actions bot commented Jun 9, 2024

🚀 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
Copy link
Copy Markdown

github-actions bot commented Jun 9, 2024

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

@sgouezel
Copy link
Copy Markdown
Contributor

sgouezel commented Jun 9, 2024

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
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jun 9, 2024

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