MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  umgr3v3e3cycl Structured version   Visualization version   GIF version

Theorem umgr3v3e3cycl 27604
Description: If and only if there is a 3-cycle in a multigraph, there are three (different) vertices in the graph which are mutually connected by edges. (Contributed by Alexander van der Vekens, 14-Nov-2017.) (Revised by AV, 12-Feb-2021.)
Hypotheses
Ref Expression
uhgr3cyclex.v 𝑉 = (Vtx‘𝐺)
uhgr3cyclex.e 𝐸 = (Edg‘𝐺)
Assertion
Ref Expression
umgr3v3e3cycl (𝐺 ∈ UMGraph → (∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3) ↔ ∃𝑎𝑉𝑏𝑉𝑐𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸)))
Distinct variable groups:   𝑓,𝑝,𝐺   𝐸,𝑎,𝑏,𝑐,𝑓,𝑝   𝐺,𝑎,𝑏,𝑐   𝑉,𝑎,𝑏,𝑐,𝑓,𝑝

Proof of Theorem umgr3v3e3cycl
StepHypRef Expression
1 umgrupgr 26468 . . . . . 6 (𝐺 ∈ UMGraph → 𝐺 ∈ UPGraph)
21adantr 474 . . . . 5 ((𝐺 ∈ UMGraph ∧ (𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3)) → 𝐺 ∈ UPGraph)
3 simpl 476 . . . . . 6 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3) → 𝑓(Cycles‘𝐺)𝑝)
43adantl 475 . . . . 5 ((𝐺 ∈ UMGraph ∧ (𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3)) → 𝑓(Cycles‘𝐺)𝑝)
5 simpr 479 . . . . . 6 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3) → (♯‘𝑓) = 3)
65adantl 475 . . . . 5 ((𝐺 ∈ UMGraph ∧ (𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3)) → (♯‘𝑓) = 3)
7 uhgr3cyclex.e . . . . . . 7 𝐸 = (Edg‘𝐺)
8 uhgr3cyclex.v . . . . . . 7 𝑉 = (Vtx‘𝐺)
97, 8upgr3v3e3cycl 27600 . . . . . 6 ((𝐺 ∈ UPGraph ∧ 𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3) → ∃𝑎𝑉𝑏𝑉𝑐𝑉 (({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸) ∧ (𝑎𝑏𝑏𝑐𝑐𝑎)))
10 simpl 476 . . . . . . . . 9 ((({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸) ∧ (𝑎𝑏𝑏𝑐𝑐𝑎)) → ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸))
1110reximi 3192 . . . . . . . 8 (∃𝑐𝑉 (({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸) ∧ (𝑎𝑏𝑏𝑐𝑐𝑎)) → ∃𝑐𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸))
1211reximi 3192 . . . . . . 7 (∃𝑏𝑉𝑐𝑉 (({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸) ∧ (𝑎𝑏𝑏𝑐𝑐𝑎)) → ∃𝑏𝑉𝑐𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸))
1312reximi 3192 . . . . . 6 (∃𝑎𝑉𝑏𝑉𝑐𝑉 (({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸) ∧ (𝑎𝑏𝑏𝑐𝑐𝑎)) → ∃𝑎𝑉𝑏𝑉𝑐𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸))
149, 13syl 17 . . . . 5 ((𝐺 ∈ UPGraph ∧ 𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3) → ∃𝑎𝑉𝑏𝑉𝑐𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸))
152, 4, 6, 14syl3anc 1439 . . . 4 ((𝐺 ∈ UMGraph ∧ (𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3)) → ∃𝑎𝑉𝑏𝑉𝑐𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸))
1615ex 403 . . 3 (𝐺 ∈ UMGraph → ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3) → ∃𝑎𝑉𝑏𝑉𝑐𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸)))
1716exlimdvv 1977 . 2 (𝐺 ∈ UMGraph → (∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3) → ∃𝑎𝑉𝑏𝑉𝑐𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸)))
18 simplll 765 . . . . 5 ((((𝐺 ∈ UMGraph ∧ (𝑎𝑉𝑏𝑉)) ∧ 𝑐𝑉) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸)) → 𝐺 ∈ UMGraph)
19 df-3an 1073 . . . . . . 7 ((𝑎𝑉𝑏𝑉𝑐𝑉) ↔ ((𝑎𝑉𝑏𝑉) ∧ 𝑐𝑉))
2019biimpri 220 . . . . . 6 (((𝑎𝑉𝑏𝑉) ∧ 𝑐𝑉) → (𝑎𝑉𝑏𝑉𝑐𝑉))
2120ad4ant23 743 . . . . 5 ((((𝐺 ∈ UMGraph ∧ (𝑎𝑉𝑏𝑉)) ∧ 𝑐𝑉) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸)) → (𝑎𝑉𝑏𝑉𝑐𝑉))
22 simpr 479 . . . . 5 ((((𝐺 ∈ UMGraph ∧ (𝑎𝑉𝑏𝑉)) ∧ 𝑐𝑉) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸)) → ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸))
238, 7umgr3cyclex 27603 . . . . . 6 ((𝐺 ∈ UMGraph ∧ (𝑎𝑉𝑏𝑉𝑐𝑉) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸)) → ∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3 ∧ (𝑝‘0) = 𝑎))
24 3simpa 1139 . . . . . . 7 ((𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3 ∧ (𝑝‘0) = 𝑎) → (𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3))
25242eximi 1879 . . . . . 6 (∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3 ∧ (𝑝‘0) = 𝑎) → ∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3))
2623, 25syl 17 . . . . 5 ((𝐺 ∈ UMGraph ∧ (𝑎𝑉𝑏𝑉𝑐𝑉) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸)) → ∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3))
2718, 21, 22, 26syl3anc 1439 . . . 4 ((((𝐺 ∈ UMGraph ∧ (𝑎𝑉𝑏𝑉)) ∧ 𝑐𝑉) ∧ ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸)) → ∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3))
2827rexlimdva2 3216 . . 3 ((𝐺 ∈ UMGraph ∧ (𝑎𝑉𝑏𝑉)) → (∃𝑐𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸) → ∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3)))
2928rexlimdvva 3221 . 2 (𝐺 ∈ UMGraph → (∃𝑎𝑉𝑏𝑉𝑐𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸) → ∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3)))
3017, 29impbid 204 1 (𝐺 ∈ UMGraph → (∃𝑓𝑝(𝑓(Cycles‘𝐺)𝑝 ∧ (♯‘𝑓) = 3) ↔ ∃𝑎𝑉𝑏𝑉𝑐𝑉 ({𝑎, 𝑏} ∈ 𝐸 ∧ {𝑏, 𝑐} ∈ 𝐸 ∧ {𝑐, 𝑎} ∈ 𝐸)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 198  wa 386  w3a 1071   = wceq 1601  wex 1823  wcel 2107  wne 2969  wrex 3091  {cpr 4400   class class class wbr 4888  cfv 6137  0cc0 10274  3c3 11436  chash 13441  Vtxcvtx 26361  Edgcedg 26412  UPGraphcupgr 26445  UMGraphcumgr 26446  Cyclesccycls 27154
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1839  ax-4 1853  ax-5 1953  ax-6 2021  ax-7 2055  ax-8 2109  ax-9 2116  ax-10 2135  ax-11 2150  ax-12 2163  ax-13 2334  ax-ext 2754  ax-rep 5008  ax-sep 5019  ax-nul 5027  ax-pow 5079  ax-pr 5140  ax-un 7228  ax-cnex 10330  ax-resscn 10331  ax-1cn 10332  ax-icn 10333  ax-addcl 10334  ax-addrcl 10335  ax-mulcl 10336  ax-mulrcl 10337  ax-mulcom 10338  ax-addass 10339  ax-mulass 10340  ax-distr 10341  ax-i2m1 10342  ax-1ne0 10343  ax-1rid 10344  ax-rnegex 10345  ax-rrecex 10346  ax-cnre 10347  ax-pre-lttri 10348  ax-pre-lttrn 10349  ax-pre-ltadd 10350  ax-pre-mulgt0 10351
This theorem depends on definitions:  df-bi 199  df-an 387  df-or 837  df-ifp 1047  df-3or 1072  df-3an 1073  df-tru 1605  df-ex 1824  df-nf 1828  df-sb 2012  df-mo 2551  df-eu 2587  df-clab 2764  df-cleq 2770  df-clel 2774  df-nfc 2921  df-ne 2970  df-nel 3076  df-ral 3095  df-rex 3096  df-reu 3097  df-rmo 3098  df-rab 3099  df-v 3400  df-sbc 3653  df-csb 3752  df-dif 3795  df-un 3797  df-in 3799  df-ss 3806  df-pss 3808  df-nul 4142  df-if 4308  df-pw 4381  df-sn 4399  df-pr 4401  df-tp 4403  df-op 4405  df-uni 4674  df-int 4713  df-iun 4757  df-br 4889  df-opab 4951  df-mpt 4968  df-tr 4990  df-id 5263  df-eprel 5268  df-po 5276  df-so 5277  df-fr 5316  df-we 5318  df-xp 5363  df-rel 5364  df-cnv 5365  df-co 5366  df-dm 5367  df-rn 5368  df-res 5369  df-ima 5370  df-pred 5935  df-ord 5981  df-on 5982  df-lim 5983  df-suc 5984  df-iota 6101  df-fun 6139  df-fn 6140  df-f 6141  df-f1 6142  df-fo 6143  df-f1o 6144  df-fv 6145  df-riota 6885  df-ov 6927  df-oprab 6928  df-mpt2 6929  df-om 7346  df-1st 7447  df-2nd 7448  df-wrecs 7691  df-recs 7753  df-rdg 7791  df-1o 7845  df-2o 7846  df-oadd 7849  df-er 8028  df-map 8144  df-pm 8145  df-en 8244  df-dom 8245  df-sdom 8246  df-fin 8247  df-card 9100  df-cda 9327  df-pnf 10415  df-mnf 10416  df-xr 10417  df-ltxr 10418  df-le 10419  df-sub 10610  df-neg 10611  df-nn 11380  df-2 11443  df-3 11444  df-4 11445  df-n0 11648  df-xnn0 11720  df-z 11734  df-uz 11998  df-fz 12649  df-fzo 12790  df-hash 13442  df-word 13606  df-concat 13667  df-s1 13692  df-s2 14005  df-s3 14006  df-s4 14007  df-edg 26413  df-uhgr 26423  df-upgr 26447  df-umgr 26448  df-wlks 26964  df-trls 27060  df-pths 27085  df-cycls 27156
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator