In general the action IG , is divergent when evaluated on the solutions, as is the Hamiltonian and other associated conserved quantities.
A systematic method of dealing with this divergence in Einstein gravity is through the use of the counterterms method inspired by the
anti-de Sitter/conformal field theory (AdS/CFT) correspondence [30]. This conjecture, which relates the low energy limit of string theory in
asymptotically anti-de Sitter spacetime and the quantum field theory living on the boundary of it, have attracted a great deal of attention
in recent years. This equivalence between the two formulations means that, at least in principle, one can obtain complete information on
one side of the duality by performing computation on the other side. A dictionary translating between different quantities in the bulk
gravity theory and their counterparts on the boundary has emerged, including the partition functions of both theories. This conjecture is
now a fundamental concept that furnishes a means for calculating the action and conserved quantities intrinsically without reliance on
any reference spacetime [31]. It has also been applied to the case of black holes with constant negative or zero curvature horizons [24]
and rotating higher genus black branes [32]. Although the AdS/CFT correspondence applies for the case of a specially infinite boundary, it
was also employed for the computation of the conserved and thermodynamic quantities in the case of a finite boundary [33].
All of the work mention in the last paragraph was limited to Einstein gravity. Although the counterterms in Lovelock gravity should be
a scalar constructed from Riemann tensor as in the case of Einstein gravity, they are not known for the case of Lovelock gravity till now.
But, for the solutions with flat boundary, ˆRabcd(γ ) = 0, there exists only one boundary counterterm