Metamath Proof Explorer


Theorem usgrcyclgt2v

Description: A simple graph with a non-trivial cycle must have at least 3 vertices. (Contributed by BTernaryTau, 5-Oct-2023)

Ref Expression
Hypothesis usgrcyclgt2v.1 V=VtxG
Assertion usgrcyclgt2v GUSGraphFCyclesGPF2<V

Proof

Step Hyp Ref Expression
1 usgrcyclgt2v.1 V=VtxG
2 2re 2
3 2 rexri 2*
4 3 a1i GUSGraphFCyclesGPF2*
5 cycliswlk FCyclesGPFWalksGP
6 wlkcl FWalksGPF0
7 5 6 syl FCyclesGPF0
8 nn0xnn0 F0F0*
9 xnn0xr F0*F*
10 7 8 9 3syl FCyclesGPF*
11 10 3ad2ant2 GUSGraphFCyclesGPFF*
12 1 fvexi VV
13 hashxnn0 VVV0*
14 xnn0xr V0*V*
15 12 13 14 mp2b V*
16 15 a1i GUSGraphFCyclesGPFV*
17 usgrgt2cycl GUSGraphFCyclesGPF2<F
18 cyclispth FCyclesGPFPathsGP
19 1 pthhashvtx FPathsGPFV
20 18 19 syl FCyclesGPFV
21 20 3ad2ant2 GUSGraphFCyclesGPFFV
22 4 11 16 17 21 xrltletrd GUSGraphFCyclesGPF2<V