MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  mpfrcl Structured version   Visualization version   GIF version

Theorem mpfrcl 19446
Description: Reverse closure for the set of polynomial functions. (Contributed by Stefan O'Rear, 19-Mar-2015.)
Hypothesis
Ref Expression
mpfrcl.q 𝑄 = ran ((𝐼 evalSub 𝑆)‘𝑅)
Assertion
Ref Expression
mpfrcl (𝑋𝑄 → (𝐼 ∈ V ∧ 𝑆 ∈ CRing ∧ 𝑅 ∈ (SubRing‘𝑆)))

Proof of Theorem mpfrcl
Dummy variables 𝑎 𝑏 𝑓 𝑔 𝑖 𝑟 𝑠 𝑤 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ne0i 3902 . . 3 (𝑋 ∈ ran ((𝐼 evalSub 𝑆)‘𝑅) → ran ((𝐼 evalSub 𝑆)‘𝑅) ≠ ∅)
2 mpfrcl.q . . 3 𝑄 = ran ((𝐼 evalSub 𝑆)‘𝑅)
31, 2eleq2s 2716 . 2 (𝑋𝑄 → ran ((𝐼 evalSub 𝑆)‘𝑅) ≠ ∅)
4 rneq 5316 . . . 4 (((𝐼 evalSub 𝑆)‘𝑅) = ∅ → ran ((𝐼 evalSub 𝑆)‘𝑅) = ran ∅)
5 rn0 5342 . . . 4 ran ∅ = ∅
64, 5syl6eq 2671 . . 3 (((𝐼 evalSub 𝑆)‘𝑅) = ∅ → ran ((𝐼 evalSub 𝑆)‘𝑅) = ∅)
76necon3i 2822 . 2 (ran ((𝐼 evalSub 𝑆)‘𝑅) ≠ ∅ → ((𝐼 evalSub 𝑆)‘𝑅) ≠ ∅)
8 fveq1 6152 . . . . . . 7 ((𝐼 evalSub 𝑆) = ∅ → ((𝐼 evalSub 𝑆)‘𝑅) = (∅‘𝑅))
9 0fv 6189 . . . . . . 7 (∅‘𝑅) = ∅
108, 9syl6eq 2671 . . . . . 6 ((𝐼 evalSub 𝑆) = ∅ → ((𝐼 evalSub 𝑆)‘𝑅) = ∅)
1110necon3i 2822 . . . . 5 (((𝐼 evalSub 𝑆)‘𝑅) ≠ ∅ → (𝐼 evalSub 𝑆) ≠ ∅)
12 reldmevls 19445 . . . . . . . 8 Rel dom evalSub
1312ovprc1 6644 . . . . . . 7 𝐼 ∈ V → (𝐼 evalSub 𝑆) = ∅)
1413necon1ai 2817 . . . . . 6 ((𝐼 evalSub 𝑆) ≠ ∅ → 𝐼 ∈ V)
15 n0 3912 . . . . . . 7 ((𝐼 evalSub 𝑆) ≠ ∅ ↔ ∃𝑎 𝑎 ∈ (𝐼 evalSub 𝑆))
16 df-evls 19434 . . . . . . . . . 10 evalSub = (𝑖 ∈ V, 𝑠 ∈ CRing ↦ (Base‘𝑠) / 𝑏(𝑟 ∈ (SubRing‘𝑠) ↦ (𝑖 mPoly (𝑠s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥)))))))
1716elmpt2cl2 6838 . . . . . . . . 9 (𝑎 ∈ (𝐼 evalSub 𝑆) → 𝑆 ∈ CRing)
1817a1d 25 . . . . . . . 8 (𝑎 ∈ (𝐼 evalSub 𝑆) → (𝐼 ∈ V → 𝑆 ∈ CRing))
1918exlimiv 1855 . . . . . . 7 (∃𝑎 𝑎 ∈ (𝐼 evalSub 𝑆) → (𝐼 ∈ V → 𝑆 ∈ CRing))
2015, 19sylbi 207 . . . . . 6 ((𝐼 evalSub 𝑆) ≠ ∅ → (𝐼 ∈ V → 𝑆 ∈ CRing))
2114, 20jcai 558 . . . . 5 ((𝐼 evalSub 𝑆) ≠ ∅ → (𝐼 ∈ V ∧ 𝑆 ∈ CRing))
2211, 21syl 17 . . . 4 (((𝐼 evalSub 𝑆)‘𝑅) ≠ ∅ → (𝐼 ∈ V ∧ 𝑆 ∈ CRing))
23 fvex 6163 . . . . . . . . . . . . 13 (Base‘𝑠) ∈ V
24 nfcv 2761 . . . . . . . . . . . . . 14 𝑏(SubRing‘𝑠)
25 nfcsb1v 3534 . . . . . . . . . . . . . 14 𝑏(Base‘𝑠) / 𝑏(𝑖 mPoly (𝑠s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥)))))
2624, 25nfmpt 4711 . . . . . . . . . . . . 13 𝑏(𝑟 ∈ (SubRing‘𝑠) ↦ (Base‘𝑠) / 𝑏(𝑖 mPoly (𝑠s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥))))))
27 csbeq1a 3527 . . . . . . . . . . . . . 14 (𝑏 = (Base‘𝑠) → (𝑖 mPoly (𝑠s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥))))) = (Base‘𝑠) / 𝑏(𝑖 mPoly (𝑠s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥))))))
2827mpteq2dv 4710 . . . . . . . . . . . . 13 (𝑏 = (Base‘𝑠) → (𝑟 ∈ (SubRing‘𝑠) ↦ (𝑖 mPoly (𝑠s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥)))))) = (𝑟 ∈ (SubRing‘𝑠) ↦ (Base‘𝑠) / 𝑏(𝑖 mPoly (𝑠s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥)))))))
2923, 26, 28csbief 3543 . . . . . . . . . . . 12 (Base‘𝑠) / 𝑏(𝑟 ∈ (SubRing‘𝑠) ↦ (𝑖 mPoly (𝑠s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥)))))) = (𝑟 ∈ (SubRing‘𝑠) ↦ (Base‘𝑠) / 𝑏(𝑖 mPoly (𝑠s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥))))))
30 fveq2 6153 . . . . . . . . . . . . . 14 (𝑠 = 𝑆 → (SubRing‘𝑠) = (SubRing‘𝑆))
3130adantl 482 . . . . . . . . . . . . 13 ((𝑖 = 𝐼𝑠 = 𝑆) → (SubRing‘𝑠) = (SubRing‘𝑆))
32 fveq2 6153 . . . . . . . . . . . . . . . 16 (𝑠 = 𝑆 → (Base‘𝑠) = (Base‘𝑆))
3332adantl 482 . . . . . . . . . . . . . . 15 ((𝑖 = 𝐼𝑠 = 𝑆) → (Base‘𝑠) = (Base‘𝑆))
3433csbeq1d 3525 . . . . . . . . . . . . . 14 ((𝑖 = 𝐼𝑠 = 𝑆) → (Base‘𝑠) / 𝑏(𝑖 mPoly (𝑠s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥))))) = (Base‘𝑆) / 𝑏(𝑖 mPoly (𝑠s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥))))))
35 id 22 . . . . . . . . . . . . . . . . . 18 (𝑖 = 𝐼𝑖 = 𝐼)
36 oveq1 6617 . . . . . . . . . . . . . . . . . 18 (𝑠 = 𝑆 → (𝑠s 𝑟) = (𝑆s 𝑟))
3735, 36oveqan12d 6629 . . . . . . . . . . . . . . . . 17 ((𝑖 = 𝐼𝑠 = 𝑆) → (𝑖 mPoly (𝑠s 𝑟)) = (𝐼 mPoly (𝑆s 𝑟)))
3837csbeq1d 3525 . . . . . . . . . . . . . . . 16 ((𝑖 = 𝐼𝑠 = 𝑆) → (𝑖 mPoly (𝑠s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥))))) = (𝐼 mPoly (𝑆s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥))))))
39 id 22 . . . . . . . . . . . . . . . . . . . 20 (𝑠 = 𝑆𝑠 = 𝑆)
40 oveq2 6618 . . . . . . . . . . . . . . . . . . . 20 (𝑖 = 𝐼 → (𝑏𝑚 𝑖) = (𝑏𝑚 𝐼))
4139, 40oveqan12rd 6630 . . . . . . . . . . . . . . . . . . 19 ((𝑖 = 𝐼𝑠 = 𝑆) → (𝑠s (𝑏𝑚 𝑖)) = (𝑆s (𝑏𝑚 𝐼)))
4241oveq2d 6626 . . . . . . . . . . . . . . . . . 18 ((𝑖 = 𝐼𝑠 = 𝑆) → (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖))) = (𝑤 RingHom (𝑆s (𝑏𝑚 𝐼))))
4340adantr 481 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑖 = 𝐼𝑠 = 𝑆) → (𝑏𝑚 𝑖) = (𝑏𝑚 𝐼))
4443xpeq1d 5103 . . . . . . . . . . . . . . . . . . . . 21 ((𝑖 = 𝐼𝑠 = 𝑆) → ((𝑏𝑚 𝑖) × {𝑥}) = ((𝑏𝑚 𝐼) × {𝑥}))
4544mpteq2dv 4710 . . . . . . . . . . . . . . . . . . . 20 ((𝑖 = 𝐼𝑠 = 𝑆) → (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) = (𝑥𝑟 ↦ ((𝑏𝑚 𝐼) × {𝑥})))
4645eqeq2d 2631 . . . . . . . . . . . . . . . . . . 19 ((𝑖 = 𝐼𝑠 = 𝑆) → ((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ↔ (𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝐼) × {𝑥}))))
4735, 36oveqan12d 6629 . . . . . . . . . . . . . . . . . . . . 21 ((𝑖 = 𝐼𝑠 = 𝑆) → (𝑖 mVar (𝑠s 𝑟)) = (𝐼 mVar (𝑆s 𝑟)))
4847coeq2d 5249 . . . . . . . . . . . . . . . . . . . 20 ((𝑖 = 𝐼𝑠 = 𝑆) → (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑓 ∘ (𝐼 mVar (𝑆s 𝑟))))
49 simpl 473 . . . . . . . . . . . . . . . . . . . . 21 ((𝑖 = 𝐼𝑠 = 𝑆) → 𝑖 = 𝐼)
5043mpteq1d 4703 . . . . . . . . . . . . . . . . . . . . 21 ((𝑖 = 𝐼𝑠 = 𝑆) → (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥)) = (𝑔 ∈ (𝑏𝑚 𝐼) ↦ (𝑔𝑥)))
5149, 50mpteq12dv 4698 . . . . . . . . . . . . . . . . . . . 20 ((𝑖 = 𝐼𝑠 = 𝑆) → (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥))) = (𝑥𝐼 ↦ (𝑔 ∈ (𝑏𝑚 𝐼) ↦ (𝑔𝑥))))
5248, 51eqeq12d 2636 . . . . . . . . . . . . . . . . . . 19 ((𝑖 = 𝐼𝑠 = 𝑆) → ((𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥))) ↔ (𝑓 ∘ (𝐼 mVar (𝑆s 𝑟))) = (𝑥𝐼 ↦ (𝑔 ∈ (𝑏𝑚 𝐼) ↦ (𝑔𝑥)))))
5346, 52anbi12d 746 . . . . . . . . . . . . . . . . . 18 ((𝑖 = 𝐼𝑠 = 𝑆) → (((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥)))) ↔ ((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝐼) × {𝑥})) ∧ (𝑓 ∘ (𝐼 mVar (𝑆s 𝑟))) = (𝑥𝐼 ↦ (𝑔 ∈ (𝑏𝑚 𝐼) ↦ (𝑔𝑥))))))
5442, 53riotaeqbidv 6574 . . . . . . . . . . . . . . . . 17 ((𝑖 = 𝐼𝑠 = 𝑆) → (𝑓 ∈ (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥))))) = (𝑓 ∈ (𝑤 RingHom (𝑆s (𝑏𝑚 𝐼)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝐼) × {𝑥})) ∧ (𝑓 ∘ (𝐼 mVar (𝑆s 𝑟))) = (𝑥𝐼 ↦ (𝑔 ∈ (𝑏𝑚 𝐼) ↦ (𝑔𝑥))))))
5554csbeq2dv 3969 . . . . . . . . . . . . . . . 16 ((𝑖 = 𝐼𝑠 = 𝑆) → (𝐼 mPoly (𝑆s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥))))) = (𝐼 mPoly (𝑆s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑆s (𝑏𝑚 𝐼)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝐼) × {𝑥})) ∧ (𝑓 ∘ (𝐼 mVar (𝑆s 𝑟))) = (𝑥𝐼 ↦ (𝑔 ∈ (𝑏𝑚 𝐼) ↦ (𝑔𝑥))))))
5638, 55eqtrd 2655 . . . . . . . . . . . . . . 15 ((𝑖 = 𝐼𝑠 = 𝑆) → (𝑖 mPoly (𝑠s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥))))) = (𝐼 mPoly (𝑆s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑆s (𝑏𝑚 𝐼)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝐼) × {𝑥})) ∧ (𝑓 ∘ (𝐼 mVar (𝑆s 𝑟))) = (𝑥𝐼 ↦ (𝑔 ∈ (𝑏𝑚 𝐼) ↦ (𝑔𝑥))))))
5756csbeq2dv 3969 . . . . . . . . . . . . . 14 ((𝑖 = 𝐼𝑠 = 𝑆) → (Base‘𝑆) / 𝑏(𝑖 mPoly (𝑠s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥))))) = (Base‘𝑆) / 𝑏(𝐼 mPoly (𝑆s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑆s (𝑏𝑚 𝐼)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝐼) × {𝑥})) ∧ (𝑓 ∘ (𝐼 mVar (𝑆s 𝑟))) = (𝑥𝐼 ↦ (𝑔 ∈ (𝑏𝑚 𝐼) ↦ (𝑔𝑥))))))
5834, 57eqtrd 2655 . . . . . . . . . . . . 13 ((𝑖 = 𝐼𝑠 = 𝑆) → (Base‘𝑠) / 𝑏(𝑖 mPoly (𝑠s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥))))) = (Base‘𝑆) / 𝑏(𝐼 mPoly (𝑆s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑆s (𝑏𝑚 𝐼)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝐼) × {𝑥})) ∧ (𝑓 ∘ (𝐼 mVar (𝑆s 𝑟))) = (𝑥𝐼 ↦ (𝑔 ∈ (𝑏𝑚 𝐼) ↦ (𝑔𝑥))))))
5931, 58mpteq12dv 4698 . . . . . . . . . . . 12 ((𝑖 = 𝐼𝑠 = 𝑆) → (𝑟 ∈ (SubRing‘𝑠) ↦ (Base‘𝑠) / 𝑏(𝑖 mPoly (𝑠s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥)))))) = (𝑟 ∈ (SubRing‘𝑆) ↦ (Base‘𝑆) / 𝑏(𝐼 mPoly (𝑆s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑆s (𝑏𝑚 𝐼)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝐼) × {𝑥})) ∧ (𝑓 ∘ (𝐼 mVar (𝑆s 𝑟))) = (𝑥𝐼 ↦ (𝑔 ∈ (𝑏𝑚 𝐼) ↦ (𝑔𝑥)))))))
6029, 59syl5eq 2667 . . . . . . . . . . 11 ((𝑖 = 𝐼𝑠 = 𝑆) → (Base‘𝑠) / 𝑏(𝑟 ∈ (SubRing‘𝑠) ↦ (𝑖 mPoly (𝑠s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑠s (𝑏𝑚 𝑖)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝑖) × {𝑥})) ∧ (𝑓 ∘ (𝑖 mVar (𝑠s 𝑟))) = (𝑥𝑖 ↦ (𝑔 ∈ (𝑏𝑚 𝑖) ↦ (𝑔𝑥)))))) = (𝑟 ∈ (SubRing‘𝑆) ↦ (Base‘𝑆) / 𝑏(𝐼 mPoly (𝑆s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑆s (𝑏𝑚 𝐼)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝐼) × {𝑥})) ∧ (𝑓 ∘ (𝐼 mVar (𝑆s 𝑟))) = (𝑥𝐼 ↦ (𝑔 ∈ (𝑏𝑚 𝐼) ↦ (𝑔𝑥)))))))
61 fvex 6163 . . . . . . . . . . . 12 (SubRing‘𝑆) ∈ V
6261mptex 6446 . . . . . . . . . . 11 (𝑟 ∈ (SubRing‘𝑆) ↦ (Base‘𝑆) / 𝑏(𝐼 mPoly (𝑆s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑆s (𝑏𝑚 𝐼)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝐼) × {𝑥})) ∧ (𝑓 ∘ (𝐼 mVar (𝑆s 𝑟))) = (𝑥𝐼 ↦ (𝑔 ∈ (𝑏𝑚 𝐼) ↦ (𝑔𝑥)))))) ∈ V
6360, 16, 62ovmpt2a 6751 . . . . . . . . . 10 ((𝐼 ∈ V ∧ 𝑆 ∈ CRing) → (𝐼 evalSub 𝑆) = (𝑟 ∈ (SubRing‘𝑆) ↦ (Base‘𝑆) / 𝑏(𝐼 mPoly (𝑆s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑆s (𝑏𝑚 𝐼)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝐼) × {𝑥})) ∧ (𝑓 ∘ (𝐼 mVar (𝑆s 𝑟))) = (𝑥𝐼 ↦ (𝑔 ∈ (𝑏𝑚 𝐼) ↦ (𝑔𝑥)))))))
6463dmeqd 5291 . . . . . . . . 9 ((𝐼 ∈ V ∧ 𝑆 ∈ CRing) → dom (𝐼 evalSub 𝑆) = dom (𝑟 ∈ (SubRing‘𝑆) ↦ (Base‘𝑆) / 𝑏(𝐼 mPoly (𝑆s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑆s (𝑏𝑚 𝐼)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝐼) × {𝑥})) ∧ (𝑓 ∘ (𝐼 mVar (𝑆s 𝑟))) = (𝑥𝐼 ↦ (𝑔 ∈ (𝑏𝑚 𝐼) ↦ (𝑔𝑥)))))))
65 eqid 2621 . . . . . . . . . 10 (𝑟 ∈ (SubRing‘𝑆) ↦ (Base‘𝑆) / 𝑏(𝐼 mPoly (𝑆s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑆s (𝑏𝑚 𝐼)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝐼) × {𝑥})) ∧ (𝑓 ∘ (𝐼 mVar (𝑆s 𝑟))) = (𝑥𝐼 ↦ (𝑔 ∈ (𝑏𝑚 𝐼) ↦ (𝑔𝑥)))))) = (𝑟 ∈ (SubRing‘𝑆) ↦ (Base‘𝑆) / 𝑏(𝐼 mPoly (𝑆s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑆s (𝑏𝑚 𝐼)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝐼) × {𝑥})) ∧ (𝑓 ∘ (𝐼 mVar (𝑆s 𝑟))) = (𝑥𝐼 ↦ (𝑔 ∈ (𝑏𝑚 𝐼) ↦ (𝑔𝑥))))))
6665dmmptss 5595 . . . . . . . . 9 dom (𝑟 ∈ (SubRing‘𝑆) ↦ (Base‘𝑆) / 𝑏(𝐼 mPoly (𝑆s 𝑟)) / 𝑤(𝑓 ∈ (𝑤 RingHom (𝑆s (𝑏𝑚 𝐼)))((𝑓 ∘ (algSc‘𝑤)) = (𝑥𝑟 ↦ ((𝑏𝑚 𝐼) × {𝑥})) ∧ (𝑓 ∘ (𝐼 mVar (𝑆s 𝑟))) = (𝑥𝐼 ↦ (𝑔 ∈ (𝑏𝑚 𝐼) ↦ (𝑔𝑥)))))) ⊆ (SubRing‘𝑆)
6764, 66syl6eqss 3639 . . . . . . . 8 ((𝐼 ∈ V ∧ 𝑆 ∈ CRing) → dom (𝐼 evalSub 𝑆) ⊆ (SubRing‘𝑆))
6867ssneld 3589 . . . . . . 7 ((𝐼 ∈ V ∧ 𝑆 ∈ CRing) → (¬ 𝑅 ∈ (SubRing‘𝑆) → ¬ 𝑅 ∈ dom (𝐼 evalSub 𝑆)))
69 ndmfv 6180 . . . . . . 7 𝑅 ∈ dom (𝐼 evalSub 𝑆) → ((𝐼 evalSub 𝑆)‘𝑅) = ∅)
7068, 69syl6 35 . . . . . 6 ((𝐼 ∈ V ∧ 𝑆 ∈ CRing) → (¬ 𝑅 ∈ (SubRing‘𝑆) → ((𝐼 evalSub 𝑆)‘𝑅) = ∅))
7170necon1ad 2807 . . . . 5 ((𝐼 ∈ V ∧ 𝑆 ∈ CRing) → (((𝐼 evalSub 𝑆)‘𝑅) ≠ ∅ → 𝑅 ∈ (SubRing‘𝑆)))
7271com12 32 . . . 4 (((𝐼 evalSub 𝑆)‘𝑅) ≠ ∅ → ((𝐼 ∈ V ∧ 𝑆 ∈ CRing) → 𝑅 ∈ (SubRing‘𝑆)))
7322, 72jcai 558 . . 3 (((𝐼 evalSub 𝑆)‘𝑅) ≠ ∅ → ((𝐼 ∈ V ∧ 𝑆 ∈ CRing) ∧ 𝑅 ∈ (SubRing‘𝑆)))
74 df-3an 1038 . . 3 ((𝐼 ∈ V ∧ 𝑆 ∈ CRing ∧ 𝑅 ∈ (SubRing‘𝑆)) ↔ ((𝐼 ∈ V ∧ 𝑆 ∈ CRing) ∧ 𝑅 ∈ (SubRing‘𝑆)))
7573, 74sylibr 224 . 2 (((𝐼 evalSub 𝑆)‘𝑅) ≠ ∅ → (𝐼 ∈ V ∧ 𝑆 ∈ CRing ∧ 𝑅 ∈ (SubRing‘𝑆)))
763, 7, 753syl 18 1 (𝑋𝑄 → (𝐼 ∈ V ∧ 𝑆 ∈ CRing ∧ 𝑅 ∈ (SubRing‘𝑆)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 384  w3a 1036   = wceq 1480  wex 1701  wcel 1987  wne 2790  Vcvv 3189  csb 3518  c0 3896  {csn 4153  cmpt 4678   × cxp 5077  dom cdm 5079  ran crn 5080  ccom 5083  cfv 5852  crio 6570  (class class class)co 6610  𝑚 cmap 7809  Basecbs 15788  s cress 15789  s cpws 16035  CRingccrg 18476   RingHom crh 18640  SubRingcsubrg 18704  algSccascl 19239   mVar cmvr 19280   mPoly cmpl 19281   evalSub ces 19432
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4736  ax-sep 4746  ax-nul 4754  ax-pow 4808  ax-pr 4872
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2912  df-rex 2913  df-reu 2914  df-rab 2916  df-v 3191  df-sbc 3422  df-csb 3519  df-dif 3562  df-un 3564  df-in 3566  df-ss 3573  df-nul 3897  df-if 4064  df-sn 4154  df-pr 4156  df-op 4160  df-uni 4408  df-iun 4492  df-br 4619  df-opab 4679  df-mpt 4680  df-id 4994  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-res 5091  df-ima 5092  df-iota 5815  df-fun 5854  df-fn 5855  df-f 5856  df-f1 5857  df-fo 5858  df-f1o 5859  df-fv 5860  df-riota 6571  df-ov 6613  df-oprab 6614  df-mpt2 6615  df-evls 19434
This theorem is referenced by:  mpff  19461  mpfaddcl  19462  mpfmulcl  19463  mpfind  19464  pf1rcl  19641  mpfpf1  19643
  Copyright terms: Public domain W3C validator