Theorem: oddFactors.pow (Flt/OddPrimeOrFour.lean)

State before:
z : ℤ
n : ℕ
⊢ oddFactors (z ^ n) = n • oddFactors z
Tactic:
simp only [oddFactors]
State after:
z : ℤ
n : ℕ
⊢ Multiset.filter Odd (UniqueFactorizationMonoid.normalizedFactors (z ^ n)) =
    n • Multiset.filter Odd (UniqueFactorizationMonoid.normalizedFactors z)

State before:
z : ℤ
n : ℕ
⊢ Multiset.filter Odd (UniqueFactorizationMonoid.normalizedFactors (z ^ n)) =
    n • Multiset.filter Odd (UniqueFactorizationMonoid.normalizedFactors z)
Tactic:
rw [UniqueFactorizationMonoid.normalizedFactors_pow, Multiset.filter_nsmul]
State after:
no goals