Repository navigation
[Merged by Bors] - chore: use map_continuous or fun_prop instead of .2 which is continuous_toFun - #45600
[Merged by Bors] - chore: use map_continuous or fun_prop instead of .2 which is continuous_toFun#45600j-loreaux wants to merge 4 commits into
map_continuous or fun_prop instead of .2 which is continuous_toFun#45600Conversation
PR summary 763c08b362Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
| instance TopCat.hasForgetToMeasCat : HasForget₂ TopCat.{u} MeasCat.{u} where | ||
| forget₂.obj X := @MeasCat.of _ (borel X) | ||
| forget₂.map f := ⟨f.1, f.hom.2.borel_measurable⟩ | ||
| forget₂.map f := ⟨f.1, Continuous.borel_measurable (by fun_prop)⟩ |
There was a problem hiding this comment.
Follow-up question: should Continuous.borel_measurable be tagged fun_prop?
There was a problem hiding this comment.
Yes, I had this thought, but decided that it should be a separate PR to keep the diff here easy to review.
I'm slightly worried that it would cause slowdowns due to defeq checks in the measurable space instances, but perhaps that concern is unfounded. Nevertheless, it's why I didn't do it here.
There was a problem hiding this comment.
Indeed, that's why I said follow-up!
Co-authored-by: Snir Broshi <[email protected]>
Co-authored-by: Snir Broshi <[email protected]>
|
!bench |
|
Thanks! This looks reasonable to me. Feel free to merge if CI comes back without surprises: |
|
✌️ j-loreaux can now approve this pull request until 2026-11-17 16:23 UTC (in 2 weeks). To approve and merge, reply with
|
|
Benchmark results for 763c08b against 428aa82 are in. No significant results found. @grunweg
Small changes (4✅, 14🟥)
|
|
bors merge |
…ontinuous_toFun` (#45600) This is just a bit of code hygiene that arose during the creation of the linter for numeric projections.
|
Pull request successfully merged into master. Build succeeded: |
map_continuous or fun_prop instead of .2 which is continuous_toFunmap_continuous or fun_prop instead of .2 which is continuous_toFun
Takes j-loreaux/continuous-toFun-to-coe (#45600) from upstream/master, where it has landed.
This is just a bit of code hygiene that arose during the creation of the linter for numeric projections.
AI diclosure: Claude went through and made all the initial changes (according to a list @thorimur had on Zulip), then I looked at them myself.