Weak KAM theory originally connected Mather theory of Lagrangian Systems with Viscosity Theory of the solutions of the corresponding hamilton-Jacobi Equation.
We will show that we can recover just from the Ma potential concepts like Peierls barrier, Aubry sets, viscosity subsolutions and solutions. This allows the theory to apply in the more general framework of compact metric spaces.