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

Theorem caofcom 7600
Description: Transfer a commutative law to the function operation. (Contributed by Mario Carneiro, 26-Jul-2014.)
Hypotheses
Ref Expression
caofref.1 (𝜑𝐴𝑉)
caofref.2 (𝜑𝐹:𝐴𝑆)
caofcom.3 (𝜑𝐺:𝐴𝑆)
caofcom.4 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥𝑅𝑦) = (𝑦𝑅𝑥))
Assertion
Ref Expression
caofcom (𝜑 → (𝐹f 𝑅𝐺) = (𝐺f 𝑅𝐹))
Distinct variable groups:   𝑥,𝑦,𝐹   𝑥,𝐺,𝑦   𝜑,𝑥,𝑦   𝑥,𝑅,𝑦   𝑥,𝑆,𝑦
Allowed substitution hints:   𝐴(𝑥,𝑦)   𝑉(𝑥,𝑦)

Proof of Theorem caofcom
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 caofref.2 . . . . . 6 (𝜑𝐹:𝐴𝑆)
21ffvelcdmda 6993 . . . . 5 ((𝜑𝑤𝐴) → (𝐹𝑤) ∈ 𝑆)
3 caofcom.3 . . . . . 6 (𝜑𝐺:𝐴𝑆)
43ffvelcdmda 6993 . . . . 5 ((𝜑𝑤𝐴) → (𝐺𝑤) ∈ 𝑆)
52, 4jca 513 . . . 4 ((𝜑𝑤𝐴) → ((𝐹𝑤) ∈ 𝑆 ∧ (𝐺𝑤) ∈ 𝑆))
6 caofcom.4 . . . . 5 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥𝑅𝑦) = (𝑦𝑅𝑥))
76caovcomg 7499 . . . 4 ((𝜑 ∧ ((𝐹𝑤) ∈ 𝑆 ∧ (𝐺𝑤) ∈ 𝑆)) → ((𝐹𝑤)𝑅(𝐺𝑤)) = ((𝐺𝑤)𝑅(𝐹𝑤)))
85, 7syldan 592 . . 3 ((𝜑𝑤𝐴) → ((𝐹𝑤)𝑅(𝐺𝑤)) = ((𝐺𝑤)𝑅(𝐹𝑤)))
98mpteq2dva 5181 . 2 (𝜑 → (𝑤𝐴 ↦ ((𝐹𝑤)𝑅(𝐺𝑤))) = (𝑤𝐴 ↦ ((𝐺𝑤)𝑅(𝐹𝑤))))
10 caofref.1 . . 3 (𝜑𝐴𝑉)
111feqmptd 6869 . . 3 (𝜑𝐹 = (𝑤𝐴 ↦ (𝐹𝑤)))
123feqmptd 6869 . . 3 (𝜑𝐺 = (𝑤𝐴 ↦ (𝐺𝑤)))
1310, 2, 4, 11, 12offval2 7585 . 2 (𝜑 → (𝐹f 𝑅𝐺) = (𝑤𝐴 ↦ ((𝐹𝑤)𝑅(𝐺𝑤))))
1410, 4, 2, 12, 11offval2 7585 . 2 (𝜑 → (𝐺f 𝑅𝐹) = (𝑤𝐴 ↦ ((𝐺𝑤)𝑅(𝐹𝑤))))
159, 13, 143eqtr4d 2786 1 (𝜑 → (𝐹f 𝑅𝐺) = (𝐺f 𝑅𝐹))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397   = wceq 1539  wcel 2104  cmpt 5164  wf 6454  cfv 6458  (class class class)co 7307  f cof 7563
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2707  ax-rep 5218  ax-sep 5232  ax-nul 5239  ax-pr 5361
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2887  df-ne 2942  df-ral 3063  df-rex 3072  df-reu 3286  df-rab 3287  df-v 3439  df-sbc 3722  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-sn 4566  df-pr 4568  df-op 4572  df-uni 4845  df-iun 4933  df-br 5082  df-opab 5144  df-mpt 5165  df-id 5500  df-xp 5606  df-rel 5607  df-cnv 5608  df-co 5609  df-dm 5610  df-rn 5611  df-res 5612  df-ima 5613  df-iota 6410  df-fun 6460  df-fn 6461  df-f 6462  df-f1 6463  df-fo 6464  df-f1o 6465  df-fv 6466  df-ov 7310  df-oprab 7311  df-mpo 7312  df-of 7565
This theorem is referenced by:  plydivlem4  25501  quotcan  25514  dchrabl  26447  plymulx0  32571  lfladdcom  37128  expgrowth  41991  amgmwlem  46564
  Copyright terms: Public domain W3C validator