MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  nbgr0vtxlem Structured version   Visualization version   GIF version

Theorem nbgr0vtxlem 27135
Description: Lemma for nbgr0vtx 27136 and nbgr0edg 27137. (Contributed by AV, 15-Nov-2020.)
Hypothesis
Ref Expression
nbgr0vtxlem.v (𝜑 → ∀𝑛 ∈ ((Vtx‘𝐺) ∖ {𝐾}) ¬ ∃𝑒 ∈ (Edg‘𝐺){𝐾, 𝑛} ⊆ 𝑒)
Assertion
Ref Expression
nbgr0vtxlem (𝜑 → (𝐺 NeighbVtx 𝐾) = ∅)
Distinct variable groups:   𝑒,𝐺,𝑛   𝑒,𝐾,𝑛
Allowed substitution hints:   𝜑(𝑒,𝑛)

Proof of Theorem nbgr0vtxlem
StepHypRef Expression
1 eqid 2820 . . . . . . . 8 (Vtx‘𝐺) = (Vtx‘𝐺)
2 eqid 2820 . . . . . . . 8 (Edg‘𝐺) = (Edg‘𝐺)
31, 2nbgrval 27116 . . . . . . 7 (𝐾 ∈ (Vtx‘𝐺) → (𝐺 NeighbVtx 𝐾) = {𝑛 ∈ ((Vtx‘𝐺) ∖ {𝐾}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝐾, 𝑛} ⊆ 𝑒})
43ad2antrl 726 . . . . . 6 (((𝐺 ∈ V ∧ 𝐾 ∈ V) ∧ (𝐾 ∈ (Vtx‘𝐺) ∧ 𝜑)) → (𝐺 NeighbVtx 𝐾) = {𝑛 ∈ ((Vtx‘𝐺) ∖ {𝐾}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝐾, 𝑛} ⊆ 𝑒})
5 nbgr0vtxlem.v . . . . . . . 8 (𝜑 → ∀𝑛 ∈ ((Vtx‘𝐺) ∖ {𝐾}) ¬ ∃𝑒 ∈ (Edg‘𝐺){𝐾, 𝑛} ⊆ 𝑒)
65ad2antll 727 . . . . . . 7 (((𝐺 ∈ V ∧ 𝐾 ∈ V) ∧ (𝐾 ∈ (Vtx‘𝐺) ∧ 𝜑)) → ∀𝑛 ∈ ((Vtx‘𝐺) ∖ {𝐾}) ¬ ∃𝑒 ∈ (Edg‘𝐺){𝐾, 𝑛} ⊆ 𝑒)
7 rabeq0 4331 . . . . . . 7 ({𝑛 ∈ ((Vtx‘𝐺) ∖ {𝐾}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝐾, 𝑛} ⊆ 𝑒} = ∅ ↔ ∀𝑛 ∈ ((Vtx‘𝐺) ∖ {𝐾}) ¬ ∃𝑒 ∈ (Edg‘𝐺){𝐾, 𝑛} ⊆ 𝑒)
86, 7sylibr 236 . . . . . 6 (((𝐺 ∈ V ∧ 𝐾 ∈ V) ∧ (𝐾 ∈ (Vtx‘𝐺) ∧ 𝜑)) → {𝑛 ∈ ((Vtx‘𝐺) ∖ {𝐾}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝐾, 𝑛} ⊆ 𝑒} = ∅)
94, 8eqtrd 2855 . . . . 5 (((𝐺 ∈ V ∧ 𝐾 ∈ V) ∧ (𝐾 ∈ (Vtx‘𝐺) ∧ 𝜑)) → (𝐺 NeighbVtx 𝐾) = ∅)
109expcom 416 . . . 4 ((𝐾 ∈ (Vtx‘𝐺) ∧ 𝜑) → ((𝐺 ∈ V ∧ 𝐾 ∈ V) → (𝐺 NeighbVtx 𝐾) = ∅))
1110ex 415 . . 3 (𝐾 ∈ (Vtx‘𝐺) → (𝜑 → ((𝐺 ∈ V ∧ 𝐾 ∈ V) → (𝐺 NeighbVtx 𝐾) = ∅)))
1211com23 86 . 2 (𝐾 ∈ (Vtx‘𝐺) → ((𝐺 ∈ V ∧ 𝐾 ∈ V) → (𝜑 → (𝐺 NeighbVtx 𝐾) = ∅)))
13 df-nel 3123 . . . 4 (𝐾 ∉ (Vtx‘𝐺) ↔ ¬ 𝐾 ∈ (Vtx‘𝐺))
141nbgrnvtx0 27119 . . . 4 (𝐾 ∉ (Vtx‘𝐺) → (𝐺 NeighbVtx 𝐾) = ∅)
1513, 14sylbir 237 . . 3 𝐾 ∈ (Vtx‘𝐺) → (𝐺 NeighbVtx 𝐾) = ∅)
1615a1d 25 . 2 𝐾 ∈ (Vtx‘𝐺) → (𝜑 → (𝐺 NeighbVtx 𝐾) = ∅))
17 nbgrprc0 27114 . . 3 (¬ (𝐺 ∈ V ∧ 𝐾 ∈ V) → (𝐺 NeighbVtx 𝐾) = ∅)
1817a1d 25 . 2 (¬ (𝐺 ∈ V ∧ 𝐾 ∈ V) → (𝜑 → (𝐺 NeighbVtx 𝐾) = ∅))
1912, 16, 18pm2.61nii 186 1 (𝜑 → (𝐺 NeighbVtx 𝐾) = ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 398   = wceq 1536  wcel 2113  wnel 3122  wral 3137  wrex 3138  {crab 3141  Vcvv 3491  cdif 3926  wss 3929  c0 4284  {csn 4560  {cpr 4562  cfv 6348  (class class class)co 7149  Vtxcvtx 26779  Edgcedg 26830   NeighbVtx cnbgr 27112
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2792  ax-sep 5196  ax-nul 5203  ax-pow 5259  ax-pr 5323  ax-un 7454
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1539  df-fal 1549  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2799  df-cleq 2813  df-clel 2892  df-nfc 2962  df-nel 3123  df-ral 3142  df-rex 3143  df-rab 3146  df-v 3493  df-sbc 3769  df-csb 3877  df-dif 3932  df-un 3934  df-in 3936  df-ss 3945  df-nul 4285  df-if 4461  df-sn 4561  df-pr 4563  df-op 4567  df-uni 4832  df-iun 4914  df-br 5060  df-opab 5122  df-mpt 5140  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-iota 6307  df-fun 6350  df-fv 6356  df-ov 7152  df-oprab 7153  df-mpo 7154  df-1st 7682  df-2nd 7683  df-nbgr 27113
This theorem is referenced by:  nbgr0vtx  27136  nbgr0edg  27137  nbgr1vtx  27138
  Copyright terms: Public domain W3C validator