1. A system for specifying and evaluating a probabilistic assertion, comprising: a processor device element configured to execute modules; a first module configured to, when executed by the processor device element, transform a program, the probabilistic assertion, and an input into an intermediate representation; and a second module configured to, when executed by the processor device element, verify the probabilistic assertion in the program by sampling the intermediate representation.