refactor(NumberTheory): golf Mathlib/NumberTheory/PellMatiyasevic#38494
refactor(NumberTheory): golf Mathlib/NumberTheory/PellMatiyasevic#38494yuanyi-350 wants to merge 3 commits intoleanprover-community:masterfrom
Mathlib/NumberTheory/PellMatiyasevic#38494Conversation
PR summary 9268b22206Import 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 Decrease in tech debt: (relative, absolute) = (1.00, 0.00)
Current commit 9ee2889319 This script lives in the
|
|
I ran a profiler comparison for the changed declarations in this PR. Results (seconds):
Overall:
|
|
!bench |
|
Benchmark results for 83d958a against 9268b22 are in. No significant results found. @yuanyi-350
Small changes (1✅, 1🟥)
|
loefflerd
left a comment
There was a problem hiding this comment.
Thanks for this! Maybe further golfing is possible but this is definitely an improvement on what we had before.
maintainer delegate
|
🚀 Pull request has been placed on the maintainer queue by loefflerd. |
Co-authored-by: David Loeffler <d.loeffler.01@cantab.net>
pellZd_succ_succinMathlib/NumberTheory/PellMatiyasevicby replacing a hand-written intermediate equality with a directext/simp/ring_nfproofExtracted from #38144