Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(data/nat/factorization/basic): add lemma `factorization_eq_card_…
…pow_dvd` (#15014) Adds lemma `factorization_eq_card_pow_dvd (pp : p.prime) : n.factorization p = ((Ico 1 n).filter (λ i, p ^ i ∣ n)).card` This is a counterpart to `multiplicity_eq_card_pow_dvd` defined and proved in terms of `factorization`. Also proves some upper bounds on `n.factorization p`: `factorization_lt (hn : n ≠ 0) : n.factorization p < n` `factorization_le_of_le_pow (hb : n ≤ p ^ b) : n.factorization p ≤ b` Co-authored-by: Kyle Miller <kmill31415@gmail.com>
- Loading branch information
1 parent
ffc640f
commit 261c24c
Showing
2 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters