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

Theorem uhgrnbgr0nb 28611
Description: A vertex which is not endpoint of an edge has no neighbor in a hypergraph. (Contributed by Alexander van der Vekens, 12-Oct-2017.) (Revised by AV, 26-Oct-2020.)
Assertion
Ref Expression
uhgrnbgr0nb ((𝐺 ∈ UHGraph ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) → (𝐺 NeighbVtx 𝑁) = ∅)
Distinct variable groups:   𝑒,𝐺   𝑒,𝑁

Proof of Theorem uhgrnbgr0nb
Dummy variable 𝑛 is distinct from all other variables.
StepHypRef Expression
1 eqid 2733 . . . . . 6 (Vtx‘𝐺) = (Vtx‘𝐺)
2 eqid 2733 . . . . . 6 (Edg‘𝐺) = (Edg‘𝐺)
31, 2nbuhgr 28600 . . . . 5 ((𝐺 ∈ UHGraph ∧ 𝑁 ∈ V) → (𝐺 NeighbVtx 𝑁) = {𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒})
43adantlr 714 . . . 4 (((𝐺 ∈ UHGraph ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) ∧ 𝑁 ∈ V) → (𝐺 NeighbVtx 𝑁) = {𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒})
5 df-nel 3048 . . . . . . . . . . . . . 14 (𝑁𝑒 ↔ ¬ 𝑁𝑒)
6 prssg 4823 . . . . . . . . . . . . . . . . 17 ((𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁})) → ((𝑁𝑒𝑛𝑒) ↔ {𝑁, 𝑛} ⊆ 𝑒))
7 simpl 484 . . . . . . . . . . . . . . . . 17 ((𝑁𝑒𝑛𝑒) → 𝑁𝑒)
86, 7syl6bir 254 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁})) → ({𝑁, 𝑛} ⊆ 𝑒𝑁𝑒))
98ad2antlr 726 . . . . . . . . . . . . . . 15 (((𝐺 ∈ UHGraph ∧ (𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}))) ∧ 𝑒 ∈ (Edg‘𝐺)) → ({𝑁, 𝑛} ⊆ 𝑒𝑁𝑒))
109con3d 152 . . . . . . . . . . . . . 14 (((𝐺 ∈ UHGraph ∧ (𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}))) ∧ 𝑒 ∈ (Edg‘𝐺)) → (¬ 𝑁𝑒 → ¬ {𝑁, 𝑛} ⊆ 𝑒))
115, 10biimtrid 241 . . . . . . . . . . . . 13 (((𝐺 ∈ UHGraph ∧ (𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}))) ∧ 𝑒 ∈ (Edg‘𝐺)) → (𝑁𝑒 → ¬ {𝑁, 𝑛} ⊆ 𝑒))
1211ralimdva 3168 . . . . . . . . . . . 12 ((𝐺 ∈ UHGraph ∧ (𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}))) → (∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒 → ∀𝑒 ∈ (Edg‘𝐺) ¬ {𝑁, 𝑛} ⊆ 𝑒))
1312imp 408 . . . . . . . . . . 11 (((𝐺 ∈ UHGraph ∧ (𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}))) ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) → ∀𝑒 ∈ (Edg‘𝐺) ¬ {𝑁, 𝑛} ⊆ 𝑒)
14 ralnex 3073 . . . . . . . . . . 11 (∀𝑒 ∈ (Edg‘𝐺) ¬ {𝑁, 𝑛} ⊆ 𝑒 ↔ ¬ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒)
1513, 14sylib 217 . . . . . . . . . 10 (((𝐺 ∈ UHGraph ∧ (𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}))) ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) → ¬ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒)
1615expcom 415 . . . . . . . . 9 (∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒 → ((𝐺 ∈ UHGraph ∧ (𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}))) → ¬ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒))
1716expd 417 . . . . . . . 8 (∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒 → (𝐺 ∈ UHGraph → ((𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁})) → ¬ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒)))
1817impcom 409 . . . . . . 7 ((𝐺 ∈ UHGraph ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) → ((𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁})) → ¬ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒))
1918expdimp 454 . . . . . 6 (((𝐺 ∈ UHGraph ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) ∧ 𝑁 ∈ V) → (𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}) → ¬ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒))
2019ralrimiv 3146 . . . . 5 (((𝐺 ∈ UHGraph ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) ∧ 𝑁 ∈ V) → ∀𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}) ¬ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒)
21 rabeq0 4385 . . . . 5 ({𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒} = ∅ ↔ ∀𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}) ¬ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒)
2220, 21sylibr 233 . . . 4 (((𝐺 ∈ UHGraph ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) ∧ 𝑁 ∈ V) → {𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒} = ∅)
234, 22eqtrd 2773 . . 3 (((𝐺 ∈ UHGraph ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) ∧ 𝑁 ∈ V) → (𝐺 NeighbVtx 𝑁) = ∅)
2423expcom 415 . 2 (𝑁 ∈ V → ((𝐺 ∈ UHGraph ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) → (𝐺 NeighbVtx 𝑁) = ∅))
25 id 22 . . . . 5 𝑁 ∈ V → ¬ 𝑁 ∈ V)
2625intnand 490 . . . 4 𝑁 ∈ V → ¬ (𝐺 ∈ V ∧ 𝑁 ∈ V))
27 nbgrprc0 28591 . . . 4 (¬ (𝐺 ∈ V ∧ 𝑁 ∈ V) → (𝐺 NeighbVtx 𝑁) = ∅)
2826, 27syl 17 . . 3 𝑁 ∈ V → (𝐺 NeighbVtx 𝑁) = ∅)
2928a1d 25 . 2 𝑁 ∈ V → ((𝐺 ∈ UHGraph ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) → (𝐺 NeighbVtx 𝑁) = ∅))
3024, 29pm2.61i 182 1 ((𝐺 ∈ UHGraph ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) → (𝐺 NeighbVtx 𝑁) = ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 397   = wceq 1542  wcel 2107  wnel 3047  wral 3062  wrex 3071  {crab 3433  Vcvv 3475  cdif 3946  wss 3949  c0 4323  {csn 4629  {cpr 4631  cfv 6544  (class class class)co 7409  Vtxcvtx 28256  Edgcedg 28307  UHGraphcuhgr 28316   NeighbVtx cnbgr 28589
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-sep 5300  ax-nul 5307  ax-pr 5428  ax-un 7725
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2942  df-nel 3048  df-ral 3063  df-rex 3072  df-rab 3434  df-v 3477  df-sbc 3779  df-csb 3895  df-dif 3952  df-un 3954  df-in 3956  df-ss 3966  df-nul 4324  df-if 4530  df-pw 4605  df-sn 4630  df-pr 4632  df-op 4636  df-uni 4910  df-iun 5000  df-br 5150  df-opab 5212  df-mpt 5233  df-id 5575  df-xp 5683  df-rel 5684  df-cnv 5685  df-co 5686  df-dm 5687  df-rn 5688  df-res 5689  df-ima 5690  df-iota 6496  df-fun 6546  df-fn 6547  df-f 6548  df-fv 6552  df-ov 7412  df-oprab 7413  df-mpo 7414  df-1st 7975  df-2nd 7976  df-edg 28308  df-uhgr 28318  df-nbgr 28590
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator