ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  xpen Unicode version

Theorem xpen 6811
Description: Equinumerosity law for Cartesian product. Proposition 4.22(b) of [Mendelson] p. 254. (Contributed by NM, 24-Jul-2004.)
Assertion
Ref Expression
xpen  |-  ( ( A  ~~  B  /\  C  ~~  D )  -> 
( A  X.  C
)  ~~  ( B  X.  D ) )

Proof of Theorem xpen
Dummy variables  f  g  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 bren 6713 . . . 4  |-  ( A 
~~  B  <->  E. f 
f : A -1-1-onto-> B )
21biimpi 119 . . 3  |-  ( A 
~~  B  ->  E. f 
f : A -1-1-onto-> B )
32adantr 274 . 2  |-  ( ( A  ~~  B  /\  C  ~~  D )  ->  E. f  f : A
-1-1-onto-> B )
4 bren 6713 . . . . 5  |-  ( C 
~~  D  <->  E. g 
g : C -1-1-onto-> D )
54biimpi 119 . . . 4  |-  ( C 
~~  D  ->  E. g 
g : C -1-1-onto-> D )
65ad2antlr 481 . . 3  |-  ( ( ( A  ~~  B  /\  C  ~~  D )  /\  f : A -1-1-onto-> B
)  ->  E. g 
g : C -1-1-onto-> D )
7 relen 6710 . . . . . . 7  |-  Rel  ~~
87brrelex1i 4647 . . . . . 6  |-  ( A 
~~  B  ->  A  e.  _V )
97brrelex1i 4647 . . . . . 6  |-  ( C 
~~  D  ->  C  e.  _V )
10 xpexg 4718 . . . . . 6  |-  ( ( A  e.  _V  /\  C  e.  _V )  ->  ( A  X.  C
)  e.  _V )
118, 9, 10syl2an 287 . . . . 5  |-  ( ( A  ~~  B  /\  C  ~~  D )  -> 
( A  X.  C
)  e.  _V )
1211ad2antrr 480 . . . 4  |-  ( ( ( ( A  ~~  B  /\  C  ~~  D
)  /\  f : A
-1-1-onto-> B )  /\  g : C -1-1-onto-> D )  ->  ( A  X.  C )  e. 
_V )
13 simplr 520 . . . . . 6  |-  ( ( ( ( A  ~~  B  /\  C  ~~  D
)  /\  f : A
-1-1-onto-> B )  /\  g : C -1-1-onto-> D )  ->  f : A -1-1-onto-> B )
14 f1ofn 5433 . . . . . . . 8  |-  ( f : A -1-1-onto-> B  ->  f  Fn  A )
15 dffn5im 5532 . . . . . . . 8  |-  ( f  Fn  A  ->  f  =  ( x  e.  A  |->  ( f `  x ) ) )
1614, 15syl 14 . . . . . . 7  |-  ( f : A -1-1-onto-> B  ->  f  =  ( x  e.  A  |->  ( f `  x
) ) )
17 f1oeq1 5421 . . . . . . 7  |-  ( f  =  ( x  e.  A  |->  ( f `  x ) )  -> 
( f : A -1-1-onto-> B  <->  ( x  e.  A  |->  ( f `  x ) ) : A -1-1-onto-> B ) )
1813, 16, 173syl 17 . . . . . 6  |-  ( ( ( ( A  ~~  B  /\  C  ~~  D
)  /\  f : A
-1-1-onto-> B )  /\  g : C -1-1-onto-> D )  ->  (
f : A -1-1-onto-> B  <->  ( x  e.  A  |->  ( f `
 x ) ) : A -1-1-onto-> B ) )
1913, 18mpbid 146 . . . . 5  |-  ( ( ( ( A  ~~  B  /\  C  ~~  D
)  /\  f : A
-1-1-onto-> B )  /\  g : C -1-1-onto-> D )  ->  (
x  e.  A  |->  ( f `  x ) ) : A -1-1-onto-> B )
20 simpr 109 . . . . . 6  |-  ( ( ( ( A  ~~  B  /\  C  ~~  D
)  /\  f : A
-1-1-onto-> B )  /\  g : C -1-1-onto-> D )  ->  g : C -1-1-onto-> D )
21 f1ofn 5433 . . . . . . . 8  |-  ( g : C -1-1-onto-> D  ->  g  Fn  C )
22 dffn5im 5532 . . . . . . . 8  |-  ( g  Fn  C  ->  g  =  ( y  e.  C  |->  ( g `  y ) ) )
2321, 22syl 14 . . . . . . 7  |-  ( g : C -1-1-onto-> D  ->  g  =  ( y  e.  C  |->  ( g `  y
) ) )
24 f1oeq1 5421 . . . . . . 7  |-  ( g  =  ( y  e.  C  |->  ( g `  y ) )  -> 
( g : C -1-1-onto-> D  <->  ( y  e.  C  |->  ( g `  y ) ) : C -1-1-onto-> D ) )
2520, 23, 243syl 17 . . . . . 6  |-  ( ( ( ( A  ~~  B  /\  C  ~~  D
)  /\  f : A
-1-1-onto-> B )  /\  g : C -1-1-onto-> D )  ->  (
g : C -1-1-onto-> D  <->  ( y  e.  C  |->  ( g `
 y ) ) : C -1-1-onto-> D ) )
2620, 25mpbid 146 . . . . 5  |-  ( ( ( ( A  ~~  B  /\  C  ~~  D
)  /\  f : A
-1-1-onto-> B )  /\  g : C -1-1-onto-> D )  ->  (
y  e.  C  |->  ( g `  y ) ) : C -1-1-onto-> D )
2719, 26xpf1o 6810 . . . 4  |-  ( ( ( ( A  ~~  B  /\  C  ~~  D
)  /\  f : A
-1-1-onto-> B )  /\  g : C -1-1-onto-> D )  ->  (
x  e.  A , 
y  e.  C  |->  <.
( f `  x
) ,  ( g `
 y ) >.
) : ( A  X.  C ) -1-1-onto-> ( B  X.  D ) )
28 f1oeng 6723 . . . 4  |-  ( ( ( A  X.  C
)  e.  _V  /\  ( x  e.  A ,  y  e.  C  |-> 
<. ( f `  x
) ,  ( g `
 y ) >.
) : ( A  X.  C ) -1-1-onto-> ( B  X.  D ) )  ->  ( A  X.  C )  ~~  ( B  X.  D ) )
2912, 27, 28syl2anc 409 . . 3  |-  ( ( ( ( A  ~~  B  /\  C  ~~  D
)  /\  f : A
-1-1-onto-> B )  /\  g : C -1-1-onto-> D )  ->  ( A  X.  C )  ~~  ( B  X.  D
) )
306, 29exlimddv 1886 . 2  |-  ( ( ( A  ~~  B  /\  C  ~~  D )  /\  f : A -1-1-onto-> B
)  ->  ( A  X.  C )  ~~  ( B  X.  D ) )
313, 30exlimddv 1886 1  |-  ( ( A  ~~  B  /\  C  ~~  D )  -> 
( A  X.  C
)  ~~  ( B  X.  D ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    = wceq 1343   E.wex 1480    e. wcel 2136   _Vcvv 2726   <.cop 3579   class class class wbr 3982    |-> cmpt 4043    X. cxp 4602    Fn wfn 5183   -1-1-onto->wf1o 5187   ` cfv 5188    e. cmpo 5844    ~~ cen 6704
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-coll 4097  ax-sep 4100  ax-pow 4153  ax-pr 4187  ax-un 4411
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-reu 2451  df-rab 2453  df-v 2728  df-sbc 2952  df-csb 3046  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-iun 3868  df-br 3983  df-opab 4044  df-mpt 4045  df-id 4271  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-res 4616  df-ima 4617  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-oprab 5846  df-mpo 5847  df-1st 6108  df-2nd 6109  df-en 6707
This theorem is referenced by:  xpdjuen  7174  xpnnen  12327  xpomen  12328  qnnen  12364
  Copyright terms: Public domain W3C validator