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

Theorem pr2ne 7205
Description: If an unordered pair has two elements they are different. (Contributed by FL, 14-Feb-2010.)
Assertion
Ref Expression
pr2ne  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( { A ,  B }  ~~  2o  <->  A  =/=  B ) )

Proof of Theorem pr2ne
StepHypRef Expression
1 preq2 3682 . . . . 5  |-  ( B  =  A  ->  { A ,  B }  =  { A ,  A }
)
21eqcoms 2190 . . . 4  |-  ( A  =  B  ->  { A ,  B }  =  { A ,  A }
)
3 enpr1g 6812 . . . . . 6  |-  ( A  e.  C  ->  { A ,  A }  ~~  1o )
43adantr 276 . . . . 5  |-  ( ( A  e.  C  /\  B  e.  D )  ->  { A ,  A }  ~~  1o )
5 prexg 4223 . . . . . . 7  |-  ( ( A  e.  C  /\  B  e.  D )  ->  { A ,  B }  e.  _V )
6 eqeng 6780 . . . . . . 7  |-  ( { A ,  B }  e.  _V  ->  ( { A ,  B }  =  { A ,  A }  ->  { A ,  B }  ~~  { A ,  A } ) )
75, 6syl 14 . . . . . 6  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( { A ,  B }  =  { A ,  A }  ->  { A ,  B }  ~~  { A ,  A } ) )
8 entr 6798 . . . . . . . . 9  |-  ( ( { A ,  B }  ~~  { A ,  A }  /\  { A ,  A }  ~~  1o )  ->  { A ,  B }  ~~  1o )
9 1nen2 6875 . . . . . . . . . . 11  |-  -.  1o  ~~  2o
10 ensym 6795 . . . . . . . . . . . 12  |-  ( { A ,  B }  ~~  1o  ->  1o  ~~  { A ,  B }
)
11 entr 6798 . . . . . . . . . . . . 13  |-  ( ( 1o  ~~  { A ,  B }  /\  { A ,  B }  ~~  2o )  ->  1o  ~~  2o )
1211ex 115 . . . . . . . . . . . 12  |-  ( 1o 
~~  { A ,  B }  ->  ( { A ,  B }  ~~  2o  ->  1o  ~~  2o ) )
1310, 12syl 14 . . . . . . . . . . 11  |-  ( { A ,  B }  ~~  1o  ->  ( { A ,  B }  ~~  2o  ->  1o  ~~  2o ) )
149, 13mtoi 665 . . . . . . . . . 10  |-  ( { A ,  B }  ~~  1o  ->  -.  { A ,  B }  ~~  2o )
1514a1d 22 . . . . . . . . 9  |-  ( { A ,  B }  ~~  1o  ->  ( ( A  e.  C  /\  B  e.  D )  ->  -.  { A ,  B }  ~~  2o ) )
168, 15syl 14 . . . . . . . 8  |-  ( ( { A ,  B }  ~~  { A ,  A }  /\  { A ,  A }  ~~  1o )  ->  ( ( A  e.  C  /\  B  e.  D )  ->  -.  { A ,  B }  ~~  2o ) )
1716ex 115 . . . . . . 7  |-  ( { A ,  B }  ~~  { A ,  A }  ->  ( { A ,  A }  ~~  1o  ->  ( ( A  e.  C  /\  B  e.  D )  ->  -.  { A ,  B }  ~~  2o ) ) )
1817com3r 79 . . . . . 6  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( { A ,  B }  ~~  { A ,  A }  ->  ( { A ,  A }  ~~  1o  ->  -.  { A ,  B }  ~~  2o ) ) )
197, 18syld 45 . . . . 5  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( { A ,  B }  =  { A ,  A }  ->  ( { A ,  A }  ~~  1o  ->  -. 
{ A ,  B }  ~~  2o ) ) )
204, 19mpid 42 . . . 4  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( { A ,  B }  =  { A ,  A }  ->  -.  { A ,  B }  ~~  2o ) )
212, 20syl5 32 . . 3  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( A  =  B  ->  -.  { A ,  B }  ~~  2o ) )
2221necon2ad 2414 . 2  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( { A ,  B }  ~~  2o  ->  A  =/=  B ) )
23 pr2nelem 7204 . . 3  |-  ( ( A  e.  C  /\  B  e.  D  /\  A  =/=  B )  ->  { A ,  B }  ~~  2o )
24233expia 1206 . 2  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( A  =/=  B  ->  { A ,  B }  ~~  2o ) )
2522, 24impbid 129 1  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( { A ,  B }  ~~  2o  <->  A  =/=  B ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 104    <-> wb 105    = wceq 1363    e. wcel 2158    =/= wne 2357   _Vcvv 2749   {cpr 3605   class class class wbr 4015   1oc1o 6424   2oc2o 6425    ~~ cen 6752
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 615  ax-in2 616  ax-io 710  ax-5 1457  ax-7 1458  ax-gen 1459  ax-ie1 1503  ax-ie2 1504  ax-8 1514  ax-10 1515  ax-11 1516  ax-i12 1517  ax-bndl 1519  ax-4 1520  ax-17 1536  ax-i9 1540  ax-ial 1544  ax-i5r 1545  ax-13 2160  ax-14 2161  ax-ext 2169  ax-sep 4133  ax-nul 4141  ax-pow 4186  ax-pr 4221  ax-un 4445  ax-setind 4548  ax-iinf 4599
This theorem depends on definitions:  df-bi 117  df-dc 836  df-3or 980  df-3an 981  df-tru 1366  df-fal 1369  df-nf 1471  df-sb 1773  df-eu 2039  df-mo 2040  df-clab 2174  df-cleq 2180  df-clel 2183  df-nfc 2318  df-ne 2358  df-ral 2470  df-rex 2471  df-reu 2472  df-rab 2474  df-v 2751  df-sbc 2975  df-dif 3143  df-un 3145  df-in 3147  df-ss 3154  df-nul 3435  df-pw 3589  df-sn 3610  df-pr 3611  df-op 3613  df-uni 3822  df-int 3857  df-br 4016  df-opab 4077  df-tr 4114  df-id 4305  df-iord 4378  df-on 4380  df-suc 4383  df-iom 4602  df-xp 4644  df-rel 4645  df-cnv 4646  df-co 4647  df-dm 4648  df-rn 4649  df-res 4650  df-ima 4651  df-iota 5190  df-fun 5230  df-fn 5231  df-f 5232  df-f1 5233  df-fo 5234  df-f1o 5235  df-fv 5236  df-1o 6431  df-2o 6432  df-er 6549  df-en 6755
This theorem is referenced by:  exmidonfinlem  7206  pw1dom2  7240  isprm2lem  12130
  Copyright terms: Public domain W3C validator