Le $\omega$ be a 1-form defined in an open set $U\subset \mathbb{R}^{n}$. Assume that for each closed curve $c$ in $U$, $\int_{c}\omega$ is a rational number. Prove that $\omega$ is closed.
Well, i suppose that $\omega$ isn't closed , then $\omega$ isn't locally exact, i.e, there exists a ball $B \subset U$ and a closed path $\lambda$ in $B$ such that $\int_{\lambda}w = c \ne 0$, but i don't know how continue..any tips?
EDIT:In this topic Differential form is closed if the integral over a curve is rational number. , the user Harald Hanche-Olsen afirms that a "a closed curve is deformed continuously with a parameter, the integral varies continuously with the parameter as well.". How prove this fact?
Thanks