For a general function A (x, p) on phase space, its infinitesimal change at every step ds under this map is d A = ∂ ∂ A ∂ ∂ x d x + ∂ ∂ A ∂ ∂ p d p = { A , G } d s . The quantity G is called the infinitesimal generator of the canonical transformation.