Skip to content

Commit

Permalink
feat(algebra/big_operators/finprod): finite product of power is power…
Browse files Browse the repository at this point in the history
… of finite product (#12655)
  • Loading branch information
Multramate committed Mar 15, 2022
1 parent 88a5978 commit 9c09965
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/algebra/big_operators/finprod.lean
Expand Up @@ -488,6 +488,10 @@ finprod_mem_mul_distrib' (hs.inter_of_left _) (hs.inter_of_left _)
g (∏ᶠ i, f i) = ∏ᶠ i, g (f i) :=
g.map_finprod_plift f $ hf.preimage $ equiv.plift.injective.inj_on _

@[to_additive] lemma finprod_pow (hf : (mul_support f).finite) (n : ℕ) :
(∏ᶠ i, f i) ^ n = ∏ᶠ i, f i ^ n :=
(pow_monoid_hom n).map_finprod hf

/-- A more general version of `monoid_hom.map_finprod_mem` that requires `s ∩ mul_support f` rather
than `s` to be finite. -/
@[to_additive "A more general version of `add_monoid_hom.map_finsum_mem` that requires
Expand Down

0 comments on commit 9c09965

Please sign in to comment.