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

Theorem difopab 4632
Description: The difference of two ordered-pair abstractions. (Contributed by Stefan O'Rear, 17-Jan-2015.)
Assertion
Ref Expression
difopab  |-  ( {
<. x ,  y >.  |  ph }  \  { <. x ,  y >.  |  ps } )  =  { <. x ,  y
>.  |  ( ph  /\ 
-.  ps ) }
Distinct variable group:    x, y
Allowed substitution hints:    ph( x, y)    ps( x, y)

Proof of Theorem difopab
Dummy variables  w  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relopab 4626 . . 3  |-  Rel  { <. x ,  y >.  |  ph }
2 reldif 4619 . . 3  |-  ( Rel 
{ <. x ,  y
>.  |  ph }  ->  Rel  ( { <. x ,  y >.  |  ph }  \  { <. x ,  y >.  |  ps } ) )
31, 2ax-mp 7 . 2  |-  Rel  ( { <. x ,  y
>.  |  ph }  \  { <. x ,  y
>.  |  ps } )
4 relopab 4626 . 2  |-  Rel  { <. x ,  y >.  |  ( ph  /\  -.  ps ) }
5 sbcan 2919 . . . 4  |-  ( [. z  /  x ]. ( [. w  /  y ]. ph  /\  [. w  /  y ].  -.  ps )  <->  ( [. z  /  x ]. [. w  /  y ]. ph  /\  [. z  /  x ]. [. w  /  y ].  -.  ps ) )
6 sbcan 2919 . . . . 5  |-  ( [. w  /  y ]. ( ph  /\  -.  ps )  <->  (
[. w  /  y ]. ph  /\  [. w  /  y ].  -.  ps ) )
76sbcbii 2936 . . . 4  |-  ( [. z  /  x ]. [. w  /  y ]. ( ph  /\  -.  ps )  <->  [. z  /  x ]. ( [. w  /  y ]. ph  /\  [. w  /  y ].  -.  ps ) )
8 opelopabsb 4142 . . . . 5  |-  ( <.
z ,  w >.  e. 
{ <. x ,  y
>.  |  ph }  <->  [. z  /  x ]. [. w  / 
y ]. ph )
9 vex 2660 . . . . . . 7  |-  z  e. 
_V
10 sbcng 2917 . . . . . . 7  |-  ( z  e.  _V  ->  ( [. z  /  x ].  -.  [. w  / 
y ]. ps  <->  -.  [. z  /  x ]. [. w  /  y ]. ps ) )
119, 10ax-mp 7 . . . . . 6  |-  ( [. z  /  x ].  -.  [. w  /  y ]. ps 
<->  -.  [. z  /  x ]. [. w  / 
y ]. ps )
12 vex 2660 . . . . . . . 8  |-  w  e. 
_V
13 sbcng 2917 . . . . . . . 8  |-  ( w  e.  _V  ->  ( [. w  /  y ].  -.  ps  <->  -.  [. w  /  y ]. ps ) )
1412, 13ax-mp 7 . . . . . . 7  |-  ( [. w  /  y ].  -.  ps 
<->  -.  [. w  / 
y ]. ps )
1514sbcbii 2936 . . . . . 6  |-  ( [. z  /  x ]. [. w  /  y ].  -.  ps 
<-> 
[. z  /  x ].  -.  [. w  / 
y ]. ps )
16 opelopabsb 4142 . . . . . . 7  |-  ( <.
z ,  w >.  e. 
{ <. x ,  y
>.  |  ps }  <->  [. z  /  x ]. [. w  / 
y ]. ps )
1716notbii 640 . . . . . 6  |-  ( -. 
<. z ,  w >.  e. 
{ <. x ,  y
>.  |  ps }  <->  -.  [. z  /  x ]. [. w  /  y ]. ps )
1811, 15, 173bitr4ri 212 . . . . 5  |-  ( -. 
<. z ,  w >.  e. 
{ <. x ,  y
>.  |  ps }  <->  [. z  /  x ]. [. w  / 
y ].  -.  ps )
198, 18anbi12i 453 . . . 4  |-  ( (
<. z ,  w >.  e. 
{ <. x ,  y
>.  |  ph }  /\  -.  <. z ,  w >.  e.  { <. x ,  y >.  |  ps } )  <->  ( [. z  /  x ]. [. w  /  y ]. ph  /\  [. z  /  x ]. [. w  /  y ].  -.  ps ) )
205, 7, 193bitr4ri 212 . . 3  |-  ( (
<. z ,  w >.  e. 
{ <. x ,  y
>.  |  ph }  /\  -.  <. z ,  w >.  e.  { <. x ,  y >.  |  ps } )  <->  [. z  /  x ]. [. w  / 
y ]. ( ph  /\  -.  ps ) )
21 eldif 3046 . . 3  |-  ( <.
z ,  w >.  e.  ( { <. x ,  y >.  |  ph }  \  { <. x ,  y >.  |  ps } )  <->  ( <. z ,  w >.  e.  { <. x ,  y >.  |  ph }  /\  -.  <.
z ,  w >.  e. 
{ <. x ,  y
>.  |  ps } ) )
22 opelopabsb 4142 . . 3  |-  ( <.
z ,  w >.  e. 
{ <. x ,  y
>.  |  ( ph  /\ 
-.  ps ) }  <->  [. z  /  x ]. [. w  / 
y ]. ( ph  /\  -.  ps ) )
2320, 21, 223bitr4i 211 . 2  |-  ( <.
z ,  w >.  e.  ( { <. x ,  y >.  |  ph }  \  { <. x ,  y >.  |  ps } )  <->  <. z ,  w >.  e.  { <. x ,  y >.  |  (
ph  /\  -.  ps ) } )
243, 4, 23eqrelriiv 4593 1  |-  ( {
<. x ,  y >.  |  ph }  \  { <. x ,  y >.  |  ps } )  =  { <. x ,  y
>.  |  ( ph  /\ 
-.  ps ) }
Colors of variables: wff set class
Syntax hints:   -. wn 3    /\ wa 103    <-> wb 104    = wceq 1314    e. wcel 1463   _Vcvv 2657   [.wsbc 2878    \ cdif 3034   <.cop 3496   {copab 3948   Rel wrel 4504
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 586  ax-in2 587  ax-io 681  ax-5 1406  ax-7 1407  ax-gen 1408  ax-ie1 1452  ax-ie2 1453  ax-8 1465  ax-10 1466  ax-11 1467  ax-i12 1468  ax-bndl 1469  ax-4 1470  ax-14 1475  ax-17 1489  ax-i9 1493  ax-ial 1497  ax-i5r 1498  ax-ext 2097  ax-sep 4006  ax-pow 4058  ax-pr 4091
This theorem depends on definitions:  df-bi 116  df-3an 947  df-tru 1317  df-fal 1320  df-nf 1420  df-sb 1719  df-eu 1978  df-mo 1979  df-clab 2102  df-cleq 2108  df-clel 2111  df-nfc 2244  df-ral 2395  df-rex 2396  df-v 2659  df-sbc 2879  df-dif 3039  df-un 3041  df-in 3043  df-ss 3050  df-pw 3478  df-sn 3499  df-pr 3500  df-op 3502  df-opab 3950  df-xp 4505  df-rel 4506
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator