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

Theorem elirr 4639
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 4635, we could redefine Ord 𝐴 (df-iord 4463) to also require E Fr 𝐴 (df-frind 4429) and in that case any theorem related to irreflexivity of ordinals could use ordirr 4640 (which under that definition would presumably not need ax-setind 4635 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 4640. To encourage ordirr 4640 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 ¬ 𝐴𝐴

Proof of Theorem elirr
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 neldifsnd 3804 . . . . . . . . 9 ((𝐴𝐴 ∧ ∀𝑦(𝑦𝑥𝑦 ∈ (V ∖ {𝐴}))) → ¬ 𝐴 ∈ (V ∖ {𝐴}))
2 simp1 1023 . . . . . . . . . . 11 ((𝐴𝐴 ∧ ∀𝑦(𝑦𝑥𝑦 ∈ (V ∖ {𝐴})) ∧ 𝑥 = 𝐴) → 𝐴𝐴)
3 eleq1 2294 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐴 → (𝑦𝑥𝐴𝑥))
4 eleq1 2294 . . . . . . . . . . . . . . . 16 (𝑦 = 𝐴 → (𝑦 ∈ (V ∖ {𝐴}) ↔ 𝐴 ∈ (V ∖ {𝐴})))
53, 4imbi12d 234 . . . . . . . . . . . . . . 15 (𝑦 = 𝐴 → ((𝑦𝑥𝑦 ∈ (V ∖ {𝐴})) ↔ (𝐴𝑥𝐴 ∈ (V ∖ {𝐴}))))
65spcgv 2893 . . . . . . . . . . . . . 14 (𝐴𝑥 → (∀𝑦(𝑦𝑥𝑦 ∈ (V ∖ {𝐴})) → (𝐴𝑥𝐴 ∈ (V ∖ {𝐴}))))
76pm2.43b 52 . . . . . . . . . . . . 13 (∀𝑦(𝑦𝑥𝑦 ∈ (V ∖ {𝐴})) → (𝐴𝑥𝐴 ∈ (V ∖ {𝐴})))
873ad2ant2 1045 . . . . . . . . . . . 12 ((𝐴𝐴 ∧ ∀𝑦(𝑦𝑥𝑦 ∈ (V ∖ {𝐴})) ∧ 𝑥 = 𝐴) → (𝐴𝑥𝐴 ∈ (V ∖ {𝐴})))
9 eleq2 2295 . . . . . . . . . . . . . 14 (𝑥 = 𝐴 → (𝐴𝑥𝐴𝐴))
109imbi1d 231 . . . . . . . . . . . . 13 (𝑥 = 𝐴 → ((𝐴𝑥𝐴 ∈ (V ∖ {𝐴})) ↔ (𝐴𝐴𝐴 ∈ (V ∖ {𝐴}))))
11103ad2ant3 1046 . . . . . . . . . . . 12 ((𝐴𝐴 ∧ ∀𝑦(𝑦𝑥𝑦 ∈ (V ∖ {𝐴})) ∧ 𝑥 = 𝐴) → ((𝐴𝑥𝐴 ∈ (V ∖ {𝐴})) ↔ (𝐴𝐴𝐴 ∈ (V ∖ {𝐴}))))
128, 11mpbid 147 . . . . . . . . . . 11 ((𝐴𝐴 ∧ ∀𝑦(𝑦𝑥𝑦 ∈ (V ∖ {𝐴})) ∧ 𝑥 = 𝐴) → (𝐴𝐴𝐴 ∈ (V ∖ {𝐴})))
132, 12mpd 13 . . . . . . . . . 10 ((𝐴𝐴 ∧ ∀𝑦(𝑦𝑥𝑦 ∈ (V ∖ {𝐴})) ∧ 𝑥 = 𝐴) → 𝐴 ∈ (V ∖ {𝐴}))
14133expia 1231 . . . . . . . . 9 ((𝐴𝐴 ∧ ∀𝑦(𝑦𝑥𝑦 ∈ (V ∖ {𝐴}))) → (𝑥 = 𝐴𝐴 ∈ (V ∖ {𝐴})))
151, 14mtod 669 . . . . . . . 8 ((𝐴𝐴 ∧ ∀𝑦(𝑦𝑥𝑦 ∈ (V ∖ {𝐴}))) → ¬ 𝑥 = 𝐴)
16 vex 2805 . . . . . . . . . 10 𝑥 ∈ V
17 eldif 3209 . . . . . . . . . 10 (𝑥 ∈ (V ∖ {𝐴}) ↔ (𝑥 ∈ V ∧ ¬ 𝑥 ∈ {𝐴}))
1816, 17mpbiran 948 . . . . . . . . 9 (𝑥 ∈ (V ∖ {𝐴}) ↔ ¬ 𝑥 ∈ {𝐴})
19 velsn 3686 . . . . . . . . 9 (𝑥 ∈ {𝐴} ↔ 𝑥 = 𝐴)
2018, 19xchbinx 688 . . . . . . . 8 (𝑥 ∈ (V ∖ {𝐴}) ↔ ¬ 𝑥 = 𝐴)
2115, 20sylibr 134 . . . . . . 7 ((𝐴𝐴 ∧ ∀𝑦(𝑦𝑥𝑦 ∈ (V ∖ {𝐴}))) → 𝑥 ∈ (V ∖ {𝐴}))
2221ex 115 . . . . . 6 (𝐴𝐴 → (∀𝑦(𝑦𝑥𝑦 ∈ (V ∖ {𝐴})) → 𝑥 ∈ (V ∖ {𝐴})))
2322alrimiv 1922 . . . . 5 (𝐴𝐴 → ∀𝑥(∀𝑦(𝑦𝑥𝑦 ∈ (V ∖ {𝐴})) → 𝑥 ∈ (V ∖ {𝐴})))
24 df-ral 2515 . . . . . . . 8 (∀𝑦𝑥 [𝑦 / 𝑥]𝑥 ∈ (V ∖ {𝐴}) ↔ ∀𝑦(𝑦𝑥 → [𝑦 / 𝑥]𝑥 ∈ (V ∖ {𝐴})))
25 clelsb1 2336 . . . . . . . . . 10 ([𝑦 / 𝑥]𝑥 ∈ (V ∖ {𝐴}) ↔ 𝑦 ∈ (V ∖ {𝐴}))
2625imbi2i 226 . . . . . . . . 9 ((𝑦𝑥 → [𝑦 / 𝑥]𝑥 ∈ (V ∖ {𝐴})) ↔ (𝑦𝑥𝑦 ∈ (V ∖ {𝐴})))
2726albii 1518 . . . . . . . 8 (∀𝑦(𝑦𝑥 → [𝑦 / 𝑥]𝑥 ∈ (V ∖ {𝐴})) ↔ ∀𝑦(𝑦𝑥𝑦 ∈ (V ∖ {𝐴})))
2824, 27bitri 184 . . . . . . 7 (∀𝑦𝑥 [𝑦 / 𝑥]𝑥 ∈ (V ∖ {𝐴}) ↔ ∀𝑦(𝑦𝑥𝑦 ∈ (V ∖ {𝐴})))
2928imbi1i 238 . . . . . 6 ((∀𝑦𝑥 [𝑦 / 𝑥]𝑥 ∈ (V ∖ {𝐴}) → 𝑥 ∈ (V ∖ {𝐴})) ↔ (∀𝑦(𝑦𝑥𝑦 ∈ (V ∖ {𝐴})) → 𝑥 ∈ (V ∖ {𝐴})))
3029albii 1518 . . . . 5 (∀𝑥(∀𝑦𝑥 [𝑦 / 𝑥]𝑥 ∈ (V ∖ {𝐴}) → 𝑥 ∈ (V ∖ {𝐴})) ↔ ∀𝑥(∀𝑦(𝑦𝑥𝑦 ∈ (V ∖ {𝐴})) → 𝑥 ∈ (V ∖ {𝐴})))
3123, 30sylibr 134 . . . 4 (𝐴𝐴 → ∀𝑥(∀𝑦𝑥 [𝑦 / 𝑥]𝑥 ∈ (V ∖ {𝐴}) → 𝑥 ∈ (V ∖ {𝐴})))
32 ax-setind 4635 . . . 4 (∀𝑥(∀𝑦𝑥 [𝑦 / 𝑥]𝑥 ∈ (V ∖ {𝐴}) → 𝑥 ∈ (V ∖ {𝐴})) → ∀𝑥 𝑥 ∈ (V ∖ {𝐴}))
3331, 32syl 14 . . 3 (𝐴𝐴 → ∀𝑥 𝑥 ∈ (V ∖ {𝐴}))
34 eleq1 2294 . . . 4 (𝑥 = 𝐴 → (𝑥 ∈ (V ∖ {𝐴}) ↔ 𝐴 ∈ (V ∖ {𝐴})))
3534spcgv 2893 . . 3 (𝐴𝐴 → (∀𝑥 𝑥 ∈ (V ∖ {𝐴}) → 𝐴 ∈ (V ∖ {𝐴})))
3633, 35mpd 13 . 2 (𝐴𝐴𝐴 ∈ (V ∖ {𝐴}))
37 neldifsnd 3804 . 2 (𝐴𝐴 → ¬ 𝐴 ∈ (V ∖ {𝐴}))
3836, 37pm2.65i 644 1 ¬ 𝐴𝐴
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 104  wb 105  w3a 1004  wal 1395   = wceq 1397  [wsb 1810  wcel 2202  wral 2510  Vcvv 2802  cdif 3197  {csn 3669
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 619  ax-in2 620  ax-io 716  ax-5 1495  ax-7 1496  ax-gen 1497  ax-ie1 1541  ax-ie2 1542  ax-8 1552  ax-10 1553  ax-11 1554  ax-i12 1555  ax-bndl 1557  ax-4 1558  ax-17 1574  ax-i9 1578  ax-ial 1582  ax-i5r 1583  ax-ext 2213  ax-setind 4635
This theorem depends on definitions:  df-bi 117  df-3an 1006  df-tru 1400  df-nf 1509  df-sb 1811  df-clab 2218  df-cleq 2224  df-clel 2227  df-nfc 2363  df-ne 2403  df-ral 2515  df-v 2804  df-dif 3202  df-sn 3675
This theorem is referenced by:  ordirr  4640  elirrv  4646  sucprcreg  4647  ordsoexmid  4660  onnmin  4666  ssnel  4667  ordtri2or2exmid  4669  reg3exmidlemwe  4677  nntri2  6662  nntri3  6665  nndceq  6667  nndcel  6668  phpelm  7053  fiunsnnn  7070  onunsnss  7109  snon0  7134
  Copyright terms: Public domain W3C validator