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

Theorem evls1fval 19899
Description: Value of the univariate polynomial evaluation map function. (Contributed by AV, 7-Sep-2019.)
Hypotheses
Ref Expression
evls1fval.q 𝑄 = (𝑆 evalSub1 𝑅)
evls1fval.e 𝐸 = (1𝑜 evalSub 𝑆)
evls1fval.b 𝐵 = (Base‘𝑆)
Assertion
Ref Expression
evls1fval ((𝑆𝑉𝑅 ∈ 𝒫 𝐵) → 𝑄 = ((𝑥 ∈ (𝐵𝑚 (𝐵𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝐵 ↦ (1𝑜 × {𝑦})))) ∘ (𝐸𝑅)))
Distinct variable group:   𝑥,𝐵,𝑦
Allowed substitution hints:   𝑄(𝑥,𝑦)   𝑅(𝑥,𝑦)   𝑆(𝑥,𝑦)   𝐸(𝑥,𝑦)   𝑉(𝑥,𝑦)

Proof of Theorem evls1fval
Dummy variables 𝑏 𝑟 𝑠 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 evls1fval.q . 2 𝑄 = (𝑆 evalSub1 𝑅)
2 elex 3364 . . . 4 (𝑆𝑉𝑆 ∈ V)
32adantr 466 . . 3 ((𝑆𝑉𝑅 ∈ 𝒫 𝐵) → 𝑆 ∈ V)
4 simpr 471 . . 3 ((𝑆𝑉𝑅 ∈ 𝒫 𝐵) → 𝑅 ∈ 𝒫 𝐵)
5 ovex 6827 . . . . . 6 (𝐵𝑚 (𝐵𝑚 1𝑜)) ∈ V
65mptex 6633 . . . . 5 (𝑥 ∈ (𝐵𝑚 (𝐵𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝐵 ↦ (1𝑜 × {𝑦})))) ∈ V
7 fvex 6344 . . . . 5 (𝐸𝑅) ∈ V
86, 7coex 7269 . . . 4 ((𝑥 ∈ (𝐵𝑚 (𝐵𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝐵 ↦ (1𝑜 × {𝑦})))) ∘ (𝐸𝑅)) ∈ V
98a1i 11 . . 3 ((𝑆𝑉𝑅 ∈ 𝒫 𝐵) → ((𝑥 ∈ (𝐵𝑚 (𝐵𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝐵 ↦ (1𝑜 × {𝑦})))) ∘ (𝐸𝑅)) ∈ V)
10 fveq2 6333 . . . . . . . 8 (𝑠 = 𝑆 → (Base‘𝑠) = (Base‘𝑆))
1110adantr 466 . . . . . . 7 ((𝑠 = 𝑆𝑟 = 𝑅) → (Base‘𝑠) = (Base‘𝑆))
12 evls1fval.b . . . . . . 7 𝐵 = (Base‘𝑆)
1311, 12syl6eqr 2823 . . . . . 6 ((𝑠 = 𝑆𝑟 = 𝑅) → (Base‘𝑠) = 𝐵)
1413csbeq1d 3689 . . . . 5 ((𝑠 = 𝑆𝑟 = 𝑅) → (Base‘𝑠) / 𝑏((𝑥 ∈ (𝑏𝑚 (𝑏𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝑏 ↦ (1𝑜 × {𝑦})))) ∘ ((1𝑜 evalSub 𝑠)‘𝑟)) = 𝐵 / 𝑏((𝑥 ∈ (𝑏𝑚 (𝑏𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝑏 ↦ (1𝑜 × {𝑦})))) ∘ ((1𝑜 evalSub 𝑠)‘𝑟)))
1512fvexi 6345 . . . . . . 7 𝐵 ∈ V
1615a1i 11 . . . . . 6 ((𝑠 = 𝑆𝑟 = 𝑅) → 𝐵 ∈ V)
17 id 22 . . . . . . . . . 10 (𝑏 = 𝐵𝑏 = 𝐵)
18 oveq1 6803 . . . . . . . . . 10 (𝑏 = 𝐵 → (𝑏𝑚 1𝑜) = (𝐵𝑚 1𝑜))
1917, 18oveq12d 6814 . . . . . . . . 9 (𝑏 = 𝐵 → (𝑏𝑚 (𝑏𝑚 1𝑜)) = (𝐵𝑚 (𝐵𝑚 1𝑜)))
20 mpteq1 4872 . . . . . . . . . 10 (𝑏 = 𝐵 → (𝑦𝑏 ↦ (1𝑜 × {𝑦})) = (𝑦𝐵 ↦ (1𝑜 × {𝑦})))
2120coeq2d 5422 . . . . . . . . 9 (𝑏 = 𝐵 → (𝑥 ∘ (𝑦𝑏 ↦ (1𝑜 × {𝑦}))) = (𝑥 ∘ (𝑦𝐵 ↦ (1𝑜 × {𝑦}))))
2219, 21mpteq12dv 4868 . . . . . . . 8 (𝑏 = 𝐵 → (𝑥 ∈ (𝑏𝑚 (𝑏𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝑏 ↦ (1𝑜 × {𝑦})))) = (𝑥 ∈ (𝐵𝑚 (𝐵𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝐵 ↦ (1𝑜 × {𝑦})))))
2322coeq1d 5421 . . . . . . 7 (𝑏 = 𝐵 → ((𝑥 ∈ (𝑏𝑚 (𝑏𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝑏 ↦ (1𝑜 × {𝑦})))) ∘ ((1𝑜 evalSub 𝑠)‘𝑟)) = ((𝑥 ∈ (𝐵𝑚 (𝐵𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝐵 ↦ (1𝑜 × {𝑦})))) ∘ ((1𝑜 evalSub 𝑠)‘𝑟)))
2423adantl 467 . . . . . 6 (((𝑠 = 𝑆𝑟 = 𝑅) ∧ 𝑏 = 𝐵) → ((𝑥 ∈ (𝑏𝑚 (𝑏𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝑏 ↦ (1𝑜 × {𝑦})))) ∘ ((1𝑜 evalSub 𝑠)‘𝑟)) = ((𝑥 ∈ (𝐵𝑚 (𝐵𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝐵 ↦ (1𝑜 × {𝑦})))) ∘ ((1𝑜 evalSub 𝑠)‘𝑟)))
2516, 24csbied 3709 . . . . 5 ((𝑠 = 𝑆𝑟 = 𝑅) → 𝐵 / 𝑏((𝑥 ∈ (𝑏𝑚 (𝑏𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝑏 ↦ (1𝑜 × {𝑦})))) ∘ ((1𝑜 evalSub 𝑠)‘𝑟)) = ((𝑥 ∈ (𝐵𝑚 (𝐵𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝐵 ↦ (1𝑜 × {𝑦})))) ∘ ((1𝑜 evalSub 𝑠)‘𝑟)))
26 oveq2 6804 . . . . . . . . 9 (𝑠 = 𝑆 → (1𝑜 evalSub 𝑠) = (1𝑜 evalSub 𝑆))
27 evls1fval.e . . . . . . . . 9 𝐸 = (1𝑜 evalSub 𝑆)
2826, 27syl6eqr 2823 . . . . . . . 8 (𝑠 = 𝑆 → (1𝑜 evalSub 𝑠) = 𝐸)
2928adantr 466 . . . . . . 7 ((𝑠 = 𝑆𝑟 = 𝑅) → (1𝑜 evalSub 𝑠) = 𝐸)
30 simpr 471 . . . . . . 7 ((𝑠 = 𝑆𝑟 = 𝑅) → 𝑟 = 𝑅)
3129, 30fveq12d 6340 . . . . . 6 ((𝑠 = 𝑆𝑟 = 𝑅) → ((1𝑜 evalSub 𝑠)‘𝑟) = (𝐸𝑅))
3231coeq2d 5422 . . . . 5 ((𝑠 = 𝑆𝑟 = 𝑅) → ((𝑥 ∈ (𝐵𝑚 (𝐵𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝐵 ↦ (1𝑜 × {𝑦})))) ∘ ((1𝑜 evalSub 𝑠)‘𝑟)) = ((𝑥 ∈ (𝐵𝑚 (𝐵𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝐵 ↦ (1𝑜 × {𝑦})))) ∘ (𝐸𝑅)))
3314, 25, 323eqtrd 2809 . . . 4 ((𝑠 = 𝑆𝑟 = 𝑅) → (Base‘𝑠) / 𝑏((𝑥 ∈ (𝑏𝑚 (𝑏𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝑏 ↦ (1𝑜 × {𝑦})))) ∘ ((1𝑜 evalSub 𝑠)‘𝑟)) = ((𝑥 ∈ (𝐵𝑚 (𝐵𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝐵 ↦ (1𝑜 × {𝑦})))) ∘ (𝐸𝑅)))
3410, 12syl6eqr 2823 . . . . 5 (𝑠 = 𝑆 → (Base‘𝑠) = 𝐵)
3534pweqd 4303 . . . 4 (𝑠 = 𝑆 → 𝒫 (Base‘𝑠) = 𝒫 𝐵)
36 df-evls1 19895 . . . 4 evalSub1 = (𝑠 ∈ V, 𝑟 ∈ 𝒫 (Base‘𝑠) ↦ (Base‘𝑠) / 𝑏((𝑥 ∈ (𝑏𝑚 (𝑏𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝑏 ↦ (1𝑜 × {𝑦})))) ∘ ((1𝑜 evalSub 𝑠)‘𝑟)))
3733, 35, 36ovmpt2x 6940 . . 3 ((𝑆 ∈ V ∧ 𝑅 ∈ 𝒫 𝐵 ∧ ((𝑥 ∈ (𝐵𝑚 (𝐵𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝐵 ↦ (1𝑜 × {𝑦})))) ∘ (𝐸𝑅)) ∈ V) → (𝑆 evalSub1 𝑅) = ((𝑥 ∈ (𝐵𝑚 (𝐵𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝐵 ↦ (1𝑜 × {𝑦})))) ∘ (𝐸𝑅)))
383, 4, 9, 37syl3anc 1476 . 2 ((𝑆𝑉𝑅 ∈ 𝒫 𝐵) → (𝑆 evalSub1 𝑅) = ((𝑥 ∈ (𝐵𝑚 (𝐵𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝐵 ↦ (1𝑜 × {𝑦})))) ∘ (𝐸𝑅)))
391, 38syl5eq 2817 1 ((𝑆𝑉𝑅 ∈ 𝒫 𝐵) → 𝑄 = ((𝑥 ∈ (𝐵𝑚 (𝐵𝑚 1𝑜)) ↦ (𝑥 ∘ (𝑦𝐵 ↦ (1𝑜 × {𝑦})))) ∘ (𝐸𝑅)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 382   = wceq 1631  wcel 2145  Vcvv 3351  csb 3682  𝒫 cpw 4298  {csn 4317  cmpt 4864   × cxp 5248  ccom 5254  cfv 6030  (class class class)co 6796  1𝑜c1o 7710  𝑚 cmap 8013  Basecbs 16064   evalSub ces 19719   evalSub1 ces1 19893
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1870  ax-4 1885  ax-5 1991  ax-6 2057  ax-7 2093  ax-8 2147  ax-9 2154  ax-10 2174  ax-11 2190  ax-12 2203  ax-13 2408  ax-ext 2751  ax-rep 4905  ax-sep 4916  ax-nul 4924  ax-pow 4975  ax-pr 5035  ax-un 7100
This theorem depends on definitions:  df-bi 197  df-an 383  df-or 837  df-3an 1073  df-tru 1634  df-ex 1853  df-nf 1858  df-sb 2050  df-eu 2622  df-mo 2623  df-clab 2758  df-cleq 2764  df-clel 2767  df-nfc 2902  df-ne 2944  df-ral 3066  df-rex 3067  df-reu 3068  df-rab 3070  df-v 3353  df-sbc 3588  df-csb 3683  df-dif 3726  df-un 3728  df-in 3730  df-ss 3737  df-nul 4064  df-if 4227  df-pw 4300  df-sn 4318  df-pr 4320  df-op 4324  df-uni 4576  df-iun 4657  df-br 4788  df-opab 4848  df-mpt 4865  df-id 5158  df-xp 5256  df-rel 5257  df-cnv 5258  df-co 5259  df-dm 5260  df-rn 5261  df-res 5262  df-ima 5263  df-iota 5993  df-fun 6032  df-fn 6033  df-f 6034  df-f1 6035  df-fo 6036  df-f1o 6037  df-fv 6038  df-ov 6799  df-oprab 6800  df-mpt2 6801  df-evls1 19895
This theorem is referenced by:  evls1val  19900  evls1rhm  19902  evls1sca  19903  evl1fval1lem  19909
  Copyright terms: Public domain W3C validator