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

Theorem caofcom 7433
 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 (𝜑𝐹:𝐴𝑆)
21ffvelrnda 6844 . . . . 5 ((𝜑𝑤𝐴) → (𝐹𝑤) ∈ 𝑆)
3 caofcom.3 . . . . . 6 (𝜑𝐺:𝐴𝑆)
43ffvelrnda 6844 . . . . 5 ((𝜑𝑤𝐴) → (𝐺𝑤) ∈ 𝑆)
52, 4jca 514 . . . 4 ((𝜑𝑤𝐴) → ((𝐹𝑤) ∈ 𝑆 ∧ (𝐺𝑤) ∈ 𝑆))
6 caofcom.4 . . . . 5 ((𝜑 ∧ (𝑥𝑆𝑦𝑆)) → (𝑥𝑅𝑦) = (𝑦𝑅𝑥))
76caovcomg 7335 . . . 4 ((𝜑 ∧ ((𝐹𝑤) ∈ 𝑆 ∧ (𝐺𝑤) ∈ 𝑆)) → ((𝐹𝑤)𝑅(𝐺𝑤)) = ((𝐺𝑤)𝑅(𝐹𝑤)))
85, 7syldan 593 . . 3 ((𝜑𝑤𝐴) → ((𝐹𝑤)𝑅(𝐺𝑤)) = ((𝐺𝑤)𝑅(𝐹𝑤)))
98mpteq2dva 5152 . 2 (𝜑 → (𝑤𝐴 ↦ ((𝐹𝑤)𝑅(𝐺𝑤))) = (𝑤𝐴 ↦ ((𝐺𝑤)𝑅(𝐹𝑤))))
10 caofref.1 . . 3 (𝜑𝐴𝑉)
111feqmptd 6726 . . 3 (𝜑𝐹 = (𝑤𝐴 ↦ (𝐹𝑤)))
123feqmptd 6726 . . 3 (𝜑𝐺 = (𝑤𝐴 ↦ (𝐺𝑤)))
1310, 2, 4, 11, 12offval2 7418 . 2 (𝜑 → (𝐹f 𝑅𝐺) = (𝑤𝐴 ↦ ((𝐹𝑤)𝑅(𝐺𝑤))))
1410, 4, 2, 12, 11offval2 7418 . 2 (𝜑 → (𝐺f 𝑅𝐹) = (𝑤𝐴 ↦ ((𝐺𝑤)𝑅(𝐹𝑤))))
159, 13, 143eqtr4d 2864 1 (𝜑 → (𝐹f 𝑅𝐺) = (𝐺f 𝑅𝐹))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ∧ wa 398   = wceq 1531   ∈ wcel 2108   ↦ cmpt 5137  ⟶wf 6344  ‘cfv 6348  (class class class)co 7148   ∘f cof 7399 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1905  ax-6 1964  ax-7 2009  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2154  ax-12 2170  ax-ext 2791  ax-rep 5181  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320 This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1534  df-ex 1775  df-nf 1779  df-sb 2064  df-mo 2616  df-eu 2648  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-ne 3015  df-ral 3141  df-rex 3142  df-reu 3143  df-rab 3145  df-v 3495  df-sbc 3771  df-csb 3882  df-dif 3937  df-un 3939  df-in 3941  df-ss 3950  df-nul 4290  df-if 4466  df-sn 4560  df-pr 4562  df-op 4566  df-uni 4831  df-iun 4912  df-br 5058  df-opab 5120  df-mpt 5138  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-f1 6353  df-fo 6354  df-f1o 6355  df-fv 6356  df-ov 7151  df-oprab 7152  df-mpo 7153  df-of 7401 This theorem is referenced by:  plydivlem4  24877  quotcan  24890  dchrabl  25822  plymulx0  31810  lfladdcom  36200  expgrowth  40658  amgmwlem  44894
 Copyright terms: Public domain W3C validator