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

Theorem subgruhgredgd 27651
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 27641 . . 3 (𝑆 SubGraph 𝐺 → (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉))
81, 7syl 17 . 2 (𝜑 → (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉))
9 simpr3 1195 . . . 4 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → (Edg‘𝑆) ⊆ 𝒫 𝑉)
10 subgruhgredgd.g . . . . . . . . 9 (𝜑𝐺 ∈ UHGraph)
11 subgruhgrfun 27649 . . . . . . . . 9 ((𝐺 ∈ UHGraph ∧ 𝑆 SubGraph 𝐺) → Fun (iEdg‘𝑆))
1210, 1, 11syl2anc 584 . . . . . . . 8 (𝜑 → Fun (iEdg‘𝑆))
13 subgruhgredgd.x . . . . . . . . 9 (𝜑𝑋 ∈ dom 𝐼)
144dmeqi 5813 . . . . . . . . 9 dom 𝐼 = dom (iEdg‘𝑆)
1513, 14eleqtrdi 2849 . . . . . . . 8 (𝜑𝑋 ∈ dom (iEdg‘𝑆))
1612, 15jca 512 . . . . . . 7 (𝜑 → (Fun (iEdg‘𝑆) ∧ 𝑋 ∈ dom (iEdg‘𝑆)))
1716adantr 481 . . . . . 6 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → (Fun (iEdg‘𝑆) ∧ 𝑋 ∈ dom (iEdg‘𝑆)))
184fveq1i 6775 . . . . . . 7 (𝐼𝑋) = ((iEdg‘𝑆)‘𝑋)
19 fvelrn 6954 . . . . . . 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 27419 . . . . 5 (Edg‘𝑆) = ran (iEdg‘𝑆)
2321, 22eleqtrrdi 2850 . . . 4 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → (𝐼𝑋) ∈ (Edg‘𝑆))
249, 23sseldd 3922 . . 3 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → (𝐼𝑋) ∈ 𝒫 𝑉)
255uhgrfun 27436 . . . . . . 7 (𝐺 ∈ UHGraph → Fun (iEdg‘𝐺))
2610, 25syl 17 . . . . . 6 (𝜑 → Fun (iEdg‘𝐺))
2726adantr 481 . . . . 5 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → Fun (iEdg‘𝐺))
28 simpr2 1194 . . . . 5 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → 𝐼 ⊆ (iEdg‘𝐺))
2913adantr 481 . . . . 5 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → 𝑋 ∈ dom 𝐼)
30 funssfv 6795 . . . . . 6 ((Fun (iEdg‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ 𝑋 ∈ dom 𝐼) → ((iEdg‘𝐺)‘𝑋) = (𝐼𝑋))
3130eqcomd 2744 . . . . 5 ((Fun (iEdg‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ 𝑋 ∈ dom 𝐼) → (𝐼𝑋) = ((iEdg‘𝐺)‘𝑋))
3227, 28, 29, 31syl3anc 1370 . . . 4 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → (𝐼𝑋) = ((iEdg‘𝐺)‘𝑋))
3310adantr 481 . . . . 5 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → 𝐺 ∈ UHGraph)
3426funfnd 6465 . . . . . 6 (𝜑 → (iEdg‘𝐺) Fn dom (iEdg‘𝐺))
3534adantr 481 . . . . 5 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → (iEdg‘𝐺) Fn dom (iEdg‘𝐺))
36 subgreldmiedg 27650 . . . . . . 7 ((𝑆 SubGraph 𝐺𝑋 ∈ dom (iEdg‘𝑆)) → 𝑋 ∈ dom (iEdg‘𝐺))
371, 15, 36syl2anc 584 . . . . . 6 (𝜑𝑋 ∈ dom (iEdg‘𝐺))
3837adantr 481 . . . . 5 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → 𝑋 ∈ dom (iEdg‘𝐺))
395uhgrn0 27437 . . . . 5 ((𝐺 ∈ UHGraph ∧ (iEdg‘𝐺) Fn dom (iEdg‘𝐺) ∧ 𝑋 ∈ dom (iEdg‘𝐺)) → ((iEdg‘𝐺)‘𝑋) ≠ ∅)
4033, 35, 38, 39syl3anc 1370 . . . 4 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → ((iEdg‘𝐺)‘𝑋) ≠ ∅)
4132, 40eqnetrd 3011 . . 3 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → (𝐼𝑋) ≠ ∅)
42 eldifsn 4720 . . 3 ((𝐼𝑋) ∈ (𝒫 𝑉 ∖ {∅}) ↔ ((𝐼𝑋) ∈ 𝒫 𝑉 ∧ (𝐼𝑋) ≠ ∅))
4324, 41, 42sylanbrc 583 . 2 ((𝜑 ∧ (𝑉 ⊆ (Vtx‘𝐺) ∧ 𝐼 ⊆ (iEdg‘𝐺) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)) → (𝐼𝑋) ∈ (𝒫 𝑉 ∖ {∅}))
448, 43mpdan 684 1 (𝜑 → (𝐼𝑋) ∈ (𝒫 𝑉 ∖ {∅}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  w3a 1086   = wceq 1539  wcel 2106  wne 2943  cdif 3884  wss 3887  c0 4256  𝒫 cpw 4533  {csn 4561   class class class wbr 5074  dom cdm 5589  ran crn 5590  Fun wfun 6427   Fn wfn 6428  cfv 6433  Vtxcvtx 27366  iEdgciedg 27367  Edgcedg 27417  UHGraphcuhgr 27426   SubGraph csubgr 27634
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-fv 6441  df-edg 27418  df-uhgr 27428  df-subgr 27635
This theorem is referenced by:  subumgredg2  27652  subuhgr  27653  subupgr  27654
  Copyright terms: Public domain W3C validator