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

Theorem difrab 3211
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 2315 . . 3  |-  { x  e.  A  |  ph }  =  { x  |  ( x  e.  A  /\  ph ) }
2 df-rab 2315 . . 3  |-  { x  e.  A  |  ps }  =  { x  |  ( x  e.  A  /\  ps ) }
31, 2difeq12i 3060 . 2  |-  ( { x  e.  A  |  ph }  \  { x  e.  A  |  ps } )  =  ( { x  |  ( x  e.  A  /\  ph ) }  \  {
x  |  ( x  e.  A  /\  ps ) } )
4 df-rab 2315 . . 3  |-  { x  e.  A  |  ( ph  /\  -.  ps ) }  =  { x  |  ( x  e.  A  /\  ( ph  /\ 
-.  ps ) ) }
5 difab 3206 . . . 4  |-  ( { x  |  ( x  e.  A  /\  ph ) }  \  { x  |  ( x  e.  A  /\  ps ) } )  =  {
x  |  ( ( x  e.  A  /\  ph )  /\  -.  (
x  e.  A  /\  ps ) ) }
6 anass 381 . . . . . 6  |-  ( ( ( x  e.  A  /\  ph )  /\  -.  ps )  <->  ( x  e.  A  /\  ( ph  /\ 
-.  ps ) ) )
7 simpr 103 . . . . . . . . 9  |-  ( ( x  e.  A  /\  ps )  ->  ps )
87con3i 562 . . . . . . . 8  |-  ( -. 
ps  ->  -.  ( x  e.  A  /\  ps )
)
98anim2i 324 . . . . . . 7  |-  ( ( ( x  e.  A  /\  ph )  /\  -.  ps )  ->  ( ( x  e.  A  /\  ph )  /\  -.  (
x  e.  A  /\  ps ) ) )
10 pm3.2 126 . . . . . . . . . 10  |-  ( x  e.  A  ->  ( ps  ->  ( x  e.  A  /\  ps )
) )
1110adantr 261 . . . . . . . . 9  |-  ( ( x  e.  A  /\  ph )  ->  ( ps  ->  ( x  e.  A  /\  ps ) ) )
1211con3d 561 . . . . . . . 8  |-  ( ( x  e.  A  /\  ph )  ->  ( -.  ( x  e.  A  /\  ps )  ->  -.  ps ) )
1312imdistani 419 . . . . . . 7  |-  ( ( ( x  e.  A  /\  ph )  /\  -.  ( x  e.  A  /\  ps ) )  -> 
( ( x  e.  A  /\  ph )  /\  -.  ps ) )
149, 13impbii 117 . . . . . 6  |-  ( ( ( x  e.  A  /\  ph )  /\  -.  ps )  <->  ( ( x  e.  A  /\  ph )  /\  -.  ( x  e.  A  /\  ps ) ) )
156, 14bitr3i 175 . . . . 5  |-  ( ( x  e.  A  /\  ( ph  /\  -.  ps ) )  <->  ( (
x  e.  A  /\  ph )  /\  -.  (
x  e.  A  /\  ps ) ) )
1615abbii 2153 . . . 4  |-  { x  |  ( x  e.  A  /\  ( ph  /\ 
-.  ps ) ) }  =  { x  |  ( ( x  e.  A  /\  ph )  /\  -.  ( x  e.  A  /\  ps )
) }
175, 16eqtr4i 2063 . . 3  |-  ( { x  |  ( x  e.  A  /\  ph ) }  \  { x  |  ( x  e.  A  /\  ps ) } )  =  {
x  |  ( x  e.  A  /\  ( ph  /\  -.  ps )
) }
184, 17eqtr4i 2063 . 2  |-  { x  e.  A  |  ( ph  /\  -.  ps ) }  =  ( {
x  |  ( x  e.  A  /\  ph ) }  \  { x  |  ( x  e.  A  /\  ps ) } )
193, 18eqtr4i 2063 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 97    = wceq 1243    e. wcel 1393   {cab 2026   {crab 2310    \ cdif 2914
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-ral 2311  df-rab 2315  df-v 2559  df-dif 2920
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator