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

Theorem wwlksnredwwlkn0 26660
Description: For each walk (as word) of length at least 1 there is a shorter walk (as word) starting at the same vertex. (Contributed by Alexander van der Vekens, 22-Aug-2018.) (Revised by AV, 18-Apr-2021.)
Hypothesis
Ref Expression
wwlksnredwwlkn.e 𝐸 = (Edg‘𝐺)
Assertion
Ref Expression
wwlksnredwwlkn0 ((𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → ((𝑊‘0) = 𝑃 ↔ ∃𝑦 ∈ (𝑁 WWalksN 𝐺)((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (𝑦‘0) = 𝑃 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸)))
Distinct variable groups:   𝑦,𝐸   𝑦,𝐺   𝑦,𝑁   𝑦,𝑊   𝑦,𝑃

Proof of Theorem wwlksnredwwlkn0
Dummy variable 𝑖 is distinct from all other variables.
StepHypRef Expression
1 wwlksnredwwlkn.e . . . . 5 𝐸 = (Edg‘𝐺)
21wwlksnredwwlkn 26659 . . . 4 (𝑁 ∈ ℕ0 → (𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺) → ∃𝑦 ∈ (𝑁 WWalksN 𝐺)((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸)))
32imp 445 . . 3 ((𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → ∃𝑦 ∈ (𝑁 WWalksN 𝐺)((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸))
4 simpl 473 . . . . . . . . 9 (((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸) → (𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦)
54adantl 482 . . . . . . . 8 (((((𝑊‘0) = 𝑃 ∧ (𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))) ∧ 𝑦 ∈ (𝑁 WWalksN 𝐺)) ∧ ((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸)) → (𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦)
6 fveq1 6147 . . . . . . . . . . . . . 14 (𝑦 = (𝑊 substr ⟨0, (𝑁 + 1)⟩) → (𝑦‘0) = ((𝑊 substr ⟨0, (𝑁 + 1)⟩)‘0))
76eqcoms 2629 . . . . . . . . . . . . 13 ((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 → (𝑦‘0) = ((𝑊 substr ⟨0, (𝑁 + 1)⟩)‘0))
87adantr 481 . . . . . . . . . . . 12 (((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (((𝑊‘0) = 𝑃 ∧ (𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))) ∧ 𝑦 ∈ (𝑁 WWalksN 𝐺))) → (𝑦‘0) = ((𝑊 substr ⟨0, (𝑁 + 1)⟩)‘0))
9 eqid 2621 . . . . . . . . . . . . . . . . . . 19 (Vtx‘𝐺) = (Vtx‘𝐺)
109, 1wwlknp 26603 . . . . . . . . . . . . . . . . . 18 (𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺) → (𝑊 ∈ Word (Vtx‘𝐺) ∧ (#‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸))
11 nn0p1nn 11276 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑁 ∈ ℕ0 → (𝑁 + 1) ∈ ℕ)
12 peano2nn0 11277 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑁 ∈ ℕ0 → (𝑁 + 1) ∈ ℕ0)
13 nn0re 11245 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑁 + 1) ∈ ℕ0 → (𝑁 + 1) ∈ ℝ)
14 lep1 10806 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑁 + 1) ∈ ℝ → (𝑁 + 1) ≤ ((𝑁 + 1) + 1))
1512, 13, 143syl 18 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑁 ∈ ℕ0 → (𝑁 + 1) ≤ ((𝑁 + 1) + 1))
16 peano2nn0 11277 . . . . . . . . . . . . . . . . . . . . . . . . 25 ((𝑁 + 1) ∈ ℕ0 → ((𝑁 + 1) + 1) ∈ ℕ0)
1716nn0zd 11424 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑁 + 1) ∈ ℕ0 → ((𝑁 + 1) + 1) ∈ ℤ)
18 fznn 12350 . . . . . . . . . . . . . . . . . . . . . . . 24 (((𝑁 + 1) + 1) ∈ ℤ → ((𝑁 + 1) ∈ (1...((𝑁 + 1) + 1)) ↔ ((𝑁 + 1) ∈ ℕ ∧ (𝑁 + 1) ≤ ((𝑁 + 1) + 1))))
1912, 17, 183syl 18 . . . . . . . . . . . . . . . . . . . . . . 23 (𝑁 ∈ ℕ0 → ((𝑁 + 1) ∈ (1...((𝑁 + 1) + 1)) ↔ ((𝑁 + 1) ∈ ℕ ∧ (𝑁 + 1) ≤ ((𝑁 + 1) + 1))))
2011, 15, 19mpbir2and 956 . . . . . . . . . . . . . . . . . . . . . 22 (𝑁 ∈ ℕ0 → (𝑁 + 1) ∈ (1...((𝑁 + 1) + 1)))
21 oveq2 6612 . . . . . . . . . . . . . . . . . . . . . . 23 ((#‘𝑊) = ((𝑁 + 1) + 1) → (1...(#‘𝑊)) = (1...((𝑁 + 1) + 1)))
2221eleq2d 2684 . . . . . . . . . . . . . . . . . . . . . 22 ((#‘𝑊) = ((𝑁 + 1) + 1) → ((𝑁 + 1) ∈ (1...(#‘𝑊)) ↔ (𝑁 + 1) ∈ (1...((𝑁 + 1) + 1))))
2320, 22syl5ibr 236 . . . . . . . . . . . . . . . . . . . . 21 ((#‘𝑊) = ((𝑁 + 1) + 1) → (𝑁 ∈ ℕ0 → (𝑁 + 1) ∈ (1...(#‘𝑊))))
2423adantl 482 . . . . . . . . . . . . . . . . . . . 20 ((𝑊 ∈ Word (Vtx‘𝐺) ∧ (#‘𝑊) = ((𝑁 + 1) + 1)) → (𝑁 ∈ ℕ0 → (𝑁 + 1) ∈ (1...(#‘𝑊))))
25 simpl 473 . . . . . . . . . . . . . . . . . . . 20 ((𝑊 ∈ Word (Vtx‘𝐺) ∧ (#‘𝑊) = ((𝑁 + 1) + 1)) → 𝑊 ∈ Word (Vtx‘𝐺))
2624, 25jctild 565 . . . . . . . . . . . . . . . . . . 19 ((𝑊 ∈ Word (Vtx‘𝐺) ∧ (#‘𝑊) = ((𝑁 + 1) + 1)) → (𝑁 ∈ ℕ0 → (𝑊 ∈ Word (Vtx‘𝐺) ∧ (𝑁 + 1) ∈ (1...(#‘𝑊)))))
27263adant3 1079 . . . . . . . . . . . . . . . . . 18 ((𝑊 ∈ Word (Vtx‘𝐺) ∧ (#‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸) → (𝑁 ∈ ℕ0 → (𝑊 ∈ Word (Vtx‘𝐺) ∧ (𝑁 + 1) ∈ (1...(#‘𝑊)))))
2810, 27syl 17 . . . . . . . . . . . . . . . . 17 (𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺) → (𝑁 ∈ ℕ0 → (𝑊 ∈ Word (Vtx‘𝐺) ∧ (𝑁 + 1) ∈ (1...(#‘𝑊)))))
2928impcom 446 . . . . . . . . . . . . . . . 16 ((𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → (𝑊 ∈ Word (Vtx‘𝐺) ∧ (𝑁 + 1) ∈ (1...(#‘𝑊))))
3029adantl 482 . . . . . . . . . . . . . . 15 (((𝑊‘0) = 𝑃 ∧ (𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))) → (𝑊 ∈ Word (Vtx‘𝐺) ∧ (𝑁 + 1) ∈ (1...(#‘𝑊))))
3130adantr 481 . . . . . . . . . . . . . 14 ((((𝑊‘0) = 𝑃 ∧ (𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))) ∧ 𝑦 ∈ (𝑁 WWalksN 𝐺)) → (𝑊 ∈ Word (Vtx‘𝐺) ∧ (𝑁 + 1) ∈ (1...(#‘𝑊))))
3231adantl 482 . . . . . . . . . . . . 13 (((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (((𝑊‘0) = 𝑃 ∧ (𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))) ∧ 𝑦 ∈ (𝑁 WWalksN 𝐺))) → (𝑊 ∈ Word (Vtx‘𝐺) ∧ (𝑁 + 1) ∈ (1...(#‘𝑊))))
33 swrd0fv0 13378 . . . . . . . . . . . . 13 ((𝑊 ∈ Word (Vtx‘𝐺) ∧ (𝑁 + 1) ∈ (1...(#‘𝑊))) → ((𝑊 substr ⟨0, (𝑁 + 1)⟩)‘0) = (𝑊‘0))
3432, 33syl 17 . . . . . . . . . . . 12 (((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (((𝑊‘0) = 𝑃 ∧ (𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))) ∧ 𝑦 ∈ (𝑁 WWalksN 𝐺))) → ((𝑊 substr ⟨0, (𝑁 + 1)⟩)‘0) = (𝑊‘0))
35 simprll 801 . . . . . . . . . . . 12 (((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (((𝑊‘0) = 𝑃 ∧ (𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))) ∧ 𝑦 ∈ (𝑁 WWalksN 𝐺))) → (𝑊‘0) = 𝑃)
368, 34, 353eqtrd 2659 . . . . . . . . . . 11 (((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (((𝑊‘0) = 𝑃 ∧ (𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))) ∧ 𝑦 ∈ (𝑁 WWalksN 𝐺))) → (𝑦‘0) = 𝑃)
3736ex 450 . . . . . . . . . 10 ((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 → ((((𝑊‘0) = 𝑃 ∧ (𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))) ∧ 𝑦 ∈ (𝑁 WWalksN 𝐺)) → (𝑦‘0) = 𝑃))
3837adantr 481 . . . . . . . . 9 (((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸) → ((((𝑊‘0) = 𝑃 ∧ (𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))) ∧ 𝑦 ∈ (𝑁 WWalksN 𝐺)) → (𝑦‘0) = 𝑃))
3938impcom 446 . . . . . . . 8 (((((𝑊‘0) = 𝑃 ∧ (𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))) ∧ 𝑦 ∈ (𝑁 WWalksN 𝐺)) ∧ ((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸)) → (𝑦‘0) = 𝑃)
40 simpr 477 . . . . . . . . 9 (((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸) → {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸)
4140adantl 482 . . . . . . . 8 (((((𝑊‘0) = 𝑃 ∧ (𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))) ∧ 𝑦 ∈ (𝑁 WWalksN 𝐺)) ∧ ((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸)) → {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸)
425, 39, 413jca 1240 . . . . . . 7 (((((𝑊‘0) = 𝑃 ∧ (𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))) ∧ 𝑦 ∈ (𝑁 WWalksN 𝐺)) ∧ ((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸)) → ((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (𝑦‘0) = 𝑃 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸))
4342ex 450 . . . . . 6 ((((𝑊‘0) = 𝑃 ∧ (𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))) ∧ 𝑦 ∈ (𝑁 WWalksN 𝐺)) → (((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸) → ((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (𝑦‘0) = 𝑃 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸)))
4443reximdva 3011 . . . . 5 (((𝑊‘0) = 𝑃 ∧ (𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))) → (∃𝑦 ∈ (𝑁 WWalksN 𝐺)((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸) → ∃𝑦 ∈ (𝑁 WWalksN 𝐺)((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (𝑦‘0) = 𝑃 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸)))
4544ex 450 . . . 4 ((𝑊‘0) = 𝑃 → ((𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → (∃𝑦 ∈ (𝑁 WWalksN 𝐺)((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸) → ∃𝑦 ∈ (𝑁 WWalksN 𝐺)((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (𝑦‘0) = 𝑃 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸))))
4645com13 88 . . 3 (∃𝑦 ∈ (𝑁 WWalksN 𝐺)((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸) → ((𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → ((𝑊‘0) = 𝑃 → ∃𝑦 ∈ (𝑁 WWalksN 𝐺)((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (𝑦‘0) = 𝑃 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸))))
473, 46mpcom 38 . 2 ((𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → ((𝑊‘0) = 𝑃 → ∃𝑦 ∈ (𝑁 WWalksN 𝐺)((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (𝑦‘0) = 𝑃 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸)))
4829, 33syl 17 . . . . . . . . 9 ((𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → ((𝑊 substr ⟨0, (𝑁 + 1)⟩)‘0) = (𝑊‘0))
4948eqcomd 2627 . . . . . . . 8 ((𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → (𝑊‘0) = ((𝑊 substr ⟨0, (𝑁 + 1)⟩)‘0))
5049adantl 482 . . . . . . 7 ((((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (𝑦‘0) = 𝑃) ∧ (𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))) → (𝑊‘0) = ((𝑊 substr ⟨0, (𝑁 + 1)⟩)‘0))
51 fveq1 6147 . . . . . . . . 9 ((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 → ((𝑊 substr ⟨0, (𝑁 + 1)⟩)‘0) = (𝑦‘0))
5251adantr 481 . . . . . . . 8 (((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (𝑦‘0) = 𝑃) → ((𝑊 substr ⟨0, (𝑁 + 1)⟩)‘0) = (𝑦‘0))
5352adantr 481 . . . . . . 7 ((((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (𝑦‘0) = 𝑃) ∧ (𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))) → ((𝑊 substr ⟨0, (𝑁 + 1)⟩)‘0) = (𝑦‘0))
54 simpr 477 . . . . . . . 8 (((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (𝑦‘0) = 𝑃) → (𝑦‘0) = 𝑃)
5554adantr 481 . . . . . . 7 ((((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (𝑦‘0) = 𝑃) ∧ (𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))) → (𝑦‘0) = 𝑃)
5650, 53, 553eqtrd 2659 . . . . . 6 ((((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (𝑦‘0) = 𝑃) ∧ (𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))) → (𝑊‘0) = 𝑃)
5756ex 450 . . . . 5 (((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (𝑦‘0) = 𝑃) → ((𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → (𝑊‘0) = 𝑃))
58573adant3 1079 . . . 4 (((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (𝑦‘0) = 𝑃 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸) → ((𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → (𝑊‘0) = 𝑃))
5958com12 32 . . 3 ((𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → (((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (𝑦‘0) = 𝑃 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸) → (𝑊‘0) = 𝑃))
6059rexlimdvw 3027 . 2 ((𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → (∃𝑦 ∈ (𝑁 WWalksN 𝐺)((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (𝑦‘0) = 𝑃 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸) → (𝑊‘0) = 𝑃))
6147, 60impbid 202 1 ((𝑁 ∈ ℕ0𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)) → ((𝑊‘0) = 𝑃 ↔ ∃𝑦 ∈ (𝑁 WWalksN 𝐺)((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑦 ∧ (𝑦‘0) = 𝑃 ∧ {( lastS ‘𝑦), ( lastS ‘𝑊)} ∈ 𝐸)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384  w3a 1036   = wceq 1480  wcel 1987  wral 2907  wrex 2908  {cpr 4150  cop 4154   class class class wbr 4613  cfv 5847  (class class class)co 6604  cr 9879  0cc0 9880  1c1 9881   + caddc 9883  cle 10019  cn 10964  0cn0 11236  cz 11321  ...cfz 12268  ..^cfzo 12406  #chash 13057  Word cword 13230   lastS clsw 13231   substr csubstr 13234  Vtxcvtx 25774  Edgcedg 25839   WWalksN cwwlksn 26587
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4731  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867  ax-un 6902  ax-cnex 9936  ax-resscn 9937  ax-1cn 9938  ax-icn 9939  ax-addcl 9940  ax-addrcl 9941  ax-mulcl 9942  ax-mulrcl 9943  ax-mulcom 9944  ax-addass 9945  ax-mulass 9946  ax-distr 9947  ax-i2m1 9948  ax-1ne0 9949  ax-1rid 9950  ax-rnegex 9951  ax-rrecex 9952  ax-cnre 9953  ax-pre-lttri 9954  ax-pre-lttrn 9955  ax-pre-ltadd 9956  ax-pre-mulgt0 9957
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-nel 2894  df-ral 2912  df-rex 2913  df-reu 2914  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-pss 3571  df-nul 3892  df-if 4059  df-pw 4132  df-sn 4149  df-pr 4151  df-tp 4153  df-op 4155  df-uni 4403  df-int 4441  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-tr 4713  df-eprel 4985  df-id 4989  df-po 4995  df-so 4996  df-fr 5033  df-we 5035  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-pred 5639  df-ord 5685  df-on 5686  df-lim 5687  df-suc 5688  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-f1 5852  df-fo 5853  df-f1o 5854  df-fv 5855  df-riota 6565  df-ov 6607  df-oprab 6608  df-mpt2 6609  df-om 7013  df-1st 7113  df-2nd 7114  df-wrecs 7352  df-recs 7413  df-rdg 7451  df-1o 7505  df-oadd 7509  df-er 7687  df-map 7804  df-pm 7805  df-en 7900  df-dom 7901  df-sdom 7902  df-fin 7903  df-card 8709  df-pnf 10020  df-mnf 10021  df-xr 10022  df-ltxr 10023  df-le 10024  df-sub 10212  df-neg 10213  df-nn 10965  df-n0 11237  df-z 11322  df-uz 11632  df-fz 12269  df-fzo 12407  df-hash 13058  df-word 13238  df-lsw 13239  df-substr 13242  df-wwlks 26591  df-wwlksn 26592
This theorem is referenced by:  rusgrnumwwlks  26736
  Copyright terms: Public domain W3C validator