As early inductionist David Hume's causality approach was an attempt to create predicate based logic to explain complex events. Unfortunately, as Turing and Post have shown later not every algorithm could be reduced to a series of "if ... then" statements. Later psychologists and mathematicians involved the probability theory to make the causality issue more manageable. I love works of Francis Galton (half-cousin of Charles Darwin). His quincunx machine is the best ever demonstration of e-causality (the event that is not caused by any particular reason).