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

Theorem uhgrspan1 27573
Description: The induced subgraph 𝑆 of a hypergraph 𝐺 obtained by removing one vertex is actually a subgraph of 𝐺. A subgraph is called induced or spanned by a subset of vertices of a graph if it contains all edges of the original graph that join two vertices of the subgraph (see section I.1 in [Bollobas] p. 2 and section 1.1 in [Diestel] p. 4). (Contributed by AV, 19-Nov-2020.)
Hypotheses
Ref Expression
uhgrspan1.v 𝑉 = (Vtx‘𝐺)
uhgrspan1.i 𝐼 = (iEdg‘𝐺)
uhgrspan1.f 𝐹 = {𝑖 ∈ dom 𝐼𝑁 ∉ (𝐼𝑖)}
uhgrspan1.s 𝑆 = ⟨(𝑉 ∖ {𝑁}), (𝐼𝐹)⟩
Assertion
Ref Expression
uhgrspan1 ((𝐺 ∈ UHGraph ∧ 𝑁𝑉) → 𝑆 SubGraph 𝐺)
Distinct variable groups:   𝑖,𝐼   𝑖,𝑁
Allowed substitution hints:   𝑆(𝑖)   𝐹(𝑖)   𝐺(𝑖)   𝑉(𝑖)

Proof of Theorem uhgrspan1
Dummy variables 𝑐 𝑗 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 difssd 4063 . 2 ((𝐺 ∈ UHGraph ∧ 𝑁𝑉) → (𝑉 ∖ {𝑁}) ⊆ 𝑉)
2 uhgrspan1.v . . . 4 𝑉 = (Vtx‘𝐺)
3 uhgrspan1.i . . . 4 𝐼 = (iEdg‘𝐺)
4 uhgrspan1.f . . . 4 𝐹 = {𝑖 ∈ dom 𝐼𝑁 ∉ (𝐼𝑖)}
5 uhgrspan1.s . . . 4 𝑆 = ⟨(𝑉 ∖ {𝑁}), (𝐼𝐹)⟩
62, 3, 4, 5uhgrspan1lem3 27572 . . 3 (iEdg‘𝑆) = (𝐼𝐹)
7 resresdm 6125 . . 3 ((iEdg‘𝑆) = (𝐼𝐹) → (iEdg‘𝑆) = (𝐼 ↾ dom (iEdg‘𝑆)))
86, 7mp1i 13 . 2 ((𝐺 ∈ UHGraph ∧ 𝑁𝑉) → (iEdg‘𝑆) = (𝐼 ↾ dom (iEdg‘𝑆)))
93uhgrfun 27339 . . . . . 6 (𝐺 ∈ UHGraph → Fun 𝐼)
10 fvelima 6817 . . . . . . 7 ((Fun 𝐼𝑐 ∈ (𝐼𝐹)) → ∃𝑗𝐹 (𝐼𝑗) = 𝑐)
1110ex 412 . . . . . 6 (Fun 𝐼 → (𝑐 ∈ (𝐼𝐹) → ∃𝑗𝐹 (𝐼𝑗) = 𝑐))
129, 11syl 17 . . . . 5 (𝐺 ∈ UHGraph → (𝑐 ∈ (𝐼𝐹) → ∃𝑗𝐹 (𝐼𝑗) = 𝑐))
1312adantr 480 . . . 4 ((𝐺 ∈ UHGraph ∧ 𝑁𝑉) → (𝑐 ∈ (𝐼𝐹) → ∃𝑗𝐹 (𝐼𝑗) = 𝑐))
14 eqidd 2739 . . . . . . . 8 (𝑖 = 𝑗𝑁 = 𝑁)
15 fveq2 6756 . . . . . . . 8 (𝑖 = 𝑗 → (𝐼𝑖) = (𝐼𝑗))
1614, 15neleq12d 3052 . . . . . . 7 (𝑖 = 𝑗 → (𝑁 ∉ (𝐼𝑖) ↔ 𝑁 ∉ (𝐼𝑗)))
1716, 4elrab2 3620 . . . . . 6 (𝑗𝐹 ↔ (𝑗 ∈ dom 𝐼𝑁 ∉ (𝐼𝑗)))
18 fvexd 6771 . . . . . . . . 9 (((𝐺 ∈ UHGraph ∧ 𝑁𝑉) ∧ (𝑗 ∈ dom 𝐼𝑁 ∉ (𝐼𝑗))) → (𝐼𝑗) ∈ V)
192, 3uhgrss 27337 . . . . . . . . . 10 ((𝐺 ∈ UHGraph ∧ 𝑗 ∈ dom 𝐼) → (𝐼𝑗) ⊆ 𝑉)
2019ad2ant2r 743 . . . . . . . . 9 (((𝐺 ∈ UHGraph ∧ 𝑁𝑉) ∧ (𝑗 ∈ dom 𝐼𝑁 ∉ (𝐼𝑗))) → (𝐼𝑗) ⊆ 𝑉)
21 simprr 769 . . . . . . . . 9 (((𝐺 ∈ UHGraph ∧ 𝑁𝑉) ∧ (𝑗 ∈ dom 𝐼𝑁 ∉ (𝐼𝑗))) → 𝑁 ∉ (𝐼𝑗))
22 elpwdifsn 4719 . . . . . . . . 9 (((𝐼𝑗) ∈ V ∧ (𝐼𝑗) ⊆ 𝑉𝑁 ∉ (𝐼𝑗)) → (𝐼𝑗) ∈ 𝒫 (𝑉 ∖ {𝑁}))
2318, 20, 21, 22syl3anc 1369 . . . . . . . 8 (((𝐺 ∈ UHGraph ∧ 𝑁𝑉) ∧ (𝑗 ∈ dom 𝐼𝑁 ∉ (𝐼𝑗))) → (𝐼𝑗) ∈ 𝒫 (𝑉 ∖ {𝑁}))
24 eleq1 2826 . . . . . . . . 9 (𝑐 = (𝐼𝑗) → (𝑐 ∈ 𝒫 (𝑉 ∖ {𝑁}) ↔ (𝐼𝑗) ∈ 𝒫 (𝑉 ∖ {𝑁})))
2524eqcoms 2746 . . . . . . . 8 ((𝐼𝑗) = 𝑐 → (𝑐 ∈ 𝒫 (𝑉 ∖ {𝑁}) ↔ (𝐼𝑗) ∈ 𝒫 (𝑉 ∖ {𝑁})))
2623, 25syl5ibrcom 246 . . . . . . 7 (((𝐺 ∈ UHGraph ∧ 𝑁𝑉) ∧ (𝑗 ∈ dom 𝐼𝑁 ∉ (𝐼𝑗))) → ((𝐼𝑗) = 𝑐𝑐 ∈ 𝒫 (𝑉 ∖ {𝑁})))
2726ex 412 . . . . . 6 ((𝐺 ∈ UHGraph ∧ 𝑁𝑉) → ((𝑗 ∈ dom 𝐼𝑁 ∉ (𝐼𝑗)) → ((𝐼𝑗) = 𝑐𝑐 ∈ 𝒫 (𝑉 ∖ {𝑁}))))
2817, 27syl5bi 241 . . . . 5 ((𝐺 ∈ UHGraph ∧ 𝑁𝑉) → (𝑗𝐹 → ((𝐼𝑗) = 𝑐𝑐 ∈ 𝒫 (𝑉 ∖ {𝑁}))))
2928rexlimdv 3211 . . . 4 ((𝐺 ∈ UHGraph ∧ 𝑁𝑉) → (∃𝑗𝐹 (𝐼𝑗) = 𝑐𝑐 ∈ 𝒫 (𝑉 ∖ {𝑁})))
3013, 29syld 47 . . 3 ((𝐺 ∈ UHGraph ∧ 𝑁𝑉) → (𝑐 ∈ (𝐼𝐹) → 𝑐 ∈ 𝒫 (𝑉 ∖ {𝑁})))
3130ssrdv 3923 . 2 ((𝐺 ∈ UHGraph ∧ 𝑁𝑉) → (𝐼𝐹) ⊆ 𝒫 (𝑉 ∖ {𝑁}))
32 opex 5373 . . . . 5 ⟨(𝑉 ∖ {𝑁}), (𝐼𝐹)⟩ ∈ V
335, 32eqeltri 2835 . . . 4 𝑆 ∈ V
3433a1i 11 . . 3 (𝑁𝑉𝑆 ∈ V)
352, 3, 4, 5uhgrspan1lem2 27571 . . . . 5 (Vtx‘𝑆) = (𝑉 ∖ {𝑁})
3635eqcomi 2747 . . . 4 (𝑉 ∖ {𝑁}) = (Vtx‘𝑆)
37 eqid 2738 . . . 4 (iEdg‘𝑆) = (iEdg‘𝑆)
386rneqi 5835 . . . . 5 ran (iEdg‘𝑆) = ran (𝐼𝐹)
39 edgval 27322 . . . . 5 (Edg‘𝑆) = ran (iEdg‘𝑆)
40 df-ima 5593 . . . . 5 (𝐼𝐹) = ran (𝐼𝐹)
4138, 39, 403eqtr4ri 2777 . . . 4 (𝐼𝐹) = (Edg‘𝑆)
4236, 2, 37, 3, 41issubgr 27541 . . 3 ((𝐺 ∈ UHGraph ∧ 𝑆 ∈ V) → (𝑆 SubGraph 𝐺 ↔ ((𝑉 ∖ {𝑁}) ⊆ 𝑉 ∧ (iEdg‘𝑆) = (𝐼 ↾ dom (iEdg‘𝑆)) ∧ (𝐼𝐹) ⊆ 𝒫 (𝑉 ∖ {𝑁}))))
4334, 42sylan2 592 . 2 ((𝐺 ∈ UHGraph ∧ 𝑁𝑉) → (𝑆 SubGraph 𝐺 ↔ ((𝑉 ∖ {𝑁}) ⊆ 𝑉 ∧ (iEdg‘𝑆) = (𝐼 ↾ dom (iEdg‘𝑆)) ∧ (𝐼𝐹) ⊆ 𝒫 (𝑉 ∖ {𝑁}))))
441, 8, 31, 43mpbir3and 1340 1 ((𝐺 ∈ UHGraph ∧ 𝑁𝑉) → 𝑆 SubGraph 𝐺)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  wcel 2108  wnel 3048  wrex 3064  {crab 3067  Vcvv 3422  cdif 3880  wss 3883  𝒫 cpw 4530  {csn 4558  cop 4564   class class class wbr 5070  dom cdm 5580  ran crn 5581  cres 5582  cima 5583  Fun wfun 6412  cfv 6418  Vtxcvtx 27269  iEdgciedg 27270  Edgcedg 27320  UHGraphcuhgr 27329   SubGraph csubgr 27537
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fv 6426  df-1st 7804  df-2nd 7805  df-vtx 27271  df-iedg 27272  df-edg 27321  df-uhgr 27331  df-subgr 27538
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator