A Framework for Worst-Case and Stochastic Safety Verification Using Barrier Certificates | Synapse