Metamath Proof Explorer


Theorem pthisspthorcycl

Description: A path is either a simple path or a cycle (or both). (Contributed by BTernaryTau, 20-Oct-2023)

Ref Expression
Assertion pthisspthorcycl FPathsGPFSPathsGPFCyclesGP

Proof

Step Hyp Ref Expression
1 pthdepisspth FPathsGPP0PFFSPathsGP
2 1 ex FPathsGPP0PFFSPathsGP
3 2 necon1bd FPathsGP¬FSPathsGPP0=PF
4 3 anc2li FPathsGP¬FSPathsGPFPathsGPP0=PF
5 iscycl FCyclesGPFPathsGPP0=PF
6 4 5 imbitrrdi FPathsGP¬FSPathsGPFCyclesGP
7 6 orrd FPathsGPFSPathsGPFCyclesGP