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

Theorem prneimg 3761
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 3760 . . . . 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 815 . . . . . 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 524 . . . . . . 7  |-  ( ( ( ( A  =  C  \/  A  =  D )  /\  ( A  =  C  \/  B  =  C )
)  /\  ( ( B  =  D  \/  A  =  D )  /\  ( B  =  D  \/  B  =  C ) ) )  -> 
( A  =  C  \/  A  =  D ) )
4 pm1.4 722 . . . . . . . 8  |-  ( ( B  =  D  \/  B  =  C )  ->  ( B  =  C  \/  B  =  D ) )
54ad2antll 488 . . . . . . 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 776 . . . . . 6  |-  ( ( A  =  C  \/  A  =  D )  ->  -.  ( -.  A  =  C  /\  -.  A  =  D ) )
10 df-ne 2341 . . . . . . 7  |-  ( A  =/=  C  <->  -.  A  =  C )
11 df-ne 2341 . . . . . . 7  |-  ( A  =/=  D  <->  -.  A  =  D )
1210, 11anbi12i 457 . . . . . 6  |-  ( ( A  =/=  C  /\  A  =/=  D )  <->  ( -.  A  =  C  /\  -.  A  =  D
) )
139, 12sylnibr 672 . . . . 5  |-  ( ( A  =  C  \/  A  =  D )  ->  -.  ( A  =/= 
C  /\  A  =/=  D ) )
14 oranim 776 . . . . . 6  |-  ( ( B  =  C  \/  B  =  D )  ->  -.  ( -.  B  =  C  /\  -.  B  =  D ) )
15 df-ne 2341 . . . . . . 7  |-  ( B  =/=  C  <->  -.  B  =  C )
16 df-ne 2341 . . . . . . 7  |-  ( B  =/=  D  <->  -.  B  =  D )
1715, 16anbi12i 457 . . . . . 6  |-  ( ( B  =/=  C  /\  B  =/=  D )  <->  ( -.  B  =  C  /\  -.  B  =  D
) )
1814, 17sylnibr 672 . . . . 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 775 . . 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 2397 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 703    = wceq 1348    e. wcel 2141    =/= wne 2340   {cpr 3584
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 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-ext 2152
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-nf 1454  df-sb 1756  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-v 2732  df-un 3125  df-sn 3589  df-pr 3590
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator