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

Theorem dfgric2 47919
Description: Alternate, explicit definition of the "is isomorphic to" relation for two graphs. (Contributed by AV, 11-Nov-2022.) (Revised by AV, 5-May-2025.)
Hypotheses
Ref Expression
dfgric2.v 𝑉 = (Vtx‘𝐴)
dfgric2.w 𝑊 = (Vtx‘𝐵)
dfgric2.i 𝐼 = (iEdg‘𝐴)
dfgric2.j 𝐽 = (iEdg‘𝐵)
Assertion
Ref Expression
dfgric2 ((𝐴𝑋𝐵𝑌) → (𝐴𝑔𝑟 𝐵 ↔ ∃𝑓(𝑓:𝑉1-1-onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼𝑖)) = (𝐽‘(𝑔𝑖))))))
Distinct variable groups:   𝐴,𝑓,𝑔,𝑖   𝐵,𝑓,𝑔,𝑖   𝑖,𝐼   𝑓,𝑋   𝑓,𝑌
Allowed substitution hints:   𝐼(𝑓,𝑔)   𝐽(𝑓,𝑔,𝑖)   𝑉(𝑓,𝑔,𝑖)   𝑊(𝑓,𝑔,𝑖)   𝑋(𝑔,𝑖)   𝑌(𝑔,𝑖)

Proof of Theorem dfgric2
StepHypRef Expression
1 brgric 47916 . . 3 (𝐴𝑔𝑟 𝐵 ↔ (𝐴 GraphIso 𝐵) ≠ ∅)
2 n0 4319 . . 3 ((𝐴 GraphIso 𝐵) ≠ ∅ ↔ ∃𝑓 𝑓 ∈ (𝐴 GraphIso 𝐵))
31, 2bitri 275 . 2 (𝐴𝑔𝑟 𝐵 ↔ ∃𝑓 𝑓 ∈ (𝐴 GraphIso 𝐵))
4 vex 3454 . . . 4 𝑓 ∈ V
5 dfgric2.v . . . . . 6 𝑉 = (Vtx‘𝐴)
6 dfgric2.w . . . . . 6 𝑊 = (Vtx‘𝐵)
7 dfgric2.i . . . . . 6 𝐼 = (iEdg‘𝐴)
8 dfgric2.j . . . . . 6 𝐽 = (iEdg‘𝐵)
95, 6, 7, 8isgrim 47886 . . . . 5 ((𝐴𝑋𝐵𝑌𝑓 ∈ V) → (𝑓 ∈ (𝐴 GraphIso 𝐵) ↔ (𝑓:𝑉1-1-onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝐽‘(𝑔𝑖)) = (𝑓 “ (𝐼𝑖))))))
10 eqcom 2737 . . . . . . . . 9 ((𝐽‘(𝑔𝑖)) = (𝑓 “ (𝐼𝑖)) ↔ (𝑓 “ (𝐼𝑖)) = (𝐽‘(𝑔𝑖)))
1110ralbii 3076 . . . . . . . 8 (∀𝑖 ∈ dom 𝐼(𝐽‘(𝑔𝑖)) = (𝑓 “ (𝐼𝑖)) ↔ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼𝑖)) = (𝐽‘(𝑔𝑖)))
1211anbi2i 623 . . . . . . 7 ((𝑔:dom 𝐼1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝐽‘(𝑔𝑖)) = (𝑓 “ (𝐼𝑖))) ↔ (𝑔:dom 𝐼1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼𝑖)) = (𝐽‘(𝑔𝑖))))
1312exbii 1848 . . . . . 6 (∃𝑔(𝑔:dom 𝐼1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝐽‘(𝑔𝑖)) = (𝑓 “ (𝐼𝑖))) ↔ ∃𝑔(𝑔:dom 𝐼1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼𝑖)) = (𝐽‘(𝑔𝑖))))
1413anbi2i 623 . . . . 5 ((𝑓:𝑉1-1-onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝐽‘(𝑔𝑖)) = (𝑓 “ (𝐼𝑖)))) ↔ (𝑓:𝑉1-1-onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼𝑖)) = (𝐽‘(𝑔𝑖)))))
159, 14bitrdi 287 . . . 4 ((𝐴𝑋𝐵𝑌𝑓 ∈ V) → (𝑓 ∈ (𝐴 GraphIso 𝐵) ↔ (𝑓:𝑉1-1-onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼𝑖)) = (𝐽‘(𝑔𝑖))))))
164, 15mp3an3 1452 . . 3 ((𝐴𝑋𝐵𝑌) → (𝑓 ∈ (𝐴 GraphIso 𝐵) ↔ (𝑓:𝑉1-1-onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼𝑖)) = (𝐽‘(𝑔𝑖))))))
1716exbidv 1921 . 2 ((𝐴𝑋𝐵𝑌) → (∃𝑓 𝑓 ∈ (𝐴 GraphIso 𝐵) ↔ ∃𝑓(𝑓:𝑉1-1-onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼𝑖)) = (𝐽‘(𝑔𝑖))))))
183, 17bitrid 283 1 ((𝐴𝑋𝐵𝑌) → (𝐴𝑔𝑟 𝐵 ↔ ∃𝑓(𝑓:𝑉1-1-onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼𝑖)) = (𝐽‘(𝑔𝑖))))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  w3a 1086   = wceq 1540  wex 1779  wcel 2109  wne 2926  wral 3045  Vcvv 3450  c0 4299   class class class wbr 5110  dom cdm 5641  cima 5644  1-1-ontowf1o 6513  cfv 6514  (class class class)co 7390  Vtxcvtx 28930  iEdgciedg 28931   GraphIso cgrim 47879  𝑔𝑟 cgric 47880
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2702  ax-sep 5254  ax-nul 5264  ax-pow 5323  ax-pr 5390  ax-un 7714
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2534  df-eu 2563  df-clab 2709  df-cleq 2722  df-clel 2804  df-nfc 2879  df-ne 2927  df-ral 3046  df-rex 3055  df-rab 3409  df-v 3452  df-sbc 3757  df-csb 3866  df-dif 3920  df-un 3922  df-in 3924  df-ss 3934  df-nul 4300  df-if 4492  df-pw 4568  df-sn 4593  df-pr 4595  df-op 4599  df-uni 4875  df-iun 4960  df-br 5111  df-opab 5173  df-mpt 5192  df-id 5536  df-xp 5647  df-rel 5648  df-cnv 5649  df-co 5650  df-dm 5651  df-rn 5652  df-res 5653  df-ima 5654  df-suc 6341  df-iota 6467  df-fun 6516  df-fn 6517  df-f 6518  df-f1 6519  df-fo 6520  df-f1o 6521  df-fv 6522  df-ov 7393  df-oprab 7394  df-mpo 7395  df-1st 7971  df-2nd 7972  df-1o 8437  df-map 8804  df-grim 47882  df-gric 47885
This theorem is referenced by:  gricbri  47920  gricushgr  47921  ushggricedg  47931  isubgrgrim  47933
  Copyright terms: Public domain W3C validator