Gibbs Variational Principle