[Merged by Bors] - refactor(Analysis): golf Mathlib/Analysis/SpecialFunctions/Log/Monotone#38352
[Merged by Bors] - refactor(Analysis): golf Mathlib/Analysis/SpecialFunctions/Log/Monotone#38352yuanyi-350 wants to merge 5 commits intoleanprover-community:masterfrom
Mathlib/Analysis/SpecialFunctions/Log/Monotone#38352Conversation
PR summary ee3a5404e5Import 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/pr_summary/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/pr_summary/declarations_diff.sh long <optional_commit>The doc-module for No changes to technical debt.This script lives in the
|
|
I ran a profiler comparison for the changed declarations in this PR. Results (seconds):
Overall:
|
|
!bench |
|
Benchmark results for 63f8ec6 against ee3a540 are in. No significant results found. @yuanyi-350
No significant changes detected. |
Co-authored-by: Monica Omar <23701951+themathqueen@users.noreply.github.com>
themathqueen
left a comment
There was a problem hiding this comment.
Thanks!
maintainer merge
|
🚀 Pull request has been placed on the maintainer queue by themathqueen. |
…one` (#38352) - refactors `Log/Monotone` by extracting the repeated `exp (1 / a) ≤ z` to `exp 1 ≤ z ^ a` bound into a shared local helper - reuses that helper in `log_div_self_rpow_antitoneOn` to shorten the final call to `log_div_self_antitoneOn` Extracted from #37968 [](https://gitpod.io/from-referrer/)
|
Pull request successfully merged into master. Build succeeded: |
Mathlib/Analysis/SpecialFunctions/Log/MonotoneMathlib/Analysis/SpecialFunctions/Log/Monotone
|
FYI this PR might be reverted by #37717 (but might not be). Do you have any suggestions, perhaps these two golfs could combine to create an even better golf? Regardless it might be interesting as a case of an LLM and a human golfing the same theorem and arriving at the same length (ignoring the double |
Log/Monotoneby extracting the repeatedexp (1 / a) ≤ ztoexp 1 ≤ z ^ abound into a shared local helperlog_div_self_rpow_antitoneOnto shorten the final call tolog_div_self_antitoneOnExtracted from #37968