But he is also studying for a PhD that hopes to codify the basic principles of what makes people laugh in order to train AIs. Comedy, in a certain light, often operates in a mechanical fashion. Most people don’t compose jokes; they repeat them in appropriate circumstances. And jokes themselves often follow particular formulas, such as “a man walks into a bar”. Molineux calls these phenomena “repeatables” and they are particularly receptive to computation.