Before revision: Analogy is the core of cognition , and can be formalized in terms of Bayesian inference .
After revision: It has been argued that all of cognition can be understood in terms of Bayesian inference. It has also been argued that analogy is the core of cognition , and can be formalized in terms of Bayesian inference .