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

Theorem funprg 5317
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 5314 . . . 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 5314 . . . 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 5160 . . . . . 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 5160 . . . . . 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 3384 . . . 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 3707 . . . . 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 2328 . . 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 5312 . . 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 3660 . . 3  |-  { <. A ,  C >. ,  <. B ,  D >. }  =  ( { <. A ,  C >. }  u.  { <. B ,  D >. } )
2019funeqi 5291 . 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 1632    e. wcel 1696    =/= wne 2459    u. cun 3163    i^i cin 3164   (/)c0 3468   {csn 3653   {cpr 3654   <.cop 3656   dom cdm 4705   Fun wfun 5265
This theorem is referenced by:  funpr  5318  fnprg  5321  constr3pthlem2  28402
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-sep 4157  ax-nul 4165  ax-pr 4230
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-ral 2561  df-rex 2562  df-rab 2565  df-v 2803  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-nul 3469  df-if 3579  df-sn 3659  df-pr 3660  df-op 3662  df-br 4040  df-opab 4094  df-id 4325  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-fun 5273
  Copyright terms: Public domain W3C validator