probability mechanics