We show that the first order theory of the homeomorphism group of a compact manifold interprets the full second order theory of countable groups of homeomorphisms of the manifold. The interpretation is uniform across manifolds of bounded dimension. As a consequence, many classical problems in group theory and geometry (e.g.~the linearity of mapping classes of compact $2$--manifolds) are encoded as elementary properties of homeomorphism groups of manifolds. Furthermore, the homeomorphism group uniformly interprets the Borel and projective hierarchies of the homeomorphism group, which gives a characterization of definable subsets of the homeomorphism group. Finally, we prove analogues of Rice's Theorem from computability theory for homeomorphism groups of manifolds. As a consequence, it follows that the collection of sentences that isolate the homeomorphism group of a particular manifold, or that isolate the homeomorphism groups of manifolds in general, is not definable in second order arithmetic, and that membership of particular sentences in these collections cannot be proved in ZFC.
IMERL, Facultad de Ingeniería, Universidad de la República(乌拉圭共和国大学工程学院);Institut Camille Jordan, Université Claude Bernard Lyon 1(里昂第一大学);CNRS & Institut Camille Jordan, Université Claude Bernard Lyon 1(法国国家科学研究中心与里昂第一大学)