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

Theorem caofdi 7165
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 (𝜑 → (𝐹𝑓 𝑇(𝐺𝑓 𝑅𝐻)) = ((𝐹𝑓 𝑇𝐺) ∘𝑓 𝑂(𝐹𝑓 𝑇𝐻)))
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 707 . . . 4 (((𝜑𝑤𝐴) ∧ (𝑥𝐾𝑦𝑆𝑧𝑆)) → (𝑥𝑇(𝑦𝑅𝑧)) = ((𝑥𝑇𝑦)𝑂(𝑥𝑇𝑧)))
3 caofdi.2 . . . . 5 (𝜑𝐹:𝐴𝐾)
43ffvelrnda 6583 . . . 4 ((𝜑𝑤𝐴) → (𝐹𝑤) ∈ 𝐾)
5 caofdi.3 . . . . 5 (𝜑𝐺:𝐴𝑆)
65ffvelrnda 6583 . . . 4 ((𝜑𝑤𝐴) → (𝐺𝑤) ∈ 𝑆)
7 caofdi.4 . . . . 5 (𝜑𝐻:𝐴𝑆)
87ffvelrnda 6583 . . . 4 ((𝜑𝑤𝐴) → (𝐻𝑤) ∈ 𝑆)
92, 4, 6, 8caovdid 7081 . . 3 ((𝜑𝑤𝐴) → ((𝐹𝑤)𝑇((𝐺𝑤)𝑅(𝐻𝑤))) = (((𝐹𝑤)𝑇(𝐺𝑤))𝑂((𝐹𝑤)𝑇(𝐻𝑤))))
109mpteq2dva 4935 . 2 (𝜑 → (𝑤𝐴 ↦ ((𝐹𝑤)𝑇((𝐺𝑤)𝑅(𝐻𝑤)))) = (𝑤𝐴 ↦ (((𝐹𝑤)𝑇(𝐺𝑤))𝑂((𝐹𝑤)𝑇(𝐻𝑤)))))
11 caofdi.1 . . 3 (𝜑𝐴𝑉)
12 ovexd 6910 . . 3 ((𝜑𝑤𝐴) → ((𝐺𝑤)𝑅(𝐻𝑤)) ∈ V)
133feqmptd 6472 . . 3 (𝜑𝐹 = (𝑤𝐴 ↦ (𝐹𝑤)))
145feqmptd 6472 . . . 4 (𝜑𝐺 = (𝑤𝐴 ↦ (𝐺𝑤)))
157feqmptd 6472 . . . 4 (𝜑𝐻 = (𝑤𝐴 ↦ (𝐻𝑤)))
1611, 6, 8, 14, 15offval2 7146 . . 3 (𝜑 → (𝐺𝑓 𝑅𝐻) = (𝑤𝐴 ↦ ((𝐺𝑤)𝑅(𝐻𝑤))))
1711, 4, 12, 13, 16offval2 7146 . 2 (𝜑 → (𝐹𝑓 𝑇(𝐺𝑓 𝑅𝐻)) = (𝑤𝐴 ↦ ((𝐹𝑤)𝑇((𝐺𝑤)𝑅(𝐻𝑤)))))
18 ovexd 6910 . . 3 ((𝜑𝑤𝐴) → ((𝐹𝑤)𝑇(𝐺𝑤)) ∈ V)
19 ovexd 6910 . . 3 ((𝜑𝑤𝐴) → ((𝐹𝑤)𝑇(𝐻𝑤)) ∈ V)
2011, 4, 6, 13, 14offval2 7146 . . 3 (𝜑 → (𝐹𝑓 𝑇𝐺) = (𝑤𝐴 ↦ ((𝐹𝑤)𝑇(𝐺𝑤))))
2111, 4, 8, 13, 15offval2 7146 . . 3 (𝜑 → (𝐹𝑓 𝑇𝐻) = (𝑤𝐴 ↦ ((𝐹𝑤)𝑇(𝐻𝑤))))
2211, 18, 19, 20, 21offval2 7146 . 2 (𝜑 → ((𝐹𝑓 𝑇𝐺) ∘𝑓 𝑂(𝐹𝑓 𝑇𝐻)) = (𝑤𝐴 ↦ (((𝐹𝑤)𝑇(𝐺𝑤))𝑂((𝐹𝑤)𝑇(𝐻𝑤)))))
2310, 17, 223eqtr4d 2841 1 (𝜑 → (𝐹𝑓 𝑇(𝐺𝑓 𝑅𝐻)) = ((𝐹𝑓 𝑇𝐺) ∘𝑓 𝑂(𝐹𝑓 𝑇𝐻)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 385  w3a 1108   = wceq 1653  wcel 2157  Vcvv 3383  cmpt 4920  wf 6095  cfv 6099  (class class class)co 6876  𝑓 cof 7127
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1891  ax-4 1905  ax-5 2006  ax-6 2072  ax-7 2107  ax-8 2159  ax-9 2166  ax-10 2185  ax-11 2200  ax-12 2213  ax-13 2354  ax-ext 2775  ax-rep 4962  ax-sep 4973  ax-nul 4981  ax-pow 5033  ax-pr 5095
This theorem depends on definitions:  df-bi 199  df-an 386  df-or 875  df-3an 1110  df-tru 1657  df-ex 1876  df-nf 1880  df-sb 2065  df-mo 2590  df-eu 2607  df-clab 2784  df-cleq 2790  df-clel 2793  df-nfc 2928  df-ne 2970  df-ral 3092  df-rex 3093  df-reu 3094  df-rab 3096  df-v 3385  df-sbc 3632  df-csb 3727  df-dif 3770  df-un 3772  df-in 3774  df-ss 3781  df-nul 4114  df-if 4276  df-sn 4367  df-pr 4369  df-op 4373  df-uni 4627  df-iun 4710  df-br 4842  df-opab 4904  df-mpt 4921  df-id 5218  df-xp 5316  df-rel 5317  df-cnv 5318  df-co 5319  df-dm 5320  df-rn 5321  df-res 5322  df-ima 5323  df-iota 6062  df-fun 6101  df-fn 6102  df-f 6103  df-f1 6104  df-fo 6105  df-f1o 6106  df-fv 6107  df-ov 6879  df-oprab 6880  df-mpt2 6881  df-of 7129
This theorem is referenced by:  psrlmod  19721  plydivlem4  24389  plydiveu  24391  quotcan  24402  basellem9  25164  lflvsdi2  35092  mendlmod  38536
  Copyright terms: Public domain W3C validator