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

Theorem caofdi 6886
 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 750 . . . 4 (((𝜑𝑤𝐴) ∧ (𝑥𝐾𝑦𝑆𝑧𝑆)) → (𝑥𝑇(𝑦𝑅𝑧)) = ((𝑥𝑇𝑦)𝑂(𝑥𝑇𝑧)))
3 caofdi.2 . . . . 5 (𝜑𝐹:𝐴𝐾)
43ffvelrnda 6315 . . . 4 ((𝜑𝑤𝐴) → (𝐹𝑤) ∈ 𝐾)
5 caofdi.3 . . . . 5 (𝜑𝐺:𝐴𝑆)
65ffvelrnda 6315 . . . 4 ((𝜑𝑤𝐴) → (𝐺𝑤) ∈ 𝑆)
7 caofdi.4 . . . . 5 (𝜑𝐻:𝐴𝑆)
87ffvelrnda 6315 . . . 4 ((𝜑𝑤𝐴) → (𝐻𝑤) ∈ 𝑆)
92, 4, 6, 8caovdid 6802 . . 3 ((𝜑𝑤𝐴) → ((𝐹𝑤)𝑇((𝐺𝑤)𝑅(𝐻𝑤))) = (((𝐹𝑤)𝑇(𝐺𝑤))𝑂((𝐹𝑤)𝑇(𝐻𝑤))))
109mpteq2dva 4704 . 2 (𝜑 → (𝑤𝐴 ↦ ((𝐹𝑤)𝑇((𝐺𝑤)𝑅(𝐻𝑤)))) = (𝑤𝐴 ↦ (((𝐹𝑤)𝑇(𝐺𝑤))𝑂((𝐹𝑤)𝑇(𝐻𝑤)))))
11 caofdi.1 . . 3 (𝜑𝐴𝑉)
12 ovex 6632 . . . 4 ((𝐺𝑤)𝑅(𝐻𝑤)) ∈ V
1312a1i 11 . . 3 ((𝜑𝑤𝐴) → ((𝐺𝑤)𝑅(𝐻𝑤)) ∈ V)
143feqmptd 6206 . . 3 (𝜑𝐹 = (𝑤𝐴 ↦ (𝐹𝑤)))
155feqmptd 6206 . . . 4 (𝜑𝐺 = (𝑤𝐴 ↦ (𝐺𝑤)))
167feqmptd 6206 . . . 4 (𝜑𝐻 = (𝑤𝐴 ↦ (𝐻𝑤)))
1711, 6, 8, 15, 16offval2 6867 . . 3 (𝜑 → (𝐺𝑓 𝑅𝐻) = (𝑤𝐴 ↦ ((𝐺𝑤)𝑅(𝐻𝑤))))
1811, 4, 13, 14, 17offval2 6867 . 2 (𝜑 → (𝐹𝑓 𝑇(𝐺𝑓 𝑅𝐻)) = (𝑤𝐴 ↦ ((𝐹𝑤)𝑇((𝐺𝑤)𝑅(𝐻𝑤)))))
19 ovex 6632 . . . 4 ((𝐹𝑤)𝑇(𝐺𝑤)) ∈ V
2019a1i 11 . . 3 ((𝜑𝑤𝐴) → ((𝐹𝑤)𝑇(𝐺𝑤)) ∈ V)
21 ovex 6632 . . . 4 ((𝐹𝑤)𝑇(𝐻𝑤)) ∈ V
2221a1i 11 . . 3 ((𝜑𝑤𝐴) → ((𝐹𝑤)𝑇(𝐻𝑤)) ∈ V)
2311, 4, 6, 14, 15offval2 6867 . . 3 (𝜑 → (𝐹𝑓 𝑇𝐺) = (𝑤𝐴 ↦ ((𝐹𝑤)𝑇(𝐺𝑤))))
2411, 4, 8, 14, 16offval2 6867 . . 3 (𝜑 → (𝐹𝑓 𝑇𝐻) = (𝑤𝐴 ↦ ((𝐹𝑤)𝑇(𝐻𝑤))))
2511, 20, 22, 23, 24offval2 6867 . 2 (𝜑 → ((𝐹𝑓 𝑇𝐺) ∘𝑓 𝑂(𝐹𝑓 𝑇𝐻)) = (𝑤𝐴 ↦ (((𝐹𝑤)𝑇(𝐺𝑤))𝑂((𝐹𝑤)𝑇(𝐻𝑤)))))
2610, 18, 253eqtr4d 2665 1 (𝜑 → (𝐹𝑓 𝑇(𝐺𝑓 𝑅𝐻)) = ((𝐹𝑓 𝑇𝐺) ∘𝑓 𝑂(𝐹𝑓 𝑇𝐻)))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 384   ∧ w3a 1036   = wceq 1480   ∈ wcel 1987  Vcvv 3186   ↦ cmpt 4673  ⟶wf 5843  ‘cfv 5847  (class class class)co 6604   ∘𝑓 cof 6848 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 4731  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867 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 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-nul 3892  df-if 4059  df-sn 4149  df-pr 4151  df-op 4155  df-uni 4403  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-id 4989  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-f1 5852  df-fo 5853  df-f1o 5854  df-fv 5855  df-ov 6607  df-oprab 6608  df-mpt2 6609  df-of 6850 This theorem is referenced by:  psrlmod  19320  plydivlem4  23955  plydiveu  23957  quotcan  23968  basellem9  24715  lflvsdi2  33843  mendlmod  37241
 Copyright terms: Public domain W3C validator