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

Theorem prneimg 3754
Description: Two pairs are not equal if at least one element of the first pair is not contained in the second pair. (Contributed by Alexander van der Vekens, 13-Aug-2017.)
Assertion
Ref Expression
prneimg  |-  ( ( ( A  e.  U  /\  B  e.  V
)  /\  ( C  e.  X  /\  D  e.  Y ) )  -> 
( ( ( A  =/=  C  /\  A  =/=  D )  \/  ( B  =/=  C  /\  B  =/=  D ) )  ->  { A ,  B }  =/=  { C ,  D } ) )

Proof of Theorem prneimg
StepHypRef Expression
1 preq12bg 3753 . . . . 5  |-  ( ( ( A  e.  U  /\  B  e.  V
)  /\  ( C  e.  X  /\  D  e.  Y ) )  -> 
( { A ,  B }  =  { C ,  D }  <->  ( ( A  =  C  /\  B  =  D )  \/  ( A  =  D  /\  B  =  C ) ) ) )
2 orddi 810 . . . . . 6  |-  ( ( ( A  =  C  /\  B  =  D )  \/  ( A  =  D  /\  B  =  C ) )  <->  ( (
( A  =  C  \/  A  =  D )  /\  ( A  =  C  \/  B  =  C ) )  /\  ( ( B  =  D  \/  A  =  D )  /\  ( B  =  D  \/  B  =  C )
) ) )
3 simpll 519 . . . . . . 7  |-  ( ( ( ( A  =  C  \/  A  =  D )  /\  ( A  =  C  \/  B  =  C )
)  /\  ( ( B  =  D  \/  A  =  D )  /\  ( B  =  D  \/  B  =  C ) ) )  -> 
( A  =  C  \/  A  =  D ) )
4 pm1.4 717 . . . . . . . 8  |-  ( ( B  =  D  \/  B  =  C )  ->  ( B  =  C  \/  B  =  D ) )
54ad2antll 483 . . . . . . 7  |-  ( ( ( ( A  =  C  \/  A  =  D )  /\  ( A  =  C  \/  B  =  C )
)  /\  ( ( B  =  D  \/  A  =  D )  /\  ( B  =  D  \/  B  =  C ) ) )  -> 
( B  =  C  \/  B  =  D ) )
63, 5jca 304 . . . . . 6  |-  ( ( ( ( A  =  C  \/  A  =  D )  /\  ( A  =  C  \/  B  =  C )
)  /\  ( ( B  =  D  \/  A  =  D )  /\  ( B  =  D  \/  B  =  C ) ) )  -> 
( ( A  =  C  \/  A  =  D )  /\  ( B  =  C  \/  B  =  D )
) )
72, 6sylbi 120 . . . . 5  |-  ( ( ( A  =  C  /\  B  =  D )  \/  ( A  =  D  /\  B  =  C ) )  -> 
( ( A  =  C  \/  A  =  D )  /\  ( B  =  C  \/  B  =  D )
) )
81, 7syl6bi 162 . . . 4  |-  ( ( ( A  e.  U  /\  B  e.  V
)  /\  ( C  e.  X  /\  D  e.  Y ) )  -> 
( { A ,  B }  =  { C ,  D }  ->  ( ( A  =  C  \/  A  =  D )  /\  ( B  =  C  \/  B  =  D )
) ) )
9 oranim 771 . . . . . 6  |-  ( ( A  =  C  \/  A  =  D )  ->  -.  ( -.  A  =  C  /\  -.  A  =  D ) )
10 df-ne 2337 . . . . . . 7  |-  ( A  =/=  C  <->  -.  A  =  C )
11 df-ne 2337 . . . . . . 7  |-  ( A  =/=  D  <->  -.  A  =  D )
1210, 11anbi12i 456 . . . . . 6  |-  ( ( A  =/=  C  /\  A  =/=  D )  <->  ( -.  A  =  C  /\  -.  A  =  D
) )
139, 12sylnibr 667 . . . . 5  |-  ( ( A  =  C  \/  A  =  D )  ->  -.  ( A  =/= 
C  /\  A  =/=  D ) )
14 oranim 771 . . . . . 6  |-  ( ( B  =  C  \/  B  =  D )  ->  -.  ( -.  B  =  C  /\  -.  B  =  D ) )
15 df-ne 2337 . . . . . . 7  |-  ( B  =/=  C  <->  -.  B  =  C )
16 df-ne 2337 . . . . . . 7  |-  ( B  =/=  D  <->  -.  B  =  D )
1715, 16anbi12i 456 . . . . . 6  |-  ( ( B  =/=  C  /\  B  =/=  D )  <->  ( -.  B  =  C  /\  -.  B  =  D
) )
1814, 17sylnibr 667 . . . . 5  |-  ( ( B  =  C  \/  B  =  D )  ->  -.  ( B  =/= 
C  /\  B  =/=  D ) )
1913, 18anim12i 336 . . . 4  |-  ( ( ( A  =  C  \/  A  =  D )  /\  ( B  =  C  \/  B  =  D ) )  -> 
( -.  ( A  =/=  C  /\  A  =/=  D )  /\  -.  ( B  =/=  C  /\  B  =/=  D
) ) )
208, 19syl6 33 . . 3  |-  ( ( ( A  e.  U  /\  B  e.  V
)  /\  ( C  e.  X  /\  D  e.  Y ) )  -> 
( { A ,  B }  =  { C ,  D }  ->  ( -.  ( A  =/=  C  /\  A  =/=  D )  /\  -.  ( B  =/=  C  /\  B  =/=  D
) ) ) )
21 pm4.56 770 . . 3  |-  ( ( -.  ( A  =/= 
C  /\  A  =/=  D )  /\  -.  ( B  =/=  C  /\  B  =/=  D ) )  <->  -.  (
( A  =/=  C  /\  A  =/=  D
)  \/  ( B  =/=  C  /\  B  =/=  D ) ) )
2220, 21syl6ib 160 . 2  |-  ( ( ( A  e.  U  /\  B  e.  V
)  /\  ( C  e.  X  /\  D  e.  Y ) )  -> 
( { A ,  B }  =  { C ,  D }  ->  -.  ( ( A  =/=  C  /\  A  =/=  D )  \/  ( B  =/=  C  /\  B  =/=  D ) ) ) )
2322necon2ad 2393 1  |-  ( ( ( A  e.  U  /\  B  e.  V
)  /\  ( C  e.  X  /\  D  e.  Y ) )  -> 
( ( ( A  =/=  C  /\  A  =/=  D )  \/  ( B  =/=  C  /\  B  =/=  D ) )  ->  { A ,  B }  =/=  { C ,  D } ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 103    \/ wo 698    = wceq 1343    e. wcel 2136    =/= wne 2336   {cpr 3577
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-in1 604  ax-in2 605  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-ext 2147
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-v 2728  df-un 3120  df-sn 3582  df-pr 3583
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator