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

Theorem uhgrunop 29668
Description: The union of two (undirected) hypergraphs (with the same vertex set) represented as ordered pair: If ⟨𝑉, 𝐸⟩ and ⟨𝑉, 𝐹⟩ are hypergraphs, then ⟨𝑉, 𝐸 ∪ 𝐹⟩ is a hypergraph (the vertex set stays the same, but the edges from both graphs are kept, possibly resulting in two edges between two vertices). (Contributed by Alexander van der Vekens, 27-Dec-2017.) (Revised by AV, 11-Oct-2020.) (Revised by AV, 24-Oct-2021.)
Hypotheses
Ref Expression
uhgrun.g (𝜑 → 𝐺 ∈ UHGraph)
uhgrun.h (𝜑 → 𝐻 ∈ UHGraph)
uhgrun.e 𝐸 = (iEdg‘𝐺)
uhgrun.f 𝐹 = (iEdg‘𝐻)
uhgrun.vg 𝑉 = (Vtx‘𝐺)
uhgrun.vh (𝜑 → (Vtx‘𝐻) = 𝑉)
uhgrun.i (𝜑 → (dom 𝐸 ∩ dom 𝐹) = ∅)
Assertion
Ref Expression
uhgrunop (𝜑 → ⟨𝑉, (𝐸 ∪ 𝐹)⟩ ∈ UHGraph)

Proof of Theorem uhgrunop
StepHypRef Expression
1 uhgrun.g . 2 (𝜑 → 𝐺 ∈ UHGraph)
2 uhgrun.h . 2 (𝜑 → 𝐻 ∈ UHGraph)
3 uhgrun.e . 2 𝐸 = (iEdg‘𝐺)
4 uhgrun.f . 2 𝐹 = (iEdg‘𝐻)
5 uhgrun.vg . 2 𝑉 = (Vtx‘𝐺)
6 uhgrun.vh . 2 (𝜑 → (Vtx‘𝐻) = 𝑉)
7 uhgrun.i . 2 (𝜑 → (dom 𝐸 ∩ dom 𝐹) = ∅)
8 opex 5436 . . 3 ⟨𝑉, (𝐸 ∪ 𝐹)⟩ ∈ V
98a1i 11 . 2 (𝜑 → ⟨𝑉, (𝐸 ∪ 𝐹)⟩ ∈ V)
105fvexi 6910 . . . 4 𝑉 ∈ V
113fvexi 6910 . . . . 5 𝐸 ∈ V
124fvexi 6910 . . . . 5 𝐹 ∈ V
1311, 12unex 7771 . . . 4 (𝐸 ∪ 𝐹) ∈ V
1410, 13pm3.2i 476 . . 3 (𝑉 ∈ V ∧ (𝐸 ∪ 𝐹) ∈ V)
15 opvtxfv 29597 . . 3 ((𝑉 ∈ V ∧ (𝐸 ∪ 𝐹) ∈ V) → (Vtx‘⟨𝑉, (𝐸 ∪ 𝐹)⟩) = 𝑉)
1614, 15mp1i 14 . 2 (𝜑 → (Vtx‘⟨𝑉, (𝐸 ∪ 𝐹)⟩) = 𝑉)
17 opiedgfv 29600 . . 3 ((𝑉 ∈ V ∧ (𝐸 ∪ 𝐹) ∈ V) → (iEdg‘⟨𝑉, (𝐸 ∪ 𝐹)⟩) = (𝐸 ∪ 𝐹))
1814, 17mp1i 14 . 2 (𝜑 → (iEdg‘⟨𝑉, (𝐸 ∪ 𝐹)⟩) = (𝐸 ∪ 𝐹))
191, 2, 3, 4, 5, 6, 7, 9, 16, 18uhgrun 29667 1 (𝜑 → ⟨𝑉, (𝐸 ∪ 𝐹)⟩ ∈ UHGraph)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2146  Vcvv 3454   ∩ cin 4092   ∪ cun 4152  ∅c0 4281  ⟨cop 4838  dom cdm 5655  ‘cfv 6547  Vtxcvtx 29589  iEdgciedg 29590  UHGraphcuhgr 29649
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 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395  ax-un 7761
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 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-iota 6501  df-fun 6549  df-fn 6550  df-f 6551  df-fv 6555  df-1st 8011  df-2nd 8012  df-vtx 29591  df-iedg 29592  df-uhgr 29651
This theorem is used by:  ushgrunop  29670
  Copyright terms: Public domain W3C validator