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

Theorem f1oprg 5651
Description: An unordered pair of ordered pairs with different elements is a one-to-one onto function, analogous to f1oprswap 5650. (Contributed by Alexander van der Vekens, 14-Aug-2017.)
Assertion
Ref Expression
f1oprg  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  ( C  e.  X  /\  D  e.  Y ) )  -> 
( ( A  =/= 
C  /\  B  =/=  D )  ->  { <. A ,  B >. ,  <. C ,  D >. } : { A ,  C } -1-1-onto-> { B ,  D }
) )

Proof of Theorem f1oprg
StepHypRef Expression
1 f1osng 5649 . . . . 5  |-  ( ( A  e.  V  /\  B  e.  W )  ->  { <. A ,  B >. } : { A }
-1-1-onto-> { B } )
21ad2antrr 707 . . . 4  |-  ( ( ( ( A  e.  V  /\  B  e.  W )  /\  ( C  e.  X  /\  D  e.  Y )
)  /\  ( A  =/=  C  /\  B  =/= 
D ) )  ->  { <. A ,  B >. } : { A }
-1-1-onto-> { B } )
3 f1osng 5649 . . . . 5  |-  ( ( C  e.  X  /\  D  e.  Y )  ->  { <. C ,  D >. } : { C }
-1-1-onto-> { D } )
43ad2antlr 708 . . . 4  |-  ( ( ( ( A  e.  V  /\  B  e.  W )  /\  ( C  e.  X  /\  D  e.  Y )
)  /\  ( A  =/=  C  /\  B  =/= 
D ) )  ->  { <. C ,  D >. } : { C }
-1-1-onto-> { D } )
5 disjsn2 3805 . . . . 5  |-  ( A  =/=  C  ->  ( { A }  i^i  { C } )  =  (/) )
65ad2antrl 709 . . . 4  |-  ( ( ( ( A  e.  V  /\  B  e.  W )  /\  ( C  e.  X  /\  D  e.  Y )
)  /\  ( A  =/=  C  /\  B  =/= 
D ) )  -> 
( { A }  i^i  { C } )  =  (/) )
7 disjsn2 3805 . . . . 5  |-  ( B  =/=  D  ->  ( { B }  i^i  { D } )  =  (/) )
87ad2antll 710 . . . 4  |-  ( ( ( ( A  e.  V  /\  B  e.  W )  /\  ( C  e.  X  /\  D  e.  Y )
)  /\  ( A  =/=  C  /\  B  =/= 
D ) )  -> 
( { B }  i^i  { D } )  =  (/) )
9 f1oun 5627 . . . 4  |-  ( ( ( { <. A ,  B >. } : { A } -1-1-onto-> { B }  /\  {
<. C ,  D >. } : { C } -1-1-onto-> { D } )  /\  (
( { A }  i^i  { C } )  =  (/)  /\  ( { B }  i^i  { D } )  =  (/) ) )  ->  ( { <. A ,  B >. }  u.  { <. C ,  D >. } ) : ( { A }  u.  { C } ) -1-1-onto-> ( { B }  u.  { D } ) )
102, 4, 6, 8, 9syl22anc 1185 . . 3  |-  ( ( ( ( A  e.  V  /\  B  e.  W )  /\  ( C  e.  X  /\  D  e.  Y )
)  /\  ( A  =/=  C  /\  B  =/= 
D ) )  -> 
( { <. A ,  B >. }  u.  { <. C ,  D >. } ) : ( { A }  u.  { C } ) -1-1-onto-> ( { B }  u.  { D } ) )
11 df-pr 3757 . . . . . 6  |-  { <. A ,  B >. ,  <. C ,  D >. }  =  ( { <. A ,  B >. }  u.  { <. C ,  D >. } )
1211eqcomi 2384 . . . . 5  |-  ( {
<. A ,  B >. }  u.  { <. C ,  D >. } )  =  { <. A ,  B >. ,  <. C ,  D >. }
1312a1i 11 . . . 4  |-  ( ( ( ( A  e.  V  /\  B  e.  W )  /\  ( C  e.  X  /\  D  e.  Y )
)  /\  ( A  =/=  C  /\  B  =/= 
D ) )  -> 
( { <. A ,  B >. }  u.  { <. C ,  D >. } )  =  { <. A ,  B >. ,  <. C ,  D >. } )
14 df-pr 3757 . . . . . 6  |-  { A ,  C }  =  ( { A }  u.  { C } )
1514eqcomi 2384 . . . . 5  |-  ( { A }  u.  { C } )  =  { A ,  C }
1615a1i 11 . . . 4  |-  ( ( ( ( A  e.  V  /\  B  e.  W )  /\  ( C  e.  X  /\  D  e.  Y )
)  /\  ( A  =/=  C  /\  B  =/= 
D ) )  -> 
( { A }  u.  { C } )  =  { A ,  C } )
17 df-pr 3757 . . . . . 6  |-  { B ,  D }  =  ( { B }  u.  { D } )
1817eqcomi 2384 . . . . 5  |-  ( { B }  u.  { D } )  =  { B ,  D }
1918a1i 11 . . . 4  |-  ( ( ( ( A  e.  V  /\  B  e.  W )  /\  ( C  e.  X  /\  D  e.  Y )
)  /\  ( A  =/=  C  /\  B  =/= 
D ) )  -> 
( { B }  u.  { D } )  =  { B ,  D } )
2013, 16, 19f1oeq123d 5604 . . 3  |-  ( ( ( ( A  e.  V  /\  B  e.  W )  /\  ( C  e.  X  /\  D  e.  Y )
)  /\  ( A  =/=  C  /\  B  =/= 
D ) )  -> 
( ( { <. A ,  B >. }  u.  {
<. C ,  D >. } ) : ( { A }  u.  { C } ) -1-1-onto-> ( { B }  u.  { D } )  <->  { <. A ,  B >. ,  <. C ,  D >. } : { A ,  C } -1-1-onto-> { B ,  D } ) )
2110, 20mpbid 202 . 2  |-  ( ( ( ( A  e.  V  /\  B  e.  W )  /\  ( C  e.  X  /\  D  e.  Y )
)  /\  ( A  =/=  C  /\  B  =/= 
D ) )  ->  { <. A ,  B >. ,  <. C ,  D >. } : { A ,  C } -1-1-onto-> { B ,  D } )
2221ex 424 1  |-  ( ( ( A  e.  V  /\  B  e.  W
)  /\  ( C  e.  X  /\  D  e.  Y ) )  -> 
( ( A  =/= 
C  /\  B  =/=  D )  ->  { <. A ,  B >. ,  <. C ,  D >. } : { A ,  C } -1-1-onto-> { B ,  D }
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 359    = wceq 1649    e. wcel 1717    =/= wne 2543    u. cun 3254    i^i cin 3255   (/)c0 3564   {csn 3750   {cpr 3751   <.cop 3753   -1-1-onto->wf1o 5386
This theorem is referenced by:  s2f1o  11783  f1oun2prg  11784  constr2trl  21439
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2361  ax-sep 4264  ax-nul 4272  ax-pr 4337
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2235  df-mo 2236  df-clab 2367  df-cleq 2373  df-clel 2376  df-nfc 2505  df-ne 2545  df-ral 2647  df-rex 2648  df-rab 2651  df-v 2894  df-dif 3259  df-un 3261  df-in 3263  df-ss 3270  df-nul 3565  df-if 3676  df-sn 3756  df-pr 3757  df-op 3759  df-br 4147  df-opab 4201  df-id 4432  df-xp 4817  df-rel 4818  df-cnv 4819  df-co 4820  df-dm 4821  df-rn 4822  df-fun 5389  df-fn 5390  df-f 5391  df-f1 5392  df-fo 5393  df-f1o 5394
  Copyright terms: Public domain W3C validator