MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  fndmdifcom Unicode version

Theorem fndmdifcom 5630
Description: The difference set between two functions is commutative. (Contributed by Stefan O'Rear, 17-Jan-2015.)
Assertion
Ref Expression
fndmdifcom  |-  ( ( F  Fn  A  /\  G  Fn  A )  ->  dom  ( F  \  G )  =  dom  ( G  \  F ) )

Proof of Theorem fndmdifcom
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 necom 2527 . . . 4  |-  ( ( F `  x )  =/=  ( G `  x )  <->  ( G `  x )  =/=  ( F `  x )
)
21a1i 10 . . 3  |-  ( x  e.  A  ->  (
( F `  x
)  =/=  ( G `
 x )  <->  ( G `  x )  =/=  ( F `  x )
) )
32rabbiia 2778 . 2  |-  { x  e.  A  |  ( F `  x )  =/=  ( G `  x
) }  =  {
x  e.  A  | 
( G `  x
)  =/=  ( F `
 x ) }
4 fndmdif 5629 . 2  |-  ( ( F  Fn  A  /\  G  Fn  A )  ->  dom  ( F  \  G )  =  {
x  e.  A  | 
( F `  x
)  =/=  ( G `
 x ) } )
5 fndmdif 5629 . . 3  |-  ( ( G  Fn  A  /\  F  Fn  A )  ->  dom  ( G  \  F )  =  {
x  e.  A  | 
( G `  x
)  =/=  ( F `
 x ) } )
65ancoms 439 . 2  |-  ( ( F  Fn  A  /\  G  Fn  A )  ->  dom  ( G  \  F )  =  {
x  e.  A  | 
( G `  x
)  =/=  ( F `
 x ) } )
73, 4, 63eqtr4a 2341 1  |-  ( ( F  Fn  A  /\  G  Fn  A )  ->  dom  ( F  \  G )  =  dom  ( G  \  F ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    = wceq 1623    e. wcel 1684    =/= wne 2446   {crab 2547    \ cdif 3149   dom cdm 4689    Fn wfn 5250   ` cfv 5255
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pr 4214
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-rab 2552  df-v 2790  df-sbc 2992  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-br 4024  df-opab 4078  df-id 4309  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-iota 5219  df-fun 5257  df-fn 5258  df-fv 5263
  Copyright terms: Public domain W3C validator