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

Theorem difrab 3238
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 2357 . . 3  |-  { x  e.  A  |  ph }  =  { x  |  ( x  e.  A  /\  ph ) }
2 df-rab 2357 . . 3  |-  { x  e.  A  |  ps }  =  { x  |  ( x  e.  A  /\  ps ) }
31, 2difeq12i 3088 . 2  |-  ( { x  e.  A  |  ph }  \  { x  e.  A  |  ps } )  =  ( { x  |  ( x  e.  A  /\  ph ) }  \  {
x  |  ( x  e.  A  /\  ps ) } )
4 df-rab 2357 . . 3  |-  { x  e.  A  |  ( ph  /\  -.  ps ) }  =  { x  |  ( x  e.  A  /\  ( ph  /\ 
-.  ps ) ) }
5 difab 3233 . . . 4  |-  ( { x  |  ( x  e.  A  /\  ph ) }  \  { x  |  ( x  e.  A  /\  ps ) } )  =  {
x  |  ( ( x  e.  A  /\  ph )  /\  -.  (
x  e.  A  /\  ps ) ) }
6 anass 393 . . . . . 6  |-  ( ( ( x  e.  A  /\  ph )  /\  -.  ps )  <->  ( x  e.  A  /\  ( ph  /\ 
-.  ps ) ) )
7 simpr 108 . . . . . . . . 9  |-  ( ( x  e.  A  /\  ps )  ->  ps )
87con3i 594 . . . . . . . 8  |-  ( -. 
ps  ->  -.  ( x  e.  A  /\  ps )
)
98anim2i 334 . . . . . . 7  |-  ( ( ( x  e.  A  /\  ph )  /\  -.  ps )  ->  ( ( x  e.  A  /\  ph )  /\  -.  (
x  e.  A  /\  ps ) ) )
10 pm3.2 137 . . . . . . . . . 10  |-  ( x  e.  A  ->  ( ps  ->  ( x  e.  A  /\  ps )
) )
1110adantr 270 . . . . . . . . 9  |-  ( ( x  e.  A  /\  ph )  ->  ( ps  ->  ( x  e.  A  /\  ps ) ) )
1211con3d 593 . . . . . . . 8  |-  ( ( x  e.  A  /\  ph )  ->  ( -.  ( x  e.  A  /\  ps )  ->  -.  ps ) )
1312imdistani 433 . . . . . . 7  |-  ( ( ( x  e.  A  /\  ph )  /\  -.  ( x  e.  A  /\  ps ) )  -> 
( ( x  e.  A  /\  ph )  /\  -.  ps ) )
149, 13impbii 124 . . . . . 6  |-  ( ( ( x  e.  A  /\  ph )  /\  -.  ps )  <->  ( ( x  e.  A  /\  ph )  /\  -.  ( x  e.  A  /\  ps ) ) )
156, 14bitr3i 184 . . . . 5  |-  ( ( x  e.  A  /\  ( ph  /\  -.  ps ) )  <->  ( (
x  e.  A  /\  ph )  /\  -.  (
x  e.  A  /\  ps ) ) )
1615abbii 2194 . . . 4  |-  { x  |  ( x  e.  A  /\  ( ph  /\ 
-.  ps ) ) }  =  { x  |  ( ( x  e.  A  /\  ph )  /\  -.  ( x  e.  A  /\  ps )
) }
175, 16eqtr4i 2104 . . 3  |-  ( { x  |  ( x  e.  A  /\  ph ) }  \  { x  |  ( x  e.  A  /\  ps ) } )  =  {
x  |  ( x  e.  A  /\  ( ph  /\  -.  ps )
) }
184, 17eqtr4i 2104 . 2  |-  { x  e.  A  |  ( ph  /\  -.  ps ) }  =  ( {
x  |  ( x  e.  A  /\  ph ) }  \  { x  |  ( x  e.  A  /\  ps ) } )
193, 18eqtr4i 2104 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 102    = wceq 1284    e. wcel 1433   {cab 2067   {crab 2352    \ cdif 2970
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 576  ax-in2 577  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063
This theorem depends on definitions:  df-bi 115  df-tru 1287  df-fal 1290  df-nf 1390  df-sb 1686  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-ral 2353  df-rab 2357  df-v 2603  df-dif 2975
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator