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

Theorem uhgrissubgr 26212
Description: The property of a hypergraph to be a subgraph. (Contributed by AV, 19-Nov-2020.)
Hypotheses
Ref Expression
uhgrissubgr.v 𝑉 = (Vtx‘𝑆)
uhgrissubgr.a 𝐴 = (Vtx‘𝐺)
uhgrissubgr.i 𝐼 = (iEdg‘𝑆)
uhgrissubgr.b 𝐵 = (iEdg‘𝐺)
Assertion
Ref Expression
uhgrissubgr ((𝐺𝑊 ∧ Fun 𝐵𝑆 ∈ UHGraph) → (𝑆 SubGraph 𝐺 ↔ (𝑉𝐴𝐼𝐵)))

Proof of Theorem uhgrissubgr
Dummy variable 𝑒 is distinct from all other variables.
StepHypRef Expression
1 uhgrissubgr.v . . . 4 𝑉 = (Vtx‘𝑆)
2 uhgrissubgr.a . . . 4 𝐴 = (Vtx‘𝐺)
3 uhgrissubgr.i . . . 4 𝐼 = (iEdg‘𝑆)
4 uhgrissubgr.b . . . 4 𝐵 = (iEdg‘𝐺)
5 eqid 2651 . . . 4 (Edg‘𝑆) = (Edg‘𝑆)
61, 2, 3, 4, 5subgrprop2 26211 . . 3 (𝑆 SubGraph 𝐺 → (𝑉𝐴𝐼𝐵 ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉))
7 3simpa 1078 . . 3 ((𝑉𝐴𝐼𝐵 ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉) → (𝑉𝐴𝐼𝐵))
86, 7syl 17 . 2 (𝑆 SubGraph 𝐺 → (𝑉𝐴𝐼𝐵))
9 simprl 809 . . . 4 (((𝐺𝑊 ∧ Fun 𝐵𝑆 ∈ UHGraph) ∧ (𝑉𝐴𝐼𝐵)) → 𝑉𝐴)
10 simp2 1082 . . . . . 6 ((𝐺𝑊 ∧ Fun 𝐵𝑆 ∈ UHGraph) → Fun 𝐵)
11 simpr 476 . . . . . 6 ((𝑉𝐴𝐼𝐵) → 𝐼𝐵)
12 funssres 5968 . . . . . 6 ((Fun 𝐵𝐼𝐵) → (𝐵 ↾ dom 𝐼) = 𝐼)
1310, 11, 12syl2an 493 . . . . 5 (((𝐺𝑊 ∧ Fun 𝐵𝑆 ∈ UHGraph) ∧ (𝑉𝐴𝐼𝐵)) → (𝐵 ↾ dom 𝐼) = 𝐼)
1413eqcomd 2657 . . . 4 (((𝐺𝑊 ∧ Fun 𝐵𝑆 ∈ UHGraph) ∧ (𝑉𝐴𝐼𝐵)) → 𝐼 = (𝐵 ↾ dom 𝐼))
15 edguhgr 26069 . . . . . . . . 9 ((𝑆 ∈ UHGraph ∧ 𝑒 ∈ (Edg‘𝑆)) → 𝑒 ∈ 𝒫 (Vtx‘𝑆))
1615ex 449 . . . . . . . 8 (𝑆 ∈ UHGraph → (𝑒 ∈ (Edg‘𝑆) → 𝑒 ∈ 𝒫 (Vtx‘𝑆)))
171pweqi 4195 . . . . . . . . 9 𝒫 𝑉 = 𝒫 (Vtx‘𝑆)
1817eleq2i 2722 . . . . . . . 8 (𝑒 ∈ 𝒫 𝑉𝑒 ∈ 𝒫 (Vtx‘𝑆))
1916, 18syl6ibr 242 . . . . . . 7 (𝑆 ∈ UHGraph → (𝑒 ∈ (Edg‘𝑆) → 𝑒 ∈ 𝒫 𝑉))
2019ssrdv 3642 . . . . . 6 (𝑆 ∈ UHGraph → (Edg‘𝑆) ⊆ 𝒫 𝑉)
21203ad2ant3 1104 . . . . 5 ((𝐺𝑊 ∧ Fun 𝐵𝑆 ∈ UHGraph) → (Edg‘𝑆) ⊆ 𝒫 𝑉)
2221adantr 480 . . . 4 (((𝐺𝑊 ∧ Fun 𝐵𝑆 ∈ UHGraph) ∧ (𝑉𝐴𝐼𝐵)) → (Edg‘𝑆) ⊆ 𝒫 𝑉)
231, 2, 3, 4, 5issubgr 26208 . . . . . 6 ((𝐺𝑊𝑆 ∈ UHGraph) → (𝑆 SubGraph 𝐺 ↔ (𝑉𝐴𝐼 = (𝐵 ↾ dom 𝐼) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)))
24233adant2 1100 . . . . 5 ((𝐺𝑊 ∧ Fun 𝐵𝑆 ∈ UHGraph) → (𝑆 SubGraph 𝐺 ↔ (𝑉𝐴𝐼 = (𝐵 ↾ dom 𝐼) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)))
2524adantr 480 . . . 4 (((𝐺𝑊 ∧ Fun 𝐵𝑆 ∈ UHGraph) ∧ (𝑉𝐴𝐼𝐵)) → (𝑆 SubGraph 𝐺 ↔ (𝑉𝐴𝐼 = (𝐵 ↾ dom 𝐼) ∧ (Edg‘𝑆) ⊆ 𝒫 𝑉)))
269, 14, 22, 25mpbir3and 1264 . . 3 (((𝐺𝑊 ∧ Fun 𝐵𝑆 ∈ UHGraph) ∧ (𝑉𝐴𝐼𝐵)) → 𝑆 SubGraph 𝐺)
2726ex 449 . 2 ((𝐺𝑊 ∧ Fun 𝐵𝑆 ∈ UHGraph) → ((𝑉𝐴𝐼𝐵) → 𝑆 SubGraph 𝐺))
288, 27impbid2 216 1 ((𝐺𝑊 ∧ Fun 𝐵𝑆 ∈ UHGraph) → (𝑆 SubGraph 𝐺 ↔ (𝑉𝐴𝐼𝐵)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383  w3a 1054   = wceq 1523  wcel 2030  wss 3607  𝒫 cpw 4191   class class class wbr 4685  dom cdm 5143  cres 5145  Fun wfun 5920  cfv 5926  Vtxcvtx 25919  iEdgciedg 25920  Edgcedg 25984  UHGraphcuhgr 25996   SubGraph csubgr 26204
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ral 2946  df-rex 2947  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-op 4217  df-uni 4469  df-br 4686  df-opab 4746  df-mpt 4763  df-id 5053  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-fv 5934  df-edg 25985  df-uhgr 25998  df-subgr 26205
This theorem is referenced by:  uhgrsubgrself  26217
  Copyright terms: Public domain W3C validator