Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  vopnbgrelself Structured version   Visualization version   GIF version

Theorem vopnbgrelself 49226
Description: A vertex 𝑁 is a member of its semiopen neighborhood iff there is a loop joining the vertex with itself. (Contributed by AV, 16-May-2025.)
Hypotheses
Ref Expression
dfvopnbgr2.v 𝑉 = (Vtx‘𝐺)
dfvopnbgr2.e 𝐸 = (Edg‘𝐺)
dfvopnbgr2.u 𝑈 = {𝑛 ∈ 𝑉 ∣ (𝑛 ∈ (𝐺 NeighbVtx 𝑁) ∨ ∃𝑒 ∈ 𝐸 (𝑁 = 𝑛 ∧ 𝑒 = {𝑁}))}
Assertion
Ref Expression
vopnbgrelself (𝑁 ∈ 𝑉 → (𝑁 ∈ 𝑈 ↔ ∃𝑒 ∈ 𝐸 𝑒 = {𝑁}))
Distinct variable groups:   𝑒,𝐸   𝑒,𝐺   𝑒,𝑁,𝑛   𝑒,𝑉,𝑛   𝑛,𝐸
Allowed substitution hints:   𝑈(𝑒, 𝑛)   𝐺(𝑛)

Proof of Theorem vopnbgrelself
StepHypRef Expression
1 ibar 538 . 2 (𝑁 ∈ 𝑉 → (∃𝑒 ∈ 𝐸 ((𝑁 ≠ 𝑁 ∧ 𝑁 ∈ 𝑒 ∧ 𝑁 ∈ 𝑒) ∨ (𝑁 = 𝑁 ∧ 𝑒 = {𝑁})) ↔ (𝑁 ∈ 𝑉 ∧ ∃𝑒 ∈ 𝐸 ((𝑁 ≠ 𝑁 ∧ 𝑁 ∈ 𝑒 ∧ 𝑁 ∈ 𝑒) ∨ (𝑁 = 𝑁 ∧ 𝑒 = {𝑁})))))
2 eqid 2763 . . . . . . 7 𝑁 = 𝑁
32jctl 533 . . . . . 6 (𝑒 = {𝑁} → (𝑁 = 𝑁 ∧ 𝑒 = {𝑁}))
43olcd 888 . . . . 5 (𝑒 = {𝑁} → ((𝑁 ≠ 𝑁 ∧ 𝑁 ∈ 𝑒 ∧ 𝑁 ∈ 𝑒) ∨ (𝑁 = 𝑁 ∧ 𝑒 = {𝑁})))
5 eqneqall 2970 . . . . . . . 8 (𝑁 = 𝑁 → (𝑁 ≠ 𝑁 → ((𝑁 ∈ 𝑒 ∧ 𝑁 ∈ 𝑒) → 𝑒 = {𝑁})))
62, 5ax-mp 5 . . . . . . 7 (𝑁 ≠ 𝑁 → ((𝑁 ∈ 𝑒 ∧ 𝑁 ∈ 𝑒) → 𝑒 = {𝑁}))
763impib 1134 . . . . . 6 ((𝑁 ≠ 𝑁 ∧ 𝑁 ∈ 𝑒 ∧ 𝑁 ∈ 𝑒) → 𝑒 = {𝑁})
8 simpr 490 . . . . . 6 ((𝑁 = 𝑁 ∧ 𝑒 = {𝑁}) → 𝑒 = {𝑁})
97, 8jaoi 871 . . . . 5 (((𝑁 ≠ 𝑁 ∧ 𝑁 ∈ 𝑒 ∧ 𝑁 ∈ 𝑒) ∨ (𝑁 = 𝑁 ∧ 𝑒 = {𝑁})) → 𝑒 = {𝑁})
104, 9impbii 212 . . . 4 (𝑒 = {𝑁} ↔ ((𝑁 ≠ 𝑁 ∧ 𝑁 ∈ 𝑒 ∧ 𝑁 ∈ 𝑒) ∨ (𝑁 = 𝑁 ∧ 𝑒 = {𝑁})))
1110a1i 11 . . 3 (𝑁 ∈ 𝑉 → (𝑒 = {𝑁} ↔ ((𝑁 ≠ 𝑁 ∧ 𝑁 ∈ 𝑒 ∧ 𝑁 ∈ 𝑒) ∨ (𝑁 = 𝑁 ∧ 𝑒 = {𝑁}))))
1211rexbidv 3190 . 2 (𝑁 ∈ 𝑉 → (∃𝑒 ∈ 𝐸 𝑒 = {𝑁} ↔ ∃𝑒 ∈ 𝐸 ((𝑁 ≠ 𝑁 ∧ 𝑁 ∈ 𝑒 ∧ 𝑁 ∈ 𝑒) ∨ (𝑁 = 𝑁 ∧ 𝑒 = {𝑁}))))
13 dfvopnbgr2.v . . 3 𝑉 = (Vtx‘𝐺)
14 dfvopnbgr2.e . . 3 𝐸 = (Edg‘𝐺)
15 dfvopnbgr2.u . . 3 𝑈 = {𝑛 ∈ 𝑉 ∣ (𝑛 ∈ (𝐺 NeighbVtx 𝑁) ∨ ∃𝑒 ∈ 𝐸 (𝑁 = 𝑛 ∧ 𝑒 = {𝑁}))}
1613, 14, 15vopnbgrel 49225 . 2 (𝑁 ∈ 𝑉 → (𝑁 ∈ 𝑈 ↔ (𝑁 ∈ 𝑉 ∧ ∃𝑒 ∈ 𝐸 ((𝑁 ≠ 𝑁 ∧ 𝑁 ∈ 𝑒 ∧ 𝑁 ∈ 𝑒) ∨ (𝑁 = 𝑁 ∧ 𝑒 = {𝑁})))))
171, 12, 163bitr4rd 315 1 (𝑁 ∈ 𝑉 → (𝑁 ∈ 𝑈 ↔ ∃𝑒 ∈ 𝐸 𝑒 = {𝑁}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   ∧ w3a 1103   = wceq 1570   ∈ wcel 2147   ≠ wne 2959  ∃wrex 3090  {crab 3416  {csn 4588  ‘cfv 6566  (class class class)co 7451  Vtxcvtx 29631  Edgcedg 29682   NeighbVtx cnbgr 29970
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398  ax-un 7783
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fv 6574  df-ov 7454  df-oprab 7455  df-mpo 7456  df-1st 8035  df-2nd 8036  df-nbgr 29971
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator