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

Theorem subgrprop3 26168
Description: The properties of a subgraph: If 𝑆 is a subgraph of 𝐺, its vertices are also vertices of 𝐺, and its edges are also edges of 𝐺. (Contributed by AV, 19-Nov-2020.)
Hypotheses
Ref Expression
subgrprop3.v 𝑉 = (Vtx‘𝑆)
subgrprop3.a 𝐴 = (Vtx‘𝐺)
subgrprop3.e 𝐸 = (Edg‘𝑆)
subgrprop3.b 𝐵 = (Edg‘𝐺)
Assertion
Ref Expression
subgrprop3 (𝑆 SubGraph 𝐺 → (𝑉𝐴𝐸𝐵))

Proof of Theorem subgrprop3
StepHypRef Expression
1 subgrprop3.v . . . 4 𝑉 = (Vtx‘𝑆)
2 subgrprop3.a . . . 4 𝐴 = (Vtx‘𝐺)
3 eqid 2622 . . . 4 (iEdg‘𝑆) = (iEdg‘𝑆)
4 eqid 2622 . . . 4 (iEdg‘𝐺) = (iEdg‘𝐺)
5 subgrprop3.e . . . 4 𝐸 = (Edg‘𝑆)
61, 2, 3, 4, 5subgrprop2 26166 . . 3 (𝑆 SubGraph 𝐺 → (𝑉𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺) ∧ 𝐸 ⊆ 𝒫 𝑉))
7 3simpa 1058 . . 3 ((𝑉𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺) ∧ 𝐸 ⊆ 𝒫 𝑉) → (𝑉𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺)))
86, 7syl 17 . 2 (𝑆 SubGraph 𝐺 → (𝑉𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺)))
9 simprl 794 . . 3 ((𝑆 SubGraph 𝐺 ∧ (𝑉𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺))) → 𝑉𝐴)
10 rnss 5354 . . . . 5 ((iEdg‘𝑆) ⊆ (iEdg‘𝐺) → ran (iEdg‘𝑆) ⊆ ran (iEdg‘𝐺))
1110ad2antll 765 . . . 4 ((𝑆 SubGraph 𝐺 ∧ (𝑉𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺))) → ran (iEdg‘𝑆) ⊆ ran (iEdg‘𝐺))
12 subgrv 26162 . . . . . 6 (𝑆 SubGraph 𝐺 → (𝑆 ∈ V ∧ 𝐺 ∈ V))
13 edgval 25941 . . . . . . . . 9 (Edg‘𝑆) = ran (iEdg‘𝑆)
1413a1i 11 . . . . . . . 8 ((𝑆 ∈ V ∧ 𝐺 ∈ V) → (Edg‘𝑆) = ran (iEdg‘𝑆))
155, 14syl5eq 2668 . . . . . . 7 ((𝑆 ∈ V ∧ 𝐺 ∈ V) → 𝐸 = ran (iEdg‘𝑆))
16 subgrprop3.b . . . . . . . 8 𝐵 = (Edg‘𝐺)
17 edgval 25941 . . . . . . . . 9 (Edg‘𝐺) = ran (iEdg‘𝐺)
1817a1i 11 . . . . . . . 8 ((𝑆 ∈ V ∧ 𝐺 ∈ V) → (Edg‘𝐺) = ran (iEdg‘𝐺))
1916, 18syl5eq 2668 . . . . . . 7 ((𝑆 ∈ V ∧ 𝐺 ∈ V) → 𝐵 = ran (iEdg‘𝐺))
2015, 19sseq12d 3634 . . . . . 6 ((𝑆 ∈ V ∧ 𝐺 ∈ V) → (𝐸𝐵 ↔ ran (iEdg‘𝑆) ⊆ ran (iEdg‘𝐺)))
2112, 20syl 17 . . . . 5 (𝑆 SubGraph 𝐺 → (𝐸𝐵 ↔ ran (iEdg‘𝑆) ⊆ ran (iEdg‘𝐺)))
2221adantr 481 . . . 4 ((𝑆 SubGraph 𝐺 ∧ (𝑉𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺))) → (𝐸𝐵 ↔ ran (iEdg‘𝑆) ⊆ ran (iEdg‘𝐺)))
2311, 22mpbird 247 . . 3 ((𝑆 SubGraph 𝐺 ∧ (𝑉𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺))) → 𝐸𝐵)
249, 23jca 554 . 2 ((𝑆 SubGraph 𝐺 ∧ (𝑉𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺))) → (𝑉𝐴𝐸𝐵))
258, 24mpdan 702 1 (𝑆 SubGraph 𝐺 → (𝑉𝐴𝐸𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384  w3a 1037   = wceq 1483  wcel 1990  Vcvv 3200  wss 3574  𝒫 cpw 4158   class class class wbr 4653  ran crn 5115  cfv 5888  Vtxcvtx 25874  iEdgciedg 25875  Edgcedg 25939   SubGraph csubgr 26159
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-csb 3534  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-pw 4160  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-res 5126  df-iota 5851  df-fun 5890  df-fv 5896  df-edg 25940  df-subgr 26160
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator