Theorem: Digraph.Walk.IsTrail.count_edges_le_one (GraphProjects/DigraphConnectivity.lean)

State before:
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 : Walk G u v
h : IsTrail p
e : V × V
⊢ List.count e (edges p) ≤ 1
Tactic:
simpa using List.nodup_iff_count_le_one.mp h.edges_nodup e
State after:
no goals