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 49346
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-1onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼⟶1-1ontodom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖))))))
Distinct variable groups:   𝐴,𝑓,𝑔,𝑖   𝐵,𝑓,𝑔,𝑖   𝑖,𝐼   𝑓,𝑋   𝑓,𝑌
Allowed substitution hints:   𝐼(𝑓, 𝑔)   𝐽(𝑓, 𝑔, 𝑖)   𝑉(𝑓, 𝑔, 𝑖)   𝑊(𝑓, 𝑔, 𝑖)   𝑋(𝑔, 𝑖)   𝑌(𝑔, 𝑖)

Proof of Theorem dfgric2
StepHypRef Expression
1 brgric 49343 . . 3 (𝐴 ≃𝑔𝑟 𝐵 ↔ (𝐴 GraphIso 𝐵) ≠ ∅)
2 n0 4302 . . 3 ((𝐴 GraphIso 𝐵) ≠ ∅ ↔ ∃𝑓 𝑓 ∈ (𝐴 GraphIso 𝐵))
31, 2bitri 278 . 2 (𝐴 ≃𝑔𝑟 𝐵 ↔ ∃𝑓 𝑓 ∈ (𝐴 GraphIso 𝐵))
4 vex 3457 . . . 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 49313 . . . . 5 ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌 ∧ 𝑓 ∈ V) → (𝑓 ∈ (𝐴 GraphIso 𝐵) ↔ (𝑓:𝑉⟶1-1onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼⟶1-1ontodom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝐽‘(𝑔‘𝑖)) = (𝑓 “ (𝐼‘𝑖))))))
10 eqcom 2773 . . . . . . . . 9 ((𝐽‘(𝑔‘𝑖)) = (𝑓 “ (𝐼‘𝑖)) ↔ (𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖)))
1110ralbii 3115 . . . . . . . 8 (∀𝑖 ∈ dom 𝐼(𝐽‘(𝑔‘𝑖)) = (𝑓 “ (𝐼‘𝑖)) ↔ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖)))
1211anbi2i 635 . . . . . . 7 ((𝑔:dom 𝐼⟶1-1ontodom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝐽‘(𝑔‘𝑖)) = (𝑓 “ (𝐼‘𝑖))) ↔ (𝑔:dom 𝐼⟶1-1ontodom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖))))
1312exbii 1883 . . . . . 6 (∃𝑔(𝑔:dom 𝐼⟶1-1ontodom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝐽‘(𝑔‘𝑖)) = (𝑓 “ (𝐼‘𝑖))) ↔ ∃𝑔(𝑔:dom 𝐼⟶1-1ontodom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖))))
1413anbi2i 635 . . . . 5 ((𝑓:𝑉⟶1-1onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼⟶1-1ontodom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝐽‘(𝑔‘𝑖)) = (𝑓 “ (𝐼‘𝑖)))) ↔ (𝑓:𝑉⟶1-1onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼⟶1-1ontodom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖)))))
159, 14bitrdi 290 . . . 4 ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌 ∧ 𝑓 ∈ V) → (𝑓 ∈ (𝐴 GraphIso 𝐵) ↔ (𝑓:𝑉⟶1-1onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼⟶1-1ontodom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖))))))
164, 15mp3an3 1482 . . 3 ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → (𝑓 ∈ (𝐴 GraphIso 𝐵) ↔ (𝑓:𝑉⟶1-1onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼⟶1-1ontodom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖))))))
1716exbidv 1958 . 2 ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → (∃𝑓 𝑓 ∈ (𝐴 GraphIso 𝐵) ↔ ∃𝑓(𝑓:𝑉⟶1-1onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼⟶1-1ontodom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖))))))
183, 17bitrid 286 1 ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → (𝐴 ≃𝑔𝑟 𝐵 ↔ ∃𝑓(𝑓:𝑉⟶1-1onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼⟶1-1ontodom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖))))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1104   = wceq 1572  ∃wex 1814   ∈ wcel 2150   ≠ wne 2962  ∀wral 3083  Vcvv 3453  ∅c0 4280   class class class wbr 5107  dom cdm 5657   “ cima 5660  ⟶1-1ontowf1o 6564  ‘cfv 6565  (class class class)co 7450  Vtxcvtx 29633  iEdgciedg 29634   GraphIso cgrim 49306   ≃𝑔𝑟 cgric 49307
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7782
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-id 5552  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-suc 6393  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573  df-ov 7453  df-oprab 7454  df-mpo 7455  df-1st 8034  df-2nd 8035  df-1o 8513  df-map 8886  df-grim 49309  df-gric 49312
This theorem is used by:  gricbri  49347  gricushgr  49348  ushggricedg  49358  isubgrgrim  49360
  Copyright terms: Public domain W3C validator