chatgpt (and generally large language models) raise an interesting question since it is not using a formal logic inference engine: is basic logic learnt or innate? Same for basic maths. Is the brain just a large recursive and hierarchical pattern composing and matching engine?