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

Theorem pmtrfrn 26548
Description: A transposition (as a kind of function) is the function transposing the two points it moves. (Contributed by Stefan O'Rear, 22-Aug-2015.)
Hypotheses
Ref Expression
pmtrrn.t  |-  T  =  (pmTrsp `  D )
pmtrrn.r  |-  R  =  ran  T
pmtrfrn.p  |-  P  =  dom  ( F  \  _I  )
Assertion
Ref Expression
pmtrfrn  |-  ( F  e.  R  ->  (
( D  e.  _V  /\  P  C_  D  /\  P  ~~  2o )  /\  F  =  ( T `  P ) ) )

Proof of Theorem pmtrfrn
Dummy variables  x  w  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 noel 3493 . . . 4  |-  -.  F  e.  (/)
2 pmtrrn.r . . . . . 6  |-  R  =  ran  T
3 pmtrrn.t . . . . . . . . 9  |-  T  =  (pmTrsp `  D )
4 fvprc 5557 . . . . . . . . 9  |-  ( -.  D  e.  _V  ->  (pmTrsp `  D )  =  (/) )
53, 4syl5eq 2360 . . . . . . . 8  |-  ( -.  D  e.  _V  ->  T  =  (/) )
65rneqd 4943 . . . . . . 7  |-  ( -.  D  e.  _V  ->  ran 
T  =  ran  (/) )
7 rn0 4973 . . . . . . 7  |-  ran  (/)  =  (/)
86, 7syl6eq 2364 . . . . . 6  |-  ( -.  D  e.  _V  ->  ran 
T  =  (/) )
92, 8syl5eq 2360 . . . . 5  |-  ( -.  D  e.  _V  ->  R  =  (/) )
109eleq2d 2383 . . . 4  |-  ( -.  D  e.  _V  ->  ( F  e.  R  <->  F  e.  (/) ) )
111, 10mtbiri 294 . . 3  |-  ( -.  D  e.  _V  ->  -.  F  e.  R )
1211con4i 122 . 2  |-  ( F  e.  R  ->  D  e.  _V )
13 mptexg 5786 . . . . . . . 8  |-  ( D  e.  _V  ->  (
z  e.  D  |->  if ( z  e.  w ,  U. ( w  \  { z } ) ,  z ) )  e.  _V )
1413ralrimivw 2661 . . . . . . 7  |-  ( D  e.  _V  ->  A. w  e.  { x  e.  ~P D  |  x  ~~  2o }  ( z  e.  D  |->  if ( z  e.  w ,  U. ( w  \  { z } ) ,  z ) )  e.  _V )
15 eqid 2316 . . . . . . . 8  |-  ( w  e.  { x  e. 
~P D  |  x 
~~  2o }  |->  ( z  e.  D  |->  if ( z  e.  w ,  U. ( w  \  { z } ) ,  z ) ) )  =  ( w  e.  { x  e. 
~P D  |  x 
~~  2o }  |->  ( z  e.  D  |->  if ( z  e.  w ,  U. ( w  \  { z } ) ,  z ) ) )
1615fnmpt 5407 . . . . . . 7  |-  ( A. w  e.  { x  e.  ~P D  |  x 
~~  2o }  (
z  e.  D  |->  if ( z  e.  w ,  U. ( w  \  { z } ) ,  z ) )  e.  _V  ->  (
w  e.  { x  e.  ~P D  |  x 
~~  2o }  |->  ( z  e.  D  |->  if ( z  e.  w ,  U. ( w  \  { z } ) ,  z ) ) )  Fn  { x  e.  ~P D  |  x 
~~  2o } )
1714, 16syl 15 . . . . . 6  |-  ( D  e.  _V  ->  (
w  e.  { x  e.  ~P D  |  x 
~~  2o }  |->  ( z  e.  D  |->  if ( z  e.  w ,  U. ( w  \  { z } ) ,  z ) ) )  Fn  { x  e.  ~P D  |  x 
~~  2o } )
183pmtrfval 26541 . . . . . . 7  |-  ( D  e.  _V  ->  T  =  ( w  e. 
{ x  e.  ~P D  |  x  ~~  2o }  |->  ( z  e.  D  |->  if ( z  e.  w ,  U. ( w  \  { z } ) ,  z ) ) ) )
1918fneq1d 5372 . . . . . 6  |-  ( D  e.  _V  ->  ( T  Fn  { x  e.  ~P D  |  x 
~~  2o }  <->  ( w  e.  { x  e.  ~P D  |  x  ~~  2o }  |->  ( z  e.  D  |->  if ( z  e.  w ,  U. ( w  \  { z } ) ,  z ) ) )  Fn 
{ x  e.  ~P D  |  x  ~~  2o } ) )
2017, 19mpbird 223 . . . . 5  |-  ( D  e.  _V  ->  T  Fn  { x  e.  ~P D  |  x  ~~  2o } )
21 fvelrnb 5608 . . . . 5  |-  ( T  Fn  { x  e. 
~P D  |  x 
~~  2o }  ->  ( F  e.  ran  T  <->  E. y  e.  { x  e.  ~P D  |  x 
~~  2o }  ( T `  y )  =  F ) )
2220, 21syl 15 . . . 4  |-  ( D  e.  _V  ->  ( F  e.  ran  T  <->  E. y  e.  { x  e.  ~P D  |  x  ~~  2o }  ( T `  y )  =  F ) )
232eleq2i 2380 . . . 4  |-  ( F  e.  R  <->  F  e.  ran  T )
24 breq1 4063 . . . . . 6  |-  ( x  =  y  ->  (
x  ~~  2o  <->  y  ~~  2o ) )
2524rexrab 2963 . . . . 5  |-  ( E. y  e.  { x  e.  ~P D  |  x 
~~  2o }  ( T `  y )  =  F  <->  E. y  e.  ~P  D ( y  ~~  2o  /\  ( T `  y )  =  F ) )
2625bicomi 193 . . . 4  |-  ( E. y  e.  ~P  D
( y  ~~  2o  /\  ( T `  y
)  =  F )  <->  E. y  e.  { x  e.  ~P D  |  x 
~~  2o }  ( T `  y )  =  F )
2722, 23, 263bitr4g 279 . . 3  |-  ( D  e.  _V  ->  ( F  e.  R  <->  E. y  e.  ~P  D ( y 
~~  2o  /\  ( T `  y )  =  F ) ) )
28 elpwi 3667 . . . . 5  |-  ( y  e.  ~P D  -> 
y  C_  D )
29 simp1 955 . . . . . . . . . 10  |-  ( ( D  e.  _V  /\  y  C_  D  /\  y  ~~  2o )  ->  D  e.  _V )
303pmtrmvd 26546 . . . . . . . . . . 11  |-  ( ( D  e.  _V  /\  y  C_  D  /\  y  ~~  2o )  ->  dom  ( ( T `  y )  \  _I  )  =  y )
31 simp2 956 . . . . . . . . . . 11  |-  ( ( D  e.  _V  /\  y  C_  D  /\  y  ~~  2o )  ->  y  C_  D )
3230, 31eqsstrd 3246 . . . . . . . . . 10  |-  ( ( D  e.  _V  /\  y  C_  D  /\  y  ~~  2o )  ->  dom  ( ( T `  y )  \  _I  )  C_  D )
33 simp3 957 . . . . . . . . . . 11  |-  ( ( D  e.  _V  /\  y  C_  D  /\  y  ~~  2o )  ->  y  ~~  2o )
3430, 33eqbrtrd 4080 . . . . . . . . . 10  |-  ( ( D  e.  _V  /\  y  C_  D  /\  y  ~~  2o )  ->  dom  ( ( T `  y )  \  _I  )  ~~  2o )
3529, 32, 343jca 1132 . . . . . . . . 9  |-  ( ( D  e.  _V  /\  y  C_  D  /\  y  ~~  2o )  ->  ( D  e.  _V  /\  dom  ( ( T `  y )  \  _I  )  C_  D  /\  dom  ( ( T `  y )  \  _I  )  ~~  2o ) )
3630eqcomd 2321 . . . . . . . . . 10  |-  ( ( D  e.  _V  /\  y  C_  D  /\  y  ~~  2o )  ->  y  =  dom  ( ( T `
 y )  \  _I  ) )
3736fveq2d 5567 . . . . . . . . 9  |-  ( ( D  e.  _V  /\  y  C_  D  /\  y  ~~  2o )  ->  ( T `  y )  =  ( T `  dom  ( ( T `  y )  \  _I  ) ) )
3835, 37jca 518 . . . . . . . 8  |-  ( ( D  e.  _V  /\  y  C_  D  /\  y  ~~  2o )  ->  (
( D  e.  _V  /\ 
dom  ( ( T `
 y )  \  _I  )  C_  D  /\  dom  ( ( T `  y )  \  _I  )  ~~  2o )  /\  ( T `  y )  =  ( T `  dom  ( ( T `  y )  \  _I  ) ) ) )
39 difeq1 3321 . . . . . . . . . . 11  |-  ( ( T `  y )  =  F  ->  (
( T `  y
)  \  _I  )  =  ( F  \  _I  ) )
4039dmeqd 4918 . . . . . . . . . 10  |-  ( ( T `  y )  =  F  ->  dom  ( ( T `  y )  \  _I  )  =  dom  ( F 
\  _I  ) )
41 pmtrfrn.p . . . . . . . . . 10  |-  P  =  dom  ( F  \  _I  )
4240, 41syl6eqr 2366 . . . . . . . . 9  |-  ( ( T `  y )  =  F  ->  dom  ( ( T `  y )  \  _I  )  =  P )
43 sseq1 3233 . . . . . . . . . . . 12  |-  ( dom  ( ( T `  y )  \  _I  )  =  P  ->  ( dom  ( ( T `
 y )  \  _I  )  C_  D  <->  P  C_  D
) )
44 breq1 4063 . . . . . . . . . . . 12  |-  ( dom  ( ( T `  y )  \  _I  )  =  P  ->  ( dom  ( ( T `
 y )  \  _I  )  ~~  2o  <->  P  ~~  2o ) )
4543, 443anbi23d 1255 . . . . . . . . . . 11  |-  ( dom  ( ( T `  y )  \  _I  )  =  P  ->  ( ( D  e.  _V  /\ 
dom  ( ( T `
 y )  \  _I  )  C_  D  /\  dom  ( ( T `  y )  \  _I  )  ~~  2o )  <->  ( D  e.  _V  /\  P  C_  D  /\  P  ~~  2o ) ) )
4645adantl 452 . . . . . . . . . 10  |-  ( ( ( T `  y
)  =  F  /\  dom  ( ( T `  y )  \  _I  )  =  P )  ->  ( ( D  e. 
_V  /\  dom  ( ( T `  y ) 
\  _I  )  C_  D  /\  dom  ( ( T `  y ) 
\  _I  )  ~~  2o )  <->  ( D  e. 
_V  /\  P  C_  D  /\  P  ~~  2o ) ) )
47 simpl 443 . . . . . . . . . . 11  |-  ( ( ( T `  y
)  =  F  /\  dom  ( ( T `  y )  \  _I  )  =  P )  ->  ( T `  y
)  =  F )
48 fveq2 5563 . . . . . . . . . . . 12  |-  ( dom  ( ( T `  y )  \  _I  )  =  P  ->  ( T `  dom  (
( T `  y
)  \  _I  )
)  =  ( T `
 P ) )
4948adantl 452 . . . . . . . . . . 11  |-  ( ( ( T `  y
)  =  F  /\  dom  ( ( T `  y )  \  _I  )  =  P )  ->  ( T `  dom  ( ( T `  y )  \  _I  ) )  =  ( T `  P ) )
5047, 49eqeq12d 2330 . . . . . . . . . 10  |-  ( ( ( T `  y
)  =  F  /\  dom  ( ( T `  y )  \  _I  )  =  P )  ->  ( ( T `  y )  =  ( T `  dom  (
( T `  y
)  \  _I  )
)  <->  F  =  ( T `  P )
) )
5146, 50anbi12d 691 . . . . . . . . 9  |-  ( ( ( T `  y
)  =  F  /\  dom  ( ( T `  y )  \  _I  )  =  P )  ->  ( ( ( D  e.  _V  /\  dom  ( ( T `  y )  \  _I  )  C_  D  /\  dom  ( ( T `  y )  \  _I  )  ~~  2o )  /\  ( T `  y )  =  ( T `  dom  ( ( T `  y )  \  _I  ) ) )  <->  ( ( D  e.  _V  /\  P  C_  D  /\  P  ~~  2o )  /\  F  =  ( T `  P
) ) ) )
5242, 51mpdan 649 . . . . . . . 8  |-  ( ( T `  y )  =  F  ->  (
( ( D  e. 
_V  /\  dom  ( ( T `  y ) 
\  _I  )  C_  D  /\  dom  ( ( T `  y ) 
\  _I  )  ~~  2o )  /\  ( T `  y )  =  ( T `  dom  ( ( T `  y )  \  _I  ) ) )  <->  ( ( D  e.  _V  /\  P  C_  D  /\  P  ~~  2o )  /\  F  =  ( T `  P
) ) ) )
5338, 52syl5ibcom 211 . . . . . . 7  |-  ( ( D  e.  _V  /\  y  C_  D  /\  y  ~~  2o )  ->  (
( T `  y
)  =  F  -> 
( ( D  e. 
_V  /\  P  C_  D  /\  P  ~~  2o )  /\  F  =  ( T `  P ) ) ) )
54533exp 1150 . . . . . 6  |-  ( D  e.  _V  ->  (
y  C_  D  ->  ( y  ~~  2o  ->  ( ( T `  y
)  =  F  -> 
( ( D  e. 
_V  /\  P  C_  D  /\  P  ~~  2o )  /\  F  =  ( T `  P ) ) ) ) ) )
5554imp4a 572 . . . . 5  |-  ( D  e.  _V  ->  (
y  C_  D  ->  ( ( y  ~~  2o  /\  ( T `  y
)  =  F )  ->  ( ( D  e.  _V  /\  P  C_  D  /\  P  ~~  2o )  /\  F  =  ( T `  P
) ) ) ) )
5628, 55syl5 28 . . . 4  |-  ( D  e.  _V  ->  (
y  e.  ~P D  ->  ( ( y  ~~  2o  /\  ( T `  y )  =  F )  ->  ( ( D  e.  _V  /\  P  C_  D  /\  P  ~~  2o )  /\  F  =  ( T `  P
) ) ) ) )
5756rexlimdv 2700 . . 3  |-  ( D  e.  _V  ->  ( E. y  e.  ~P  D ( y  ~~  2o  /\  ( T `  y )  =  F )  ->  ( ( D  e.  _V  /\  P  C_  D  /\  P  ~~  2o )  /\  F  =  ( T `  P
) ) ) )
5827, 57sylbid 206 . 2  |-  ( D  e.  _V  ->  ( F  e.  R  ->  ( ( D  e.  _V  /\  P  C_  D  /\  P  ~~  2o )  /\  F  =  ( T `  P ) ) ) )
5912, 58mpcom 32 1  |-  ( F  e.  R  ->  (
( D  e.  _V  /\  P  C_  D  /\  P  ~~  2o )  /\  F  =  ( T `  P ) ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 176    /\ wa 358    /\ w3a 934    = wceq 1633    e. wcel 1701   A.wral 2577   E.wrex 2578   {crab 2581   _Vcvv 2822    \ cdif 3183    C_ wss 3186   (/)c0 3489   ifcif 3599   ~Pcpw 3659   {csn 3674   U.cuni 3864   class class class wbr 4060    e. cmpt 4114    _I cid 4341   dom cdm 4726   ran crn 4727    Fn wfn 5287   ` cfv 5292   2oc2o 6515    ~~ cen 6903  pmTrspcpmtr 26532
This theorem is referenced by:  pmtrffv  26549  pmtrfinv  26550  pmtrfmvdn0  26551  pmtrff1o  26552  pmtrfcnv  26553  pmtrfb  26554
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1537  ax-5 1548  ax-17 1607  ax-9 1645  ax-8 1666  ax-13 1703  ax-14 1705  ax-6 1720  ax-7 1725  ax-11 1732  ax-12 1897  ax-ext 2297  ax-rep 4168  ax-sep 4178  ax-nul 4186  ax-pow 4225  ax-pr 4251  ax-un 4549
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1533  df-nf 1536  df-sb 1640  df-eu 2180  df-mo 2181  df-clab 2303  df-cleq 2309  df-clel 2312  df-nfc 2441  df-ne 2481  df-ral 2582  df-rex 2583  df-reu 2584  df-rab 2586  df-v 2824  df-sbc 3026  df-csb 3116  df-dif 3189  df-un 3191  df-in 3193  df-ss 3200  df-pss 3202  df-nul 3490  df-if 3600  df-pw 3661  df-sn 3680  df-pr 3681  df-tp 3682  df-op 3683  df-uni 3865  df-iun 3944  df-br 4061  df-opab 4115  df-mpt 4116  df-tr 4151  df-eprel 4342  df-id 4346  df-po 4351  df-so 4352  df-fr 4389  df-we 4391  df-ord 4432  df-on 4433  df-lim 4434  df-suc 4435  df-om 4694  df-xp 4732  df-rel 4733  df-cnv 4734  df-co 4735  df-dm 4736  df-rn 4737  df-res 4738  df-ima 4739  df-iota 5256  df-fun 5294  df-fn 5295  df-f 5296  df-f1 5297  df-fo 5298  df-f1o 5299  df-fv 5300  df-1o 6521  df-2o 6522  df-er 6702  df-en 6907  df-fin 6910  df-pmtr 26533
  Copyright terms: Public domain W3C validator