Metamath Proof Explorer


Theorem psrassa

Description: The ring of power series is an associative algebra. (Contributed by Mario Carneiro, 29-Dec-2014)

Ref Expression
Hypotheses psrcnrg.s ⊢ S = I mPwSer R
psrcnrg.i ⊢ φ → I ∈ V
psrcnrg.r ⊢ φ → R ∈ CRing
Assertion psrassa ⊢ φ → S ∈ AssAlg

Proof

Step Hyp Ref Expression
1 psrcnrg.s ⊢ S = I mPwSer R
2 psrcnrg.i ⊢ φ → I ∈ V
3 psrcnrg.r ⊢ φ → R ∈ CRing
4 eqidd ⊢ φ → Base S = Base S
5 1 2 3 psrsca ⊢ φ → R = Scalar ⁡ S
6 eqidd ⊢ φ → Base R = Base R
7 eqidd ⊢ φ → ⋅ S = ⋅ S
8 eqidd ⊢ φ → ⋅ S = ⋅ S
9 3 crngringd ⊢ φ → R ∈ Ring
10 1 2 9 psrlmod ⊢ φ → S ∈ LMod
11 1 2 9 psrring ⊢ φ → S ∈ Ring
12 2 adantr ⊢ φ ∧ x ∈ Base R ∧ y ∈ Base S ∧ z ∈ Base S → I ∈ V
13 9 adantr ⊢ φ ∧ x ∈ Base R ∧ y ∈ Base S ∧ z ∈ Base S → R ∈ Ring
14 eqid ⊢ f ∈ ℕ 0 I | f -1 ℕ ∈ Fin = f ∈ ℕ 0 I | f -1 ℕ ∈ Fin
15 eqid ⊢ ⋅ S = ⋅ S
16 eqid ⊢ Base S = Base S
17 simpr2 ⊢ φ ∧ x ∈ Base R ∧ y ∈ Base S ∧ z ∈ Base S → y ∈ Base S
18 simpr3 ⊢ φ ∧ x ∈ Base R ∧ y ∈ Base S ∧ z ∈ Base S → z ∈ Base S
19 3 adantr ⊢ φ ∧ x ∈ Base R ∧ y ∈ Base S ∧ z ∈ Base S → R ∈ CRing
20 eqid ⊢ Base R = Base R
21 eqid ⊢ ⋅ S = ⋅ S
22 simpr1 ⊢ φ ∧ x ∈ Base R ∧ y ∈ Base S ∧ z ∈ Base S → x ∈ Base R
23 1 12 13 14 15 16 17 18 19 20 21 22 psrass23 ⊢ φ ∧ x ∈ Base R ∧ y ∈ Base S ∧ z ∈ Base S → x ⋅ S y ⋅ S z = x ⋅ S y ⋅ S z ∧ y ⋅ S x ⋅ S z = x ⋅ S y ⋅ S z
24 23 simpld ⊢ φ ∧ x ∈ Base R ∧ y ∈ Base S ∧ z ∈ Base S → x ⋅ S y ⋅ S z = x ⋅ S y ⋅ S z
25 23 simprd ⊢ φ ∧ x ∈ Base R ∧ y ∈ Base S ∧ z ∈ Base S → y ⋅ S x ⋅ S z = x ⋅ S y ⋅ S z
26 4 5 6 7 8 10 11 24 25 isassad ⊢ φ → S ∈ AssAlg