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

Theorem wwlksnextbiOLD 27206
 Description: Obsolete proof of wwlksnextbi 27205 as of 12-Oct-2022. (Contributed by Alexander van der Vekens, 5-Aug-2018.) (Revised by AV, 16-Apr-2021.) (New usage is discouraged.) (Proof modification is discouraged.)
Hypotheses
Ref Expression
wwlksnext.v 𝑉 = (Vtx‘𝐺)
wwlksnext.e 𝐸 = (Edg‘𝐺)
Assertion
Ref Expression
wwlksnextbiOLD (((𝑁 ∈ ℕ0𝑆𝑉) ∧ (𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸)) → (𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺) ↔ 𝑇 ∈ (𝑁 WWalksN 𝐺)))

Proof of Theorem wwlksnextbiOLD
Dummy variable 𝑖 is distinct from all other variables.
StepHypRef Expression
1 wwlksnext.v . . . . 5 𝑉 = (Vtx‘𝐺)
2 wwlksnext.e . . . . 5 𝐸 = (Edg‘𝐺)
31, 2wwlknp 27142 . . . 4 (𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺) → (𝑊 ∈ Word 𝑉 ∧ (♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸))
4 wwlksnredOLD 27203 . . . . . . . 8 (𝑁 ∈ ℕ0 → (𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺) → (𝑊 substr ⟨0, (𝑁 + 1)⟩) ∈ (𝑁 WWalksN 𝐺)))
54ad2antrr 719 . . . . . . 7 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ (𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸)) → (𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺) → (𝑊 substr ⟨0, (𝑁 + 1)⟩) ∈ (𝑁 WWalksN 𝐺)))
6 fveqeq2 6442 . . . . . . . . . . . . . . . 16 (𝑊 = (𝑇 ++ ⟨“𝑆”⟩) → ((♯‘𝑊) = ((𝑁 + 1) + 1) ↔ (♯‘(𝑇 ++ ⟨“𝑆”⟩)) = ((𝑁 + 1) + 1)))
763ad2ant2 1170 . . . . . . . . . . . . . . 15 ((𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸) → ((♯‘𝑊) = ((𝑁 + 1) + 1) ↔ (♯‘(𝑇 ++ ⟨“𝑆”⟩)) = ((𝑁 + 1) + 1)))
87adantl 475 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ (𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸)) → ((♯‘𝑊) = ((𝑁 + 1) + 1) ↔ (♯‘(𝑇 ++ ⟨“𝑆”⟩)) = ((𝑁 + 1) + 1)))
9 s1cl 13662 . . . . . . . . . . . . . . . . . . . . . 22 (𝑆𝑉 → ⟨“𝑆”⟩ ∈ Word 𝑉)
109adantl 475 . . . . . . . . . . . . . . . . . . . . 21 ((𝑁 ∈ ℕ0𝑆𝑉) → ⟨“𝑆”⟩ ∈ Word 𝑉)
1110anim2i 612 . . . . . . . . . . . . . . . . . . . 20 ((𝑇 ∈ Word 𝑉 ∧ (𝑁 ∈ ℕ0𝑆𝑉)) → (𝑇 ∈ Word 𝑉 ∧ ⟨“𝑆”⟩ ∈ Word 𝑉))
1211ancoms 452 . . . . . . . . . . . . . . . . . . 19 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ 𝑇 ∈ Word 𝑉) → (𝑇 ∈ Word 𝑉 ∧ ⟨“𝑆”⟩ ∈ Word 𝑉))
13 ccatlen 13635 . . . . . . . . . . . . . . . . . . 19 ((𝑇 ∈ Word 𝑉 ∧ ⟨“𝑆”⟩ ∈ Word 𝑉) → (♯‘(𝑇 ++ ⟨“𝑆”⟩)) = ((♯‘𝑇) + (♯‘⟨“𝑆”⟩)))
1412, 13syl 17 . . . . . . . . . . . . . . . . . 18 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ 𝑇 ∈ Word 𝑉) → (♯‘(𝑇 ++ ⟨“𝑆”⟩)) = ((♯‘𝑇) + (♯‘⟨“𝑆”⟩)))
1514eqeq1d 2827 . . . . . . . . . . . . . . . . 17 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ 𝑇 ∈ Word 𝑉) → ((♯‘(𝑇 ++ ⟨“𝑆”⟩)) = ((𝑁 + 1) + 1) ↔ ((♯‘𝑇) + (♯‘⟨“𝑆”⟩)) = ((𝑁 + 1) + 1)))
16 s1len 13666 . . . . . . . . . . . . . . . . . . . 20 (♯‘⟨“𝑆”⟩) = 1
1716a1i 11 . . . . . . . . . . . . . . . . . . 19 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ 𝑇 ∈ Word 𝑉) → (♯‘⟨“𝑆”⟩) = 1)
1817oveq2d 6921 . . . . . . . . . . . . . . . . . 18 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ 𝑇 ∈ Word 𝑉) → ((♯‘𝑇) + (♯‘⟨“𝑆”⟩)) = ((♯‘𝑇) + 1))
1918eqeq1d 2827 . . . . . . . . . . . . . . . . 17 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ 𝑇 ∈ Word 𝑉) → (((♯‘𝑇) + (♯‘⟨“𝑆”⟩)) = ((𝑁 + 1) + 1) ↔ ((♯‘𝑇) + 1) = ((𝑁 + 1) + 1)))
20 lencl 13593 . . . . . . . . . . . . . . . . . . . 20 (𝑇 ∈ Word 𝑉 → (♯‘𝑇) ∈ ℕ0)
2120nn0cnd 11680 . . . . . . . . . . . . . . . . . . 19 (𝑇 ∈ Word 𝑉 → (♯‘𝑇) ∈ ℂ)
2221adantl 475 . . . . . . . . . . . . . . . . . 18 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ 𝑇 ∈ Word 𝑉) → (♯‘𝑇) ∈ ℂ)
23 peano2nn0 11660 . . . . . . . . . . . . . . . . . . . 20 (𝑁 ∈ ℕ0 → (𝑁 + 1) ∈ ℕ0)
2423nn0cnd 11680 . . . . . . . . . . . . . . . . . . 19 (𝑁 ∈ ℕ0 → (𝑁 + 1) ∈ ℂ)
2524ad2antrr 719 . . . . . . . . . . . . . . . . . 18 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ 𝑇 ∈ Word 𝑉) → (𝑁 + 1) ∈ ℂ)
26 1cnd 10351 . . . . . . . . . . . . . . . . . 18 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ 𝑇 ∈ Word 𝑉) → 1 ∈ ℂ)
2722, 25, 26addcan2d 10559 . . . . . . . . . . . . . . . . 17 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ 𝑇 ∈ Word 𝑉) → (((♯‘𝑇) + 1) = ((𝑁 + 1) + 1) ↔ (♯‘𝑇) = (𝑁 + 1)))
2815, 19, 273bitrd 297 . . . . . . . . . . . . . . . 16 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ 𝑇 ∈ Word 𝑉) → ((♯‘(𝑇 ++ ⟨“𝑆”⟩)) = ((𝑁 + 1) + 1) ↔ (♯‘𝑇) = (𝑁 + 1)))
29 opeq2 4624 . . . . . . . . . . . . . . . . . . . 20 ((𝑁 + 1) = (♯‘𝑇) → ⟨0, (𝑁 + 1)⟩ = ⟨0, (♯‘𝑇)⟩)
3029eqcoms 2833 . . . . . . . . . . . . . . . . . . 19 ((♯‘𝑇) = (𝑁 + 1) → ⟨0, (𝑁 + 1)⟩ = ⟨0, (♯‘𝑇)⟩)
3130oveq2d 6921 . . . . . . . . . . . . . . . . . 18 ((♯‘𝑇) = (𝑁 + 1) → ((𝑇 ++ ⟨“𝑆”⟩) substr ⟨0, (𝑁 + 1)⟩) = ((𝑇 ++ ⟨“𝑆”⟩) substr ⟨0, (♯‘𝑇)⟩))
32 swrdccat1OLD 13747 . . . . . . . . . . . . . . . . . . 19 ((𝑇 ∈ Word 𝑉 ∧ ⟨“𝑆”⟩ ∈ Word 𝑉) → ((𝑇 ++ ⟨“𝑆”⟩) substr ⟨0, (♯‘𝑇)⟩) = 𝑇)
3312, 32syl 17 . . . . . . . . . . . . . . . . . 18 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ 𝑇 ∈ Word 𝑉) → ((𝑇 ++ ⟨“𝑆”⟩) substr ⟨0, (♯‘𝑇)⟩) = 𝑇)
3431, 33sylan9eqr 2883 . . . . . . . . . . . . . . . . 17 ((((𝑁 ∈ ℕ0𝑆𝑉) ∧ 𝑇 ∈ Word 𝑉) ∧ (♯‘𝑇) = (𝑁 + 1)) → ((𝑇 ++ ⟨“𝑆”⟩) substr ⟨0, (𝑁 + 1)⟩) = 𝑇)
3534ex 403 . . . . . . . . . . . . . . . 16 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ 𝑇 ∈ Word 𝑉) → ((♯‘𝑇) = (𝑁 + 1) → ((𝑇 ++ ⟨“𝑆”⟩) substr ⟨0, (𝑁 + 1)⟩) = 𝑇))
3628, 35sylbid 232 . . . . . . . . . . . . . . 15 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ 𝑇 ∈ Word 𝑉) → ((♯‘(𝑇 ++ ⟨“𝑆”⟩)) = ((𝑁 + 1) + 1) → ((𝑇 ++ ⟨“𝑆”⟩) substr ⟨0, (𝑁 + 1)⟩) = 𝑇))
37363ad2antr1 1245 . . . . . . . . . . . . . 14 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ (𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸)) → ((♯‘(𝑇 ++ ⟨“𝑆”⟩)) = ((𝑁 + 1) + 1) → ((𝑇 ++ ⟨“𝑆”⟩) substr ⟨0, (𝑁 + 1)⟩) = 𝑇))
388, 37sylbid 232 . . . . . . . . . . . . 13 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ (𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸)) → ((♯‘𝑊) = ((𝑁 + 1) + 1) → ((𝑇 ++ ⟨“𝑆”⟩) substr ⟨0, (𝑁 + 1)⟩) = 𝑇))
3938imp 397 . . . . . . . . . . . 12 ((((𝑁 ∈ ℕ0𝑆𝑉) ∧ (𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸)) ∧ (♯‘𝑊) = ((𝑁 + 1) + 1)) → ((𝑇 ++ ⟨“𝑆”⟩) substr ⟨0, (𝑁 + 1)⟩) = 𝑇)
40 oveq1 6912 . . . . . . . . . . . . . . 15 (𝑊 = (𝑇 ++ ⟨“𝑆”⟩) → (𝑊 substr ⟨0, (𝑁 + 1)⟩) = ((𝑇 ++ ⟨“𝑆”⟩) substr ⟨0, (𝑁 + 1)⟩))
4140eqeq1d 2827 . . . . . . . . . . . . . 14 (𝑊 = (𝑇 ++ ⟨“𝑆”⟩) → ((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑇 ↔ ((𝑇 ++ ⟨“𝑆”⟩) substr ⟨0, (𝑁 + 1)⟩) = 𝑇))
42413ad2ant2 1170 . . . . . . . . . . . . 13 ((𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸) → ((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑇 ↔ ((𝑇 ++ ⟨“𝑆”⟩) substr ⟨0, (𝑁 + 1)⟩) = 𝑇))
4342ad2antlr 720 . . . . . . . . . . . 12 ((((𝑁 ∈ ℕ0𝑆𝑉) ∧ (𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸)) ∧ (♯‘𝑊) = ((𝑁 + 1) + 1)) → ((𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑇 ↔ ((𝑇 ++ ⟨“𝑆”⟩) substr ⟨0, (𝑁 + 1)⟩) = 𝑇))
4439, 43mpbird 249 . . . . . . . . . . 11 ((((𝑁 ∈ ℕ0𝑆𝑉) ∧ (𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸)) ∧ (♯‘𝑊) = ((𝑁 + 1) + 1)) → (𝑊 substr ⟨0, (𝑁 + 1)⟩) = 𝑇)
4544eleq1d 2891 . . . . . . . . . 10 ((((𝑁 ∈ ℕ0𝑆𝑉) ∧ (𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸)) ∧ (♯‘𝑊) = ((𝑁 + 1) + 1)) → ((𝑊 substr ⟨0, (𝑁 + 1)⟩) ∈ (𝑁 WWalksN 𝐺) ↔ 𝑇 ∈ (𝑁 WWalksN 𝐺)))
4645biimpd 221 . . . . . . . . 9 ((((𝑁 ∈ ℕ0𝑆𝑉) ∧ (𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸)) ∧ (♯‘𝑊) = ((𝑁 + 1) + 1)) → ((𝑊 substr ⟨0, (𝑁 + 1)⟩) ∈ (𝑁 WWalksN 𝐺) → 𝑇 ∈ (𝑁 WWalksN 𝐺)))
4746ex 403 . . . . . . . 8 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ (𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸)) → ((♯‘𝑊) = ((𝑁 + 1) + 1) → ((𝑊 substr ⟨0, (𝑁 + 1)⟩) ∈ (𝑁 WWalksN 𝐺) → 𝑇 ∈ (𝑁 WWalksN 𝐺))))
4847com23 86 . . . . . . 7 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ (𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸)) → ((𝑊 substr ⟨0, (𝑁 + 1)⟩) ∈ (𝑁 WWalksN 𝐺) → ((♯‘𝑊) = ((𝑁 + 1) + 1) → 𝑇 ∈ (𝑁 WWalksN 𝐺))))
495, 48syld 47 . . . . . 6 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ (𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸)) → (𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺) → ((♯‘𝑊) = ((𝑁 + 1) + 1) → 𝑇 ∈ (𝑁 WWalksN 𝐺))))
5049com13 88 . . . . 5 ((♯‘𝑊) = ((𝑁 + 1) + 1) → (𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺) → (((𝑁 ∈ ℕ0𝑆𝑉) ∧ (𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸)) → 𝑇 ∈ (𝑁 WWalksN 𝐺))))
51503ad2ant2 1170 . . . 4 ((𝑊 ∈ Word 𝑉 ∧ (♯‘𝑊) = ((𝑁 + 1) + 1) ∧ ∀𝑖 ∈ (0..^(𝑁 + 1)){(𝑊𝑖), (𝑊‘(𝑖 + 1))} ∈ 𝐸) → (𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺) → (((𝑁 ∈ ℕ0𝑆𝑉) ∧ (𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸)) → 𝑇 ∈ (𝑁 WWalksN 𝐺))))
523, 51mpcom 38 . . 3 (𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺) → (((𝑁 ∈ ℕ0𝑆𝑉) ∧ (𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸)) → 𝑇 ∈ (𝑁 WWalksN 𝐺)))
5352com12 32 . 2 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ (𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸)) → (𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺) → 𝑇 ∈ (𝑁 WWalksN 𝐺)))
541, 2wwlksnext 27204 . . . . . . . . . . 11 ((𝑇 ∈ (𝑁 WWalksN 𝐺) ∧ 𝑆𝑉 ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸) → (𝑇 ++ ⟨“𝑆”⟩) ∈ ((𝑁 + 1) WWalksN 𝐺))
55 eleq1 2894 . . . . . . . . . . 11 (𝑊 = (𝑇 ++ ⟨“𝑆”⟩) → (𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺) ↔ (𝑇 ++ ⟨“𝑆”⟩) ∈ ((𝑁 + 1) WWalksN 𝐺)))
5654, 55syl5ibrcom 239 . . . . . . . . . 10 ((𝑇 ∈ (𝑁 WWalksN 𝐺) ∧ 𝑆𝑉 ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸) → (𝑊 = (𝑇 ++ ⟨“𝑆”⟩) → 𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)))
57563exp 1154 . . . . . . . . 9 (𝑇 ∈ (𝑁 WWalksN 𝐺) → (𝑆𝑉 → ({(lastS‘𝑇), 𝑆} ∈ 𝐸 → (𝑊 = (𝑇 ++ ⟨“𝑆”⟩) → 𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)))))
5857com23 86 . . . . . . . 8 (𝑇 ∈ (𝑁 WWalksN 𝐺) → ({(lastS‘𝑇), 𝑆} ∈ 𝐸 → (𝑆𝑉 → (𝑊 = (𝑇 ++ ⟨“𝑆”⟩) → 𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)))))
5958com14 96 . . . . . . 7 (𝑊 = (𝑇 ++ ⟨“𝑆”⟩) → ({(lastS‘𝑇), 𝑆} ∈ 𝐸 → (𝑆𝑉 → (𝑇 ∈ (𝑁 WWalksN 𝐺) → 𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)))))
6059imp 397 . . . . . 6 ((𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸) → (𝑆𝑉 → (𝑇 ∈ (𝑁 WWalksN 𝐺) → 𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))))
61603adant1 1166 . . . . 5 ((𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸) → (𝑆𝑉 → (𝑇 ∈ (𝑁 WWalksN 𝐺) → 𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))))
6261com12 32 . . . 4 (𝑆𝑉 → ((𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸) → (𝑇 ∈ (𝑁 WWalksN 𝐺) → 𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))))
6362adantl 475 . . 3 ((𝑁 ∈ ℕ0𝑆𝑉) → ((𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸) → (𝑇 ∈ (𝑁 WWalksN 𝐺) → 𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺))))
6463imp 397 . 2 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ (𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸)) → (𝑇 ∈ (𝑁 WWalksN 𝐺) → 𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺)))
6553, 64impbid 204 1 (((𝑁 ∈ ℕ0𝑆𝑉) ∧ (𝑇 ∈ Word 𝑉𝑊 = (𝑇 ++ ⟨“𝑆”⟩) ∧ {(lastS‘𝑇), 𝑆} ∈ 𝐸)) → (𝑊 ∈ ((𝑁 + 1) WWalksN 𝐺) ↔ 𝑇 ∈ (𝑁 WWalksN 𝐺)))
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 198   ∧ wa 386   ∧ w3a 1113   = wceq 1658   ∈ wcel 2166  ∀wral 3117  {cpr 4399  ⟨cop 4403  ‘cfv 6123  (class class class)co 6905  ℂcc 10250  0cc0 10252  1c1 10253   + caddc 10255  ℕ0cn0 11618  ..^cfzo 12760  ♯chash 13410  Word cword 13574  lastSclsw 13622   ++ cconcat 13630  ⟨“cs1 13655   substr csubstr 13700  Vtxcvtx 26294  Edgcedg 26345   WWalksN cwwlksn 27125 This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1896  ax-4 1910  ax-5 2011  ax-6 2077  ax-7 2114  ax-8 2168  ax-9 2175  ax-10 2194  ax-11 2209  ax-12 2222  ax-13 2391  ax-ext 2803  ax-rep 4994  ax-sep 5005  ax-nul 5013  ax-pow 5065  ax-pr 5127  ax-un 7209  ax-cnex 10308  ax-resscn 10309  ax-1cn 10310  ax-icn 10311  ax-addcl 10312  ax-addrcl 10313  ax-mulcl 10314  ax-mulrcl 10315  ax-mulcom 10316  ax-addass 10317  ax-mulass 10318  ax-distr 10319  ax-i2m1 10320  ax-1ne0 10321  ax-1rid 10322  ax-rnegex 10323  ax-rrecex 10324  ax-cnre 10325  ax-pre-lttri 10326  ax-pre-lttrn 10327  ax-pre-ltadd 10328  ax-pre-mulgt0 10329 This theorem depends on definitions:  df-bi 199  df-an 387  df-or 881  df-3or 1114  df-3an 1115  df-tru 1662  df-ex 1881  df-nf 1885  df-sb 2070  df-mo 2605  df-eu 2640  df-clab 2812  df-cleq 2818  df-clel 2821  df-nfc 2958  df-ne 3000  df-nel 3103  df-ral 3122  df-rex 3123  df-reu 3124  df-rab 3126  df-v 3416  df-sbc 3663  df-csb 3758  df-dif 3801  df-un 3803  df-in 3805  df-ss 3812  df-pss 3814  df-nul 4145  df-if 4307  df-pw 4380  df-sn 4398  df-pr 4400  df-tp 4402  df-op 4404  df-uni 4659  df-int 4698  df-iun 4742  df-br 4874  df-opab 4936  df-mpt 4953  df-tr 4976  df-id 5250  df-eprel 5255  df-po 5263  df-so 5264  df-fr 5301  df-we 5303  df-xp 5348  df-rel 5349  df-cnv 5350  df-co 5351  df-dm 5352  df-rn 5353  df-res 5354  df-ima 5355  df-pred 5920  df-ord 5966  df-on 5967  df-lim 5968  df-suc 5969  df-iota 6086  df-fun 6125  df-fn 6126  df-f 6127  df-f1 6128  df-fo 6129  df-f1o 6130  df-fv 6131  df-riota 6866  df-ov 6908  df-oprab 6909  df-mpt2 6910  df-om 7327  df-1st 7428  df-2nd 7429  df-wrecs 7672  df-recs 7734  df-rdg 7772  df-1o 7826  df-oadd 7830  df-er 8009  df-map 8124  df-pm 8125  df-en 8223  df-dom 8224  df-sdom 8225  df-fin 8226  df-card 9078  df-pnf 10393  df-mnf 10394  df-xr 10395  df-ltxr 10396  df-le 10397  df-sub 10587  df-neg 10588  df-nn 11351  df-n0 11619  df-z 11705  df-uz 11969  df-fz 12620  df-fzo 12761  df-hash 13411  df-word 13575  df-lsw 13623  df-concat 13631  df-s1 13656  df-substr 13701  df-wwlks 27129  df-wwlksn 27130 This theorem is referenced by: (None)
 Copyright terms: Public domain W3C validator