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 49013
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 49010 . . 3 (𝐴 ≃𝑔𝑟 𝐵 ↔ (𝐴 GraphIso 𝐵) ≠ ∅)
2 n0 4299 . . 3 ((𝐴 GraphIso 𝐵) ≠ ∅ ↔ ∃𝑓 𝑓 ∈ (𝐴 GraphIso 𝐵))
31, 2bitri 278 . 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 48980 . . . . 5 ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌 ∧ 𝑓 ∈ V) → (𝑓 ∈ (𝐴 GraphIso 𝐵) ↔ (𝑓:𝑉–1-1-onto→𝑊 ∧ ∃𝑔(𝑔:dom 𝐼–1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝐽‘(𝑔‘𝑖)) = (𝑓 “ (𝐼‘𝑖))))))
10 eqcom 2767 . . . . . . . . 9 ((𝐽‘(𝑔‘𝑖)) = (𝑓 “ (𝐼‘𝑖)) ↔ (𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖)))
1110ralbii 3108 . . . . . . . 8 (∀𝑖 ∈ dom 𝐼(𝐽‘(𝑔‘𝑖)) = (𝑓 “ (𝐼‘𝑖)) ↔ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖)))
1211anbi2i 635 . . . . . . 7 ((𝑔:dom 𝐼–1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝐽‘(𝑔‘𝑖)) = (𝑓 “ (𝐼‘𝑖))) ↔ (𝑔:dom 𝐼–1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖))))
1312exbii 1880 . . . . . 6 (∃𝑔(𝑔:dom 𝐼–1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝐽‘(𝑔‘𝑖)) = (𝑓 “ (𝐼‘𝑖))) ↔ ∃𝑔(𝑔:dom 𝐼–1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖))))
1413anbi2i 635 . . . . 5 ((𝑓:𝑉–1-1-onto→𝑊 ∧ ∃𝑔(𝑔:dom 𝐼–1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝐽‘(𝑔‘𝑖)) = (𝑓 “ (𝐼‘𝑖)))) ↔ (𝑓:𝑉–1-1-onto→𝑊 ∧ ∃𝑔(𝑔:dom 𝐼–1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖)))))
159, 14bitrdi 290 . . . 4 ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌 ∧ 𝑓 ∈ V) → (𝑓 ∈ (𝐴 GraphIso 𝐵) ↔ (𝑓:𝑉–1-1-onto→𝑊 ∧ ∃𝑔(𝑔:dom 𝐼–1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖))))))
164, 15mp3an3 1479 . . 3 ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → (𝑓 ∈ (𝐴 GraphIso 𝐵) ↔ (𝑓:𝑉–1-1-onto→𝑊 ∧ ∃𝑔(𝑔:dom 𝐼–1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖))))))
1716exbidv 1953 . 2 ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → (∃𝑓 𝑓 ∈ (𝐴 GraphIso 𝐵) ↔ ∃𝑓(𝑓:𝑉–1-1-onto→𝑊 ∧ ∃𝑔(𝑔:dom 𝐼–1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖))))))
183, 17bitrid 286 1 ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → (𝐴 ≃𝑔𝑟 𝐵 ↔ ∃𝑓(𝑓:𝑉–1-1-onto→𝑊 ∧ ∃𝑔(𝑔:dom 𝐼–1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖))))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1569  ∃wex 1811   ∈ wcel 2144   ≠ wne 2955  ∀wral 3076  Vcvv 3450  ∅c0 4278   class class class wbr 5102  dom cdm 5650   “ cima 5653  –1-1-onto→wf1o 6537  ‘cfv 6538  (class class class)co 7420  Vtxcvtx 29574  iEdgciedg 29575   GraphIso cgrim 48973   ≃𝑔𝑟 cgric 48974
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 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751
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 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-1st 8001  df-2nd 8002  df-1o 8476  df-map 8849  df-grim 48976  df-gric 48979
This theorem is used by:  gricbri  49014  gricushgr  49015  ushggricedg  49025  isubgrgrim  49027
  Copyright terms: Public domain W3C validator