I know that if $U\subseteq\mathbb{R}^n$ is an open simply connected set, every closed 1-form $\omega\in\Omega^1(U)$ is also exact.
I was wondering: does the converse hold? So if every closed $\omega\in\Omega^1(U)$ is exact, is $U$ necessarily simply connected? Are there conditions under which this holds? If it doesn't hold in general, can you provide a counterexample together with the above-mentioned conditions if they exist?
I thought that given a $C^1$ path in $U$ we could first try to look for a point which isn't in any "finger-shaped" bit of the boundary of the set, parametrize the path so that it starts from that point, and use segments to squash every part of the path in any of those bits out of those bits so to get the path included in a big part of $U$ where we can use segments, but that obviously requires some formalization, and I still need to exclude there are holes in the big part.