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

Theorem isomgr 45275
Description: The isomorphy relation for two graphs. (Contributed by AV, 11-Nov-2022.)
Hypotheses
Ref Expression
isomgr.v 𝑉 = (Vtx‘𝐴)
isomgr.w 𝑊 = (Vtx‘𝐵)
isomgr.i 𝐼 = (iEdg‘𝐴)
isomgr.j 𝐽 = (iEdg‘𝐵)
Assertion
Ref Expression
isomgr ((𝐴𝑋𝐵𝑌) → (𝐴 IsomGr 𝐵 ↔ ∃𝑓(𝑓:𝑉1-1-onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼𝑖)) = (𝐽‘(𝑔𝑖))))))
Distinct variable groups:   𝐴,𝑓,𝑔,𝑖   𝐵,𝑓,𝑔,𝑖   𝑖,𝐼
Allowed substitution hints:   𝐼(𝑓,𝑔)   𝐽(𝑓,𝑔,𝑖)   𝑉(𝑓,𝑔,𝑖)   𝑊(𝑓,𝑔,𝑖)   𝑋(𝑓,𝑔,𝑖)   𝑌(𝑓,𝑔,𝑖)

Proof of Theorem isomgr
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqidd 2739 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → 𝑓 = 𝑓)
2 fveq2 6774 . . . . . . 7 (𝑥 = 𝐴 → (Vtx‘𝑥) = (Vtx‘𝐴))
32adantr 481 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → (Vtx‘𝑥) = (Vtx‘𝐴))
4 isomgr.v . . . . . 6 𝑉 = (Vtx‘𝐴)
53, 4eqtr4di 2796 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → (Vtx‘𝑥) = 𝑉)
6 fveq2 6774 . . . . . . 7 (𝑦 = 𝐵 → (Vtx‘𝑦) = (Vtx‘𝐵))
76adantl 482 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → (Vtx‘𝑦) = (Vtx‘𝐵))
8 isomgr.w . . . . . 6 𝑊 = (Vtx‘𝐵)
97, 8eqtr4di 2796 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → (Vtx‘𝑦) = 𝑊)
101, 5, 9f1oeq123d 6710 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑓:(Vtx‘𝑥)–1-1-onto→(Vtx‘𝑦) ↔ 𝑓:𝑉1-1-onto𝑊))
11 eqidd 2739 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → 𝑔 = 𝑔)
12 fveq2 6774 . . . . . . . . . 10 (𝑥 = 𝐴 → (iEdg‘𝑥) = (iEdg‘𝐴))
1312adantr 481 . . . . . . . . 9 ((𝑥 = 𝐴𝑦 = 𝐵) → (iEdg‘𝑥) = (iEdg‘𝐴))
14 isomgr.i . . . . . . . . 9 𝐼 = (iEdg‘𝐴)
1513, 14eqtr4di 2796 . . . . . . . 8 ((𝑥 = 𝐴𝑦 = 𝐵) → (iEdg‘𝑥) = 𝐼)
1615dmeqd 5814 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → dom (iEdg‘𝑥) = dom 𝐼)
17 fveq2 6774 . . . . . . . . . 10 (𝑦 = 𝐵 → (iEdg‘𝑦) = (iEdg‘𝐵))
1817adantl 482 . . . . . . . . 9 ((𝑥 = 𝐴𝑦 = 𝐵) → (iEdg‘𝑦) = (iEdg‘𝐵))
19 isomgr.j . . . . . . . . 9 𝐽 = (iEdg‘𝐵)
2018, 19eqtr4di 2796 . . . . . . . 8 ((𝑥 = 𝐴𝑦 = 𝐵) → (iEdg‘𝑦) = 𝐽)
2120dmeqd 5814 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → dom (iEdg‘𝑦) = dom 𝐽)
2211, 16, 21f1oeq123d 6710 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑔:dom (iEdg‘𝑥)–1-1-onto→dom (iEdg‘𝑦) ↔ 𝑔:dom 𝐼1-1-onto→dom 𝐽))
2315fveq1d 6776 . . . . . . . . 9 ((𝑥 = 𝐴𝑦 = 𝐵) → ((iEdg‘𝑥)‘𝑖) = (𝐼𝑖))
2423imaeq2d 5969 . . . . . . . 8 ((𝑥 = 𝐴𝑦 = 𝐵) → (𝑓 “ ((iEdg‘𝑥)‘𝑖)) = (𝑓 “ (𝐼𝑖)))
2520fveq1d 6776 . . . . . . . 8 ((𝑥 = 𝐴𝑦 = 𝐵) → ((iEdg‘𝑦)‘(𝑔𝑖)) = (𝐽‘(𝑔𝑖)))
2624, 25eqeq12d 2754 . . . . . . 7 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑓 “ ((iEdg‘𝑥)‘𝑖)) = ((iEdg‘𝑦)‘(𝑔𝑖)) ↔ (𝑓 “ (𝐼𝑖)) = (𝐽‘(𝑔𝑖))))
2716, 26raleqbidv 3336 . . . . . 6 ((𝑥 = 𝐴𝑦 = 𝐵) → (∀𝑖 ∈ dom (iEdg‘𝑥)(𝑓 “ ((iEdg‘𝑥)‘𝑖)) = ((iEdg‘𝑦)‘(𝑔𝑖)) ↔ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼𝑖)) = (𝐽‘(𝑔𝑖))))
2822, 27anbi12d 631 . . . . 5 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑔:dom (iEdg‘𝑥)–1-1-onto→dom (iEdg‘𝑦) ∧ ∀𝑖 ∈ dom (iEdg‘𝑥)(𝑓 “ ((iEdg‘𝑥)‘𝑖)) = ((iEdg‘𝑦)‘(𝑔𝑖))) ↔ (𝑔:dom 𝐼1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼𝑖)) = (𝐽‘(𝑔𝑖)))))
2928exbidv 1924 . . . 4 ((𝑥 = 𝐴𝑦 = 𝐵) → (∃𝑔(𝑔:dom (iEdg‘𝑥)–1-1-onto→dom (iEdg‘𝑦) ∧ ∀𝑖 ∈ dom (iEdg‘𝑥)(𝑓 “ ((iEdg‘𝑥)‘𝑖)) = ((iEdg‘𝑦)‘(𝑔𝑖))) ↔ ∃𝑔(𝑔:dom 𝐼1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼𝑖)) = (𝐽‘(𝑔𝑖)))))
3010, 29anbi12d 631 . . 3 ((𝑥 = 𝐴𝑦 = 𝐵) → ((𝑓:(Vtx‘𝑥)–1-1-onto→(Vtx‘𝑦) ∧ ∃𝑔(𝑔:dom (iEdg‘𝑥)–1-1-onto→dom (iEdg‘𝑦) ∧ ∀𝑖 ∈ dom (iEdg‘𝑥)(𝑓 “ ((iEdg‘𝑥)‘𝑖)) = ((iEdg‘𝑦)‘(𝑔𝑖)))) ↔ (𝑓:𝑉1-1-onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼𝑖)) = (𝐽‘(𝑔𝑖))))))
3130exbidv 1924 . 2 ((𝑥 = 𝐴𝑦 = 𝐵) → (∃𝑓(𝑓:(Vtx‘𝑥)–1-1-onto→(Vtx‘𝑦) ∧ ∃𝑔(𝑔:dom (iEdg‘𝑥)–1-1-onto→dom (iEdg‘𝑦) ∧ ∀𝑖 ∈ dom (iEdg‘𝑥)(𝑓 “ ((iEdg‘𝑥)‘𝑖)) = ((iEdg‘𝑦)‘(𝑔𝑖)))) ↔ ∃𝑓(𝑓:𝑉1-1-onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼𝑖)) = (𝐽‘(𝑔𝑖))))))
32 df-isomgr 45273 . 2 IsomGr = {⟨𝑥, 𝑦⟩ ∣ ∃𝑓(𝑓:(Vtx‘𝑥)–1-1-onto→(Vtx‘𝑦) ∧ ∃𝑔(𝑔:dom (iEdg‘𝑥)–1-1-onto→dom (iEdg‘𝑦) ∧ ∀𝑖 ∈ dom (iEdg‘𝑥)(𝑓 “ ((iEdg‘𝑥)‘𝑖)) = ((iEdg‘𝑦)‘(𝑔𝑖))))}
3331, 32brabga 5447 1 ((𝐴𝑋𝐵𝑌) → (𝐴 IsomGr 𝐵 ↔ ∃𝑓(𝑓:𝑉1-1-onto𝑊 ∧ ∃𝑔(𝑔:dom 𝐼1-1-onto→dom 𝐽 ∧ ∀𝑖 ∈ dom 𝐼(𝑓 “ (𝐼𝑖)) = (𝐽‘(𝑔𝑖))))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wex 1782  wcel 2106  wral 3064   class class class wbr 5074  dom cdm 5589  cima 5592  1-1-ontowf1o 6432  cfv 6433  Vtxcvtx 27366  iEdgciedg 27367   IsomGr cisomgr 45271
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ral 3069  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-isomgr 45273
This theorem is referenced by:  isisomgr  45276  isomgreqve  45277  isomushgr  45278  isomgrsym  45288  isomgrtr  45291  ushrisomgr  45293
  Copyright terms: Public domain W3C validator