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

Theorem nbgr0vtxlem 27137
Description: Lemma for nbgr0vtx 27138 and nbgr0edg 27139. (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 2821 . . . . . . . 8 (Vtx‘𝐺) = (Vtx‘𝐺)
2 eqid 2821 . . . . . . . 8 (Edg‘𝐺) = (Edg‘𝐺)
31, 2nbgrval 27118 . . . . . . 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 4338 . . . . . . 7 ({𝑛 ∈ ((Vtx‘𝐺) ∖ {𝐾}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝐾, 𝑛} ⊆ 𝑒} = ∅ ↔ ∀𝑛 ∈ ((Vtx‘𝐺) ∖ {𝐾}) ¬ ∃𝑒 ∈ (Edg‘𝐺){𝐾, 𝑛} ⊆ 𝑒)
86, 7sylibr 236 . . . . . 6 (((𝐺 ∈ V ∧ 𝐾 ∈ V) ∧ (𝐾 ∈ (Vtx‘𝐺) ∧ 𝜑)) → {𝑛 ∈ ((Vtx‘𝐺) ∖ {𝐾}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝐾, 𝑛} ⊆ 𝑒} = ∅)
94, 8eqtrd 2856 . . . . 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 3124 . . . 4 (𝐾 ∉ (Vtx‘𝐺) ↔ ¬ 𝐾 ∈ (Vtx‘𝐺))
141nbgrnvtx0 27121 . . . 4 (𝐾 ∉ (Vtx‘𝐺) → (𝐺 NeighbVtx 𝐾) = ∅)
1513, 14sylbir 237 . . 3 𝐾 ∈ (Vtx‘𝐺) → (𝐺 NeighbVtx 𝐾) = ∅)
1615a1d 25 . 2 𝐾 ∈ (Vtx‘𝐺) → (𝜑 → (𝐺 NeighbVtx 𝐾) = ∅))
17 nbgrprc0 27116 . . 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 1537  wcel 2114  wnel 3123  wral 3138  wrex 3139  {crab 3142  Vcvv 3494  cdif 3933  wss 3936  c0 4291  {csn 4567  {cpr 4569  cfv 6355  (class class class)co 7156  Vtxcvtx 26781  Edgcedg 26832   NeighbVtx cnbgr 27114
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330  ax-un 7461
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-fal 1550  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-nel 3124  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-iun 4921  df-br 5067  df-opab 5129  df-mpt 5147  df-id 5460  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-iota 6314  df-fun 6357  df-fv 6363  df-ov 7159  df-oprab 7160  df-mpo 7161  df-1st 7689  df-2nd 7690  df-nbgr 27115
This theorem is referenced by:  nbgr0vtx  27138  nbgr0edg  27139  nbgr1vtx  27140
  Copyright terms: Public domain W3C validator