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

Theorem xpcan 5383
Description: Cancellation law for Cartesian product. (Contributed by NM, 30-Aug-2011.)
Assertion
Ref Expression
xpcan  |-  ( C  =/=  (/)  ->  ( ( C  X.  A )  =  ( C  X.  B
)  <->  A  =  B
) )

Proof of Theorem xpcan
StepHypRef Expression
1 xp11 5382 . . 3  |-  ( ( C  =/=  (/)  /\  A  =/=  (/) )  ->  (
( C  X.  A
)  =  ( C  X.  B )  <->  ( C  =  C  /\  A  =  B ) ) )
2 eqid 2454 . . . 4  |-  C  =  C
32biantrur 506 . . 3  |-  ( A  =  B  <->  ( C  =  C  /\  A  =  B ) )
41, 3syl6bbr 263 . 2  |-  ( ( C  =/=  (/)  /\  A  =/=  (/) )  ->  (
( C  X.  A
)  =  ( C  X.  B )  <->  A  =  B ) )
5 nne 2654 . . . 4  |-  ( -.  A  =/=  (/)  <->  A  =  (/) )
6 simpr 461 . . . . 5  |-  ( ( C  =/=  (/)  /\  A  =  (/) )  ->  A  =  (/) )
7 xpeq2 4964 . . . . . . . . . 10  |-  ( A  =  (/)  ->  ( C  X.  A )  =  ( C  X.  (/) ) )
8 xp0 5365 . . . . . . . . . 10  |-  ( C  X.  (/) )  =  (/)
97, 8syl6eq 2511 . . . . . . . . 9  |-  ( A  =  (/)  ->  ( C  X.  A )  =  (/) )
109eqeq1d 2456 . . . . . . . 8  |-  ( A  =  (/)  ->  ( ( C  X.  A )  =  ( C  X.  B )  <->  (/)  =  ( C  X.  B ) ) )
11 eqcom 2463 . . . . . . . 8  |-  ( (/)  =  ( C  X.  B )  <->  ( C  X.  B )  =  (/) )
1210, 11syl6bb 261 . . . . . . 7  |-  ( A  =  (/)  ->  ( ( C  X.  A )  =  ( C  X.  B )  <->  ( C  X.  B )  =  (/) ) )
1312adantl 466 . . . . . 6  |-  ( ( C  =/=  (/)  /\  A  =  (/) )  ->  (
( C  X.  A
)  =  ( C  X.  B )  <->  ( C  X.  B )  =  (/) ) )
14 df-ne 2650 . . . . . . . 8  |-  ( C  =/=  (/)  <->  -.  C  =  (/) )
15 xpeq0 5367 . . . . . . . . 9  |-  ( ( C  X.  B )  =  (/)  <->  ( C  =  (/)  \/  B  =  (/) ) )
16 orel1 382 . . . . . . . . 9  |-  ( -.  C  =  (/)  ->  (
( C  =  (/)  \/  B  =  (/) )  ->  B  =  (/) ) )
1715, 16syl5bi 217 . . . . . . . 8  |-  ( -.  C  =  (/)  ->  (
( C  X.  B
)  =  (/)  ->  B  =  (/) ) )
1814, 17sylbi 195 . . . . . . 7  |-  ( C  =/=  (/)  ->  ( ( C  X.  B )  =  (/)  ->  B  =  (/) ) )
1918adantr 465 . . . . . 6  |-  ( ( C  =/=  (/)  /\  A  =  (/) )  ->  (
( C  X.  B
)  =  (/)  ->  B  =  (/) ) )
2013, 19sylbid 215 . . . . 5  |-  ( ( C  =/=  (/)  /\  A  =  (/) )  ->  (
( C  X.  A
)  =  ( C  X.  B )  ->  B  =  (/) ) )
21 eqtr3 2482 . . . . 5  |-  ( ( A  =  (/)  /\  B  =  (/) )  ->  A  =  B )
226, 20, 21syl6an 545 . . . 4  |-  ( ( C  =/=  (/)  /\  A  =  (/) )  ->  (
( C  X.  A
)  =  ( C  X.  B )  ->  A  =  B )
)
235, 22sylan2b 475 . . 3  |-  ( ( C  =/=  (/)  /\  -.  A  =/=  (/) )  ->  (
( C  X.  A
)  =  ( C  X.  B )  ->  A  =  B )
)
24 xpeq2 4964 . . 3  |-  ( A  =  B  ->  ( C  X.  A )  =  ( C  X.  B
) )
2523, 24impbid1 203 . 2  |-  ( ( C  =/=  (/)  /\  -.  A  =/=  (/) )  ->  (
( C  X.  A
)  =  ( C  X.  B )  <->  A  =  B ) )
264, 25pm2.61dan 789 1  |-  ( C  =/=  (/)  ->  ( ( C  X.  A )  =  ( C  X.  B
)  <->  A  =  B
) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    <-> wb 184    \/ wo 368    /\ wa 369    = wceq 1370    =/= wne 2648   (/)c0 3746    X. cxp 4947
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1592  ax-4 1603  ax-5 1671  ax-6 1710  ax-7 1730  ax-9 1762  ax-10 1777  ax-11 1782  ax-12 1794  ax-13 1955  ax-ext 2432  ax-sep 4522  ax-nul 4530  ax-pr 4640
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1373  df-ex 1588  df-nf 1591  df-sb 1703  df-eu 2266  df-mo 2267  df-clab 2440  df-cleq 2446  df-clel 2449  df-nfc 2604  df-ne 2650  df-ral 2804  df-rex 2805  df-rab 2808  df-v 3080  df-dif 3440  df-un 3442  df-in 3444  df-ss 3451  df-nul 3747  df-if 3901  df-sn 3987  df-pr 3989  df-op 3993  df-br 4402  df-opab 4460  df-xp 4955  df-rel 4956  df-cnv 4957  df-dm 4959  df-rn 4960
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator