Metamath Proof Explorer


Theorem wlkreslem

Description: Lemma for wlkres . (Contributed by AV, 5-Mar-2021) (Revised by AV, 30-Nov-2022)

Ref Expression
Hypotheses wlkres.v V=VtxG
wlkres.i I=iEdgG
wlkres.d φFWalksGP
wlkres.n φN0..^F
wlkres.s φVtxS=V
Assertion wlkreslem φSV

Proof

Step Hyp Ref Expression
1 wlkres.v V=VtxG
2 wlkres.i I=iEdgG
3 wlkres.d φFWalksGP
4 wlkres.n φN0..^F
5 wlkres.s φVtxS=V
6 ax-1 SVφSV
7 df-nel SV¬SV
8 df-br FWalksGPFPWalksG
9 ne0i FPWalksGWalksG
10 5 1 eqtrdi φVtxS=VtxG
11 10 anim1ci φSVSVVtxS=VtxG
12 wlk0prc SVVtxS=VtxGWalksG=
13 eqneqall WalksG=WalksGSV
14 11 12 13 3syl φSVWalksGSV
15 14 expcom SVφWalksGSV
16 15 com13 WalksGφSVSV
17 9 16 syl FPWalksGφSVSV
18 8 17 sylbi FWalksGPφSVSV
19 3 18 mpcom φSVSV
20 19 com12 SVφSV
21 7 20 sylbir ¬SVφSV
22 6 21 pm2.61i φSV