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

Theorem subgruhgredgd 27554
Description: An edge of a subgraph of a hypergraph is a nonempty subset of its vertices. (Contributed by AV, 17-Nov-2020.) (Revised by AV, 21-Nov-2020.)
Hypotheses
Ref Expression
subgruhgredgd.v 𝑉 = (Vtx‘𝑆)
subgruhgredgd.i 𝐼 = (iEdg‘𝑆)
subgruhgredgd.g (𝜑𝐺 ∈ UHGraph)
subgruhgredgd.s (𝜑𝑆 SubGraph 𝐺)
subgruhgredgd.x (𝜑𝑋 ∈ dom 𝐼)
Assertion
Ref Expression
subgruhgredgd (𝜑 → (𝐼𝑋) ∈ (𝒫 𝑉 ∖ {∅}))

Proof of Theorem subgruhgredgd
StepHypRef Expression
1 subgruhgredgd.s . . 3 (𝜑𝑆 SubGraph 𝐺)
2 subgruhgredgd.v . . . 4 𝑉 = (Vtx‘𝑆)
3 eqid 2738 . . . 4 (Vtx‘𝐺) = (Vtx‘𝐺)
4 subgruhgredgd.i . . . 4 𝐼 = (iEdg‘𝑆)
5 eqid 2738 . . . 4 (iEdg‘𝐺) = (iEdg‘𝐺)
6 eqid 2738 . . . 4 (Edg‘𝑆) = (Edg‘𝑆)
72, 3, 4, 5, 6subgrprop2 27544 . . 3 (𝑆 SubGraph 𝐺 → (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉))
81, 7syl 17 . 2 (𝜑 → (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉))
9 simpr3 1194 . . . 4 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → (Edg‘𝑆) ⊆ 𝒫 𝑉)
10 subgruhgredgd.g . . . . . . . . 9 (𝜑𝐺 ∈ UHGraph)
11 subgruhgrfun 27552 . . . . . . . . 9 ((𝐺 ∈ UHGraph ∧ 𝑆 SubGraph 𝐺) → Fun (iEdg‘𝑆))
1210, 1, 11syl2anc 583 . . . . . . . 8 (𝜑 → Fun (iEdg‘𝑆))
13 subgruhgredgd.x . . . . . . . . 9 (𝜑𝑋 ∈ dom 𝐼)
144dmeqi 5802 . . . . . . . . 9 dom 𝐼 = dom (iEdg‘𝑆)
1513, 14eleqtrdi 2849 . . . . . . . 8 (𝜑𝑋 ∈ dom (iEdg‘𝑆))
1612, 15jca 511 . . . . . . 7 (𝜑 → (Fun (iEdg‘𝑆) ∧ 𝑋 ∈ dom (iEdg‘𝑆)))
1716adantr 480 . . . . . 6 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → (Fun (iEdg‘𝑆) ∧ 𝑋 ∈ dom (iEdg‘𝑆)))
184fveq1i 6757 . . . . . . 7 (𝐼𝑋) = ((iEdg‘𝑆)‘𝑋)
19 fvelrn 6936 . . . . . . 7 ((Fun (iEdg‘𝑆) ∧ 𝑋 ∈ dom (iEdg‘𝑆)) → ((iEdg‘𝑆)‘𝑋) ∈ ran (iEdg‘𝑆))
2018, 19eqeltrid 2843 . . . . . 6 ((Fun (iEdg‘𝑆) ∧ 𝑋 ∈ dom (iEdg‘𝑆)) → (𝐼𝑋) ∈ ran (iEdg‘𝑆))
2117, 20syl 17 . . . . 5 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → (𝐼𝑋) ∈ ran (iEdg‘𝑆))
22 edgval 27322 . . . . 5 (Edg‘𝑆) = ran (iEdg‘𝑆)
2321, 22eleqtrrdi 2850 . . . 4 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → (𝐼𝑋) ∈ (Edg‘𝑆))
249, 23sseldd 3918 . . 3 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → (𝐼𝑋) ∈ 𝒫 𝑉)
255uhgrfun 27339 . . . . . . 7 (𝐺 ∈ UHGraph → Fun (iEdg‘𝐺))
2610, 25syl 17 . . . . . 6 (𝜑 → Fun (iEdg‘𝐺))
2726adantr 480 . . . . 5 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → Fun (iEdg‘𝐺))
28 simpr2 1193 . . . . 5 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → 𝐼 ⊆ (iEdg‘𝐺))
2913adantr 480 . . . . 5 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → 𝑋 ∈ dom 𝐼)
30 funssfv 6777 . . . . . 6 ((Fun (iEdg‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ 𝑋 ∈ dom 𝐼) → ((iEdg‘𝐺)‘𝑋) = (𝐼𝑋))
3130eqcomd 2744 . . . . 5 ((Fun (iEdg‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ 𝑋 ∈ dom 𝐼) → (𝐼𝑋) = ((iEdg‘𝐺)‘𝑋))
3227, 28, 29, 31syl3anc 1369 . . . 4 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → (𝐼𝑋) = ((iEdg‘𝐺)‘𝑋))
3310adantr 480 . . . . 5 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → 𝐺 ∈ UHGraph)
3426funfnd 6449 . . . . . 6 (𝜑 → (iEdg‘𝐺) Fn dom (iEdg‘𝐺))
3534adantr 480 . . . . 5 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → (iEdg‘𝐺) Fn dom (iEdg‘𝐺))
36 subgreldmiedg 27553 . . . . . . 7 ((𝑆 SubGraph 𝐺𝑋 ∈ dom (iEdg‘𝑆)) → 𝑋 ∈ dom (iEdg‘𝐺))
371, 15, 36syl2anc 583 . . . . . 6 (𝜑𝑋 ∈ dom (iEdg‘𝐺))
3837adantr 480 . . . . 5 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → 𝑋 ∈ dom (iEdg‘𝐺))
395uhgrn0 27340 . . . . 5 ((𝐺 ∈ UHGraph ∧ (iEdg‘𝐺) Fn dom (iEdg‘𝐺) ∧ 𝑋 ∈ dom (iEdg‘𝐺)) → ((iEdg‘𝐺)‘𝑋) ≠ ∅)
4033, 35, 38, 39syl3anc 1369 . . . 4 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → ((iEdg‘𝐺)‘𝑋) ≠ ∅)
4132, 40eqnetrd 3010 . . 3 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → (𝐼𝑋) ≠ ∅)
42 eldifsn 4717 . . 3 ((𝐼𝑋) ∈ (𝒫 𝑉 ∖ {∅}) ↔ ((𝐼𝑋) ∈ 𝒫 𝑉 ∧ (𝐼𝑋) ≠ ∅))
4324, 41, 42sylanbrc 582 . 2 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → (𝐼𝑋) ∈ (𝒫 𝑉 ∖ {∅}))
448, 43mpdan 683 1 (𝜑 → (𝐼𝑋) ∈ (𝒫 𝑉 ∖ {∅}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  wne 2942  cdif 3880  wss 3883  c0 4253  𝒫 cpw 4530  {csn 4558   class class class wbr 5070  dom cdm 5580  ran crn 5581  Fun wfun 6412   Fn wfn 6413  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-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  df-subgr 27538
This theorem is referenced by:  subumgredg2  27555  subuhgr  27556  subupgr  27557
  Copyright terms: Public domain W3C validator