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

Theorem difrab 3320
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 2402 . . 3  |-  { x  e.  A  |  ph }  =  { x  |  ( x  e.  A  /\  ph ) }
2 df-rab 2402 . . 3  |-  { x  e.  A  |  ps }  =  { x  |  ( x  e.  A  /\  ps ) }
31, 2difeq12i 3162 . 2  |-  ( { x  e.  A  |  ph }  \  { x  e.  A  |  ps } )  =  ( { x  |  ( x  e.  A  /\  ph ) }  \  {
x  |  ( x  e.  A  /\  ps ) } )
4 df-rab 2402 . . 3  |-  { x  e.  A  |  ( ph  /\  -.  ps ) }  =  { x  |  ( x  e.  A  /\  ( ph  /\ 
-.  ps ) ) }
5 difab 3315 . . . 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 606 . . . . . . . 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 605 . . . . . . . 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 2233 . . . 4  |-  { x  |  ( x  e.  A  /\  ( ph  /\ 
-.  ps ) ) }  =  { x  |  ( ( x  e.  A  /\  ph )  /\  -.  ( x  e.  A  /\  ps )
) }
175, 16eqtr4i 2141 . . 3  |-  ( { x  |  ( x  e.  A  /\  ph ) }  \  { x  |  ( x  e.  A  /\  ps ) } )  =  {
x  |  ( x  e.  A  /\  ( ph  /\  -.  ps )
) }
184, 17eqtr4i 2141 . 2  |-  { x  e.  A  |  ( ph  /\  -.  ps ) }  =  ( {
x  |  ( x  e.  A  /\  ph ) }  \  { x  |  ( x  e.  A  /\  ps ) } )
193, 18eqtr4i 2141 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 1316    e. wcel 1465   {cab 2103   {crab 2397    \ cdif 3038
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 588  ax-in2 589  ax-io 683  ax-5 1408  ax-7 1409  ax-gen 1410  ax-ie1 1454  ax-ie2 1455  ax-8 1467  ax-10 1468  ax-11 1469  ax-i12 1470  ax-bndl 1471  ax-4 1472  ax-17 1491  ax-i9 1495  ax-ial 1499  ax-i5r 1500  ax-ext 2099
This theorem depends on definitions:  df-bi 116  df-tru 1319  df-fal 1322  df-nf 1422  df-sb 1721  df-clab 2104  df-cleq 2110  df-clel 2113  df-nfc 2247  df-ral 2398  df-rab 2402  df-v 2662  df-dif 3043
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator