Metamath Proof Explorer


Theorem 0wlk

Description: A pair of an empty set (of edges) and a second set (of vertices) is a walk iff the second set contains exactly one vertex. (Contributed by Alexander van der Vekens, 30-Oct-2017) (Revised by AV, 3-Jan-2021) (Revised by AV, 30-Oct-2021)

Ref Expression
Hypothesis 0wlk.v V=VtxG
Assertion 0wlk GUWalksGPP:00V

Proof

Step Hyp Ref Expression
1 0wlk.v V=VtxG
2 eqid iEdgG=iEdgG
3 1 2 iswlkg GUWalksGPWorddomiEdgGP:0Vk0..^if-Pk=Pk+1iEdgGk=PkPkPk+1iEdgGk
4 ral0 kif-Pk=Pk+1iEdgGk=PkPkPk+1iEdgGk
5 hash0 =0
6 5 oveq2i 0..^=0..^0
7 fzo0 0..^0=
8 6 7 eqtri 0..^=
9 8 raleqi k0..^if-Pk=Pk+1iEdgGk=PkPkPk+1iEdgGkkif-Pk=Pk+1iEdgGk=PkPkPk+1iEdgGk
10 4 9 mpbir k0..^if-Pk=Pk+1iEdgGk=PkPkPk+1iEdgGk
11 10 biantru WorddomiEdgGP:0VWorddomiEdgGP:0Vk0..^if-Pk=Pk+1iEdgGk=PkPkPk+1iEdgGk
12 5 eqcomi 0=
13 12 oveq2i 00=0
14 13 feq2i P:00VP:0V
15 wrd0 WorddomiEdgG
16 15 biantrur P:0VWorddomiEdgGP:0V
17 14 16 bitri P:00VWorddomiEdgGP:0V
18 df-3an WorddomiEdgGP:0Vk0..^if-Pk=Pk+1iEdgGk=PkPkPk+1iEdgGkWorddomiEdgGP:0Vk0..^if-Pk=Pk+1iEdgGk=PkPkPk+1iEdgGk
19 11 17 18 3bitr4ri WorddomiEdgGP:0Vk0..^if-Pk=Pk+1iEdgGk=PkPkPk+1iEdgGkP:00V
20 3 19 bitrdi GUWalksGPP:00V