Metamath Proof Explorer


Theorem ply1val

Description: The value of the set of univariate polynomials. (Contributed by Mario Carneiro, 9-Feb-2015)

Ref Expression
Hypotheses ply1val.1 ⊢ P = Poly 1 ⁡ R
ply1val.2 ⊢ S = PwSer 1 ⁡ R
Assertion ply1val ⊢ P = S ↾ 𝑠 Base 1 𝑜 mPoly R

Proof

Step Hyp Ref Expression
1 ply1val.1 ⊢ P = Poly 1 ⁡ R
2 ply1val.2 ⊢ S = PwSer 1 ⁡ R
3 fveq2 ⊢ r = R → PwSer 1 ⁡ r = PwSer 1 ⁡ R
4 3 2 eqtr4di ⊢ r = R → PwSer 1 ⁡ r = S
5 oveq2 ⊢ r = R → 1 𝑜 mPoly r = 1 𝑜 mPoly R
6 5 fveq2d ⊢ r = R → Base 1 𝑜 mPoly r = Base 1 𝑜 mPoly R
7 4 6 oveq12d ⊢ r = R → PwSer 1 ⁡ r ↾ 𝑠 Base 1 𝑜 mPoly r = S ↾ 𝑠 Base 1 𝑜 mPoly R
8 df-ply1 ⊢ Poly 1 = r ∈ V ⟼ PwSer 1 ⁡ r ↾ 𝑠 Base 1 𝑜 mPoly r
9 ovex ⊢ S ↾ 𝑠 Base 1 𝑜 mPoly R ∈ V
10 7 8 9 fvmpt ⊢ R ∈ V → Poly 1 ⁡ R = S ↾ 𝑠 Base 1 𝑜 mPoly R
11 fvprc ⊢ ¬ R ∈ V → Poly 1 ⁡ R = ∅
12 ress0 ⊢ ∅ ↾ 𝑠 Base 1 𝑜 mPoly R = ∅
13 11 12 eqtr4di ⊢ ¬ R ∈ V → Poly 1 ⁡ R = ∅ ↾ 𝑠 Base 1 𝑜 mPoly R
14 fvprc ⊢ ¬ R ∈ V → PwSer 1 ⁡ R = ∅
15 2 14 eqtrid ⊢ ¬ R ∈ V → S = ∅
16 15 oveq1d ⊢ ¬ R ∈ V → S ↾ 𝑠 Base 1 𝑜 mPoly R = ∅ ↾ 𝑠 Base 1 𝑜 mPoly R
17 13 16 eqtr4d ⊢ ¬ R ∈ V → Poly 1 ⁡ R = S ↾ 𝑠 Base 1 𝑜 mPoly R
18 10 17 pm2.61i ⊢ Poly 1 ⁡ R = S ↾ 𝑠 Base 1 𝑜 mPoly R
19 1 18 eqtri ⊢ P = S ↾ 𝑠 Base 1 𝑜 mPoly R