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

Theorem diftpsn3 3714
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 3584 . . . 4  |-  { A ,  B ,  C }  =  ( { A ,  B }  u.  { C } )
21a1i 9 . . 3  |-  ( ( A  =/=  C  /\  B  =/=  C )  ->  { A ,  B ,  C }  =  ( { A ,  B }  u.  { C } ) )
32difeq1d 3239 . 2  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( { A ,  B ,  C }  \  { C } )  =  ( ( { A ,  B }  u.  { C } ) 
\  { C }
) )
4 difundir 3375 . . 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 3583 . . . . . . . . 9  |-  { A ,  B }  =  ( { A }  u.  { B } )
76a1i 9 . . . . . . . 8  |-  ( ( A  =/=  C  /\  B  =/=  C )  ->  { A ,  B }  =  ( { A }  u.  { B } ) )
87ineq1d 3322 . . . . . . 7  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( { A ,  B }  i^i  { C } )  =  ( ( { A }  u.  { B } )  i^i  { C }
) )
9 incom 3314 . . . . . . . . 9  |-  ( ( { A }  u.  { B } )  i^i 
{ C } )  =  ( { C }  i^i  ( { A }  u.  { B } ) )
10 indi 3369 . . . . . . . . 9  |-  ( { C }  i^i  ( { A }  u.  { B } ) )  =  ( ( { C }  i^i  { A }
)  u.  ( { C }  i^i  { B } ) )
119, 10eqtri 2186 . . . . . . . 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 2420 . . . . . . . . . . 11  |-  ( A  =/=  C  <->  C  =/=  A )
14 disjsn2 3639 . . . . . . . . . . 11  |-  ( C  =/=  A  ->  ( { C }  i^i  { A } )  =  (/) )
1513, 14sylbi 120 . . . . . . . . . 10  |-  ( A  =/=  C  ->  ( { C }  i^i  { A } )  =  (/) )
1615adantr 274 . . . . . . . . 9  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( { C }  i^i  { A } )  =  (/) )
17 necom 2420 . . . . . . . . . . 11  |-  ( B  =/=  C  <->  C  =/=  B )
18 disjsn2 3639 . . . . . . . . . . 11  |-  ( C  =/=  B  ->  ( { C }  i^i  { B } )  =  (/) )
1917, 18sylbi 120 . . . . . . . . . 10  |-  ( B  =/=  C  ->  ( { C }  i^i  { B } )  =  (/) )
2019adantl 275 . . . . . . . . 9  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( { C }  i^i  { B } )  =  (/) )
2116, 20uneq12d 3277 . . . . . . . 8  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( ( { C }  i^i  { A }
)  u.  ( { C }  i^i  { B } ) )  =  ( (/)  u.  (/) ) )
22 unidm 3265 . . . . . . . 8  |-  ( (/)  u.  (/) )  =  (/)
2321, 22eqtrdi 2215 . . . . . . 7  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( ( { C }  i^i  { A }
)  u.  ( { C }  i^i  { B } ) )  =  (/) )
248, 12, 233eqtrd 2202 . . . . . 6  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( { A ,  B }  i^i  { C } )  =  (/) )
25 disj3 3461 . . . . . 6  |-  ( ( { A ,  B }  i^i  { C }
)  =  (/)  <->  { A ,  B }  =  ( { A ,  B }  \  { C }
) )
2624, 25sylib 121 . . . . 5  |-  ( ( A  =/=  C  /\  B  =/=  C )  ->  { A ,  B }  =  ( { A ,  B }  \  { C } ) )
2726eqcomd 2171 . . . 4  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( { A ,  B }  \  { C } )  =  { A ,  B }
)
28 difid 3477 . . . . 5  |-  ( { C }  \  { C } )  =  (/)
2928a1i 9 . . . 4  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( { C }  \  { C } )  =  (/) )
3027, 29uneq12d 3277 . . 3  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( ( { A ,  B }  \  { C } )  u.  ( { C }  \  { C } ) )  =  ( { A ,  B }  u.  (/) ) )
31 un0 3442 . . 3  |-  ( { A ,  B }  u.  (/) )  =  { A ,  B }
3230, 31eqtrdi 2215 . 2  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( ( { A ,  B }  \  { C } )  u.  ( { C }  \  { C } ) )  =  { A ,  B } )
333, 5, 323eqtrd 2202 1  |-  ( ( A  =/=  C  /\  B  =/=  C )  -> 
( { A ,  B ,  C }  \  { C } )  =  { A ,  B } )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    = wceq 1343    =/= wne 2336    \ cdif 3113    u. cun 3114    i^i cin 3115   (/)c0 3409   {csn 3576   {cpr 3577   {ctp 3578
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-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ne 2337  df-ral 2449  df-rab 2453  df-v 2728  df-dif 3118  df-un 3120  df-in 3122  df-ss 3129  df-nul 3410  df-sn 3582  df-pr 3583  df-tp 3584
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator