New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - feat: Cast of natural is measurable #3226
Conversation
@@ -275,6 +275,19 @@ theorem measurable_const' {f : β → α} (hf : ∀ x y, f x = f y) : Measurable | |||
apply hf | |||
#align measurable_const' measurable_const' | |||
|
|||
-- porting note: Attribute not yet supported | |||
-- @[measurability] | |||
theorem measurable_nat_cast [NatCast α] (n : ℕ) : Measurable (n : β → α) := |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be natCast
? I realize we're inconsistent within mathlib4, but perhaps you have a preference.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors d+
✌️ YaelDillies can now approve this pull request. To approve and merge a pull request, simply reply with |
I'm going with |
bors merge |
Match leanprover-community/mathlib#18676 Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Pull request successfully merged into master. Build succeeded:
|
Match leanprover-community/mathlib#18676 Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Match leanprover-community/mathlib#18676 Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Match leanprover-community/mathlib#18676