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 49216
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 49213 . . 3 (𝐴 ≃𝑔𝑟 𝐵 ↔ (𝐴 GraphIso 𝐵) ≠ ∅)
2 n0 4303 . . 3 ((𝐴 GraphIso 𝐵) ≠ ∅ ↔ ∃𝑓 𝑓 ∈ (𝐴 GraphIso 𝐵))
31, 2bitri 278 . 2 (𝐴 ≃𝑔𝑟 𝐵 ↔ ∃𝑓 𝑓 ∈ (𝐴 GraphIso 𝐵))
4 vex 3458 . . . 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 49183 . . . . 5 ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌 ∧ 𝑓 ∈ V) → (𝑓 ∈ (𝐴 GraphIso 𝐵) ↔ (𝑓:𝑉⟶1-1onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼⟶1-1ontodom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝐽‘(𝑔‘𝑖)) = (𝑓 “ (𝐼‘𝑖))))))
10 eqcom 2770 . . . . . . . . 9 ((𝐽‘(𝑔‘𝑖)) = (𝑓 “ (𝐼‘𝑖)) ↔ (𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖)))
1110ralbii 3112 . . . . . . . 8 (∀𝑖 ∈ dom 𝐼(𝐽‘(𝑔‘𝑖)) = (𝑓 “ (𝐼‘𝑖)) ↔ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖)))
1211anbi2i 635 . . . . . . 7 ((𝑔:dom 𝐼⟶1-1ontodom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝐽‘(𝑔‘𝑖)) = (𝑓 “ (𝐼‘𝑖))) ↔ (𝑔:dom 𝐼⟶1-1ontodom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖))))
1312exbii 1881 . . . . . 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 1480 . . 3 ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → (𝑓 ∈ (𝐴 GraphIso 𝐵) ↔ (𝑓:𝑉⟶1-1onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼⟶1-1ontodom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼‘𝑖)) = (𝐽‘(𝑔‘𝑖))))))
1716exbidv 1956 . 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 1103   = wceq 1570  ∃wex 1812   ∈ wcel 2147   ≠ wne 2959  ∀wral 3080  Vcvv 3454  ∅c0 4281   class class class wbr 5106  dom cdm 5655   “ cima 5658  ⟶1-1ontowf1o 6554  ‘cfv 6555  (class class class)co 7440  Vtxcvtx 29601  iEdgciedg 29602   GraphIso cgrim 49176   ≃𝑔𝑟 cgric 49177
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7772
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-suc 6383  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562  df-fv 6563  df-ov 7443  df-oprab 7444  df-mpo 7445  df-1st 8022  df-2nd 8023  df-1o 8501  df-map 8874  df-grim 49179  df-gric 49182
This theorem is used by:  gricbri  49217  gricushgr  49218  ushggricedg  49228  isubgrgrim  49230
  Copyright terms: Public domain W3C validator