Text this: Ground states and phase transition of the λ model on the Cayley tree