Metamath Proof Explorer


Theorem clwwlknon2

Description: The set of closed walks on vertex X of length 2 in a graph G as words over the set of vertices. (Contributed by AV, 5-Mar-2022) (Revised by AV, 25-Mar-2022)

Ref Expression
Hypothesis clwwlknon2.c C=ClWWalksNOnG
Assertion clwwlknon2 XC2=w2ClWWalksNG|w0=X

Proof

Step Hyp Ref Expression
1 clwwlknon2.c C=ClWWalksNOnG
2 1 oveqi XC2=XClWWalksNOnG2
3 clwwlknon XClWWalksNOnG2=w2ClWWalksNG|w0=X
4 2 3 eqtri XC2=w2ClWWalksNG|w0=X