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

Theorem subgrprop3 30024
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 2774 . . . 4 (iEdg‘𝑆) = (iEdg‘𝑆)
4 eqid 2774 . . . 4 (iEdg‘𝐺) = (iEdg‘𝐺)
5 subgrprop3.e . . . 4 𝐸 = (Edg‘𝑆)
61, 2, 3, 4, 5subgrprop2 30022 . . 3 (𝑆 SubGraph 𝐺 → (𝑉 ⊆ 𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺) ∧ 𝐸 ⊆ 𝒫 𝑉))
7 3simpa 1167 . . 3 ((𝑉 ⊆ 𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺) ∧ 𝐸 ⊆ 𝒫 𝑉) → (𝑉 ⊆ 𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺)))
86, 7syl 18 . 2 (𝑆 SubGraph 𝐺 → (𝑉 ⊆ 𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺)))
9 simprl 783 . . 3 ((𝑆 SubGraph 𝐺 ∧ (𝑉 ⊆ 𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺))) → 𝑉 ⊆ 𝐴)
10 rnss 5941 . . . . 5 ((iEdg‘𝑆) ⊆ (iEdg‘𝐺) → ran (iEdg‘𝑆) ⊆ ran (iEdg‘𝐺))
1110ad2antll 742 . . . 4 ((𝑆 SubGraph 𝐺 ∧ (𝑉 ⊆ 𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺))) → ran (iEdg‘𝑆) ⊆ ran (iEdg‘𝐺))
12 subgrv 30018 . . . . . 6 (𝑆 SubGraph 𝐺 → (𝑆 ∈ V ∧ 𝐺 ∈ V))
13 edgval 29794 . . . . . . . . 9 (Edg‘𝑆) = ran (iEdg‘𝑆)
1413a1i 11 . . . . . . . 8 ((𝑆 ∈ V ∧ 𝐺 ∈ V) → (Edg‘𝑆) = ran (iEdg‘𝑆))
155, 14eqtrid 2821 . . . . . . 7 ((𝑆 ∈ V ∧ 𝐺 ∈ V) → 𝐸 = ran (iEdg‘𝑆))
16 subgrprop3.b . . . . . . . 8 𝐵 = (Edg‘𝐺)
17 edgval 29794 . . . . . . . . 9 (Edg‘𝐺) = ran (iEdg‘𝐺)
1817a1i 11 . . . . . . . 8 ((𝑆 ∈ V ∧ 𝐺 ∈ V) → (Edg‘𝐺) = ran (iEdg‘𝐺))
1916, 18eqtrid 2821 . . . . . . 7 ((𝑆 ∈ V ∧ 𝐺 ∈ V) → 𝐵 = ran (iEdg‘𝐺))
2015, 19sseq12d 3953 . . . . . 6 ((𝑆 ∈ V ∧ 𝐺 ∈ V) → (𝐸 ⊆ 𝐵 ↔ ran (iEdg‘𝑆) ⊆ ran (iEdg‘𝐺)))
2112, 20syl 18 . . . . 5 (𝑆 SubGraph 𝐺 → (𝐸 ⊆ 𝐵 ↔ ran (iEdg‘𝑆) ⊆ ran (iEdg‘𝐺)))
2221adantr 486 . . . 4 ((𝑆 SubGraph 𝐺 ∧ (𝑉 ⊆ 𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺))) → (𝐸 ⊆ 𝐵 ↔ ran (iEdg‘𝑆) ⊆ ran (iEdg‘𝐺)))
2311, 22mpbird 260 . . 3 ((𝑆 SubGraph 𝐺 ∧ (𝑉 ⊆ 𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺))) → 𝐸 ⊆ 𝐵)
249, 23jca 521 . 2 ((𝑆 SubGraph 𝐺 ∧ (𝑉 ⊆ 𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺))) → (𝑉 ⊆ 𝐴 ∧ 𝐸 ⊆ 𝐵))
258, 24mpdan 700 1 (𝑆 SubGraph 𝐺 → (𝑉 ⊆ 𝐴 ∧ 𝐸 ⊆ 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1104   = wceq 1572   ∈ wcel 2156  Vcvv 3461   ⊆ wss 3907  𝒫 cpw 4567   class class class wbr 5116  ran crn 5667  ‘cfv 6579  Vtxcvtx 29741  iEdgciedg 29742  Edgcedg 29792   SubGraph csubgr 30015
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406  ax-un 7802
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-iota 6533  df-fun 6581  df-fv 6587  df-edg 29793  df-subgr 30016
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator