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

Theorem uhgrspansubgrlem 27560
Description: Lemma for uhgrspansubgr 27561: The edges of the graph 𝑆 obtained by removing some edges of a hypergraph 𝐺 are subsets of its vertices (a spanning subgraph, see comment for uhgrspansubgr 27561. (Contributed by AV, 18-Nov-2020.)
Hypotheses
Ref Expression
uhgrspan.v 𝑉 = (Vtx‘𝐺)
uhgrspan.e 𝐸 = (iEdg‘𝐺)
uhgrspan.s (𝜑𝑆𝑊)
uhgrspan.q (𝜑 → (Vtx‘𝑆) = 𝑉)
uhgrspan.r (𝜑 → (iEdg‘𝑆) = (𝐸𝐴))
uhgrspan.g (𝜑𝐺 ∈ UHGraph)
Assertion
Ref Expression
uhgrspansubgrlem (𝜑 → (Edg‘𝑆) ⊆ 𝒫 (Vtx‘𝑆))

Proof of Theorem uhgrspansubgrlem
Dummy variables 𝑒 𝑖 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 edgval 27322 . . . 4 (Edg‘𝑆) = ran (iEdg‘𝑆)
21eleq2i 2830 . . 3 (𝑒 ∈ (Edg‘𝑆) ↔ 𝑒 ∈ ran (iEdg‘𝑆))
3 uhgrspan.g . . . . . . 7 (𝜑𝐺 ∈ UHGraph)
4 uhgrspan.e . . . . . . . 8 𝐸 = (iEdg‘𝐺)
54uhgrfun 27339 . . . . . . 7 (𝐺 ∈ UHGraph → Fun 𝐸)
6 funres 6460 . . . . . . 7 (Fun 𝐸 → Fun (𝐸𝐴))
73, 5, 63syl 18 . . . . . 6 (𝜑 → Fun (𝐸𝐴))
8 uhgrspan.r . . . . . . 7 (𝜑 → (iEdg‘𝑆) = (𝐸𝐴))
98funeqd 6440 . . . . . 6 (𝜑 → (Fun (iEdg‘𝑆) ↔ Fun (𝐸𝐴)))
107, 9mpbird 256 . . . . 5 (𝜑 → Fun (iEdg‘𝑆))
11 elrnrexdmb 6948 . . . . 5 (Fun (iEdg‘𝑆) → (𝑒 ∈ ran (iEdg‘𝑆) ↔ ∃𝑖 ∈ dom (iEdg‘𝑆)𝑒 = ((iEdg‘𝑆)‘𝑖)))
1210, 11syl 17 . . . 4 (𝜑 → (𝑒 ∈ ran (iEdg‘𝑆) ↔ ∃𝑖 ∈ dom (iEdg‘𝑆)𝑒 = ((iEdg‘𝑆)‘𝑖)))
138adantr 480 . . . . . . . . 9 ((𝜑𝑖 ∈ dom (iEdg‘𝑆)) → (iEdg‘𝑆) = (𝐸𝐴))
1413fveq1d 6758 . . . . . . . 8 ((𝜑𝑖 ∈ dom (iEdg‘𝑆)) → ((iEdg‘𝑆)‘𝑖) = ((𝐸𝐴)‘𝑖))
158dmeqd 5803 . . . . . . . . . . . . 13 (𝜑 → dom (iEdg‘𝑆) = dom (𝐸𝐴))
16 dmres 5902 . . . . . . . . . . . . 13 dom (𝐸𝐴) = (𝐴 ∩ dom 𝐸)
1715, 16eqtrdi 2795 . . . . . . . . . . . 12 (𝜑 → dom (iEdg‘𝑆) = (𝐴 ∩ dom 𝐸))
1817eleq2d 2824 . . . . . . . . . . 11 (𝜑 → (𝑖 ∈ dom (iEdg‘𝑆) ↔ 𝑖 ∈ (𝐴 ∩ dom 𝐸)))
19 elinel1 4125 . . . . . . . . . . 11 (𝑖 ∈ (𝐴 ∩ dom 𝐸) → 𝑖𝐴)
2018, 19syl6bi 252 . . . . . . . . . 10 (𝜑 → (𝑖 ∈ dom (iEdg‘𝑆) → 𝑖𝐴))
2120imp 406 . . . . . . . . 9 ((𝜑𝑖 ∈ dom (iEdg‘𝑆)) → 𝑖𝐴)
2221fvresd 6776 . . . . . . . 8 ((𝜑𝑖 ∈ dom (iEdg‘𝑆)) → ((𝐸𝐴)‘𝑖) = (𝐸𝑖))
2314, 22eqtrd 2778 . . . . . . 7 ((𝜑𝑖 ∈ dom (iEdg‘𝑆)) → ((iEdg‘𝑆)‘𝑖) = (𝐸𝑖))
24 elinel2 4126 . . . . . . . . . . 11 (𝑖 ∈ (𝐴 ∩ dom 𝐸) → 𝑖 ∈ dom 𝐸)
2518, 24syl6bi 252 . . . . . . . . . 10 (𝜑 → (𝑖 ∈ dom (iEdg‘𝑆) → 𝑖 ∈ dom 𝐸))
2625imp 406 . . . . . . . . 9 ((𝜑𝑖 ∈ dom (iEdg‘𝑆)) → 𝑖 ∈ dom 𝐸)
27 uhgrspan.v . . . . . . . . . 10 𝑉 = (Vtx‘𝐺)
2827, 4uhgrss 27337 . . . . . . . . 9 ((𝐺 ∈ UHGraph ∧ 𝑖 ∈ dom 𝐸) → (𝐸𝑖) ⊆ 𝑉)
293, 26, 28syl2an2r 681 . . . . . . . 8 ((𝜑𝑖 ∈ dom (iEdg‘𝑆)) → (𝐸𝑖) ⊆ 𝑉)
30 uhgrspan.q . . . . . . . . . . . 12 (𝜑 → (Vtx‘𝑆) = 𝑉)
3130pweqd 4549 . . . . . . . . . . 11 (𝜑 → 𝒫 (Vtx‘𝑆) = 𝒫 𝑉)
3231eleq2d 2824 . . . . . . . . . 10 (𝜑 → ((𝐸𝑖) ∈ 𝒫 (Vtx‘𝑆) ↔ (𝐸𝑖) ∈ 𝒫 𝑉))
3332adantr 480 . . . . . . . . 9 ((𝜑𝑖 ∈ dom (iEdg‘𝑆)) → ((𝐸𝑖) ∈ 𝒫 (Vtx‘𝑆) ↔ (𝐸𝑖) ∈ 𝒫 𝑉))
34 fvex 6769 . . . . . . . . . 10 (𝐸𝑖) ∈ V
3534elpw 4534 . . . . . . . . 9 ((𝐸𝑖) ∈ 𝒫 𝑉 ↔ (𝐸𝑖) ⊆ 𝑉)
3633, 35bitrdi 286 . . . . . . . 8 ((𝜑𝑖 ∈ dom (iEdg‘𝑆)) → ((𝐸𝑖) ∈ 𝒫 (Vtx‘𝑆) ↔ (𝐸𝑖) ⊆ 𝑉))
3729, 36mpbird 256 . . . . . . 7 ((𝜑𝑖 ∈ dom (iEdg‘𝑆)) → (𝐸𝑖) ∈ 𝒫 (Vtx‘𝑆))
3823, 37eqeltrd 2839 . . . . . 6 ((𝜑𝑖 ∈ dom (iEdg‘𝑆)) → ((iEdg‘𝑆)‘𝑖) ∈ 𝒫 (Vtx‘𝑆))
39 eleq1 2826 . . . . . 6 (𝑒 = ((iEdg‘𝑆)‘𝑖) → (𝑒 ∈ 𝒫 (Vtx‘𝑆) ↔ ((iEdg‘𝑆)‘𝑖) ∈ 𝒫 (Vtx‘𝑆)))
4038, 39syl5ibrcom 246 . . . . 5 ((𝜑𝑖 ∈ dom (iEdg‘𝑆)) → (𝑒 = ((iEdg‘𝑆)‘𝑖) → 𝑒 ∈ 𝒫 (Vtx‘𝑆)))
4140rexlimdva 3212 . . . 4 (𝜑 → (∃𝑖 ∈ dom (iEdg‘𝑆)𝑒 = ((iEdg‘𝑆)‘𝑖) → 𝑒 ∈ 𝒫 (Vtx‘𝑆)))
4212, 41sylbid 239 . . 3 (𝜑 → (𝑒 ∈ ran (iEdg‘𝑆) → 𝑒 ∈ 𝒫 (Vtx‘𝑆)))
432, 42syl5bi 241 . 2 (𝜑 → (𝑒 ∈ (Edg‘𝑆) → 𝑒 ∈ 𝒫 (Vtx‘𝑆)))
4443ssrdv 3923 1 (𝜑 → (Edg‘𝑆) ⊆ 𝒫 (Vtx‘𝑆))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wrex 3064  cin 3882  wss 3883  𝒫 cpw 4530  dom cdm 5580  ran crn 5581  cres 5582  Fun wfun 6412  cfv 6418  Vtxcvtx 27269  iEdgciedg 27270  Edgcedg 27320  UHGraphcuhgr 27329
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-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-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fv 6426  df-edg 27321  df-uhgr 27331
This theorem is referenced by:  uhgrspansubgr  27561
  Copyright terms: Public domain W3C validator