Purification theorem (physics)