Proof of Theorem clwwlknonccat
Step | Hyp | Ref
| Expression |
1 | | simpl 483 |
. . . . 5
⊢ ((𝐴 ∈ (𝑀 ClWWalksN 𝐺) ∧ (𝐴‘0) = 𝑋) → 𝐴 ∈ (𝑀 ClWWalksN 𝐺)) |
2 | 1 | adantr 481 |
. . . 4
⊢ (((𝐴 ∈ (𝑀 ClWWalksN 𝐺) ∧ (𝐴‘0) = 𝑋) ∧ (𝐵 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝐵‘0) = 𝑋)) → 𝐴 ∈ (𝑀 ClWWalksN 𝐺)) |
3 | | simpl 483 |
. . . . 5
⊢ ((𝐵 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝐵‘0) = 𝑋) → 𝐵 ∈ (𝑁 ClWWalksN 𝐺)) |
4 | 3 | adantl 482 |
. . . 4
⊢ (((𝐴 ∈ (𝑀 ClWWalksN 𝐺) ∧ (𝐴‘0) = 𝑋) ∧ (𝐵 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝐵‘0) = 𝑋)) → 𝐵 ∈ (𝑁 ClWWalksN 𝐺)) |
5 | | simpr 485 |
. . . . . 6
⊢ ((𝐴 ∈ (𝑀 ClWWalksN 𝐺) ∧ (𝐴‘0) = 𝑋) → (𝐴‘0) = 𝑋) |
6 | 5 | adantr 481 |
. . . . 5
⊢ (((𝐴 ∈ (𝑀 ClWWalksN 𝐺) ∧ (𝐴‘0) = 𝑋) ∧ (𝐵 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝐵‘0) = 𝑋)) → (𝐴‘0) = 𝑋) |
7 | | simpr 485 |
. . . . . . 7
⊢ ((𝐵 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝐵‘0) = 𝑋) → (𝐵‘0) = 𝑋) |
8 | 7 | eqcomd 2744 |
. . . . . 6
⊢ ((𝐵 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝐵‘0) = 𝑋) → 𝑋 = (𝐵‘0)) |
9 | 8 | adantl 482 |
. . . . 5
⊢ (((𝐴 ∈ (𝑀 ClWWalksN 𝐺) ∧ (𝐴‘0) = 𝑋) ∧ (𝐵 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝐵‘0) = 𝑋)) → 𝑋 = (𝐵‘0)) |
10 | 6, 9 | eqtrd 2778 |
. . . 4
⊢ (((𝐴 ∈ (𝑀 ClWWalksN 𝐺) ∧ (𝐴‘0) = 𝑋) ∧ (𝐵 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝐵‘0) = 𝑋)) → (𝐴‘0) = (𝐵‘0)) |
11 | | clwwlknccat 28427 |
. . . 4
⊢ ((𝐴 ∈ (𝑀 ClWWalksN 𝐺) ∧ 𝐵 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝐴‘0) = (𝐵‘0)) → (𝐴 ++ 𝐵) ∈ ((𝑀 + 𝑁) ClWWalksN 𝐺)) |
12 | 2, 4, 10, 11 | syl3anc 1370 |
. . 3
⊢ (((𝐴 ∈ (𝑀 ClWWalksN 𝐺) ∧ (𝐴‘0) = 𝑋) ∧ (𝐵 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝐵‘0) = 𝑋)) → (𝐴 ++ 𝐵) ∈ ((𝑀 + 𝑁) ClWWalksN 𝐺)) |
13 | | eqid 2738 |
. . . . . . . 8
⊢
(Vtx‘𝐺) =
(Vtx‘𝐺) |
14 | 13 | clwwlknwrd 28398 |
. . . . . . 7
⊢ (𝐴 ∈ (𝑀 ClWWalksN 𝐺) → 𝐴 ∈ Word (Vtx‘𝐺)) |
15 | 14 | adantr 481 |
. . . . . 6
⊢ ((𝐴 ∈ (𝑀 ClWWalksN 𝐺) ∧ (𝐴‘0) = 𝑋) → 𝐴 ∈ Word (Vtx‘𝐺)) |
16 | 15 | adantr 481 |
. . . . 5
⊢ (((𝐴 ∈ (𝑀 ClWWalksN 𝐺) ∧ (𝐴‘0) = 𝑋) ∧ (𝐵 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝐵‘0) = 𝑋)) → 𝐴 ∈ Word (Vtx‘𝐺)) |
17 | 13 | clwwlknwrd 28398 |
. . . . . . 7
⊢ (𝐵 ∈ (𝑁 ClWWalksN 𝐺) → 𝐵 ∈ Word (Vtx‘𝐺)) |
18 | 17 | adantr 481 |
. . . . . 6
⊢ ((𝐵 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝐵‘0) = 𝑋) → 𝐵 ∈ Word (Vtx‘𝐺)) |
19 | 18 | adantl 482 |
. . . . 5
⊢ (((𝐴 ∈ (𝑀 ClWWalksN 𝐺) ∧ (𝐴‘0) = 𝑋) ∧ (𝐵 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝐵‘0) = 𝑋)) → 𝐵 ∈ Word (Vtx‘𝐺)) |
20 | | clwwlknnn 28397 |
. . . . . . . 8
⊢ (𝐴 ∈ (𝑀 ClWWalksN 𝐺) → 𝑀 ∈ ℕ) |
21 | | clwwlknlen 28396 |
. . . . . . . 8
⊢ (𝐴 ∈ (𝑀 ClWWalksN 𝐺) → (♯‘𝐴) = 𝑀) |
22 | | nngt0 12004 |
. . . . . . . . 9
⊢ (𝑀 ∈ ℕ → 0 <
𝑀) |
23 | | breq2 5078 |
. . . . . . . . 9
⊢
((♯‘𝐴) =
𝑀 → (0 <
(♯‘𝐴) ↔ 0
< 𝑀)) |
24 | 22, 23 | syl5ibrcom 246 |
. . . . . . . 8
⊢ (𝑀 ∈ ℕ →
((♯‘𝐴) = 𝑀 → 0 <
(♯‘𝐴))) |
25 | 20, 21, 24 | sylc 65 |
. . . . . . 7
⊢ (𝐴 ∈ (𝑀 ClWWalksN 𝐺) → 0 < (♯‘𝐴)) |
26 | 25 | adantr 481 |
. . . . . 6
⊢ ((𝐴 ∈ (𝑀 ClWWalksN 𝐺) ∧ (𝐴‘0) = 𝑋) → 0 < (♯‘𝐴)) |
27 | 26 | adantr 481 |
. . . . 5
⊢ (((𝐴 ∈ (𝑀 ClWWalksN 𝐺) ∧ (𝐴‘0) = 𝑋) ∧ (𝐵 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝐵‘0) = 𝑋)) → 0 < (♯‘𝐴)) |
28 | | ccatfv0 14288 |
. . . . 5
⊢ ((𝐴 ∈ Word (Vtx‘𝐺) ∧ 𝐵 ∈ Word (Vtx‘𝐺) ∧ 0 < (♯‘𝐴)) → ((𝐴 ++ 𝐵)‘0) = (𝐴‘0)) |
29 | 16, 19, 27, 28 | syl3anc 1370 |
. . . 4
⊢ (((𝐴 ∈ (𝑀 ClWWalksN 𝐺) ∧ (𝐴‘0) = 𝑋) ∧ (𝐵 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝐵‘0) = 𝑋)) → ((𝐴 ++ 𝐵)‘0) = (𝐴‘0)) |
30 | 29, 6 | eqtrd 2778 |
. . 3
⊢ (((𝐴 ∈ (𝑀 ClWWalksN 𝐺) ∧ (𝐴‘0) = 𝑋) ∧ (𝐵 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝐵‘0) = 𝑋)) → ((𝐴 ++ 𝐵)‘0) = 𝑋) |
31 | 12, 30 | jca 512 |
. 2
⊢ (((𝐴 ∈ (𝑀 ClWWalksN 𝐺) ∧ (𝐴‘0) = 𝑋) ∧ (𝐵 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝐵‘0) = 𝑋)) → ((𝐴 ++ 𝐵) ∈ ((𝑀 + 𝑁) ClWWalksN 𝐺) ∧ ((𝐴 ++ 𝐵)‘0) = 𝑋)) |
32 | | isclwwlknon 28455 |
. . 3
⊢ (𝐴 ∈ (𝑋(ClWWalksNOn‘𝐺)𝑀) ↔ (𝐴 ∈ (𝑀 ClWWalksN 𝐺) ∧ (𝐴‘0) = 𝑋)) |
33 | | isclwwlknon 28455 |
. . 3
⊢ (𝐵 ∈ (𝑋(ClWWalksNOn‘𝐺)𝑁) ↔ (𝐵 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝐵‘0) = 𝑋)) |
34 | 32, 33 | anbi12i 627 |
. 2
⊢ ((𝐴 ∈ (𝑋(ClWWalksNOn‘𝐺)𝑀) ∧ 𝐵 ∈ (𝑋(ClWWalksNOn‘𝐺)𝑁)) ↔ ((𝐴 ∈ (𝑀 ClWWalksN 𝐺) ∧ (𝐴‘0) = 𝑋) ∧ (𝐵 ∈ (𝑁 ClWWalksN 𝐺) ∧ (𝐵‘0) = 𝑋))) |
35 | | isclwwlknon 28455 |
. 2
⊢ ((𝐴 ++ 𝐵) ∈ (𝑋(ClWWalksNOn‘𝐺)(𝑀 + 𝑁)) ↔ ((𝐴 ++ 𝐵) ∈ ((𝑀 + 𝑁) ClWWalksN 𝐺) ∧ ((𝐴 ++ 𝐵)‘0) = 𝑋)) |
36 | 31, 34, 35 | 3imtr4i 292 |
1
⊢ ((𝐴 ∈ (𝑋(ClWWalksNOn‘𝐺)𝑀) ∧ 𝐵 ∈ (𝑋(ClWWalksNOn‘𝐺)𝑁)) → (𝐴 ++ 𝐵) ∈ (𝑋(ClWWalksNOn‘𝐺)(𝑀 + 𝑁))) |