Users' Mathboxes Mathbox for Stefan O'Rear < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  pmtrrn Unicode version

Theorem pmtrrn 27399
Description: Transposing two points gives a transposition function. (Contributed by Stefan O'Rear, 22-Aug-2015.)
Hypotheses
Ref Expression
pmtrrn.t  |-  T  =  (pmTrsp `  D )
pmtrrn.r  |-  R  =  ran  T
Assertion
Ref Expression
pmtrrn  |-  ( ( D  e.  V  /\  P  C_  D  /\  P  ~~  2o )  ->  ( T `  P )  e.  R )

Proof of Theorem pmtrrn
Dummy variables  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 mptexg 5745 . . . . . . 7  |-  ( D  e.  V  ->  (
y  e.  D  |->  if ( y  e.  z ,  U. ( z 
\  { y } ) ,  y ) )  e.  _V )
21ralrimivw 2627 . . . . . 6  |-  ( D  e.  V  ->  A. z  e.  { x  e.  ~P D  |  x  ~~  2o }  ( y  e.  D  |->  if ( y  e.  z ,  U. ( z  \  {
y } ) ,  y ) )  e. 
_V )
323ad2ant1 976 . . . . 5  |-  ( ( D  e.  V  /\  P  C_  D  /\  P  ~~  2o )  ->  A. z  e.  { x  e.  ~P D  |  x  ~~  2o }  ( y  e.  D  |->  if ( y  e.  z ,  U. ( z  \  {
y } ) ,  y ) )  e. 
_V )
4 eqid 2283 . . . . . 6  |-  ( z  e.  { x  e. 
~P D  |  x 
~~  2o }  |->  ( y  e.  D  |->  if ( y  e.  z ,  U. ( z 
\  { y } ) ,  y ) ) )  =  ( z  e.  { x  e.  ~P D  |  x 
~~  2o }  |->  ( y  e.  D  |->  if ( y  e.  z ,  U. ( z 
\  { y } ) ,  y ) ) )
54fnmpt 5370 . . . . 5  |-  ( A. z  e.  { x  e.  ~P D  |  x 
~~  2o }  (
y  e.  D  |->  if ( y  e.  z ,  U. ( z 
\  { y } ) ,  y ) )  e.  _V  ->  ( z  e.  { x  e.  ~P D  |  x 
~~  2o }  |->  ( y  e.  D  |->  if ( y  e.  z ,  U. ( z 
\  { y } ) ,  y ) ) )  Fn  {
x  e.  ~P D  |  x  ~~  2o }
)
63, 5syl 15 . . . 4  |-  ( ( D  e.  V  /\  P  C_  D  /\  P  ~~  2o )  ->  (
z  e.  { x  e.  ~P D  |  x 
~~  2o }  |->  ( y  e.  D  |->  if ( y  e.  z ,  U. ( z 
\  { y } ) ,  y ) ) )  Fn  {
x  e.  ~P D  |  x  ~~  2o }
)
7 pmtrrn.t . . . . . . 7  |-  T  =  (pmTrsp `  D )
87pmtrfval 27393 . . . . . 6  |-  ( D  e.  V  ->  T  =  ( z  e. 
{ x  e.  ~P D  |  x  ~~  2o }  |->  ( y  e.  D  |->  if ( y  e.  z ,  U. ( z  \  {
y } ) ,  y ) ) ) )
983ad2ant1 976 . . . . 5  |-  ( ( D  e.  V  /\  P  C_  D  /\  P  ~~  2o )  ->  T  =  ( z  e. 
{ x  e.  ~P D  |  x  ~~  2o }  |->  ( y  e.  D  |->  if ( y  e.  z ,  U. ( z  \  {
y } ) ,  y ) ) ) )
109fneq1d 5335 . . . 4  |-  ( ( D  e.  V  /\  P  C_  D  /\  P  ~~  2o )  ->  ( T  Fn  { x  e.  ~P D  |  x 
~~  2o }  <->  ( z  e.  { x  e.  ~P D  |  x  ~~  2o }  |->  ( y  e.  D  |->  if ( y  e.  z ,  U. ( z  \  {
y } ) ,  y ) ) )  Fn  { x  e. 
~P D  |  x 
~~  2o } ) )
116, 10mpbird 223 . . 3  |-  ( ( D  e.  V  /\  P  C_  D  /\  P  ~~  2o )  ->  T  Fn  { x  e.  ~P D  |  x  ~~  2o } )
12 elpw2g 4174 . . . . . 6  |-  ( D  e.  V  ->  ( P  e.  ~P D  <->  P 
C_  D ) )
1312biimpar 471 . . . . 5  |-  ( ( D  e.  V  /\  P  C_  D )  ->  P  e.  ~P D
)
14133adant3 975 . . . 4  |-  ( ( D  e.  V  /\  P  C_  D  /\  P  ~~  2o )  ->  P  e.  ~P D )
15 simp3 957 . . . 4  |-  ( ( D  e.  V  /\  P  C_  D  /\  P  ~~  2o )  ->  P  ~~  2o )
16 breq1 4026 . . . . 5  |-  ( x  =  P  ->  (
x  ~~  2o  <->  P  ~~  2o ) )
1716elrab 2923 . . . 4  |-  ( P  e.  { x  e. 
~P D  |  x 
~~  2o }  <->  ( P  e.  ~P D  /\  P  ~~  2o ) )
1814, 15, 17sylanbrc 645 . . 3  |-  ( ( D  e.  V  /\  P  C_  D  /\  P  ~~  2o )  ->  P  e.  { x  e.  ~P D  |  x  ~~  2o } )
19 fnfvelrn 5662 . . 3  |-  ( ( T  Fn  { x  e.  ~P D  |  x 
~~  2o }  /\  P  e.  { x  e.  ~P D  |  x 
~~  2o } )  ->  ( T `  P )  e.  ran  T )
2011, 18, 19syl2anc 642 . 2  |-  ( ( D  e.  V  /\  P  C_  D  /\  P  ~~  2o )  ->  ( T `  P )  e.  ran  T )
21 pmtrrn.r . 2  |-  R  =  ran  T
2220, 21syl6eleqr 2374 1  |-  ( ( D  e.  V  /\  P  C_  D  /\  P  ~~  2o )  ->  ( T `  P )  e.  R )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ w3a 934    = wceq 1623    e. wcel 1684   A.wral 2543   {crab 2547   _Vcvv 2788    \ cdif 3149    C_ wss 3152   ifcif 3565   ~Pcpw 3625   {csn 3640   U.cuni 3827   class class class wbr 4023    e. cmpt 4077   ran crn 4690    Fn wfn 5250   ` cfv 5255   2oc2o 6473    ~~ cen 6860  pmTrspcpmtr 27384
This theorem is referenced by:  pmtrfb  27406  symggen  27411
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-rep 4131  ax-sep 4141  ax-nul 4149  ax-pow 4188  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-reu 2550  df-rab 2552  df-v 2790  df-sbc 2992  df-csb 3082  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-pw 3627  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-iun 3907  df-br 4024  df-opab 4078  df-mpt 4079  df-id 4309  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-res 4701  df-ima 4702  df-iota 5219  df-fun 5257  df-fn 5258  df-f 5259  df-f1 5260  df-fo 5261  df-f1o 5262  df-fv 5263  df-pmtr 27385
  Copyright terms: Public domain W3C validator