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

Theorem upgrunop 29697
Description: The union of two pseudographs (with the same vertex set): If ⟨𝑉, 𝐸⟩ and ⟨𝑉, 𝐹⟩ are pseudographs, then ⟨𝑉, 𝐸 ∪ 𝐹⟩ is a pseudograph (the vertex set stays the same, but the edges from both graphs are kept). (Contributed by Mario Carneiro, 12-Mar-2015.) (Revised by AV, 12-Oct-2020.) (Revised by AV, 24-Oct-2021.)
Hypotheses
Ref Expression
upgrun.g (𝜑 → 𝐺 ∈ UPGraph)
upgrun.h (𝜑 → 𝐻 ∈ UPGraph)
upgrun.e 𝐸 = (iEdg‘𝐺)
upgrun.f 𝐹 = (iEdg‘𝐻)
upgrun.vg 𝑉 = (Vtx‘𝐺)
upgrun.vh (𝜑 → (Vtx‘𝐻) = 𝑉)
upgrun.i (𝜑 → (dom 𝐸 ∩ dom 𝐹) = ∅)
Assertion
Ref Expression
upgrunop (𝜑 → ⟨𝑉, (𝐸 ∪ 𝐹)⟩ ∈ UPGraph)

Proof of Theorem upgrunop
StepHypRef Expression
1 upgrun.g . 2 (𝜑 → 𝐺 ∈ UPGraph)
2 upgrun.h . 2 (𝜑 → 𝐻 ∈ UPGraph)
3 upgrun.e . 2 𝐸 = (iEdg‘𝐺)
4 upgrun.f . 2 𝐹 = (iEdg‘𝐻)
5 upgrun.vg . 2 𝑉 = (Vtx‘𝐺)
6 upgrun.vh . 2 (𝜑 → (Vtx‘𝐻) = 𝑉)
7 upgrun.i . 2 (𝜑 → (dom 𝐸 ∩ dom 𝐹) = ∅)
8 opex 5431 . . 3 ⟨𝑉, (𝐸 ∪ 𝐹)⟩ ∈ V
98a1i 11 . 2 (𝜑 → ⟨𝑉, (𝐸 ∪ 𝐹)⟩ ∈ V)
105fvexi 6899 . . . 4 𝑉 ∈ V
113fvexi 6899 . . . . 5 𝐸 ∈ V
124fvexi 6899 . . . . 5 𝐹 ∈ V
1311, 12unex 7761 . . . 4 (𝐸 ∪ 𝐹) ∈ V
1410, 13pm3.2i 476 . . 3 (𝑉 ∈ V ∧ (𝐸 ∪ 𝐹) ∈ V)
15 opvtxfv 29582 . . 3 ((𝑉 ∈ V ∧ (𝐸 ∪ 𝐹) ∈ V) → (Vtx‘⟨𝑉, (𝐸 ∪ 𝐹)⟩) = 𝑉)
1614, 15mp1i 14 . 2 (𝜑 → (Vtx‘⟨𝑉, (𝐸 ∪ 𝐹)⟩) = 𝑉)
17 opiedgfv 29585 . . 3 ((𝑉 ∈ V ∧ (𝐸 ∪ 𝐹) ∈ V) → (iEdg‘⟨𝑉, (𝐸 ∪ 𝐹)⟩) = (𝐸 ∪ 𝐹))
1814, 17mp1i 14 . 2 (𝜑 → (iEdg‘⟨𝑉, (𝐸 ∪ 𝐹)⟩) = (𝐸 ∪ 𝐹))
191, 2, 3, 4, 5, 6, 7, 9, 16, 18upgrun 29696 1 (𝜑 → ⟨𝑉, (𝐸 ∪ 𝐹)⟩ ∈ UPGraph)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  Vcvv 3450   ∩ cin 4089   ∪ cun 4149  ∅c0 4278  ⟨cop 4589  dom cdm 5650  ‘cfv 6538  Vtxcvtx 29574  iEdgciedg 29575  UPGraphcupgr 29658
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-fv 6546  df-1st 8001  df-2nd 8002  df-vtx 29576  df-iedg 29577  df-upgr 29660
This theorem is used by:  uspgrunop  29770
  Copyright terms: Public domain W3C validator