We present several classes of exact solutions in the Einstein-Klein-Gordon
system with a cosmological constant. The spacetime has spherical, plane, or
hyperbolic symmetry and the higher-dimensional solutions are obtained in a
closed form only in the plane symmetric case. Among them, the class-I solution
represents an asymptotically locally anti-de Sitter (AdS) dynamical black hole
or wormhole. In four and higher dimensions, the generalized Misner-Sharp
quasi-local mass blows up at AdS infinity, inferring that the spacetime is only
locally AdS. In three dimensions, the scalar field becomes trivial and the
solution reduces to the BTZ black hole.Comment: 11 pages, 2 figures, 2 tables; v2, results strengthened, argument on
trapping horizon corrected; v3, argument on locally AdS property added,
accepted for publication in Physical Review