Description: In a simply graph, there is a path of length 2 iff there are three distinct vertices so that one of them is connected to each of the two others by an edge. (Contributed by Alexander van der Vekens, 27-Jan-2018) (Revised by AV, 5-Jun-2021)
Ref | Expression | ||
---|---|---|---|
Hypotheses | usgr2pthlem.v | |
|
usgr2pthlem.i | |
||
Assertion | usgr2pth0 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | usgr2pthlem.v | |
|
2 | usgr2pthlem.i | |
|
3 | 1 2 | usgr2pth | |
4 | r19.42v | |
|
5 | rexdifpr | |
|
6 | 4 5 | bitr3i | |
7 | 6 | rexbii | |
8 | rexcom | |
|
9 | df-3an | |
|
10 | anass | |
|
11 | anass | |
|
12 | anass | |
|
13 | ancom | |
|
14 | necom | |
|
15 | 14 | anbi2ci | |
16 | 15 | anbi1i | |
17 | 12 13 16 | 3bitri | |
18 | 17 | anbi1i | |
19 | df-3an | |
|
20 | 11 18 19 | 3bitr4i | |
21 | 9 10 20 | 3bitr2i | |
22 | 21 | rexbii | |
23 | rexdifpr | |
|
24 | r19.42v | |
|
25 | 22 23 24 | 3bitr2i | |
26 | 25 | rexbii | |
27 | 7 8 26 | 3bitri | |
28 | rexdifsn | |
|
29 | rexdifsn | |
|
30 | 27 28 29 | 3bitr4i | |
31 | 30 | a1i | |
32 | 31 | rexbidva | |
33 | 32 | 3anbi3d | |
34 | 3 33 | bitrd | |