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

Theorem funprg 5301
Description: A set of two pairs is a function if their first members are different. (Contributed by FL, 26-Jun-2011.)
Assertion
Ref Expression
funprg  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  ( C  e.  X  /\  D  e.  Y )  /\  A  =/=  B )  ->  Fun  {
<. A ,  C >. , 
<. B ,  D >. } )

Proof of Theorem funprg
StepHypRef Expression
1 simp1l 979 . . . 4  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  ( C  e.  X  /\  D  e.  Y )  /\  A  =/=  B )  ->  A  e.  V )
2 simp2l 981 . . . 4  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  ( C  e.  X  /\  D  e.  Y )  /\  A  =/=  B )  ->  C  e.  X )
3 funsng 5298 . . . 4  |-  ( ( A  e.  V  /\  C  e.  X )  ->  Fun  { <. A ,  C >. } )
41, 2, 3syl2anc 642 . . 3  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  ( C  e.  X  /\  D  e.  Y )  /\  A  =/=  B )  ->  Fun  {
<. A ,  C >. } )
5 simp1r 980 . . . 4  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  ( C  e.  X  /\  D  e.  Y )  /\  A  =/=  B )  ->  B  e.  W )
6 simp2r 982 . . . 4  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  ( C  e.  X  /\  D  e.  Y )  /\  A  =/=  B )  ->  D  e.  Y )
7 funsng 5298 . . . 4  |-  ( ( B  e.  W  /\  D  e.  Y )  ->  Fun  { <. B ,  D >. } )
85, 6, 7syl2anc 642 . . 3  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  ( C  e.  X  /\  D  e.  Y )  /\  A  =/=  B )  ->  Fun  {
<. B ,  D >. } )
9 dmsnopg 5144 . . . . . 6  |-  ( C  e.  X  ->  dom  {
<. A ,  C >. }  =  { A }
)
102, 9syl 15 . . . . 5  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  ( C  e.  X  /\  D  e.  Y )  /\  A  =/=  B )  ->  dom  {
<. A ,  C >. }  =  { A }
)
11 dmsnopg 5144 . . . . . 6  |-  ( D  e.  Y  ->  dom  {
<. B ,  D >. }  =  { B }
)
126, 11syl 15 . . . . 5  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  ( C  e.  X  /\  D  e.  Y )  /\  A  =/=  B )  ->  dom  {
<. B ,  D >. }  =  { B }
)
1310, 12ineq12d 3371 . . . 4  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  ( C  e.  X  /\  D  e.  Y )  /\  A  =/=  B )  ->  ( dom  { <. A ,  C >. }  i^i  dom  { <. B ,  D >. } )  =  ( { A }  i^i  { B } ) )
14 disjsn2 3694 . . . . 5  |-  ( A  =/=  B  ->  ( { A }  i^i  { B } )  =  (/) )
15143ad2ant3 978 . . . 4  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  ( C  e.  X  /\  D  e.  Y )  /\  A  =/=  B )  ->  ( { A }  i^i  { B } )  =  (/) )
1613, 15eqtrd 2315 . . 3  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  ( C  e.  X  /\  D  e.  Y )  /\  A  =/=  B )  ->  ( dom  { <. A ,  C >. }  i^i  dom  { <. B ,  D >. } )  =  (/) )
17 funun 5296 . . 3  |-  ( ( ( Fun  { <. A ,  C >. }  /\  Fun  { <. B ,  D >. } )  /\  ( dom  { <. A ,  C >. }  i^i  dom  { <. B ,  D >. } )  =  (/) )  ->  Fun  ( { <. A ,  C >. }  u.  { <. B ,  D >. } ) )
184, 8, 16, 17syl21anc 1181 . 2  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  ( C  e.  X  /\  D  e.  Y )  /\  A  =/=  B )  ->  Fun  ( { <. A ,  C >. }  u.  { <. B ,  D >. } ) )
19 df-pr 3647 . . 3  |-  { <. A ,  C >. ,  <. B ,  D >. }  =  ( { <. A ,  C >. }  u.  { <. B ,  D >. } )
2019funeqi 5275 . 2  |-  ( Fun 
{ <. A ,  C >. ,  <. B ,  D >. }  <->  Fun  ( { <. A ,  C >. }  u.  {
<. B ,  D >. } ) )
2118, 20sylibr 203 1  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  ( C  e.  X  /\  D  e.  Y )  /\  A  =/=  B )  ->  Fun  {
<. A ,  C >. , 
<. B ,  D >. } )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    /\ w3a 934    = wceq 1623    e. wcel 1684    =/= wne 2446    u. cun 3150    i^i cin 3151   (/)c0 3455   {csn 3640   {cpr 3641   <.cop 3643   dom cdm 4689   Fun wfun 5249
This theorem is referenced by:  funpr  5302  fnprg  5305
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-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-br 4024  df-opab 4078  df-id 4309  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-fun 5257
  Copyright terms: Public domain W3C validator