simpa using List.count_eq_one_of_mem p.property.isTrail.edges_nodup hw
V : Type u
V' : Type v
V'' : Type w
G : Digraph V
G' : Digraph V'
G'' : Digraph V''
inst✝ : DecidableEq V
u v : V
p : Path G u v
e : V × V
hw : e ∈ Walk.edges ↑p
⊢ List.count e (Walk.edges ↑p) = 1
no goals