Metamath Proof Explorer


Theorem trlsfval

Description: The set of trails (in an undirected graph). (Contributed by Alexander van der Vekens, 20-Oct-2017) (Revised by AV, 28-Dec-2020) (Revised by AV, 29-Oct-2021)

Ref Expression
Assertion trlsfval Trails G = f p | f Walks G p Fun f -1

Proof

Step Hyp Ref Expression
1 biidd g = G Fun f -1 Fun f -1
2 wksv f p | f Walks G p V
3 2 a1i f p | f Walks G p V
4 df-trls Trails = g V f p | f Walks g p Fun f -1
5 1 3 4 fvmptopab Trails G = f p | f Walks G p Fun f -1
6 5 mptru Trails G = f p | f Walks G p Fun f -1