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

Theorem conngrv2edg 30161
Description: A vertex in a connected graph with more than one vertex is incident with at least one edge. Formerly part of proof for vdgn0frgrv2 30261. (Contributed by Alexander van der Vekens, 9-Dec-2017.) (Revised by AV, 4-Apr-2021.)
Hypotheses
Ref Expression
conngrv2edg.v 𝑉 = (Vtx‘𝐺)
conngrv2edg.i 𝐼 = (iEdg‘𝐺)
Assertion
Ref Expression
conngrv2edg ((𝐺 ∈ ConnGraph ∧ 𝑁𝑉 ∧ 1 < (♯‘𝑉)) → ∃𝑒 ∈ ran 𝐼 𝑁𝑒)
Distinct variable groups:   𝑒,𝐺   𝑒,𝐼   𝑒,𝑁
Allowed substitution hint:   𝑉(𝑒)

Proof of Theorem conngrv2edg
Dummy variables 𝑎 𝑏 𝑓 𝑝 𝑣 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 conngrv2edg.v . . . 4 𝑉 = (Vtx‘𝐺)
21fvexi 6901 . . 3 𝑉 ∈ V
3 simp3 1138 . . 3 ((𝐺 ∈ ConnGraph ∧ 𝑁𝑉 ∧ 1 < (♯‘𝑉)) → 1 < (♯‘𝑉))
4 simp2 1137 . . 3 ((𝐺 ∈ ConnGraph ∧ 𝑁𝑉 ∧ 1 < (♯‘𝑉)) → 𝑁𝑉)
5 hashgt12el2 14445 . . 3 ((𝑉 ∈ V ∧ 1 < (♯‘𝑉) ∧ 𝑁𝑉) → ∃𝑣𝑉 𝑁𝑣)
62, 3, 4, 5mp3an2i 1467 . 2 ((𝐺 ∈ ConnGraph ∧ 𝑁𝑉 ∧ 1 < (♯‘𝑉)) → ∃𝑣𝑉 𝑁𝑣)
71isconngr 30155 . . . . . . . 8 (𝐺 ∈ ConnGraph → (𝐺 ∈ ConnGraph ↔ ∀𝑎𝑉𝑏𝑉𝑓𝑝 𝑓(𝑎(PathsOn‘𝐺)𝑏)𝑝))
8 oveq1 7421 . . . . . . . . . . . . 13 (𝑎 = 𝑁 → (𝑎(PathsOn‘𝐺)𝑏) = (𝑁(PathsOn‘𝐺)𝑏))
98breqd 5136 . . . . . . . . . . . 12 (𝑎 = 𝑁 → (𝑓(𝑎(PathsOn‘𝐺)𝑏)𝑝𝑓(𝑁(PathsOn‘𝐺)𝑏)𝑝))
1092exbidv 1923 . . . . . . . . . . 11 (𝑎 = 𝑁 → (∃𝑓𝑝 𝑓(𝑎(PathsOn‘𝐺)𝑏)𝑝 ↔ ∃𝑓𝑝 𝑓(𝑁(PathsOn‘𝐺)𝑏)𝑝))
11 oveq2 7422 . . . . . . . . . . . . 13 (𝑏 = 𝑣 → (𝑁(PathsOn‘𝐺)𝑏) = (𝑁(PathsOn‘𝐺)𝑣))
1211breqd 5136 . . . . . . . . . . . 12 (𝑏 = 𝑣 → (𝑓(𝑁(PathsOn‘𝐺)𝑏)𝑝𝑓(𝑁(PathsOn‘𝐺)𝑣)𝑝))
13122exbidv 1923 . . . . . . . . . . 11 (𝑏 = 𝑣 → (∃𝑓𝑝 𝑓(𝑁(PathsOn‘𝐺)𝑏)𝑝 ↔ ∃𝑓𝑝 𝑓(𝑁(PathsOn‘𝐺)𝑣)𝑝))
1410, 13rspc2v 3617 . . . . . . . . . 10 ((𝑁𝑉𝑣𝑉) → (∀𝑎𝑉𝑏𝑉𝑓𝑝 𝑓(𝑎(PathsOn‘𝐺)𝑏)𝑝 → ∃𝑓𝑝 𝑓(𝑁(PathsOn‘𝐺)𝑣)𝑝))
1514ad2ant2r 747 . . . . . . . . 9 (((𝑁𝑉 ∧ 1 < (♯‘𝑉)) ∧ (𝑣𝑉𝑁𝑣)) → (∀𝑎𝑉𝑏𝑉𝑓𝑝 𝑓(𝑎(PathsOn‘𝐺)𝑏)𝑝 → ∃𝑓𝑝 𝑓(𝑁(PathsOn‘𝐺)𝑣)𝑝))
16 pthontrlon 29714 . . . . . . . . . . . 12 (𝑓(𝑁(PathsOn‘𝐺)𝑣)𝑝𝑓(𝑁(TrailsOn‘𝐺)𝑣)𝑝)
17 trlsonwlkon 29675 . . . . . . . . . . . 12 (𝑓(𝑁(TrailsOn‘𝐺)𝑣)𝑝𝑓(𝑁(WalksOn‘𝐺)𝑣)𝑝)
18 simpl 482 . . . . . . . . . . . . . 14 ((𝑓(𝑁(WalksOn‘𝐺)𝑣)𝑝 ∧ ((𝑁𝑉 ∧ 1 < (♯‘𝑉)) ∧ (𝑣𝑉𝑁𝑣))) → 𝑓(𝑁(WalksOn‘𝐺)𝑣)𝑝)
19 simprr 772 . . . . . . . . . . . . . . 15 (((𝑁𝑉 ∧ 1 < (♯‘𝑉)) ∧ (𝑣𝑉𝑁𝑣)) → 𝑁𝑣)
20 wlkon2n0 29631 . . . . . . . . . . . . . . 15 ((𝑓(𝑁(WalksOn‘𝐺)𝑣)𝑝𝑁𝑣) → (♯‘𝑓) ≠ 0)
2119, 20sylan2 593 . . . . . . . . . . . . . 14 ((𝑓(𝑁(WalksOn‘𝐺)𝑣)𝑝 ∧ ((𝑁𝑉 ∧ 1 < (♯‘𝑉)) ∧ (𝑣𝑉𝑁𝑣))) → (♯‘𝑓) ≠ 0)
2218, 21jca 511 . . . . . . . . . . . . 13 ((𝑓(𝑁(WalksOn‘𝐺)𝑣)𝑝 ∧ ((𝑁𝑉 ∧ 1 < (♯‘𝑉)) ∧ (𝑣𝑉𝑁𝑣))) → (𝑓(𝑁(WalksOn‘𝐺)𝑣)𝑝 ∧ (♯‘𝑓) ≠ 0))
2322ex 412 . . . . . . . . . . . 12 (𝑓(𝑁(WalksOn‘𝐺)𝑣)𝑝 → (((𝑁𝑉 ∧ 1 < (♯‘𝑉)) ∧ (𝑣𝑉𝑁𝑣)) → (𝑓(𝑁(WalksOn‘𝐺)𝑣)𝑝 ∧ (♯‘𝑓) ≠ 0)))
2416, 17, 233syl 18 . . . . . . . . . . 11 (𝑓(𝑁(PathsOn‘𝐺)𝑣)𝑝 → (((𝑁𝑉 ∧ 1 < (♯‘𝑉)) ∧ (𝑣𝑉𝑁𝑣)) → (𝑓(𝑁(WalksOn‘𝐺)𝑣)𝑝 ∧ (♯‘𝑓) ≠ 0)))
25 conngrv2edg.i . . . . . . . . . . . 12 𝐼 = (iEdg‘𝐺)
2625wlkonl1iedg 29630 . . . . . . . . . . 11 ((𝑓(𝑁(WalksOn‘𝐺)𝑣)𝑝 ∧ (♯‘𝑓) ≠ 0) → ∃𝑒 ∈ ran 𝐼 𝑁𝑒)
2724, 26syl6com 37 . . . . . . . . . 10 (((𝑁𝑉 ∧ 1 < (♯‘𝑉)) ∧ (𝑣𝑉𝑁𝑣)) → (𝑓(𝑁(PathsOn‘𝐺)𝑣)𝑝 → ∃𝑒 ∈ ran 𝐼 𝑁𝑒))
2827exlimdvv 1933 . . . . . . . . 9 (((𝑁𝑉 ∧ 1 < (♯‘𝑉)) ∧ (𝑣𝑉𝑁𝑣)) → (∃𝑓𝑝 𝑓(𝑁(PathsOn‘𝐺)𝑣)𝑝 → ∃𝑒 ∈ ran 𝐼 𝑁𝑒))
2915, 28syldc 48 . . . . . . . 8 (∀𝑎𝑉𝑏𝑉𝑓𝑝 𝑓(𝑎(PathsOn‘𝐺)𝑏)𝑝 → (((𝑁𝑉 ∧ 1 < (♯‘𝑉)) ∧ (𝑣𝑉𝑁𝑣)) → ∃𝑒 ∈ ran 𝐼 𝑁𝑒))
307, 29biimtrdi 253 . . . . . . 7 (𝐺 ∈ ConnGraph → (𝐺 ∈ ConnGraph → (((𝑁𝑉 ∧ 1 < (♯‘𝑉)) ∧ (𝑣𝑉𝑁𝑣)) → ∃𝑒 ∈ ran 𝐼 𝑁𝑒)))
3130pm2.43i 52 . . . . . 6 (𝐺 ∈ ConnGraph → (((𝑁𝑉 ∧ 1 < (♯‘𝑉)) ∧ (𝑣𝑉𝑁𝑣)) → ∃𝑒 ∈ ran 𝐼 𝑁𝑒))
3231expd 415 . . . . 5 (𝐺 ∈ ConnGraph → ((𝑁𝑉 ∧ 1 < (♯‘𝑉)) → ((𝑣𝑉𝑁𝑣) → ∃𝑒 ∈ ran 𝐼 𝑁𝑒)))
33323impib 1116 . . . 4 ((𝐺 ∈ ConnGraph ∧ 𝑁𝑉 ∧ 1 < (♯‘𝑉)) → ((𝑣𝑉𝑁𝑣) → ∃𝑒 ∈ ran 𝐼 𝑁𝑒))
3433expd 415 . . 3 ((𝐺 ∈ ConnGraph ∧ 𝑁𝑉 ∧ 1 < (♯‘𝑉)) → (𝑣𝑉 → (𝑁𝑣 → ∃𝑒 ∈ ran 𝐼 𝑁𝑒)))
3534rexlimdv 3140 . 2 ((𝐺 ∈ ConnGraph ∧ 𝑁𝑉 ∧ 1 < (♯‘𝑉)) → (∃𝑣𝑉 𝑁𝑣 → ∃𝑒 ∈ ran 𝐼 𝑁𝑒))
366, 35mpd 15 1 ((𝐺 ∈ ConnGraph ∧ 𝑁𝑉 ∧ 1 < (♯‘𝑉)) → ∃𝑒 ∈ ran 𝐼 𝑁𝑒)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  w3a 1086   = wceq 1539  wex 1778  wcel 2107  wne 2931  wral 3050  wrex 3059  Vcvv 3464   class class class wbr 5125  ran crn 5668  cfv 6542  (class class class)co 7414  0cc0 11138  1c1 11139   < clt 11278  chash 14352  Vtxcvtx 28960  iEdgciedg 28961  WalksOncwlkson 29562  TrailsOnctrlson 29656  PathsOncpthson 29679  ConnGraphcconngr 30152
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1794  ax-4 1808  ax-5 1909  ax-6 1966  ax-7 2006  ax-8 2109  ax-9 2117  ax-10 2140  ax-11 2156  ax-12 2176  ax-ext 2706  ax-rep 5261  ax-sep 5278  ax-nul 5288  ax-pow 5347  ax-pr 5414  ax-un 7738  ax-cnex 11194  ax-resscn 11195  ax-1cn 11196  ax-icn 11197  ax-addcl 11198  ax-addrcl 11199  ax-mulcl 11200  ax-mulrcl 11201  ax-mulcom 11202  ax-addass 11203  ax-mulass 11204  ax-distr 11205  ax-i2m1 11206  ax-1ne0 11207  ax-1rid 11208  ax-rnegex 11209  ax-rrecex 11210  ax-cnre 11211  ax-pre-lttri 11212  ax-pre-lttrn 11213  ax-pre-ltadd 11214  ax-pre-mulgt0 11215
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-ifp 1063  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1779  df-nf 1783  df-sb 2064  df-mo 2538  df-eu 2567  df-clab 2713  df-cleq 2726  df-clel 2808  df-nfc 2884  df-ne 2932  df-nel 3036  df-ral 3051  df-rex 3060  df-reu 3365  df-rab 3421  df-v 3466  df-sbc 3773  df-csb 3882  df-dif 3936  df-un 3938  df-in 3940  df-ss 3950  df-pss 3953  df-nul 4316  df-if 4508  df-pw 4584  df-sn 4609  df-pr 4611  df-op 4615  df-uni 4890  df-int 4929  df-iun 4975  df-br 5126  df-opab 5188  df-mpt 5208  df-tr 5242  df-id 5560  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  df-xp 5673  df-rel 5674  df-cnv 5675  df-co 5676  df-dm 5677  df-rn 5678  df-res 5679  df-ima 5680  df-pred 6303  df-ord 6368  df-on 6369  df-lim 6370  df-suc 6371  df-iota 6495  df-fun 6544  df-fn 6545  df-f 6546  df-f1 6547  df-fo 6548  df-f1o 6549  df-fv 6550  df-riota 7371  df-ov 7417  df-oprab 7418  df-mpo 7419  df-om 7871  df-1st 7997  df-2nd 7998  df-frecs 8289  df-wrecs 8320  df-recs 8394  df-rdg 8433  df-1o 8489  df-er 8728  df-map 8851  df-en 8969  df-dom 8970  df-sdom 8971  df-fin 8972  df-card 9962  df-pnf 11280  df-mnf 11281  df-xr 11282  df-ltxr 11283  df-le 11284  df-sub 11477  df-neg 11478  df-nn 12250  df-n0 12511  df-xnn0 12584  df-z 12598  df-uz 12862  df-fz 13531  df-fzo 13678  df-hash 14353  df-word 14536  df-wlks 29564  df-wlkson 29565  df-trlson 29658  df-pthson 29683  df-conngr 30153
This theorem is referenced by:  vdn0conngrumgrv2  30162
  Copyright terms: Public domain W3C validator