I want to know if the following statement is true or not:
$\gamma : [a, b] \to \mathbb{R}^k$ is continuous then $E := \{ t \vert \exists s \neq t: \gamma (t) = \gamma (s) \}$ is closed.
So here, $E$ is just the set of 'crossing points' of the curve $\gamma$.
I hope this is true so that I can find 'the first' crossing point $t_0 = \min (E)$.
I found the statement is true for a special case where $\gamma$ is a polygonal path(finite number of consecutive line segments) but failed in this general case.
Edit:
The statement is simply false, as the counterexamples in the comments show. What I wanted to prove was the existence of $\min (E)$ and I succeeded with polygonal path since it had a simple structure: finite number of edges. My question was messed up while thinking about the general case.
FYI, My original problem was Show that any closed polygonal path can be decomposed into a finite union of simple closed polygonal paths, which is Exercise 8.7 of Joseph Bak, Complex Analysis. Here I wanted to use $\min (E)$ and got curious about the general case.