In probability theory, a probability space or a probability triple is a mathematical construct that provides a formal model of a random process or experiment.