Description: A simple path of length 2 between two vertices (in a graph) as length 3 string. (Contributed by Alexander van der Vekens, 9-Mar-2018) (Revised by AV, 12-May-2021) (Proof shortened by AV, 16-Mar-2022)
Ref | Expression | ||
---|---|---|---|
Hypothesis | elwwlks2on.v | |
|
Assertion | elwspths2on | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | elwwlks2on.v | |
|
2 | wspthnon | |
|
3 | 2 | biimpi | |
4 | 1 | elwwlks2on | |
5 | simpl | |
|
6 | eleq1 | |
|
7 | 6 | biimpa | |
8 | 5 7 | jca | |
9 | 8 | ex | |
10 | 9 | adantr | |
11 | 10 | com12 | |
12 | 11 | reximdv | |
13 | 12 | a1i13 | |
14 | 13 | com24 | |
15 | 4 14 | sylbid | |
16 | 15 | impd | |
17 | 16 | com23 | |
18 | 3 17 | mpdi | |
19 | 6 | biimpar | |
20 | 19 | a1i | |
21 | 20 | rexlimdva | |
22 | 18 21 | impbid | |