Lyapunov's Theorem for Measures on D-posets