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

Theorem f1oprg 5709
Description: An unordered pair of ordered pairs with different elements is a one-to-one onto function, analogous to f1oprswap 5708. (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 5707 . . . . 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 5707 . . . . 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 3861 . . . . 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 3861 . . . . 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 5685 . . . 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 3813 . . . . . 6  |-  { <. A ,  B >. ,  <. C ,  D >. }  =  ( { <. A ,  B >. }  u.  { <. C ,  D >. } )
1211eqcomi 2439 . . . . 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 3813 . . . . . 6  |-  { A ,  C }  =  ( { A }  u.  { C } )
1514eqcomi 2439 . . . . 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 3813 . . . . . 6  |-  { B ,  D }  =  ( { B }  u.  { D } )
1817eqcomi 2439 . . . . 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 5662 . . 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 1652    e. wcel 1725    =/= wne 2598    u. cun 3310    i^i cin 3311   (/)c0 3620   {csn 3806   {cpr 3807   <.cop 3809   -1-1-onto->wf1o 5444
This theorem is referenced by:  s2f1o  11851  f1oun2prg  11852  2trllemE  21541
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416  ax-sep 4322  ax-nul 4330  ax-pr 4395
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-ral 2702  df-rex 2703  df-rab 2706  df-v 2950  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-nul 3621  df-if 3732  df-sn 3812  df-pr 3813  df-op 3815  df-br 4205  df-opab 4259  df-id 4490  df-xp 4875  df-rel 4876  df-cnv 4877  df-co 4878  df-dm 4879  df-rn 4880  df-fun 5447  df-fn 5448  df-f 5449  df-f1 5450  df-fo 5451  df-f1o 5452
  Copyright terms: Public domain W3C validator