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

Theorem diftpsn3 3505
Description: Removal of a singleton from an unordered triple. (Contributed by Alexander van der Vekens, 5-Oct-2017.)
Assertion
Ref Expression
diftpsn3  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( { A ,  B ,  C }  \  { C } )  =  { A ,  B } )

Proof of Theorem diftpsn3
StepHypRef Expression
1 df-tp 3383 . . . 4  |-  { A ,  B ,  C }  =  ( { A ,  B }  u.  { C } )
21a1i 9 . . 3  |-  ( ( A  =/=  C  /\  B  =/=  C )  ->  { A ,  B ,  C }  =  ( { A ,  B }  u.  { C } ) )
32difeq1d 3061 . 2  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( { A ,  B ,  C }  \  { C } )  =  ( ( { A ,  B }  u.  { C } ) 
\  { C }
) )
4 difundir 3190 . . 3  |-  ( ( { A ,  B }  u.  { C } )  \  { C } )  =  ( ( { A ,  B }  \  { C } )  u.  ( { C }  \  { C } ) )
54a1i 9 . 2  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( ( { A ,  B }  u.  { C } )  \  { C } )  =  ( ( { A ,  B }  \  { C } )  u.  ( { C }  \  { C } ) ) )
6 df-pr 3382 . . . . . . . . 9  |-  { A ,  B }  =  ( { A }  u.  { B } )
76a1i 9 . . . . . . . 8  |-  ( ( A  =/=  C  /\  B  =/=  C )  ->  { A ,  B }  =  ( { A }  u.  { B } ) )
87ineq1d 3137 . . . . . . 7  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( { A ,  B }  i^i  { C } )  =  ( ( { A }  u.  { B } )  i^i  { C }
) )
9 incom 3129 . . . . . . . . 9  |-  ( ( { A }  u.  { B } )  i^i 
{ C } )  =  ( { C }  i^i  ( { A }  u.  { B } ) )
10 indi 3184 . . . . . . . . 9  |-  ( { C }  i^i  ( { A }  u.  { B } ) )  =  ( ( { C }  i^i  { A }
)  u.  ( { C }  i^i  { B } ) )
119, 10eqtri 2060 . . . . . . . 8  |-  ( ( { A }  u.  { B } )  i^i 
{ C } )  =  ( ( { C }  i^i  { A } )  u.  ( { C }  i^i  { B } ) )
1211a1i 9 . . . . . . 7  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( ( { A }  u.  { B } )  i^i  { C } )  =  ( ( { C }  i^i  { A } )  u.  ( { C }  i^i  { B }
) ) )
13 necom 2289 . . . . . . . . . . 11  |-  ( A  =/=  C  <->  C  =/=  A )
14 disjsn2 3433 . . . . . . . . . . 11  |-  ( C  =/=  A  ->  ( { C }  i^i  { A } )  =  (/) )
1513, 14sylbi 114 . . . . . . . . . 10  |-  ( A  =/=  C  ->  ( { C }  i^i  { A } )  =  (/) )
1615adantr 261 . . . . . . . . 9  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( { C }  i^i  { A } )  =  (/) )
17 necom 2289 . . . . . . . . . . 11  |-  ( B  =/=  C  <->  C  =/=  B )
18 disjsn2 3433 . . . . . . . . . . 11  |-  ( C  =/=  B  ->  ( { C }  i^i  { B } )  =  (/) )
1917, 18sylbi 114 . . . . . . . . . 10  |-  ( B  =/=  C  ->  ( { C }  i^i  { B } )  =  (/) )
2019adantl 262 . . . . . . . . 9  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( { C }  i^i  { B } )  =  (/) )
2116, 20uneq12d 3098 . . . . . . . 8  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( ( { C }  i^i  { A }
)  u.  ( { C }  i^i  { B } ) )  =  ( (/)  u.  (/) ) )
22 unidm 3086 . . . . . . . 8  |-  ( (/)  u.  (/) )  =  (/)
2321, 22syl6eq 2088 . . . . . . 7  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( ( { C }  i^i  { A }
)  u.  ( { C }  i^i  { B } ) )  =  (/) )
248, 12, 233eqtrd 2076 . . . . . 6  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( { A ,  B }  i^i  { C } )  =  (/) )
25 disj3 3272 . . . . . 6  |-  ( ( { A ,  B }  i^i  { C }
)  =  (/)  <->  { A ,  B }  =  ( { A ,  B }  \  { C }
) )
2624, 25sylib 127 . . . . 5  |-  ( ( A  =/=  C  /\  B  =/=  C )  ->  { A ,  B }  =  ( { A ,  B }  \  { C } ) )
2726eqcomd 2045 . . . 4  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( { A ,  B }  \  { C } )  =  { A ,  B }
)
28 difid 3292 . . . . 5  |-  ( { C }  \  { C } )  =  (/)
2928a1i 9 . . . 4  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( { C }  \  { C } )  =  (/) )
3027, 29uneq12d 3098 . . 3  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( ( { A ,  B }  \  { C } )  u.  ( { C }  \  { C } ) )  =  ( { A ,  B }  u.  (/) ) )
31 un0 3251 . . 3  |-  ( { A ,  B }  u.  (/) )  =  { A ,  B }
3230, 31syl6eq 2088 . 2  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( ( { A ,  B }  \  { C } )  u.  ( { C }  \  { C } ) )  =  { A ,  B } )
333, 5, 323eqtrd 2076 1  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( { A ,  B ,  C }  \  { C } )  =  { A ,  B } )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 97    = wceq 1243    =/= wne 2204    \ cdif 2914    u. cun 2915    i^i cin 2916   (/)c0 3224   {csn 3375   {cpr 3376   {ctp 3377
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-in1 544  ax-in2 545  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022
This theorem depends on definitions:  df-bi 110  df-tru 1246  df-fal 1249  df-nf 1350  df-sb 1646  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ne 2206  df-ral 2311  df-rab 2315  df-v 2559  df-dif 2920  df-un 2922  df-in 2924  df-ss 2931  df-nul 3225  df-sn 3381  df-pr 3382  df-tp 3383
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator