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

Theorem upgrunop 29767
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 5442 . . 3 ⟨𝑉, (𝐸 ∪ 𝐹)⟩ ∈ V
98a1i 11 . 2 (𝜑 → ⟨𝑉, (𝐸 ∪ 𝐹)⟩ ∈ V)
105fvexi 6934 . . . 4 𝑉 ∈ V
113fvexi 6934 . . . . 5 𝐸 ∈ V
124fvexi 6934 . . . . 5 𝐹 ∈ V
1311, 12unex 7797 . . . 4 (𝐸 ∪ 𝐹) ∈ V
1410, 13pm3.2i 476 . . 3 (𝑉 ∈ V ∧ (𝐸 ∪ 𝐹) ∈ V)
15 opvtxfv 29652 . . 3 ((𝑉 ∈ V ∧ (𝐸 ∪ 𝐹) ∈ V) → (Vtx‘⟨𝑉, (𝐸 ∪ 𝐹)⟩) = 𝑉)
1614, 15mp1i 14 . 2 (𝜑 → (Vtx‘⟨𝑉, (𝐸 ∪ 𝐹)⟩) = 𝑉)
17 opiedgfv 29655 . . 3 ((𝑉 ∈ V ∧ (𝐸 ∪ 𝐹) ∈ V) → (iEdg‘⟨𝑉, (𝐸 ∪ 𝐹)⟩) = (𝐸 ∪ 𝐹))
1814, 17mp1i 14 . 2 (𝜑 → (iEdg‘⟨𝑉, (𝐸 ∪ 𝐹)⟩) = (𝐸 ∪ 𝐹))
191, 2, 3, 4, 5, 6, 7, 9, 16, 18upgrun 29766 1 (𝜑 → ⟨𝑉, (𝐸 ∪ 𝐹)⟩ ∈ UPGraph)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2151  Vcvv 3456   ∩ cin 4094   ∪ cun 4154  ∅c0 4283  ⟨cop 4843  dom cdm 5661  ‘cfv 6570  Vtxcvtx 29644  iEdgciedg 29645  UPGraphcupgr 29728
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pr 5401  ax-un 7787
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 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-sbc 3745  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-mpt 5196  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-iota 6524  df-fun 6572  df-fn 6573  df-f 6574  df-fv 6578  df-1st 8039  df-2nd 8040  df-vtx 29646  df-iedg 29647  df-upgr 29730
This theorem is used by:  uspgrunop  29840
  Copyright terms: Public domain W3C validator