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

Theorem caofdi 7438
Description: Transfer a distributive law to the function operation. (Contributed by Mario Carneiro, 26-Jul-2014.)
Hypotheses
Ref Expression
caofdi.1 (𝜑𝐴𝑉)
caofdi.2 (𝜑𝐹:𝐴𝐾)
caofdi.3 (𝜑𝐺:𝐴𝑆)
caofdi.4 (𝜑𝐻:𝐴𝑆)
caofdi.5 ((𝜑 ∧ (𝑥𝐾𝑦𝑆𝑧𝑆)) → (𝑥𝑇(𝑦𝑅𝑧)) = ((𝑥𝑇𝑦)𝑂(𝑥𝑇𝑧)))
Assertion
Ref Expression
caofdi (𝜑 → (𝐹f 𝑇(𝐺f 𝑅𝐻)) = ((𝐹f 𝑇𝐺) ∘f 𝑂(𝐹f 𝑇𝐻)))
Distinct variable groups:   𝑥,𝑦,𝑧,𝐴   𝑥,𝐹,𝑦,𝑧   𝑥,𝐺,𝑦,𝑧   𝜑,𝑥,𝑦,𝑧   𝑥,𝐻,𝑦,𝑧   𝑥,𝐾,𝑦,𝑧   𝑥,𝑂,𝑦,𝑧   𝑥,𝑅,𝑦,𝑧   𝑥,𝑆,𝑦,𝑧   𝑥,𝑇,𝑦,𝑧
Allowed substitution hints:   𝑉(𝑥,𝑦,𝑧)

Proof of Theorem caofdi
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 caofdi.5 . . . . 5 ((𝜑 ∧ (𝑥𝐾𝑦𝑆𝑧𝑆)) → (𝑥𝑇(𝑦𝑅𝑧)) = ((𝑥𝑇𝑦)𝑂(𝑥𝑇𝑧)))
21adantlr 711 . . . 4 (((𝜑𝑤𝐴) ∧ (𝑥𝐾𝑦𝑆𝑧𝑆)) → (𝑥𝑇(𝑦𝑅𝑧)) = ((𝑥𝑇𝑦)𝑂(𝑥𝑇𝑧)))
3 caofdi.2 . . . . 5 (𝜑𝐹:𝐴𝐾)
43ffvelrnda 6846 . . . 4 ((𝜑𝑤𝐴) → (𝐹𝑤) ∈ 𝐾)
5 caofdi.3 . . . . 5 (𝜑𝐺:𝐴𝑆)
65ffvelrnda 6846 . . . 4 ((𝜑𝑤𝐴) → (𝐺𝑤) ∈ 𝑆)
7 caofdi.4 . . . . 5 (𝜑𝐻:𝐴𝑆)
87ffvelrnda 6846 . . . 4 ((𝜑𝑤𝐴) → (𝐻𝑤) ∈ 𝑆)
92, 4, 6, 8caovdid 7356 . . 3 ((𝜑𝑤𝐴) → ((𝐹𝑤)𝑇((𝐺𝑤)𝑅(𝐻𝑤))) = (((𝐹𝑤)𝑇(𝐺𝑤))𝑂((𝐹𝑤)𝑇(𝐻𝑤))))
109mpteq2dva 5157 . 2 (𝜑 → (𝑤𝐴 ↦ ((𝐹𝑤)𝑇((𝐺𝑤)𝑅(𝐻𝑤)))) = (𝑤𝐴 ↦ (((𝐹𝑤)𝑇(𝐺𝑤))𝑂((𝐹𝑤)𝑇(𝐻𝑤)))))
11 caofdi.1 . . 3 (𝜑𝐴𝑉)
12 ovexd 7186 . . 3 ((𝜑𝑤𝐴) → ((𝐺𝑤)𝑅(𝐻𝑤)) ∈ V)
133feqmptd 6729 . . 3 (𝜑𝐹 = (𝑤𝐴 ↦ (𝐹𝑤)))
145feqmptd 6729 . . . 4 (𝜑𝐺 = (𝑤𝐴 ↦ (𝐺𝑤)))
157feqmptd 6729 . . . 4 (𝜑𝐻 = (𝑤𝐴 ↦ (𝐻𝑤)))
1611, 6, 8, 14, 15offval2 7419 . . 3 (𝜑 → (𝐺f 𝑅𝐻) = (𝑤𝐴 ↦ ((𝐺𝑤)𝑅(𝐻𝑤))))
1711, 4, 12, 13, 16offval2 7419 . 2 (𝜑 → (𝐹f 𝑇(𝐺f 𝑅𝐻)) = (𝑤𝐴 ↦ ((𝐹𝑤)𝑇((𝐺𝑤)𝑅(𝐻𝑤)))))
18 ovexd 7186 . . 3 ((𝜑𝑤𝐴) → ((𝐹𝑤)𝑇(𝐺𝑤)) ∈ V)
19 ovexd 7186 . . 3 ((𝜑𝑤𝐴) → ((𝐹𝑤)𝑇(𝐻𝑤)) ∈ V)
2011, 4, 6, 13, 14offval2 7419 . . 3 (𝜑 → (𝐹f 𝑇𝐺) = (𝑤𝐴 ↦ ((𝐹𝑤)𝑇(𝐺𝑤))))
2111, 4, 8, 13, 15offval2 7419 . . 3 (𝜑 → (𝐹f 𝑇𝐻) = (𝑤𝐴 ↦ ((𝐹𝑤)𝑇(𝐻𝑤))))
2211, 18, 19, 20, 21offval2 7419 . 2 (𝜑 → ((𝐹f 𝑇𝐺) ∘f 𝑂(𝐹f 𝑇𝐻)) = (𝑤𝐴 ↦ (((𝐹𝑤)𝑇(𝐺𝑤))𝑂((𝐹𝑤)𝑇(𝐻𝑤)))))
2310, 17, 223eqtr4d 2870 1 (𝜑 → (𝐹f 𝑇(𝐺f 𝑅𝐻)) = ((𝐹f 𝑇𝐺) ∘f 𝑂(𝐹f 𝑇𝐻)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  w3a 1081   = wceq 1530  wcel 2107  Vcvv 3499  cmpt 5142  wf 6347  cfv 6351  (class class class)co 7151  f cof 7400
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1904  ax-6 1963  ax-7 2008  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2153  ax-12 2169  ax-ext 2797  ax-rep 5186  ax-sep 5199  ax-nul 5206  ax-pow 5262  ax-pr 5325
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 844  df-3an 1083  df-tru 1533  df-ex 1774  df-nf 1778  df-sb 2063  df-mo 2619  df-eu 2651  df-clab 2804  df-cleq 2818  df-clel 2897  df-nfc 2967  df-ne 3021  df-ral 3147  df-rex 3148  df-reu 3149  df-rab 3151  df-v 3501  df-sbc 3776  df-csb 3887  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-nul 4295  df-if 4470  df-sn 4564  df-pr 4566  df-op 4570  df-uni 4837  df-iun 4918  df-br 5063  df-opab 5125  df-mpt 5143  df-id 5458  df-xp 5559  df-rel 5560  df-cnv 5561  df-co 5562  df-dm 5563  df-rn 5564  df-res 5565  df-ima 5566  df-iota 6311  df-fun 6353  df-fn 6354  df-f 6355  df-f1 6356  df-fo 6357  df-f1o 6358  df-fv 6359  df-ov 7154  df-oprab 7155  df-mpo 7156  df-of 7402
This theorem is referenced by:  psrlmod  20103  plydivlem4  24803  plydiveu  24805  quotcan  24816  basellem9  25583  lflvsdi2  36085  mendlmod  39661
  Copyright terms: Public domain W3C validator