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

Theorem difrab 3345
Description: Difference of two restricted class abstractions. (Contributed by NM, 23-Oct-2004.)
Assertion
Ref Expression
difrab  |-  ( { x  e.  A  |  ph }  \  { x  e.  A  |  ps } )  =  {
x  e.  A  | 
( ph  /\  -.  ps ) }

Proof of Theorem difrab
StepHypRef Expression
1 df-rab 2423 . . 3  |-  { x  e.  A  |  ph }  =  { x  |  ( x  e.  A  /\  ph ) }
2 df-rab 2423 . . 3  |-  { x  e.  A  |  ps }  =  { x  |  ( x  e.  A  /\  ps ) }
31, 2difeq12i 3187 . 2  |-  ( { x  e.  A  |  ph }  \  { x  e.  A  |  ps } )  =  ( { x  |  ( x  e.  A  /\  ph ) }  \  {
x  |  ( x  e.  A  /\  ps ) } )
4 df-rab 2423 . . 3  |-  { x  e.  A  |  ( ph  /\  -.  ps ) }  =  { x  |  ( x  e.  A  /\  ( ph  /\ 
-.  ps ) ) }
5 difab 3340 . . . 4  |-  ( { x  |  ( x  e.  A  /\  ph ) }  \  { x  |  ( x  e.  A  /\  ps ) } )  =  {
x  |  ( ( x  e.  A  /\  ph )  /\  -.  (
x  e.  A  /\  ps ) ) }
6 anass 398 . . . . . 6  |-  ( ( ( x  e.  A  /\  ph )  /\  -.  ps )  <->  ( x  e.  A  /\  ( ph  /\ 
-.  ps ) ) )
7 simpr 109 . . . . . . . . 9  |-  ( ( x  e.  A  /\  ps )  ->  ps )
87con3i 621 . . . . . . . 8  |-  ( -. 
ps  ->  -.  ( x  e.  A  /\  ps )
)
98anim2i 339 . . . . . . 7  |-  ( ( ( x  e.  A  /\  ph )  /\  -.  ps )  ->  ( ( x  e.  A  /\  ph )  /\  -.  (
x  e.  A  /\  ps ) ) )
10 pm3.2 138 . . . . . . . . . 10  |-  ( x  e.  A  ->  ( ps  ->  ( x  e.  A  /\  ps )
) )
1110adantr 274 . . . . . . . . 9  |-  ( ( x  e.  A  /\  ph )  ->  ( ps  ->  ( x  e.  A  /\  ps ) ) )
1211con3d 620 . . . . . . . 8  |-  ( ( x  e.  A  /\  ph )  ->  ( -.  ( x  e.  A  /\  ps )  ->  -.  ps ) )
1312imdistani 441 . . . . . . 7  |-  ( ( ( x  e.  A  /\  ph )  /\  -.  ( x  e.  A  /\  ps ) )  -> 
( ( x  e.  A  /\  ph )  /\  -.  ps ) )
149, 13impbii 125 . . . . . 6  |-  ( ( ( x  e.  A  /\  ph )  /\  -.  ps )  <->  ( ( x  e.  A  /\  ph )  /\  -.  ( x  e.  A  /\  ps ) ) )
156, 14bitr3i 185 . . . . 5  |-  ( ( x  e.  A  /\  ( ph  /\  -.  ps ) )  <->  ( (
x  e.  A  /\  ph )  /\  -.  (
x  e.  A  /\  ps ) ) )
1615abbii 2253 . . . 4  |-  { x  |  ( x  e.  A  /\  ( ph  /\ 
-.  ps ) ) }  =  { x  |  ( ( x  e.  A  /\  ph )  /\  -.  ( x  e.  A  /\  ps )
) }
175, 16eqtr4i 2161 . . 3  |-  ( { x  |  ( x  e.  A  /\  ph ) }  \  { x  |  ( x  e.  A  /\  ps ) } )  =  {
x  |  ( x  e.  A  /\  ( ph  /\  -.  ps )
) }
184, 17eqtr4i 2161 . 2  |-  { x  e.  A  |  ( ph  /\  -.  ps ) }  =  ( {
x  |  ( x  e.  A  /\  ph ) }  \  { x  |  ( x  e.  A  /\  ps ) } )
193, 18eqtr4i 2161 1  |-  ( { x  e.  A  |  ph }  \  { x  e.  A  |  ps } )  =  {
x  e.  A  | 
( ph  /\  -.  ps ) }
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 103    = wceq 1331    e. wcel 1480   {cab 2123   {crab 2418    \ cdif 3063
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 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119
This theorem depends on definitions:  df-bi 116  df-tru 1334  df-fal 1337  df-nf 1437  df-sb 1736  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-ral 2419  df-rab 2423  df-v 2683  df-dif 3068
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator