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

Theorem subgrprop3 27058
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 2821 . . . 4 (iEdg‘𝑆) = (iEdg‘𝑆)
4 eqid 2821 . . . 4 (iEdg‘𝐺) = (iEdg‘𝐺)
5 subgrprop3.e . . . 4 𝐸 = (Edg‘𝑆)
61, 2, 3, 4, 5subgrprop2 27056 . . 3 (𝑆 SubGraph 𝐺 → (𝑉𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺) ∧ 𝐸 ⊆ 𝒫 𝑉))
7 3simpa 1144 . . 3 ((𝑉𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺) ∧ 𝐸 ⊆ 𝒫 𝑉) → (𝑉𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺)))
86, 7syl 17 . 2 (𝑆 SubGraph 𝐺 → (𝑉𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺)))
9 simprl 769 . . 3 ((𝑆 SubGraph 𝐺 ∧ (𝑉𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺))) → 𝑉𝐴)
10 rnss 5809 . . . . 5 ((iEdg‘𝑆) ⊆ (iEdg‘𝐺) → ran (iEdg‘𝑆) ⊆ ran (iEdg‘𝐺))
1110ad2antll 727 . . . 4 ((𝑆 SubGraph 𝐺 ∧ (𝑉𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺))) → ran (iEdg‘𝑆) ⊆ ran (iEdg‘𝐺))
12 subgrv 27052 . . . . . 6 (𝑆 SubGraph 𝐺 → (𝑆 ∈ V ∧ 𝐺 ∈ V))
13 edgval 26834 . . . . . . . . 9 (Edg‘𝑆) = ran (iEdg‘𝑆)
1413a1i 11 . . . . . . . 8 ((𝑆 ∈ V ∧ 𝐺 ∈ V) → (Edg‘𝑆) = ran (iEdg‘𝑆))
155, 14syl5eq 2868 . . . . . . 7 ((𝑆 ∈ V ∧ 𝐺 ∈ V) → 𝐸 = ran (iEdg‘𝑆))
16 subgrprop3.b . . . . . . . 8 𝐵 = (Edg‘𝐺)
17 edgval 26834 . . . . . . . . 9 (Edg‘𝐺) = ran (iEdg‘𝐺)
1817a1i 11 . . . . . . . 8 ((𝑆 ∈ V ∧ 𝐺 ∈ V) → (Edg‘𝐺) = ran (iEdg‘𝐺))
1916, 18syl5eq 2868 . . . . . . 7 ((𝑆 ∈ V ∧ 𝐺 ∈ V) → 𝐵 = ran (iEdg‘𝐺))
2015, 19sseq12d 4000 . . . . . 6 ((𝑆 ∈ V ∧ 𝐺 ∈ V) → (𝐸𝐵 ↔ ran (iEdg‘𝑆) ⊆ ran (iEdg‘𝐺)))
2112, 20syl 17 . . . . 5 (𝑆 SubGraph 𝐺 → (𝐸𝐵 ↔ ran (iEdg‘𝑆) ⊆ ran (iEdg‘𝐺)))
2221adantr 483 . . . 4 ((𝑆 SubGraph 𝐺 ∧ (𝑉𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺))) → (𝐸𝐵 ↔ ran (iEdg‘𝑆) ⊆ ran (iEdg‘𝐺)))
2311, 22mpbird 259 . . 3 ((𝑆 SubGraph 𝐺 ∧ (𝑉𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺))) → 𝐸𝐵)
249, 23jca 514 . 2 ((𝑆 SubGraph 𝐺 ∧ (𝑉𝐴 ∧ (iEdg‘𝑆) ⊆ (iEdg‘𝐺))) → (𝑉𝐴𝐸𝐵))
258, 24mpdan 685 1 (𝑆 SubGraph 𝐺 → (𝑉𝐴𝐸𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1083   = wceq 1537  wcel 2114  Vcvv 3494  wss 3936  𝒫 cpw 4539   class class class wbr 5066  ran crn 5556  cfv 6355  Vtxcvtx 26781  iEdgciedg 26782  Edgcedg 26832   SubGraph csubgr 27049
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330  ax-un 7461
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-br 5067  df-opab 5129  df-mpt 5147  df-id 5460  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-iota 6314  df-fun 6357  df-fv 6363  df-edg 26833  df-subgr 27050
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator