This paper forms the second part of a series of three papers by the authors concerning the structure of nilspaces of Antolín Camarena and Szegedy. A nilspace is a compact space
X
X
together with closed collections of cubes
C
n
(
X
)
⊆
X
2
n
C_n(X)\subseteq X^{2^n}
,
n
=
1
,
2
,
…
n=1,2,\ldots
satisfying some natural axioms. From these axioms it follows that a nilspace can be built as a finite tower of extensions where each of the successive fibers is a compact abelian group.
Our main result is a new proof of a result due to Antolín Camarena and Szegedy [Nilspaces, nilmanifolds and their morphisms, arXiv:1009.3825v3 (2012)] stating that if each of these groups is a torus, then
X
X
is isomorphic (in a strong sense) to a nilmanifold
G
/
Γ
G/\Gamma
. We also extend the theorem to a setting where the nilspace arises from a dynamical system
(
X
,
T
)
(X,T)
. These theorems are a key stepping stone towards the general structure theorem in [The structure theory of nilspaces III: Inverse limit representations and topological dynamics, arXiv:1605.08950v1 [math.DS] (2016)] (which again closely resembles the main theorem of Antolín Camarena and Szegedy).
The main technical tool, enabling us to deduce algebraic information from topological data, consists of existence and uniqueness results for solutions of certain natural functional equations, again modelled on the theory in Antolín Camarena and Szegedy’s paper.