Metamath Proof Explorer


Theorem usgr2pthspth

Description: In a simple graph, any path of length 2 is a simple path. (Contributed by Alexander van der Vekens, 25-Jan-2018) (Revised by AV, 5-Jun-2021)

Ref Expression
Assertion usgr2pthspth GUSGraphF=2FPathsGPFSPathsGP

Proof

Step Hyp Ref Expression
1 pthistrl FPathsGPFTrailsGP
2 usgr2trlspth GUSGraphF=2FTrailsGPFSPathsGP
3 1 2 syl5ib GUSGraphF=2FPathsGPFSPathsGP
4 spthispth FSPathsGPFPathsGP
5 3 4 impbid1 GUSGraphF=2FPathsGPFSPathsGP