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

Theorem offval 7520
Description: Value of an operation applied to two functions. (Contributed by Mario Carneiro, 20-Jul-2014.)
Hypotheses
Ref Expression
offval.1 (𝜑𝐹 Fn 𝐴)
offval.2 (𝜑𝐺 Fn 𝐵)
offval.3 (𝜑𝐴𝑉)
offval.4 (𝜑𝐵𝑊)
offval.5 (𝐴𝐵) = 𝑆
offval.6 ((𝜑𝑥𝐴) → (𝐹𝑥) = 𝐶)
offval.7 ((𝜑𝑥𝐵) → (𝐺𝑥) = 𝐷)
Assertion
Ref Expression
offval (𝜑 → (𝐹f 𝑅𝐺) = (𝑥𝑆 ↦ (𝐶𝑅𝐷)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐹   𝑥,𝐺   𝜑,𝑥   𝑥,𝑆   𝑥,𝑅
Allowed substitution hints:   𝐵(𝑥)   𝐶(𝑥)   𝐷(𝑥)   𝑉(𝑥)   𝑊(𝑥)

Proof of Theorem offval
Dummy variables 𝑓 𝑔 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 offval.1 . . . 4 (𝜑𝐹 Fn 𝐴)
2 offval.3 . . . 4 (𝜑𝐴𝑉)
3 fnex 7075 . . . 4 ((𝐹 Fn 𝐴𝐴𝑉) → 𝐹 ∈ V)
41, 2, 3syl2anc 583 . . 3 (𝜑𝐹 ∈ V)
5 offval.2 . . . 4 (𝜑𝐺 Fn 𝐵)
6 offval.4 . . . 4 (𝜑𝐵𝑊)
7 fnex 7075 . . . 4 ((𝐺 Fn 𝐵𝐵𝑊) → 𝐺 ∈ V)
85, 6, 7syl2anc 583 . . 3 (𝜑𝐺 ∈ V)
91fndmd 6522 . . . . . . 7 (𝜑 → dom 𝐹 = 𝐴)
105fndmd 6522 . . . . . . 7 (𝜑 → dom 𝐺 = 𝐵)
119, 10ineq12d 4144 . . . . . 6 (𝜑 → (dom 𝐹 ∩ dom 𝐺) = (𝐴𝐵))
12 offval.5 . . . . . 6 (𝐴𝐵) = 𝑆
1311, 12eqtrdi 2795 . . . . 5 (𝜑 → (dom 𝐹 ∩ dom 𝐺) = 𝑆)
1413mpteq1d 5165 . . . 4 (𝜑 → (𝑥 ∈ (dom 𝐹 ∩ dom 𝐺) ↦ ((𝐹𝑥)𝑅(𝐺𝑥))) = (𝑥𝑆 ↦ ((𝐹𝑥)𝑅(𝐺𝑥))))
15 inex1g 5238 . . . . . 6 (𝐴𝑉 → (𝐴𝐵) ∈ V)
1612, 15eqeltrrid 2844 . . . . 5 (𝐴𝑉𝑆 ∈ V)
17 mptexg 7079 . . . . 5 (𝑆 ∈ V → (𝑥𝑆 ↦ ((𝐹𝑥)𝑅(𝐺𝑥))) ∈ V)
182, 16, 173syl 18 . . . 4 (𝜑 → (𝑥𝑆 ↦ ((𝐹𝑥)𝑅(𝐺𝑥))) ∈ V)
1914, 18eqeltrd 2839 . . 3 (𝜑 → (𝑥 ∈ (dom 𝐹 ∩ dom 𝐺) ↦ ((𝐹𝑥)𝑅(𝐺𝑥))) ∈ V)
20 dmeq 5801 . . . . . 6 (𝑓 = 𝐹 → dom 𝑓 = dom 𝐹)
21 dmeq 5801 . . . . . 6 (𝑔 = 𝐺 → dom 𝑔 = dom 𝐺)
2220, 21ineqan12d 4145 . . . . 5 ((𝑓 = 𝐹𝑔 = 𝐺) → (dom 𝑓 ∩ dom 𝑔) = (dom 𝐹 ∩ dom 𝐺))
23 fveq1 6755 . . . . . 6 (𝑓 = 𝐹 → (𝑓𝑥) = (𝐹𝑥))
24 fveq1 6755 . . . . . 6 (𝑔 = 𝐺 → (𝑔𝑥) = (𝐺𝑥))
2523, 24oveqan12d 7274 . . . . 5 ((𝑓 = 𝐹𝑔 = 𝐺) → ((𝑓𝑥)𝑅(𝑔𝑥)) = ((𝐹𝑥)𝑅(𝐺𝑥)))
2622, 25mpteq12dv 5161 . . . 4 ((𝑓 = 𝐹𝑔 = 𝐺) → (𝑥 ∈ (dom 𝑓 ∩ dom 𝑔) ↦ ((𝑓𝑥)𝑅(𝑔𝑥))) = (𝑥 ∈ (dom 𝐹 ∩ dom 𝐺) ↦ ((𝐹𝑥)𝑅(𝐺𝑥))))
27 df-of 7511 . . . 4 f 𝑅 = (𝑓 ∈ V, 𝑔 ∈ V ↦ (𝑥 ∈ (dom 𝑓 ∩ dom 𝑔) ↦ ((𝑓𝑥)𝑅(𝑔𝑥))))
2826, 27ovmpoga 7405 . . 3 ((𝐹 ∈ V ∧ 𝐺 ∈ V ∧ (𝑥 ∈ (dom 𝐹 ∩ dom 𝐺) ↦ ((𝐹𝑥)𝑅(𝐺𝑥))) ∈ V) → (𝐹f 𝑅𝐺) = (𝑥 ∈ (dom 𝐹 ∩ dom 𝐺) ↦ ((𝐹𝑥)𝑅(𝐺𝑥))))
294, 8, 19, 28syl3anc 1369 . 2 (𝜑 → (𝐹f 𝑅𝐺) = (𝑥 ∈ (dom 𝐹 ∩ dom 𝐺) ↦ ((𝐹𝑥)𝑅(𝐺𝑥))))
3012eleq2i 2830 . . . . 5 (𝑥 ∈ (𝐴𝐵) ↔ 𝑥𝑆)
31 elin 3899 . . . . 5 (𝑥 ∈ (𝐴𝐵) ↔ (𝑥𝐴𝑥𝐵))
3230, 31bitr3i 276 . . . 4 (𝑥𝑆 ↔ (𝑥𝐴𝑥𝐵))
33 offval.6 . . . . . 6 ((𝜑𝑥𝐴) → (𝐹𝑥) = 𝐶)
3433adantrr 713 . . . . 5 ((𝜑 ∧ (𝑥𝐴𝑥𝐵)) → (𝐹𝑥) = 𝐶)
35 offval.7 . . . . . 6 ((𝜑𝑥𝐵) → (𝐺𝑥) = 𝐷)
3635adantrl 712 . . . . 5 ((𝜑 ∧ (𝑥𝐴𝑥𝐵)) → (𝐺𝑥) = 𝐷)
3734, 36oveq12d 7273 . . . 4 ((𝜑 ∧ (𝑥𝐴𝑥𝐵)) → ((𝐹𝑥)𝑅(𝐺𝑥)) = (𝐶𝑅𝐷))
3832, 37sylan2b 593 . . 3 ((𝜑𝑥𝑆) → ((𝐹𝑥)𝑅(𝐺𝑥)) = (𝐶𝑅𝐷))
3938mpteq2dva 5170 . 2 (𝜑 → (𝑥𝑆 ↦ ((𝐹𝑥)𝑅(𝐺𝑥))) = (𝑥𝑆 ↦ (𝐶𝑅𝐷)))
4029, 14, 393eqtrd 2782 1 (𝜑 → (𝐹f 𝑅𝐺) = (𝑥𝑆 ↦ (𝐶𝑅𝐷)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  Vcvv 3422  cin 3882  cmpt 5153  dom cdm 5580   Fn wfn 6413  cfv 6418  (class class class)co 7255  f cof 7509
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-of 7511
This theorem is referenced by:  ofval  7522  offn  7524  offval2f  7526  off  7529  ofres  7530  offval2  7531  ofco  7534  offveqb  7536  suppssof1  7986  o1rlimmul  15256  frlmipval  20896  frlmphllem  20897  frlmphl  20898  gsumbagdiaglemOLD  21051  gsumbagdiaglem  21054  evlslem1  21202  mhpmulcl  21249  psrplusgpropd  21317  mat1dimscm  21532  rrxcph  24461  rrxds  24462  mbfadd  24730  mbfsub  24731  mbfmullem2  24794  mbfmul  24796  bddmulibl  24908  dvcmulf  25014  ofrn2  30878  off2  30879  ofresid  30880  islinds5  31465  ellspds  31466  ofcof  31975  plymul02  32425  signsplypnf  32429  signsply0  32430  matunitlindflem1  35700  matunitlindflem2  35701  poimirlem3  35707  poimirlem4  35708  poimirlem16  35720  poimirlem19  35723  poimirlem28  35732  broucube  35738  itg2addnc  35758  ftc1anclem8  35784  evlsbagval  40198  mhphf  40208  dflinc2  45639  fdivmpt  45774
  Copyright terms: Public domain W3C validator