Pegasus: sound continuous invariant generation