Comparing cognition across major transitions using the hierarchy of formal automata | Synapse