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 48114
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 1136 . 2 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → 𝐺 ∈ UHGraph)
2 opstrgric.h . . . 4 𝐻 = {⟨(Base‘ndx), 𝑉⟩, ⟨(.ef‘ndx), 𝐸⟩}
3 prex 5380 . . . 4 {⟨(Base‘ndx), 𝑉⟩, ⟨(.ef‘ndx), 𝐸⟩} ∈ V
42, 3eqeltri 2830 . . 3 𝐻 ∈ V
54a1i 11 . 2 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → 𝐻 ∈ V)
6 opvtxfv 29026 . . . 4 ((𝑉𝑋𝐸𝑌) → (Vtx‘⟨𝑉, 𝐸⟩) = 𝑉)
763adant1 1130 . . 3 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → (Vtx‘⟨𝑉, 𝐸⟩) = 𝑉)
8 opstrgric.g . . . . 5 𝐺 = ⟨𝑉, 𝐸
98fveq2i 6835 . . . 4 (Vtx‘𝐺) = (Vtx‘⟨𝑉, 𝐸⟩)
109a1i 11 . . 3 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → (Vtx‘𝐺) = (Vtx‘⟨𝑉, 𝐸⟩))
112struct2grvtx 29049 . . . 4 ((𝑉𝑋𝐸𝑌) → (Vtx‘𝐻) = 𝑉)
12113adant1 1130 . . 3 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → (Vtx‘𝐻) = 𝑉)
137, 10, 123eqtr4d 2779 . 2 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → (Vtx‘𝐺) = (Vtx‘𝐻))
14 opiedgfv 29029 . . . 4 ((𝑉𝑋𝐸𝑌) → (iEdg‘⟨𝑉, 𝐸⟩) = 𝐸)
15143adant1 1130 . . 3 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → (iEdg‘⟨𝑉, 𝐸⟩) = 𝐸)
168fveq2i 6835 . . . 4 (iEdg‘𝐺) = (iEdg‘⟨𝑉, 𝐸⟩)
1716a1i 11 . . 3 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → (iEdg‘𝐺) = (iEdg‘⟨𝑉, 𝐸⟩))
182struct2griedg 29050 . . . 4 ((𝑉𝑋𝐸𝑌) → (iEdg‘𝐻) = 𝐸)
19183adant1 1130 . . 3 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → (iEdg‘𝐻) = 𝐸)
2015, 17, 193eqtr4d 2779 . 2 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → (iEdg‘𝐺) = (iEdg‘𝐻))
21 simpl 482 . . . . 5 ((𝐺 ∈ UHGraph ∧ 𝐻 ∈ V) → 𝐺 ∈ UHGraph)
2221adantr 480 . . . 4 (((𝐺 ∈ UHGraph ∧ 𝐻 ∈ V) ∧ ((Vtx‘𝐺) = (Vtx‘𝐻) ∧ (iEdg‘𝐺) = (iEdg‘𝐻))) → 𝐺 ∈ UHGraph)
23 simpr 484 . . . . 5 ((𝐺 ∈ UHGraph ∧ 𝐻 ∈ V) → 𝐻 ∈ V)
2423adantr 480 . . . 4 (((𝐺 ∈ UHGraph ∧ 𝐻 ∈ V) ∧ ((Vtx‘𝐺) = (Vtx‘𝐻) ∧ (iEdg‘𝐺) = (iEdg‘𝐻))) → 𝐻 ∈ V)
25 simpl 482 . . . . 5 (((Vtx‘𝐺) = (Vtx‘𝐻) ∧ (iEdg‘𝐺) = (iEdg‘𝐻)) → (Vtx‘𝐺) = (Vtx‘𝐻))
2625adantl 481 . . . 4 (((𝐺 ∈ UHGraph ∧ 𝐻 ∈ V) ∧ ((Vtx‘𝐺) = (Vtx‘𝐻) ∧ (iEdg‘𝐺) = (iEdg‘𝐻))) → (Vtx‘𝐺) = (Vtx‘𝐻))
27 simpr 484 . . . . 5 (((Vtx‘𝐺) = (Vtx‘𝐻) ∧ (iEdg‘𝐺) = (iEdg‘𝐻)) → (iEdg‘𝐺) = (iEdg‘𝐻))
2827adantl 481 . . . 4 (((𝐺 ∈ UHGraph ∧ 𝐻 ∈ V) ∧ ((Vtx‘𝐺) = (Vtx‘𝐻) ∧ (iEdg‘𝐺) = (iEdg‘𝐻))) → (iEdg‘𝐺) = (iEdg‘𝐻))
2922, 24, 26, 28grimidvtxedg 48073 . . 3 (((𝐺 ∈ UHGraph ∧ 𝐻 ∈ V) ∧ ((Vtx‘𝐺) = (Vtx‘𝐻) ∧ (iEdg‘𝐺) = (iEdg‘𝐻))) → ( I ↾ (Vtx‘𝐺)) ∈ (𝐺 GraphIso 𝐻))
30 brgrici 48101 . . 3 (( I ↾ (Vtx‘𝐺)) ∈ (𝐺 GraphIso 𝐻) → 𝐺𝑔𝑟 𝐻)
3129, 30syl 17 . 2 (((𝐺 ∈ UHGraph ∧ 𝐻 ∈ V) ∧ ((Vtx‘𝐺) = (Vtx‘𝐻) ∧ (iEdg‘𝐺) = (iEdg‘𝐻))) → 𝐺𝑔𝑟 𝐻)
321, 5, 13, 20, 31syl22anc 838 1 ((𝐺 ∈ UHGraph ∧ 𝑉𝑋𝐸𝑌) → 𝐺𝑔𝑟 𝐻)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1086   = wceq 1541  wcel 2113  Vcvv 3438  {cpr 4580  cop 4584   class class class wbr 5096   I cid 5516  cres 5624  cfv 6490  (class class class)co 7356  ndxcnx 17118  Basecbs 17134  .efcedgf 29010  Vtxcvtx 29018  iEdgciedg 29019  UHGraphcuhgr 29078   GraphIso cgrim 48063  𝑔𝑟 cgric 48064
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 1968  ax-7 2009  ax-8 2115  ax-9 2123  ax-10 2146  ax-11 2162  ax-12 2182  ax-ext 2706  ax-rep 5222  ax-sep 5239  ax-nul 5249  ax-pow 5308  ax-pr 5375  ax-un 7678  ax-cnex 11080  ax-resscn 11081  ax-1cn 11082  ax-icn 11083  ax-addcl 11084  ax-addrcl 11085  ax-mulcl 11086  ax-mulrcl 11087  ax-mulcom 11088  ax-addass 11089  ax-mulass 11090  ax-distr 11091  ax-i2m1 11092  ax-1ne0 11093  ax-1rid 11094  ax-rnegex 11095  ax-rrecex 11096  ax-cnre 11097  ax-pre-lttri 11098  ax-pre-lttrn 11099  ax-pre-ltadd 11100  ax-pre-mulgt0 11101
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2537  df-eu 2567  df-clab 2713  df-cleq 2726  df-clel 2809  df-nfc 2883  df-ne 2931  df-nel 3035  df-ral 3050  df-rex 3059  df-reu 3349  df-rab 3398  df-v 3440  df-sbc 3739  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4284  df-if 4478  df-pw 4554  df-sn 4579  df-pr 4581  df-op 4585  df-uni 4862  df-int 4901  df-iun 4946  df-br 5097  df-opab 5159  df-mpt 5178  df-tr 5204  df-id 5517  df-eprel 5522  df-po 5530  df-so 5531  df-fr 5575  df-we 5577  df-xp 5628  df-rel 5629  df-cnv 5630  df-co 5631  df-dm 5632  df-rn 5633  df-res 5634  df-ima 5635  df-pred 6257  df-ord 6318  df-on 6319  df-lim 6320  df-suc 6321  df-iota 6446  df-fun 6492  df-fn 6493  df-f 6494  df-f1 6495  df-fo 6496  df-f1o 6497  df-fv 6498  df-riota 7313  df-ov 7359  df-oprab 7360  df-mpo 7361  df-om 7807  df-1st 7931  df-2nd 7932  df-frecs 8221  df-wrecs 8252  df-recs 8301  df-rdg 8339  df-1o 8395  df-oadd 8399  df-er 8633  df-map 8763  df-en 8882  df-dom 8883  df-sdom 8884  df-fin 8885  df-dju 9811  df-card 9849  df-pnf 11166  df-mnf 11167  df-xr 11168  df-ltxr 11169  df-le 11170  df-sub 11364  df-neg 11365  df-nn 12144  df-2 12206  df-3 12207  df-4 12208  df-5 12209  df-6 12210  df-7 12211  df-8 12212  df-9 12213  df-n0 12400  df-xnn0 12473  df-z 12487  df-dec 12606  df-uz 12750  df-fz 13422  df-hash 14252  df-struct 17072  df-slot 17107  df-ndx 17119  df-base 17135  df-edgf 29011  df-vtx 29020  df-iedg 29021  df-uhgr 29080  df-grim 48066  df-gric 48069
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator