Proof of Theorem clwwlkn1loopb
Step | Hyp | Ref
| Expression |
1 | | clwwlkn1 28306 |
. 2
⊢ (𝑊 ∈ (1 ClWWalksN 𝐺) ↔ ((♯‘𝑊) = 1 ∧ 𝑊 ∈ Word (Vtx‘𝐺) ∧ {(𝑊‘0)} ∈ (Edg‘𝐺))) |
2 | | wrdl1exs1 14246 |
. . . . . 6
⊢ ((𝑊 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑊) = 1) → ∃𝑣 ∈ (Vtx‘𝐺)𝑊 = 〈“𝑣”〉) |
3 | | fveq1 6755 |
. . . . . . . . . . . . . . 15
⊢ (𝑊 = 〈“𝑣”〉 → (𝑊‘0) = (〈“𝑣”〉‘0)) |
4 | | s1fv 14243 |
. . . . . . . . . . . . . . 15
⊢ (𝑣 ∈ (Vtx‘𝐺) → (〈“𝑣”〉‘0) = 𝑣) |
5 | 3, 4 | sylan9eq 2799 |
. . . . . . . . . . . . . 14
⊢ ((𝑊 = 〈“𝑣”〉 ∧ 𝑣 ∈ (Vtx‘𝐺)) → (𝑊‘0) = 𝑣) |
6 | 5 | sneqd 4570 |
. . . . . . . . . . . . 13
⊢ ((𝑊 = 〈“𝑣”〉 ∧ 𝑣 ∈ (Vtx‘𝐺)) → {(𝑊‘0)} = {𝑣}) |
7 | 6 | eleq1d 2823 |
. . . . . . . . . . . 12
⊢ ((𝑊 = 〈“𝑣”〉 ∧ 𝑣 ∈ (Vtx‘𝐺)) → ({(𝑊‘0)} ∈ (Edg‘𝐺) ↔ {𝑣} ∈ (Edg‘𝐺))) |
8 | 7 | biimpd 228 |
. . . . . . . . . . 11
⊢ ((𝑊 = 〈“𝑣”〉 ∧ 𝑣 ∈ (Vtx‘𝐺)) → ({(𝑊‘0)} ∈ (Edg‘𝐺) → {𝑣} ∈ (Edg‘𝐺))) |
9 | 8 | ex 412 |
. . . . . . . . . 10
⊢ (𝑊 = 〈“𝑣”〉 → (𝑣 ∈ (Vtx‘𝐺) → ({(𝑊‘0)} ∈ (Edg‘𝐺) → {𝑣} ∈ (Edg‘𝐺)))) |
10 | 9 | com13 88 |
. . . . . . . . 9
⊢ ({(𝑊‘0)} ∈
(Edg‘𝐺) → (𝑣 ∈ (Vtx‘𝐺) → (𝑊 = 〈“𝑣”〉 → {𝑣} ∈ (Edg‘𝐺)))) |
11 | 10 | imp 406 |
. . . . . . . 8
⊢ (({(𝑊‘0)} ∈
(Edg‘𝐺) ∧ 𝑣 ∈ (Vtx‘𝐺)) → (𝑊 = 〈“𝑣”〉 → {𝑣} ∈ (Edg‘𝐺))) |
12 | 11 | ancld 550 |
. . . . . . 7
⊢ (({(𝑊‘0)} ∈
(Edg‘𝐺) ∧ 𝑣 ∈ (Vtx‘𝐺)) → (𝑊 = 〈“𝑣”〉 → (𝑊 = 〈“𝑣”〉 ∧ {𝑣} ∈ (Edg‘𝐺)))) |
13 | 12 | reximdva 3202 |
. . . . . 6
⊢ ({(𝑊‘0)} ∈
(Edg‘𝐺) →
(∃𝑣 ∈
(Vtx‘𝐺)𝑊 = 〈“𝑣”〉 →
∃𝑣 ∈
(Vtx‘𝐺)(𝑊 = 〈“𝑣”〉 ∧ {𝑣} ∈ (Edg‘𝐺)))) |
14 | 2, 13 | syl5com 31 |
. . . . 5
⊢ ((𝑊 ∈ Word (Vtx‘𝐺) ∧ (♯‘𝑊) = 1) → ({(𝑊‘0)} ∈
(Edg‘𝐺) →
∃𝑣 ∈
(Vtx‘𝐺)(𝑊 = 〈“𝑣”〉 ∧ {𝑣} ∈ (Edg‘𝐺)))) |
15 | 14 | expcom 413 |
. . . 4
⊢
((♯‘𝑊) =
1 → (𝑊 ∈ Word
(Vtx‘𝐺) →
({(𝑊‘0)} ∈
(Edg‘𝐺) →
∃𝑣 ∈
(Vtx‘𝐺)(𝑊 = 〈“𝑣”〉 ∧ {𝑣} ∈ (Edg‘𝐺))))) |
16 | 15 | 3imp 1109 |
. . 3
⊢
(((♯‘𝑊)
= 1 ∧ 𝑊 ∈ Word
(Vtx‘𝐺) ∧ {(𝑊‘0)} ∈
(Edg‘𝐺)) →
∃𝑣 ∈
(Vtx‘𝐺)(𝑊 = 〈“𝑣”〉 ∧ {𝑣} ∈ (Edg‘𝐺))) |
17 | | s1len 14239 |
. . . . . . . 8
⊢
(♯‘〈“𝑣”〉) = 1 |
18 | 17 | a1i 11 |
. . . . . . 7
⊢ ((𝑣 ∈ (Vtx‘𝐺) ∧ {𝑣} ∈ (Edg‘𝐺)) → (♯‘〈“𝑣”〉) =
1) |
19 | | s1cl 14235 |
. . . . . . . 8
⊢ (𝑣 ∈ (Vtx‘𝐺) → 〈“𝑣”〉 ∈ Word
(Vtx‘𝐺)) |
20 | 19 | adantr 480 |
. . . . . . 7
⊢ ((𝑣 ∈ (Vtx‘𝐺) ∧ {𝑣} ∈ (Edg‘𝐺)) → 〈“𝑣”〉 ∈ Word (Vtx‘𝐺)) |
21 | 4 | eqcomd 2744 |
. . . . . . . . . . 11
⊢ (𝑣 ∈ (Vtx‘𝐺) → 𝑣 = (〈“𝑣”〉‘0)) |
22 | 21 | sneqd 4570 |
. . . . . . . . . 10
⊢ (𝑣 ∈ (Vtx‘𝐺) → {𝑣} = {(〈“𝑣”〉‘0)}) |
23 | 22 | eleq1d 2823 |
. . . . . . . . 9
⊢ (𝑣 ∈ (Vtx‘𝐺) → ({𝑣} ∈ (Edg‘𝐺) ↔ {(〈“𝑣”〉‘0)} ∈
(Edg‘𝐺))) |
24 | 23 | biimpd 228 |
. . . . . . . 8
⊢ (𝑣 ∈ (Vtx‘𝐺) → ({𝑣} ∈ (Edg‘𝐺) → {(〈“𝑣”〉‘0)} ∈
(Edg‘𝐺))) |
25 | 24 | imp 406 |
. . . . . . 7
⊢ ((𝑣 ∈ (Vtx‘𝐺) ∧ {𝑣} ∈ (Edg‘𝐺)) → {(〈“𝑣”〉‘0)} ∈
(Edg‘𝐺)) |
26 | 18, 20, 25 | 3jca 1126 |
. . . . . 6
⊢ ((𝑣 ∈ (Vtx‘𝐺) ∧ {𝑣} ∈ (Edg‘𝐺)) → ((♯‘〈“𝑣”〉) = 1 ∧
〈“𝑣”〉
∈ Word (Vtx‘𝐺)
∧ {(〈“𝑣”〉‘0)} ∈
(Edg‘𝐺))) |
27 | 26 | adantrl 712 |
. . . . 5
⊢ ((𝑣 ∈ (Vtx‘𝐺) ∧ (𝑊 = 〈“𝑣”〉 ∧ {𝑣} ∈ (Edg‘𝐺))) →
((♯‘〈“𝑣”〉) = 1 ∧ 〈“𝑣”〉 ∈ Word
(Vtx‘𝐺) ∧
{(〈“𝑣”〉‘0)} ∈
(Edg‘𝐺))) |
28 | | fveqeq2 6765 |
. . . . . . 7
⊢ (𝑊 = 〈“𝑣”〉 →
((♯‘𝑊) = 1
↔ (♯‘〈“𝑣”〉) = 1)) |
29 | | eleq1 2826 |
. . . . . . 7
⊢ (𝑊 = 〈“𝑣”〉 → (𝑊 ∈ Word (Vtx‘𝐺) ↔ 〈“𝑣”〉 ∈ Word
(Vtx‘𝐺))) |
30 | 3 | sneqd 4570 |
. . . . . . . 8
⊢ (𝑊 = 〈“𝑣”〉 → {(𝑊‘0)} =
{(〈“𝑣”〉‘0)}) |
31 | 30 | eleq1d 2823 |
. . . . . . 7
⊢ (𝑊 = 〈“𝑣”〉 → ({(𝑊‘0)} ∈
(Edg‘𝐺) ↔
{(〈“𝑣”〉‘0)} ∈
(Edg‘𝐺))) |
32 | 28, 29, 31 | 3anbi123d 1434 |
. . . . . 6
⊢ (𝑊 = 〈“𝑣”〉 →
(((♯‘𝑊) = 1
∧ 𝑊 ∈ Word
(Vtx‘𝐺) ∧ {(𝑊‘0)} ∈
(Edg‘𝐺)) ↔
((♯‘〈“𝑣”〉) = 1 ∧ 〈“𝑣”〉 ∈ Word
(Vtx‘𝐺) ∧
{(〈“𝑣”〉‘0)} ∈
(Edg‘𝐺)))) |
33 | 32 | ad2antrl 724 |
. . . . 5
⊢ ((𝑣 ∈ (Vtx‘𝐺) ∧ (𝑊 = 〈“𝑣”〉 ∧ {𝑣} ∈ (Edg‘𝐺))) → (((♯‘𝑊) = 1 ∧ 𝑊 ∈ Word (Vtx‘𝐺) ∧ {(𝑊‘0)} ∈ (Edg‘𝐺)) ↔
((♯‘〈“𝑣”〉) = 1 ∧ 〈“𝑣”〉 ∈ Word
(Vtx‘𝐺) ∧
{(〈“𝑣”〉‘0)} ∈
(Edg‘𝐺)))) |
34 | 27, 33 | mpbird 256 |
. . . 4
⊢ ((𝑣 ∈ (Vtx‘𝐺) ∧ (𝑊 = 〈“𝑣”〉 ∧ {𝑣} ∈ (Edg‘𝐺))) → ((♯‘𝑊) = 1 ∧ 𝑊 ∈ Word (Vtx‘𝐺) ∧ {(𝑊‘0)} ∈ (Edg‘𝐺))) |
35 | 34 | rexlimiva 3209 |
. . 3
⊢
(∃𝑣 ∈
(Vtx‘𝐺)(𝑊 = 〈“𝑣”〉 ∧ {𝑣} ∈ (Edg‘𝐺)) → ((♯‘𝑊) = 1 ∧ 𝑊 ∈ Word (Vtx‘𝐺) ∧ {(𝑊‘0)} ∈ (Edg‘𝐺))) |
36 | 16, 35 | impbii 208 |
. 2
⊢
(((♯‘𝑊)
= 1 ∧ 𝑊 ∈ Word
(Vtx‘𝐺) ∧ {(𝑊‘0)} ∈
(Edg‘𝐺)) ↔
∃𝑣 ∈
(Vtx‘𝐺)(𝑊 = 〈“𝑣”〉 ∧ {𝑣} ∈ (Edg‘𝐺))) |
37 | 1, 36 | bitri 274 |
1
⊢ (𝑊 ∈ (1 ClWWalksN 𝐺) ↔ ∃𝑣 ∈ (Vtx‘𝐺)(𝑊 = 〈“𝑣”〉 ∧ {𝑣} ∈ (Edg‘𝐺))) |