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

Theorem wspthneq1eq2 28512
Description: Two simple paths with identical sequences of vertices start and end at the same vertices. (Contributed by AV, 14-May-2021.)
Assertion
Ref Expression
wspthneq1eq2 ((𝑃 ∈ (𝐴(𝑁 WSPathsNOn 𝐺)𝐵) ∧ 𝑃 ∈ (𝐶(𝑁 WSPathsNOn 𝐺)𝐷)) → (𝐴 = 𝐶𝐵 = 𝐷))

Proof of Theorem wspthneq1eq2
Dummy variables 𝑓 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2737 . . 3 (Vtx‘𝐺) = (Vtx‘𝐺)
21wspthnonp 28511 . 2 (𝑃 ∈ (𝐴(𝑁 WSPathsNOn 𝐺)𝐵) → ((𝑁 ∈ ℕ0𝐺 ∈ V) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺)) ∧ (𝑃 ∈ (𝐴(𝑁 WWalksNOn 𝐺)𝐵) ∧ ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑃)))
31wspthnonp 28511 . 2 (𝑃 ∈ (𝐶(𝑁 WSPathsNOn 𝐺)𝐷) → ((𝑁 ∈ ℕ0𝐺 ∈ V) ∧ (𝐶 ∈ (Vtx‘𝐺) ∧ 𝐷 ∈ (Vtx‘𝐺)) ∧ (𝑃 ∈ (𝐶(𝑁 WWalksNOn 𝐺)𝐷) ∧ ∃ (𝐶(SPathsOn‘𝐺)𝐷)𝑃)))
4 simp3r 1202 . . 3 (((𝑁 ∈ ℕ0𝐺 ∈ V) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺)) ∧ (𝑃 ∈ (𝐴(𝑁 WWalksNOn 𝐺)𝐵) ∧ ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑃)) → ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑃)
5 simp3r 1202 . . 3 (((𝑁 ∈ ℕ0𝐺 ∈ V) ∧ (𝐶 ∈ (Vtx‘𝐺) ∧ 𝐷 ∈ (Vtx‘𝐺)) ∧ (𝑃 ∈ (𝐶(𝑁 WWalksNOn 𝐺)𝐷) ∧ ∃ (𝐶(SPathsOn‘𝐺)𝐷)𝑃)) → ∃ (𝐶(SPathsOn‘𝐺)𝐷)𝑃)
6 spthonpthon 28406 . . . . . . . . . 10 (𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑃𝑓(𝐴(PathsOn‘𝐺)𝐵)𝑃)
7 spthonpthon 28406 . . . . . . . . . 10 ((𝐶(SPathsOn‘𝐺)𝐷)𝑃(𝐶(PathsOn‘𝐺)𝐷)𝑃)
86, 7anim12i 614 . . . . . . . . 9 ((𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑃(𝐶(SPathsOn‘𝐺)𝐷)𝑃) → (𝑓(𝐴(PathsOn‘𝐺)𝐵)𝑃(𝐶(PathsOn‘𝐺)𝐷)𝑃))
9 pthontrlon 28402 . . . . . . . . . 10 (𝑓(𝐴(PathsOn‘𝐺)𝐵)𝑃𝑓(𝐴(TrailsOn‘𝐺)𝐵)𝑃)
10 pthontrlon 28402 . . . . . . . . . 10 ((𝐶(PathsOn‘𝐺)𝐷)𝑃(𝐶(TrailsOn‘𝐺)𝐷)𝑃)
11 trlsonwlkon 28365 . . . . . . . . . . 11 (𝑓(𝐴(TrailsOn‘𝐺)𝐵)𝑃𝑓(𝐴(WalksOn‘𝐺)𝐵)𝑃)
12 trlsonwlkon 28365 . . . . . . . . . . 11 ((𝐶(TrailsOn‘𝐺)𝐷)𝑃(𝐶(WalksOn‘𝐺)𝐷)𝑃)
1311, 12anim12i 614 . . . . . . . . . 10 ((𝑓(𝐴(TrailsOn‘𝐺)𝐵)𝑃(𝐶(TrailsOn‘𝐺)𝐷)𝑃) → (𝑓(𝐴(WalksOn‘𝐺)𝐵)𝑃(𝐶(WalksOn‘𝐺)𝐷)𝑃))
149, 10, 13syl2an 597 . . . . . . . . 9 ((𝑓(𝐴(PathsOn‘𝐺)𝐵)𝑃(𝐶(PathsOn‘𝐺)𝐷)𝑃) → (𝑓(𝐴(WalksOn‘𝐺)𝐵)𝑃(𝐶(WalksOn‘𝐺)𝐷)𝑃))
15 wlksoneq1eq2 28319 . . . . . . . . 9 ((𝑓(𝐴(WalksOn‘𝐺)𝐵)𝑃(𝐶(WalksOn‘𝐺)𝐷)𝑃) → (𝐴 = 𝐶𝐵 = 𝐷))
168, 14, 153syl 18 . . . . . . . 8 ((𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑃(𝐶(SPathsOn‘𝐺)𝐷)𝑃) → (𝐴 = 𝐶𝐵 = 𝐷))
1716expcom 415 . . . . . . 7 ((𝐶(SPathsOn‘𝐺)𝐷)𝑃 → (𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑃 → (𝐴 = 𝐶𝐵 = 𝐷)))
1817exlimiv 1933 . . . . . 6 (∃ (𝐶(SPathsOn‘𝐺)𝐷)𝑃 → (𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑃 → (𝐴 = 𝐶𝐵 = 𝐷)))
1918com12 32 . . . . 5 (𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑃 → (∃ (𝐶(SPathsOn‘𝐺)𝐷)𝑃 → (𝐴 = 𝐶𝐵 = 𝐷)))
2019exlimiv 1933 . . . 4 (∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑃 → (∃ (𝐶(SPathsOn‘𝐺)𝐷)𝑃 → (𝐴 = 𝐶𝐵 = 𝐷)))
2120imp 408 . . 3 ((∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑃 ∧ ∃ (𝐶(SPathsOn‘𝐺)𝐷)𝑃) → (𝐴 = 𝐶𝐵 = 𝐷))
224, 5, 21syl2an 597 . 2 ((((𝑁 ∈ ℕ0𝐺 ∈ V) ∧ (𝐴 ∈ (Vtx‘𝐺) ∧ 𝐵 ∈ (Vtx‘𝐺)) ∧ (𝑃 ∈ (𝐴(𝑁 WWalksNOn 𝐺)𝐵) ∧ ∃𝑓 𝑓(𝐴(SPathsOn‘𝐺)𝐵)𝑃)) ∧ ((𝑁 ∈ ℕ0𝐺 ∈ V) ∧ (𝐶 ∈ (Vtx‘𝐺) ∧ 𝐷 ∈ (Vtx‘𝐺)) ∧ (𝑃 ∈ (𝐶(𝑁 WWalksNOn 𝐺)𝐷) ∧ ∃ (𝐶(SPathsOn‘𝐺)𝐷)𝑃))) → (𝐴 = 𝐶𝐵 = 𝐷))
232, 3, 22syl2an 597 1 ((𝑃 ∈ (𝐴(𝑁 WSPathsNOn 𝐺)𝐵) ∧ 𝑃 ∈ (𝐶(𝑁 WSPathsNOn 𝐺)𝐷)) → (𝐴 = 𝐶𝐵 = 𝐷))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 397  w3a 1087   = wceq 1541  wex 1781  wcel 2106  Vcvv 3442   class class class wbr 5096  cfv 6483  (class class class)co 7341  0cn0 12338  Vtxcvtx 27654  WalksOncwlkson 28252  TrailsOnctrlson 28346  PathsOncpthson 28369  SPathsOncspthson 28370   WWalksNOn cwwlksnon 28479   WSPathsNOn cwwspthsnon 28481
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2708  ax-rep 5233  ax-sep 5247  ax-nul 5254  ax-pow 5312  ax-pr 5376  ax-un 7654  ax-cnex 11032  ax-resscn 11033  ax-1cn 11034  ax-icn 11035  ax-addcl 11036  ax-addrcl 11037  ax-mulcl 11038  ax-mulrcl 11039  ax-mulcom 11040  ax-addass 11041  ax-mulass 11042  ax-distr 11043  ax-i2m1 11044  ax-1ne0 11045  ax-1rid 11046  ax-rnegex 11047  ax-rrecex 11048  ax-cnre 11049  ax-pre-lttri 11050  ax-pre-lttrn 11051  ax-pre-ltadd 11052  ax-pre-mulgt0 11053
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-ifp 1062  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2815  df-nfc 2887  df-ne 2942  df-nel 3048  df-ral 3063  df-rex 3072  df-reu 3351  df-rab 3405  df-v 3444  df-sbc 3731  df-csb 3847  df-dif 3904  df-un 3906  df-in 3908  df-ss 3918  df-pss 3920  df-nul 4274  df-if 4478  df-pw 4553  df-sn 4578  df-pr 4580  df-op 4584  df-uni 4857  df-int 4899  df-iun 4947  df-br 5097  df-opab 5159  df-mpt 5180  df-tr 5214  df-id 5522  df-eprel 5528  df-po 5536  df-so 5537  df-fr 5579  df-we 5581  df-xp 5630  df-rel 5631  df-cnv 5632  df-co 5633  df-dm 5634  df-rn 5635  df-res 5636  df-ima 5637  df-pred 6242  df-ord 6309  df-on 6310  df-lim 6311  df-suc 6312  df-iota 6435  df-fun 6485  df-fn 6486  df-f 6487  df-f1 6488  df-fo 6489  df-f1o 6490  df-fv 6491  df-riota 7297  df-ov 7344  df-oprab 7345  df-mpo 7346  df-om 7785  df-1st 7903  df-2nd 7904  df-frecs 8171  df-wrecs 8202  df-recs 8276  df-rdg 8315  df-1o 8371  df-er 8573  df-map 8692  df-en 8809  df-dom 8810  df-sdom 8811  df-fin 8812  df-card 9800  df-pnf 11116  df-mnf 11117  df-xr 11118  df-ltxr 11119  df-le 11120  df-sub 11312  df-neg 11313  df-nn 12079  df-n0 12339  df-z 12425  df-uz 12688  df-fz 13345  df-fzo 13488  df-hash 14150  df-word 14322  df-wlks 28254  df-wlkson 28255  df-trls 28347  df-trlson 28348  df-pths 28371  df-spths 28372  df-pthson 28373  df-spthson 28374  df-wwlksnon 28484  df-wspthsnon 28486
This theorem is referenced by:  2wspdisj  28614  2wspiundisj  28615
  Copyright terms: Public domain W3C validator