-
Notifications
You must be signed in to change notification settings - Fork 347
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] - chore(Analysis/SpecialFunctions/Integrals): simplify proof of intervalIntegrable_cpow #19877
Conversation
PR summary 153dff3bd5Import changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diffNo declarations were harmed in the making of this PR! 🐙 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 No changes to technical debt.You can run this locally as
|
rw [← Ioo_union_Icc_eq_Ioc hc (le_refl 0), ← Icc_def] | ||
simp_rw [← le_antisymm_iff, setOf_eq_eq_singleton'] | ||
rw [this, integrableOn_union, and_comm]; constructor | ||
rw [← Ioo_union_right hc, integrableOn_union, and_comm]; constructor |
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.
Here, hc
has type c < 0
, and Ioo_union_right
applied to it has type Set.Ioo c 0 ∪ {0} = Set.Ioc c 0
.
(Just noting this to show that the change I'm proposing does not introduce any defeq abuse.)
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.
Thanks!
maintainer merge
🚀 Pull request has been placed on the maintainer queue by grunweg. |
bors r+ |
…lIntegrable_cpow (#19877) * `have : Ioc c 0 = Ioo c 0 ∪ {(0 : ℝ)} ` is directly proved by `(Ioo_union_right hc).symm` * That shorter proof can then be inlined at its use in the `simp` in the next line. This simplification was found by [`tryAtEachStep`](https://github.com/dwrensha/tryAtEachStep).
Pull request successfully merged into master. Build succeeded: |
have : Ioc c 0 = Ioo c 0 ∪ {(0 : ℝ)}
is directly proved by(Ioo_union_right hc).symm
simp
in the next line.This simplification was found by
tryAtEachStep
.