Commit 2026-04-19 11:36 0f22cd14
View on Github →refactor: golf only FactorisationProperties (#38204)
This PR selectively ports part of #38144 and only migrates the changes in:
Mathlib/NumberTheory/FactorisationProperties.leanConcretely, this PR:- rewrites
Prime.not_pseudoperfectto usePrime.properDivisorsandFinset.sum_le_sum_of_subsetdirectly, instead of analyzing the powerset of proper divisors by cases - shortens
Prime.not_perfectto the direct consequence ofPrime.not_pseudoperfect - refactors
Prime.deficient_powto reuseproperDivisors_prime_powand a simple mapped-sum identity, instead of reproving the structure of the proper divisors of a prime power inline