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

Theorem uhgrnbgr0nb 26471
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 2761 . . . . . 6 (Vtx‘𝐺) = (Vtx‘𝐺)
2 eqid 2761 . . . . . 6 (Edg‘𝐺) = (Edg‘𝐺)
31, 2nbuhgr 26460 . . . . 5 ((𝐺 ∈ UHGraph ∧ 𝑁 ∈ V) → (𝐺 NeighbVtx 𝑁) = {𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒})
43adantlr 753 . . . 4 (((𝐺 ∈ UHGraph ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) ∧ 𝑁 ∈ V) → (𝐺 NeighbVtx 𝑁) = {𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒})
5 df-nel 3037 . . . . . . . . . . . . . 14 (𝑁𝑒 ↔ ¬ 𝑁𝑒)
6 prssg 4496 . . . . . . . . . . . . . . . . 17 ((𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁})) → ((𝑁𝑒𝑛𝑒) ↔ {𝑁, 𝑛} ⊆ 𝑒))
7 simpl 474 . . . . . . . . . . . . . . . . 17 ((𝑁𝑒𝑛𝑒) → 𝑁𝑒)
86, 7syl6bir 244 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁})) → ({𝑁, 𝑛} ⊆ 𝑒𝑁𝑒))
98ad2antlr 765 . . . . . . . . . . . . . . 15 (((𝐺 ∈ UHGraph ∧ (𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}))) ∧ 𝑒 ∈ (Edg‘𝐺)) → ({𝑁, 𝑛} ⊆ 𝑒𝑁𝑒))
109con3d 148 . . . . . . . . . . . . . 14 (((𝐺 ∈ UHGraph ∧ (𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}))) ∧ 𝑒 ∈ (Edg‘𝐺)) → (¬ 𝑁𝑒 → ¬ {𝑁, 𝑛} ⊆ 𝑒))
115, 10syl5bi 232 . . . . . . . . . . . . 13 (((𝐺 ∈ UHGraph ∧ (𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}))) ∧ 𝑒 ∈ (Edg‘𝐺)) → (𝑁𝑒 → ¬ {𝑁, 𝑛} ⊆ 𝑒))
1211ralimdva 3101 . . . . . . . . . . . 12 ((𝐺 ∈ UHGraph ∧ (𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}))) → (∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒 → ∀𝑒 ∈ (Edg‘𝐺) ¬ {𝑁, 𝑛} ⊆ 𝑒))
1312imp 444 . . . . . . . . . . 11 (((𝐺 ∈ UHGraph ∧ (𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}))) ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) → ∀𝑒 ∈ (Edg‘𝐺) ¬ {𝑁, 𝑛} ⊆ 𝑒)
14 ralnex 3131 . . . . . . . . . . 11 (∀𝑒 ∈ (Edg‘𝐺) ¬ {𝑁, 𝑛} ⊆ 𝑒 ↔ ¬ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒)
1513, 14sylib 208 . . . . . . . . . 10 (((𝐺 ∈ UHGraph ∧ (𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}))) ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) → ¬ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒)
1615expcom 450 . . . . . . . . 9 (∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒 → ((𝐺 ∈ UHGraph ∧ (𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}))) → ¬ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒))
1716expd 451 . . . . . . . 8 (∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒 → (𝐺 ∈ UHGraph → ((𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁})) → ¬ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒)))
1817impcom 445 . . . . . . 7 ((𝐺 ∈ UHGraph ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) → ((𝑁 ∈ V ∧ 𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁})) → ¬ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒))
1918expdimp 452 . . . . . 6 (((𝐺 ∈ UHGraph ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) ∧ 𝑁 ∈ V) → (𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}) → ¬ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒))
2019ralrimiv 3104 . . . . 5 (((𝐺 ∈ UHGraph ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) ∧ 𝑁 ∈ V) → ∀𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}) ¬ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒)
21 rabeq0 4101 . . . . 5 ({𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒} = ∅ ↔ ∀𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}) ¬ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒)
2220, 21sylibr 224 . . . 4 (((𝐺 ∈ UHGraph ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) ∧ 𝑁 ∈ V) → {𝑛 ∈ ((Vtx‘𝐺) ∖ {𝑁}) ∣ ∃𝑒 ∈ (Edg‘𝐺){𝑁, 𝑛} ⊆ 𝑒} = ∅)
234, 22eqtrd 2795 . . 3 (((𝐺 ∈ UHGraph ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) ∧ 𝑁 ∈ V) → (𝐺 NeighbVtx 𝑁) = ∅)
2423expcom 450 . 2 (𝑁 ∈ V → ((𝐺 ∈ UHGraph ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) → (𝐺 NeighbVtx 𝑁) = ∅))
25 id 22 . . . . 5 𝑁 ∈ V → ¬ 𝑁 ∈ V)
2625intnand 1000 . . . 4 𝑁 ∈ V → ¬ (𝐺 ∈ V ∧ 𝑁 ∈ V))
27 nbgrprc0 26447 . . . 4 (¬ (𝐺 ∈ V ∧ 𝑁 ∈ V) → (𝐺 NeighbVtx 𝑁) = ∅)
2826, 27syl 17 . . 3 𝑁 ∈ V → (𝐺 NeighbVtx 𝑁) = ∅)
2928a1d 25 . 2 𝑁 ∈ V → ((𝐺 ∈ UHGraph ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) → (𝐺 NeighbVtx 𝑁) = ∅))
3024, 29pm2.61i 176 1 ((𝐺 ∈ UHGraph ∧ ∀𝑒 ∈ (Edg‘𝐺)𝑁𝑒) → (𝐺 NeighbVtx 𝑁) = ∅)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 383   = wceq 1632  wcel 2140  wnel 3036  wral 3051  wrex 3052  {crab 3055  Vcvv 3341  cdif 3713  wss 3716  c0 4059  {csn 4322  {cpr 4324  cfv 6050  (class class class)co 6815  Vtxcvtx 26095  Edgcedg 26160  UHGraphcuhgr 26172   NeighbVtx cnbgr 26445
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1989  ax-6 2055  ax-7 2091  ax-8 2142  ax-9 2149  ax-10 2169  ax-11 2184  ax-12 2197  ax-13 2392  ax-ext 2741  ax-sep 4934  ax-nul 4942  ax-pow 4993  ax-pr 5056  ax-un 7116
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1635  df-fal 1638  df-ex 1854  df-nf 1859  df-sb 2048  df-eu 2612  df-mo 2613  df-clab 2748  df-cleq 2754  df-clel 2757  df-nfc 2892  df-ne 2934  df-nel 3037  df-ral 3056  df-rex 3057  df-rab 3060  df-v 3343  df-sbc 3578  df-csb 3676  df-dif 3719  df-un 3721  df-in 3723  df-ss 3730  df-nul 4060  df-if 4232  df-pw 4305  df-sn 4323  df-pr 4325  df-op 4329  df-uni 4590  df-iun 4675  df-br 4806  df-opab 4866  df-mpt 4883  df-id 5175  df-xp 5273  df-rel 5274  df-cnv 5275  df-co 5276  df-dm 5277  df-rn 5278  df-res 5279  df-ima 5280  df-iota 6013  df-fun 6052  df-fn 6053  df-f 6054  df-fv 6058  df-ov 6818  df-oprab 6819  df-mpt2 6820  df-1st 7335  df-2nd 7336  df-edg 26161  df-uhgr 26174  df-nbgr 26446
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator