Metamath Proof Explorer


Theorem wlkvv

Description: If there is at least one walk in the graph, all walks are in the universal class of ordered pairs. (Contributed by AV, 2-Jan-2021)

Ref Expression
Assertion wlkvv ( ( 1st𝑊 ) ( Walks ‘ 𝐺 ) ( 2nd𝑊 ) → 𝑊 ∈ ( V × V ) )

Proof

Step Hyp Ref Expression
1 wlkn0 ( ( 1st𝑊 ) ( Walks ‘ 𝐺 ) ( 2nd𝑊 ) → ( 2nd𝑊 ) ≠ ∅ )
2 2ndnpr ( ¬ 𝑊 ∈ ( V × V ) → ( 2nd𝑊 ) = ∅ )
3 2 necon1ai ( ( 2nd𝑊 ) ≠ ∅ → 𝑊 ∈ ( V × V ) )
4 1 3 syl ( ( 1st𝑊 ) ( Walks ‘ 𝐺 ) ( 2nd𝑊 ) → 𝑊 ∈ ( V × V ) )