no goals
V : Type u
V' : Type v
V'' : Type w
G : SimpleGraph V
G' : SimpleGraph V'
G'' : SimpleGraph V''
u v : V
p : Path G v u
h : Adj G u v
he : ¬Quotient.mk (Sym2.Rel.setoid V) (u, v) ∈ Walk.edges ↑p
⊢ Walk.IsCycle (Walk.cons h ↑p)
simp [Walk.isCycle_def, Walk.cons_isTrail_iff, he]