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

Theorem elirr 4578
Description: No class is a member of itself. Exercise 6 of [TakeutiZaring] p. 22.

The reason that this theorem is marked as discouraged is a bit subtle. If we wanted to reduce usage of ax-setind 4574, we could redefine  Ord  A (df-iord 4402) to also require  _E 
Fr  A (df-frind 4368) and in that case any theorem related to irreflexivity of ordinals could use ordirr 4579 (which under that definition would presumably not need ax-setind 4574 to prove it). But since ordinals have not yet been defined that way, we cannot rely on the "don't add additional axiom use" feature of the minimizer to get theorems to use ordirr 4579. To encourage ordirr 4579 when possible, we mark this theorem as discouraged.

(Contributed by NM, 7-Aug-1994.) (Proof rewritten by Mario Carneiro and Jim Kingdon, 26-Nov-2018.) (New usage is discouraged.)

Assertion
Ref Expression
elirr  |-  -.  A  e.  A

Proof of Theorem elirr
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 neldifsnd 3754 . . . . . . . . 9  |-  ( ( A  e.  A  /\  A. y ( y  e.  x  ->  y  e.  ( _V  \  { A } ) ) )  ->  -.  A  e.  ( _V  \  { A } ) )
2 simp1 999 . . . . . . . . . . 11  |-  ( ( A  e.  A  /\  A. y ( y  e.  x  ->  y  e.  ( _V  \  { A } ) )  /\  x  =  A )  ->  A  e.  A )
3 eleq1 2259 . . . . . . . . . . . . . . . 16  |-  ( y  =  A  ->  (
y  e.  x  <->  A  e.  x ) )
4 eleq1 2259 . . . . . . . . . . . . . . . 16  |-  ( y  =  A  ->  (
y  e.  ( _V 
\  { A }
)  <->  A  e.  ( _V  \  { A }
) ) )
53, 4imbi12d 234 . . . . . . . . . . . . . . 15  |-  ( y  =  A  ->  (
( y  e.  x  ->  y  e.  ( _V 
\  { A }
) )  <->  ( A  e.  x  ->  A  e.  ( _V  \  { A } ) ) ) )
65spcgv 2851 . . . . . . . . . . . . . 14  |-  ( A  e.  x  ->  ( A. y ( y  e.  x  ->  y  e.  ( _V  \  { A } ) )  -> 
( A  e.  x  ->  A  e.  ( _V 
\  { A }
) ) ) )
76pm2.43b 52 . . . . . . . . . . . . 13  |-  ( A. y ( y  e.  x  ->  y  e.  ( _V  \  { A } ) )  -> 
( A  e.  x  ->  A  e.  ( _V 
\  { A }
) ) )
873ad2ant2 1021 . . . . . . . . . . . 12  |-  ( ( A  e.  A  /\  A. y ( y  e.  x  ->  y  e.  ( _V  \  { A } ) )  /\  x  =  A )  ->  ( A  e.  x  ->  A  e.  ( _V 
\  { A }
) ) )
9 eleq2 2260 . . . . . . . . . . . . . 14  |-  ( x  =  A  ->  ( A  e.  x  <->  A  e.  A ) )
109imbi1d 231 . . . . . . . . . . . . 13  |-  ( x  =  A  ->  (
( A  e.  x  ->  A  e.  ( _V 
\  { A }
) )  <->  ( A  e.  A  ->  A  e.  ( _V  \  { A } ) ) ) )
11103ad2ant3 1022 . . . . . . . . . . . 12  |-  ( ( A  e.  A  /\  A. y ( y  e.  x  ->  y  e.  ( _V  \  { A } ) )  /\  x  =  A )  ->  ( ( A  e.  x  ->  A  e.  ( _V  \  { A } ) )  <->  ( A  e.  A  ->  A  e.  ( _V  \  { A } ) ) ) )
128, 11mpbid 147 . . . . . . . . . . 11  |-  ( ( A  e.  A  /\  A. y ( y  e.  x  ->  y  e.  ( _V  \  { A } ) )  /\  x  =  A )  ->  ( A  e.  A  ->  A  e.  ( _V 
\  { A }
) ) )
132, 12mpd 13 . . . . . . . . . 10  |-  ( ( A  e.  A  /\  A. y ( y  e.  x  ->  y  e.  ( _V  \  { A } ) )  /\  x  =  A )  ->  A  e.  ( _V 
\  { A }
) )
14133expia 1207 . . . . . . . . 9  |-  ( ( A  e.  A  /\  A. y ( y  e.  x  ->  y  e.  ( _V  \  { A } ) ) )  ->  ( x  =  A  ->  A  e.  ( _V  \  { A } ) ) )
151, 14mtod 664 . . . . . . . 8  |-  ( ( A  e.  A  /\  A. y ( y  e.  x  ->  y  e.  ( _V  \  { A } ) ) )  ->  -.  x  =  A )
16 vex 2766 . . . . . . . . . 10  |-  x  e. 
_V
17 eldif 3166 . . . . . . . . . 10  |-  ( x  e.  ( _V  \  { A } )  <->  ( x  e.  _V  /\  -.  x  e.  { A } ) )
1816, 17mpbiran 942 . . . . . . . . 9  |-  ( x  e.  ( _V  \  { A } )  <->  -.  x  e.  { A } )
19 velsn 3640 . . . . . . . . 9  |-  ( x  e.  { A }  <->  x  =  A )
2018, 19xchbinx 683 . . . . . . . 8  |-  ( x  e.  ( _V  \  { A } )  <->  -.  x  =  A )
2115, 20sylibr 134 . . . . . . 7  |-  ( ( A  e.  A  /\  A. y ( y  e.  x  ->  y  e.  ( _V  \  { A } ) ) )  ->  x  e.  ( _V  \  { A } ) )
2221ex 115 . . . . . 6  |-  ( A  e.  A  ->  ( A. y ( y  e.  x  ->  y  e.  ( _V  \  { A } ) )  ->  x  e.  ( _V  \  { A } ) ) )
2322alrimiv 1888 . . . . 5  |-  ( A  e.  A  ->  A. x
( A. y ( y  e.  x  -> 
y  e.  ( _V 
\  { A }
) )  ->  x  e.  ( _V  \  { A } ) ) )
24 df-ral 2480 . . . . . . . 8  |-  ( A. y  e.  x  [
y  /  x ]
x  e.  ( _V 
\  { A }
)  <->  A. y ( y  e.  x  ->  [ y  /  x ] x  e.  ( _V  \  { A } ) ) )
25 clelsb1 2301 . . . . . . . . . 10  |-  ( [ y  /  x ]
x  e.  ( _V 
\  { A }
)  <->  y  e.  ( _V  \  { A } ) )
2625imbi2i 226 . . . . . . . . 9  |-  ( ( y  e.  x  ->  [ y  /  x ] x  e.  ( _V  \  { A }
) )  <->  ( y  e.  x  ->  y  e.  ( _V  \  { A } ) ) )
2726albii 1484 . . . . . . . 8  |-  ( A. y ( y  e.  x  ->  [ y  /  x ] x  e.  ( _V  \  { A } ) )  <->  A. y
( y  e.  x  ->  y  e.  ( _V 
\  { A }
) ) )
2824, 27bitri 184 . . . . . . 7  |-  ( A. y  e.  x  [
y  /  x ]
x  e.  ( _V 
\  { A }
)  <->  A. y ( y  e.  x  ->  y  e.  ( _V  \  { A } ) ) )
2928imbi1i 238 . . . . . 6  |-  ( ( A. y  e.  x  [ y  /  x ] x  e.  ( _V  \  { A }
)  ->  x  e.  ( _V  \  { A } ) )  <->  ( A. y ( y  e.  x  ->  y  e.  ( _V  \  { A } ) )  ->  x  e.  ( _V  \  { A } ) ) )
3029albii 1484 . . . . 5  |-  ( A. x ( A. y  e.  x  [ y  /  x ] x  e.  ( _V  \  { A } )  ->  x  e.  ( _V  \  { A } ) )  <->  A. x
( A. y ( y  e.  x  -> 
y  e.  ( _V 
\  { A }
) )  ->  x  e.  ( _V  \  { A } ) ) )
3123, 30sylibr 134 . . . 4  |-  ( A  e.  A  ->  A. x
( A. y  e.  x  [ y  /  x ] x  e.  ( _V  \  { A } )  ->  x  e.  ( _V  \  { A } ) ) )
32 ax-setind 4574 . . . 4  |-  ( A. x ( A. y  e.  x  [ y  /  x ] x  e.  ( _V  \  { A } )  ->  x  e.  ( _V  \  { A } ) )  ->  A. x  x  e.  ( _V  \  { A } ) )
3331, 32syl 14 . . 3  |-  ( A  e.  A  ->  A. x  x  e.  ( _V  \  { A } ) )
34 eleq1 2259 . . . 4  |-  ( x  =  A  ->  (
x  e.  ( _V 
\  { A }
)  <->  A  e.  ( _V  \  { A }
) ) )
3534spcgv 2851 . . 3  |-  ( A  e.  A  ->  ( A. x  x  e.  ( _V  \  { A } )  ->  A  e.  ( _V  \  { A } ) ) )
3633, 35mpd 13 . 2  |-  ( A  e.  A  ->  A  e.  ( _V  \  { A } ) )
37 neldifsnd 3754 . 2  |-  ( A  e.  A  ->  -.  A  e.  ( _V  \  { A } ) )
3836, 37pm2.65i 640 1  |-  -.  A  e.  A
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 104    <-> wb 105    /\ w3a 980   A.wal 1362    = wceq 1364   [wsb 1776    e. wcel 2167   A.wral 2475   _Vcvv 2763    \ cdif 3154   {csn 3623
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 615  ax-in2 616  ax-io 710  ax-5 1461  ax-7 1462  ax-gen 1463  ax-ie1 1507  ax-ie2 1508  ax-8 1518  ax-10 1519  ax-11 1520  ax-i12 1521  ax-bndl 1523  ax-4 1524  ax-17 1540  ax-i9 1544  ax-ial 1548  ax-i5r 1549  ax-ext 2178  ax-setind 4574
This theorem depends on definitions:  df-bi 117  df-3an 982  df-tru 1367  df-nf 1475  df-sb 1777  df-clab 2183  df-cleq 2189  df-clel 2192  df-nfc 2328  df-ne 2368  df-ral 2480  df-v 2765  df-dif 3159  df-sn 3629
This theorem is referenced by:  ordirr  4579  elirrv  4585  sucprcreg  4586  ordsoexmid  4599  onnmin  4605  ssnel  4606  ordtri2or2exmid  4608  reg3exmidlemwe  4616  nntri2  6561  nntri3  6564  nndceq  6566  nndcel  6567  phpelm  6936  fiunsnnn  6951  onunsnss  6987  snon0  7010
  Copyright terms: Public domain W3C validator