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

Theorem clwlkclwwlkfoOLD 27299
Description: Obsolete version of clwlkclwwlkfo 27303 as of 12-Oct-2022. (Contributed by Alexander van der Vekens, 30-Jun-2018.) (Revised by AV, 2-May-2021.) (Revised by AV, 25-May-2022.) (New usage is discouraged.) (Proof modification is discouraged.)
Hypotheses
Ref Expression
clwlkclwwlkf.c 𝐶 = {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤ (♯‘(1st𝑤))}
clwlkclwwlkfOLD.f 𝐹 = (𝑐𝐶 ↦ ((2nd𝑐) substr ⟨0, ((♯‘(2nd𝑐)) − 1)⟩))
Assertion
Ref Expression
clwlkclwwlkfoOLD (𝐺 ∈ USPGraph → 𝐹:𝐶onto→(ClWWalks‘𝐺))
Distinct variable groups:   𝑤,𝐺,𝑐   𝐶,𝑐,𝑤   𝐹,𝑐,𝑤

Proof of Theorem clwlkclwwlkfoOLD
Dummy variable 𝑓 is distinct from all other variables.
StepHypRef Expression
1 clwlkclwwlkf.c . . 3 𝐶 = {𝑤 ∈ (ClWalks‘𝐺) ∣ 1 ≤ (♯‘(1st𝑤))}
2 clwlkclwwlkfOLD.f . . 3 𝐹 = (𝑐𝐶 ↦ ((2nd𝑐) substr ⟨0, ((♯‘(2nd𝑐)) − 1)⟩))
31, 2clwlkclwwlkfOLD 27298 . 2 (𝐺 ∈ USPGraph → 𝐹:𝐶⟶(ClWWalks‘𝐺))
4 clwwlkgt0 27272 . . . . . 6 (𝑤 ∈ (ClWWalks‘𝐺) → 0 < (♯‘𝑤))
5 eqid 2798 . . . . . . . 8 (Vtx‘𝐺) = (Vtx‘𝐺)
65clwwlkbp 27271 . . . . . . 7 (𝑤 ∈ (ClWWalks‘𝐺) → (𝐺 ∈ V ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ 𝑤 ≠ ∅))
7 lencl 13550 . . . . . . . . . . . 12 (𝑤 ∈ Word (Vtx‘𝐺) → (♯‘𝑤) ∈ ℕ0)
87nn0zd 11767 . . . . . . . . . . 11 (𝑤 ∈ Word (Vtx‘𝐺) → (♯‘𝑤) ∈ ℤ)
9 zgt0ge1 11718 . . . . . . . . . . 11 ((♯‘𝑤) ∈ ℤ → (0 < (♯‘𝑤) ↔ 1 ≤ (♯‘𝑤)))
108, 9syl 17 . . . . . . . . . 10 (𝑤 ∈ Word (Vtx‘𝐺) → (0 < (♯‘𝑤) ↔ 1 ≤ (♯‘𝑤)))
1110biimpd 221 . . . . . . . . 9 (𝑤 ∈ Word (Vtx‘𝐺) → (0 < (♯‘𝑤) → 1 ≤ (♯‘𝑤)))
1211anc2li 552 . . . . . . . 8 (𝑤 ∈ Word (Vtx‘𝐺) → (0 < (♯‘𝑤) → (𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤))))
13123ad2ant2 1165 . . . . . . 7 ((𝐺 ∈ V ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ 𝑤 ≠ ∅) → (0 < (♯‘𝑤) → (𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤))))
146, 13syl 17 . . . . . 6 (𝑤 ∈ (ClWWalks‘𝐺) → (0 < (♯‘𝑤) → (𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤))))
154, 14mpd 15 . . . . 5 (𝑤 ∈ (ClWWalks‘𝐺) → (𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)))
1615adantl 474 . . . 4 ((𝐺 ∈ USPGraph ∧ 𝑤 ∈ (ClWWalks‘𝐺)) → (𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)))
17 eqid 2798 . . . . . . . . 9 (iEdg‘𝐺) = (iEdg‘𝐺)
185, 17clwlkclwwlk2 27290 . . . . . . . 8 ((𝐺 ∈ USPGraph ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) → (∃𝑓 𝑓(ClWalks‘𝐺)(𝑤 ++ ⟨“(𝑤‘0)”⟩) ↔ 𝑤 ∈ (ClWWalks‘𝐺)))
19 df-br 4843 . . . . . . . . . 10 (𝑓(ClWalks‘𝐺)(𝑤 ++ ⟨“(𝑤‘0)”⟩) ↔ ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺))
20 simpr2 1251 . . . . . . . . . . . . . 14 ((⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺) ∧ (𝐺 ∈ USPGraph ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤))) → 𝑤 ∈ Word (Vtx‘𝐺))
21 simpr3 1253 . . . . . . . . . . . . . 14 ((⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺) ∧ (𝐺 ∈ USPGraph ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤))) → 1 ≤ (♯‘𝑤))
22 simpl 475 . . . . . . . . . . . . . 14 ((⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺) ∧ (𝐺 ∈ USPGraph ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤))) → ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺))
231clwlkclwwlkfolem 27297 . . . . . . . . . . . . . 14 ((𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤) ∧ ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺)) → ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ 𝐶)
2420, 21, 22, 23syl3anc 1491 . . . . . . . . . . . . 13 ((⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺) ∧ (𝐺 ∈ USPGraph ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤))) → ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ 𝐶)
25233expa 1148 . . . . . . . . . . . . . . . . . . 19 (((𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) ∧ ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺)) → ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ 𝐶)
26 ovex 6909 . . . . . . . . . . . . . . . . . . 19 ((𝑤 ++ ⟨“(𝑤‘0)”⟩) substr ⟨0, ((♯‘(𝑤 ++ ⟨“(𝑤‘0)”⟩)) − 1)⟩) ∈ V
27 fveq2 6410 . . . . . . . . . . . . . . . . . . . . . 22 (𝑐 = ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ → (2nd𝑐) = (2nd ‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩))
28 2fveq3 6415 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑐 = ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ → (♯‘(2nd𝑐)) = (♯‘(2nd ‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩)))
2928oveq1d 6892 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑐 = ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ → ((♯‘(2nd𝑐)) − 1) = ((♯‘(2nd ‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩)) − 1))
3029opeq2d 4599 . . . . . . . . . . . . . . . . . . . . . 22 (𝑐 = ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ → ⟨0, ((♯‘(2nd𝑐)) − 1)⟩ = ⟨0, ((♯‘(2nd ‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩)) − 1)⟩)
3127, 30oveq12d 6895 . . . . . . . . . . . . . . . . . . . . 21 (𝑐 = ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ → ((2nd𝑐) substr ⟨0, ((♯‘(2nd𝑐)) − 1)⟩) = ((2nd ‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩) substr ⟨0, ((♯‘(2nd ‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩)) − 1)⟩))
32 vex 3387 . . . . . . . . . . . . . . . . . . . . . . 23 𝑓 ∈ V
33 ovex 6909 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑤 ++ ⟨“(𝑤‘0)”⟩) ∈ V
3432, 33op2nd 7409 . . . . . . . . . . . . . . . . . . . . . 22 (2nd ‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩) = (𝑤 ++ ⟨“(𝑤‘0)”⟩)
3534fveq2i 6413 . . . . . . . . . . . . . . . . . . . . . . . 24 (♯‘(2nd ‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩)) = (♯‘(𝑤 ++ ⟨“(𝑤‘0)”⟩))
3635oveq1i 6887 . . . . . . . . . . . . . . . . . . . . . . 23 ((♯‘(2nd ‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩)) − 1) = ((♯‘(𝑤 ++ ⟨“(𝑤‘0)”⟩)) − 1)
3736opeq2i 4596 . . . . . . . . . . . . . . . . . . . . . 22 ⟨0, ((♯‘(2nd ‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩)) − 1)⟩ = ⟨0, ((♯‘(𝑤 ++ ⟨“(𝑤‘0)”⟩)) − 1)⟩
3834, 37oveq12i 6889 . . . . . . . . . . . . . . . . . . . . 21 ((2nd ‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩) substr ⟨0, ((♯‘(2nd ‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩)) − 1)⟩) = ((𝑤 ++ ⟨“(𝑤‘0)”⟩) substr ⟨0, ((♯‘(𝑤 ++ ⟨“(𝑤‘0)”⟩)) − 1)⟩)
3931, 38syl6eq 2848 . . . . . . . . . . . . . . . . . . . 20 (𝑐 = ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ → ((2nd𝑐) substr ⟨0, ((♯‘(2nd𝑐)) − 1)⟩) = ((𝑤 ++ ⟨“(𝑤‘0)”⟩) substr ⟨0, ((♯‘(𝑤 ++ ⟨“(𝑤‘0)”⟩)) − 1)⟩))
4039, 2fvmptg 6504 . . . . . . . . . . . . . . . . . . 19 ((⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ 𝐶 ∧ ((𝑤 ++ ⟨“(𝑤‘0)”⟩) substr ⟨0, ((♯‘(𝑤 ++ ⟨“(𝑤‘0)”⟩)) − 1)⟩) ∈ V) → (𝐹‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩) = ((𝑤 ++ ⟨“(𝑤‘0)”⟩) substr ⟨0, ((♯‘(𝑤 ++ ⟨“(𝑤‘0)”⟩)) − 1)⟩))
4125, 26, 40sylancl 581 . . . . . . . . . . . . . . . . . 18 (((𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) ∧ ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺)) → (𝐹‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩) = ((𝑤 ++ ⟨“(𝑤‘0)”⟩) substr ⟨0, ((♯‘(𝑤 ++ ⟨“(𝑤‘0)”⟩)) − 1)⟩))
42 wrdlenccats1lenm1 13640 . . . . . . . . . . . . . . . . . . . . 21 (𝑤 ∈ Word (Vtx‘𝐺) → ((♯‘(𝑤 ++ ⟨“(𝑤‘0)”⟩)) − 1) = (♯‘𝑤))
4342ad2antrr 718 . . . . . . . . . . . . . . . . . . . 20 (((𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) ∧ ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺)) → ((♯‘(𝑤 ++ ⟨“(𝑤‘0)”⟩)) − 1) = (♯‘𝑤))
4443opeq2d 4599 . . . . . . . . . . . . . . . . . . 19 (((𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) ∧ ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺)) → ⟨0, ((♯‘(𝑤 ++ ⟨“(𝑤‘0)”⟩)) − 1)⟩ = ⟨0, (♯‘𝑤)⟩)
4544oveq2d 6893 . . . . . . . . . . . . . . . . . 18 (((𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) ∧ ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺)) → ((𝑤 ++ ⟨“(𝑤‘0)”⟩) substr ⟨0, ((♯‘(𝑤 ++ ⟨“(𝑤‘0)”⟩)) − 1)⟩) = ((𝑤 ++ ⟨“(𝑤‘0)”⟩) substr ⟨0, (♯‘𝑤)⟩))
46 simpll 784 . . . . . . . . . . . . . . . . . . 19 (((𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) ∧ ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺)) → 𝑤 ∈ Word (Vtx‘𝐺))
47 simpl 475 . . . . . . . . . . . . . . . . . . . . 21 (((𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) ∧ ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺)) → (𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)))
48 wrdsymb1 13570 . . . . . . . . . . . . . . . . . . . . 21 ((𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) → (𝑤‘0) ∈ (Vtx‘𝐺))
4947, 48syl 17 . . . . . . . . . . . . . . . . . . . 20 (((𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) ∧ ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺)) → (𝑤‘0) ∈ (Vtx‘𝐺))
5049s1cld 13620 . . . . . . . . . . . . . . . . . . 19 (((𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) ∧ ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺)) → ⟨“(𝑤‘0)”⟩ ∈ Word (Vtx‘𝐺))
51 eqidd 2799 . . . . . . . . . . . . . . . . . . 19 (((𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) ∧ ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺)) → (♯‘𝑤) = (♯‘𝑤))
52 swrdccatidOLD 13806 . . . . . . . . . . . . . . . . . . 19 ((𝑤 ∈ Word (Vtx‘𝐺) ∧ ⟨“(𝑤‘0)”⟩ ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑤) = (♯‘𝑤)) → ((𝑤 ++ ⟨“(𝑤‘0)”⟩) substr ⟨0, (♯‘𝑤)⟩) = 𝑤)
5346, 50, 51, 52syl3anc 1491 . . . . . . . . . . . . . . . . . 18 (((𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) ∧ ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺)) → ((𝑤 ++ ⟨“(𝑤‘0)”⟩) substr ⟨0, (♯‘𝑤)⟩) = 𝑤)
5441, 45, 533eqtrrd 2837 . . . . . . . . . . . . . . . . 17 (((𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) ∧ ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺)) → 𝑤 = (𝐹‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩))
5554ex 402 . . . . . . . . . . . . . . . 16 ((𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) → (⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺) → 𝑤 = (𝐹‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩)))
56553adant1 1161 . . . . . . . . . . . . . . 15 ((𝐺 ∈ USPGraph ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) → (⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺) → 𝑤 = (𝐹‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩)))
5756ad2antlr 719 . . . . . . . . . . . . . 14 (((⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺) ∧ (𝐺 ∈ USPGraph ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤))) ∧ 𝑐 = ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩) → (⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺) → 𝑤 = (𝐹‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩)))
58 fveq2 6410 . . . . . . . . . . . . . . . . 17 (𝑐 = ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ → (𝐹𝑐) = (𝐹‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩))
5958eqeq2d 2808 . . . . . . . . . . . . . . . 16 (𝑐 = ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ → (𝑤 = (𝐹𝑐) ↔ 𝑤 = (𝐹‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩)))
6059imbi2d 332 . . . . . . . . . . . . . . 15 (𝑐 = ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ → ((⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺) → 𝑤 = (𝐹𝑐)) ↔ (⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺) → 𝑤 = (𝐹‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩))))
6160adantl 474 . . . . . . . . . . . . . 14 (((⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺) ∧ (𝐺 ∈ USPGraph ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤))) ∧ 𝑐 = ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩) → ((⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺) → 𝑤 = (𝐹𝑐)) ↔ (⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺) → 𝑤 = (𝐹‘⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩))))
6257, 61mpbird 249 . . . . . . . . . . . . 13 (((⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺) ∧ (𝐺 ∈ USPGraph ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤))) ∧ 𝑐 = ⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩) → (⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺) → 𝑤 = (𝐹𝑐)))
6324, 62rspcimedv 3498 . . . . . . . . . . . 12 ((⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺) ∧ (𝐺 ∈ USPGraph ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤))) → (⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺) → ∃𝑐𝐶 𝑤 = (𝐹𝑐)))
6463ex 402 . . . . . . . . . . 11 (⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺) → ((𝐺 ∈ USPGraph ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) → (⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺) → ∃𝑐𝐶 𝑤 = (𝐹𝑐))))
6564pm2.43b 55 . . . . . . . . . 10 ((𝐺 ∈ USPGraph ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) → (⟨𝑓, (𝑤 ++ ⟨“(𝑤‘0)”⟩)⟩ ∈ (ClWalks‘𝐺) → ∃𝑐𝐶 𝑤 = (𝐹𝑐)))
6619, 65syl5bi 234 . . . . . . . . 9 ((𝐺 ∈ USPGraph ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) → (𝑓(ClWalks‘𝐺)(𝑤 ++ ⟨“(𝑤‘0)”⟩) → ∃𝑐𝐶 𝑤 = (𝐹𝑐)))
6766exlimdv 2029 . . . . . . . 8 ((𝐺 ∈ USPGraph ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) → (∃𝑓 𝑓(ClWalks‘𝐺)(𝑤 ++ ⟨“(𝑤‘0)”⟩) → ∃𝑐𝐶 𝑤 = (𝐹𝑐)))
6818, 67sylbird 252 . . . . . . 7 ((𝐺 ∈ USPGraph ∧ 𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) → (𝑤 ∈ (ClWWalks‘𝐺) → ∃𝑐𝐶 𝑤 = (𝐹𝑐)))
69683expib 1153 . . . . . 6 (𝐺 ∈ USPGraph → ((𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) → (𝑤 ∈ (ClWWalks‘𝐺) → ∃𝑐𝐶 𝑤 = (𝐹𝑐))))
7069com23 86 . . . . 5 (𝐺 ∈ USPGraph → (𝑤 ∈ (ClWWalks‘𝐺) → ((𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) → ∃𝑐𝐶 𝑤 = (𝐹𝑐))))
7170imp 396 . . . 4 ((𝐺 ∈ USPGraph ∧ 𝑤 ∈ (ClWWalks‘𝐺)) → ((𝑤 ∈ Word (Vtx‘𝐺) ∧ 1 ≤ (♯‘𝑤)) → ∃𝑐𝐶 𝑤 = (𝐹𝑐)))
7216, 71mpd 15 . . 3 ((𝐺 ∈ USPGraph ∧ 𝑤 ∈ (ClWWalks‘𝐺)) → ∃𝑐𝐶 𝑤 = (𝐹𝑐))
7372ralrimiva 3146 . 2 (𝐺 ∈ USPGraph → ∀𝑤 ∈ (ClWWalks‘𝐺)∃𝑐𝐶 𝑤 = (𝐹𝑐))
74 dffo3 6599 . 2 (𝐹:𝐶onto→(ClWWalks‘𝐺) ↔ (𝐹:𝐶⟶(ClWWalks‘𝐺) ∧ ∀𝑤 ∈ (ClWWalks‘𝐺)∃𝑐𝐶 𝑤 = (𝐹𝑐)))
753, 73, 74sylanbrc 579 1 (𝐺 ∈ USPGraph → 𝐹:𝐶onto→(ClWWalks‘𝐺))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 198  wa 385  w3a 1108   = wceq 1653  wex 1875  wcel 2157  wne 2970  wral 3088  wrex 3089  {crab 3092  Vcvv 3384  c0 4114  cop 4373   class class class wbr 4842  cmpt 4921  wf 6096  ontowfo 6098  cfv 6100  (class class class)co 6877  1st c1st 7398  2nd c2nd 7399  0cc0 10223  1c1 10224   < clt 10362  cle 10363  cmin 10555  cz 11663  chash 13367  Word cword 13531   ++ cconcat 13587  ⟨“cs1 13612   substr csubstr 13661  Vtxcvtx 26224  iEdgciedg 26225  USPGraphcuspgr 26377  ClWalkscclwlks 27017  ClWWalkscclwwlk 27267
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1891  ax-4 1905  ax-5 2006  ax-6 2072  ax-7 2107  ax-8 2159  ax-9 2166  ax-10 2185  ax-11 2200  ax-12 2213  ax-13 2377  ax-ext 2776  ax-rep 4963  ax-sep 4974  ax-nul 4982  ax-pow 5034  ax-pr 5096  ax-un 7182  ax-cnex 10279  ax-resscn 10280  ax-1cn 10281  ax-icn 10282  ax-addcl 10283  ax-addrcl 10284  ax-mulcl 10285  ax-mulrcl 10286  ax-mulcom 10287  ax-addass 10288  ax-mulass 10289  ax-distr 10290  ax-i2m1 10291  ax-1ne0 10292  ax-1rid 10293  ax-rnegex 10294  ax-rrecex 10295  ax-cnre 10296  ax-pre-lttri 10297  ax-pre-lttrn 10298  ax-pre-ltadd 10299  ax-pre-mulgt0 10300
This theorem depends on definitions:  df-bi 199  df-an 386  df-or 875  df-ifp 1087  df-3or 1109  df-3an 1110  df-tru 1657  df-ex 1876  df-nf 1880  df-sb 2065  df-mo 2591  df-eu 2609  df-clab 2785  df-cleq 2791  df-clel 2794  df-nfc 2929  df-ne 2971  df-nel 3074  df-ral 3093  df-rex 3094  df-reu 3095  df-rmo 3096  df-rab 3097  df-v 3386  df-sbc 3633  df-csb 3728  df-dif 3771  df-un 3773  df-in 3775  df-ss 3782  df-pss 3784  df-nul 4115  df-if 4277  df-pw 4350  df-sn 4368  df-pr 4370  df-tp 4372  df-op 4374  df-uni 4628  df-int 4667  df-iun 4711  df-br 4843  df-opab 4905  df-mpt 4922  df-tr 4945  df-id 5219  df-eprel 5224  df-po 5232  df-so 5233  df-fr 5270  df-we 5272  df-xp 5317  df-rel 5318  df-cnv 5319  df-co 5320  df-dm 5321  df-rn 5322  df-res 5323  df-ima 5324  df-pred 5897  df-ord 5943  df-on 5944  df-lim 5945  df-suc 5946  df-iota 6063  df-fun 6102  df-fn 6103  df-f 6104  df-f1 6105  df-fo 6106  df-f1o 6107  df-fv 6108  df-riota 6838  df-ov 6880  df-oprab 6881  df-mpt2 6882  df-om 7299  df-1st 7400  df-2nd 7401  df-wrecs 7644  df-recs 7706  df-rdg 7744  df-1o 7798  df-2o 7799  df-oadd 7802  df-er 7981  df-map 8096  df-pm 8097  df-en 8195  df-dom 8196  df-sdom 8197  df-fin 8198  df-card 9050  df-cda 9277  df-pnf 10364  df-mnf 10365  df-xr 10366  df-ltxr 10367  df-le 10368  df-sub 10557  df-neg 10558  df-nn 11312  df-2 11373  df-n0 11578  df-xnn0 11650  df-z 11664  df-uz 11928  df-rp 12072  df-fz 12578  df-fzo 12718  df-hash 13368  df-word 13532  df-lsw 13580  df-concat 13588  df-s1 13613  df-substr 13662  df-pfx 13711  df-edg 26276  df-uhgr 26286  df-upgr 26310  df-uspgr 26379  df-wlks 26842  df-clwlks 27018  df-clwwlk 27268
This theorem is referenced by:  clwlkclwwlkf1oOLD  27301
  Copyright terms: Public domain W3C validator