Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  opstrgric Structured version   Visualization version   GIF version

Theorem opstrgric 48425
Description: A graph represented as an extensible structure with vertices as base set and indexed edges is isomorphic to a hypergraph represented as ordered pair with the same vertices and edges. (Contributed by AV, 11-Nov-2022.) (Revised by AV, 4-May-2025.)
Hypotheses
Ref Expression
opstrgric.g 𝐺 = ⟨𝑉, 𝐸
opstrgric.h 𝐻 = {⟨(Base‘ndx), 𝑉⟩, ⟨(.ef‘ndx), 𝐸⟩}
Assertion
Ref Expression
opstrgric ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → 𝐺𝑔𝑟 𝐻)

Proof of Theorem opstrgric
StepHypRef Expression
1 simp1 1142 . 2 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → 𝐺 ∈ UHGraph)
2 opstrgric.h . . . 4 𝐻 = {⟨(Base‘ndx), 𝑉⟩, ⟨(.ef‘ndx), 𝐸⟩}
3 prex 5368 . . . 4 {⟨(Base‘ndx), 𝑉⟩, ⟨(.ef‘ndx), 𝐸⟩} ∈ V
42, 3eqeltri 2835 . . 3 𝐻 ∈ V
54a1i 11 . 2 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → 𝐻 ∈ V)
6 opvtxfv 29092 . . . 4 ((𝑉𝑋𝐸𝑌) → (Vtx‘⟨𝑉, 𝐸⟩) = 𝑉)
763adant1 1136 . . 3 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → (Vtx‘⟨𝑉, 𝐸⟩) = 𝑉)
8 opstrgric.g . . . . 5 𝐺 = ⟨𝑉, 𝐸
98fveq2i 6831 . . . 4 (Vtx‘𝐺) = (Vtx‘⟨𝑉, 𝐸⟩)
109a1i 11 . . 3 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → (Vtx‘𝐺) = (Vtx‘⟨𝑉, 𝐸⟩))
112struct2grvtx 29115 . . . 4 ((𝑉𝑋𝐸𝑌) → (Vtx‘𝐻) = 𝑉)
12113adant1 1136 . . 3 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → (Vtx‘𝐻) = 𝑉)
137, 10, 123eqtr4d 2784 . 2 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → (Vtx‘𝐺) = (Vtx‘𝐻))
14 opiedgfv 29095 . . . 4 ((𝑉𝑋𝐸𝑌) → (iEdg‘⟨𝑉, 𝐸⟩) = 𝐸)
15143adant1 1136 . . 3 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → (iEdg‘⟨𝑉, 𝐸⟩) = 𝐸)
168fveq2i 6831 . . . 4 (iEdg‘𝐺) = (iEdg‘⟨𝑉, 𝐸⟩)
1716a1i 11 . . 3 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → (iEdg‘𝐺) = (iEdg‘⟨𝑉, 𝐸⟩))
182struct2griedg 29116 . . . 4 ((𝑉𝑋𝐸𝑌) → (iEdg‘𝐻) = 𝐸)
19183adant1 1136 . . 3 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → (iEdg‘𝐻) = 𝐸)
2015, 17, 193eqtr4d 2784 . 2 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → (iEdg‘𝐺) = (iEdg‘𝐻))
21 simpl 483 . . . . 5 ((𝐺 ∈ UHGraph ∧ 𝐻 ∈ V) → 𝐺 ∈ UHGraph)
2221adantr 481 . . . 4 (((𝐺 ∈ UHGraph ∧ 𝐻 ∈ V) ∧ ((Vtx‘𝐺) = (Vtx‘𝐻) ∧ (iEdg‘𝐺) = (iEdg‘𝐻))) → 𝐺 ∈ UHGraph)
23 simpr 485 . . . . 5 ((𝐺 ∈ UHGraph ∧ 𝐻 ∈ V) → 𝐻 ∈ V)
2423adantr 481 . . . 4 (((𝐺 ∈ UHGraph ∧ 𝐻 ∈ V) ∧ ((Vtx‘𝐺) = (Vtx‘𝐻) ∧ (iEdg‘𝐺) = (iEdg‘𝐻))) → 𝐻 ∈ V)
25 simpl 483 . . . . 5 (((Vtx‘𝐺) = (Vtx‘𝐻) ∧ (iEdg‘𝐺) = (iEdg‘𝐻)) → (Vtx‘𝐺) = (Vtx‘𝐻))
2625adantl 482 . . . 4 (((𝐺 ∈ UHGraph ∧ 𝐻 ∈ V) ∧ ((Vtx‘𝐺) = (Vtx‘𝐻) ∧ (iEdg‘𝐺) = (iEdg‘𝐻))) → (Vtx‘𝐺) = (Vtx‘𝐻))
27 simpr 485 . . . . 5 (((Vtx‘𝐺) = (Vtx‘𝐻) ∧ (iEdg‘𝐺) = (iEdg‘𝐻)) → (iEdg‘𝐺) = (iEdg‘𝐻))
2827adantl 482 . . . 4 (((𝐺 ∈ UHGraph ∧ 𝐻 ∈ V) ∧ ((Vtx‘𝐺) = (Vtx‘𝐻) ∧ (iEdg‘𝐺) = (iEdg‘𝐻))) → (iEdg‘𝐺) = (iEdg‘𝐻))
2922, 24, 26, 28grimidvtxedg 48384 . . 3 (((𝐺 ∈ UHGraph ∧ 𝐻 ∈ V) ∧ ((Vtx‘𝐺) = (Vtx‘𝐻) ∧ (iEdg‘𝐺) = (iEdg‘𝐻))) → ( I ↾ (Vtx‘𝐺)) ∈ (𝐺 GraphIso 𝐻))
30 brgrici 48412 . . 3 (( I ↾ (Vtx‘𝐺)) ∈ (𝐺 GraphIso 𝐻) → 𝐺𝑔𝑟 𝐻)
3129, 30syl 17 . 2 (((𝐺 ∈ UHGraph ∧ 𝐻 ∈ V) ∧ ((Vtx‘𝐺) = (Vtx‘𝐻) ∧ (iEdg‘𝐺) = (iEdg‘𝐻))) → 𝐺𝑔𝑟 𝐻)
321, 5, 13, 20, 31syl22anc 844 1 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → 𝐺𝑔𝑟 𝐻)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  w3a 1092   = wceq 1547  wcel 2119  Vcvv 3431  {cpr 4558  cop 4562   class class class wbr 5073   I cid 5513  cres 5621  cfv 6486  (class class class)co 7357  ndxcnx 17155  Basecbs 17171  .efcedgf 29076  Vtxcvtx 29084  iEdgciedg 29085  UHGraphcuhgr 29144   GraphIso cgrim 48374  𝑔𝑟 cgric 48375
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-8 2121  ax-9 2129  ax-10 2152  ax-11 2168  ax-12 2189  ax-ext 2711  ax-rep 5200  ax-sep 5219  ax-nul 5229  ax-pow 5295  ax-pr 5363  ax-un 7679  ax-cnex 11086  ax-resscn 11087  ax-1cn 11088  ax-icn 11089  ax-addcl 11090  ax-addrcl 11091  ax-mulcl 11092  ax-mulrcl 11093  ax-mulcom 11094  ax-addass 11095  ax-mulass 11096  ax-distr 11097  ax-i2m1 11098  ax-1ne0 11099  ax-1rid 11100  ax-rnegex 11101  ax-rrecex 11102  ax-cnre 11103  ax-pre-lttri 11104  ax-pre-lttrn 11105  ax-pre-ltadd 11106  ax-pre-mulgt0 11107
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 854  df-3or 1093  df-3an 1094  df-tru 1550  df-fal 1560  df-ex 1787  df-nf 1791  df-sb 2074  df-mo 2543  df-eu 2573  df-clab 2718  df-cleq 2731  df-clel 2814  df-nfc 2888  df-ne 2935  df-nel 3039  df-ral 3054  df-rex 3064  df-reu 3345  df-rab 3392  df-v 3433  df-sbc 3724  df-csb 3832  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3903  df-nul 4263  df-if 4456  df-pw 4532  df-sn 4557  df-pr 4559  df-op 4563  df-uni 4840  df-int 4879  df-iun 4924  df-br 5074  df-opab 5136  df-mpt 5155  df-tr 5181  df-id 5514  df-eprel 5519  df-po 5527  df-so 5528  df-fr 5572  df-we 5574  df-xp 5625  df-rel 5626  df-cnv 5627  df-co 5628  df-dm 5629  df-rn 5630  df-res 5631  df-ima 5632  df-pred 6253  df-ord 6314  df-on 6315  df-lim 6316  df-suc 6317  df-iota 6442  df-fun 6488  df-fn 6489  df-f 6490  df-f1 6491  df-fo 6492  df-f1o 6493  df-fv 6494  df-riota 7314  df-ov 7360  df-oprab 7361  df-mpo 7362  df-om 7808  df-1st 7932  df-2nd 7933  df-frecs 8222  df-wrecs 8253  df-recs 8302  df-rdg 8340  df-1o 8396  df-oadd 8400  df-er 8634  df-map 8766  df-en 8885  df-dom 8886  df-sdom 8887  df-fin 8888  df-dju 9817  df-card 9855  df-pnf 11173  df-mnf 11174  df-xr 11175  df-ltxr 11176  df-le 11177  df-sub 11371  df-neg 11372  df-nn 12167  df-2 12236  df-3 12237  df-4 12238  df-5 12239  df-6 12240  df-7 12241  df-8 12242  df-9 12243  df-n0 12430  df-xnn0 12503  df-z 12517  df-dec 12637  df-uz 12781  df-fz 13454  df-hash 14285  df-struct 17109  df-slot 17144  df-ndx 17156  df-base 17172  df-edgf 29077  df-vtx 29086  df-iedg 29087  df-uhgr 29146  df-grim 48377  df-gric 48380
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator