Metamath Proof Explorer


Theorem cyclnspth

Description: A (non-trivial) cycle is not a simple path. (Contributed by Alexander van der Vekens, 30-Oct-2017) (Revised by AV, 31-Jan-2021) (Proof shortened by AV, 30-Oct-2021)

Ref Expression
Assertion cyclnspth FFCyclesGP¬FSPathsGP

Proof

Step Hyp Ref Expression
1 iscycl FCyclesGPFPathsGPP0=PF
2 relpths RelPathsG
3 2 brrelex1i FPathsGPFV
4 hasheq0 FVF=0F=
5 4 necon3bid FVF0F
6 5 bicomd FVFF0
7 3 6 syl FPathsGPFF0
8 7 biimpa FPathsGPFF0
9 spthdep FSPathsGPF0P0PF
10 9 neneqd FSPathsGPF0¬P0=PF
11 10 expcom F0FSPathsGP¬P0=PF
12 8 11 syl FPathsGPFFSPathsGP¬P0=PF
13 12 con2d FPathsGPFP0=PF¬FSPathsGP
14 13 impancom FPathsGPP0=PFF¬FSPathsGP
15 1 14 sylbi FCyclesGPF¬FSPathsGP
16 15 com12 FFCyclesGP¬FSPathsGP