Recursion in programs, thought, and language
- PMID: 34913145
- DOI: 10.3758/s13423-021-01977-y
Recursion in programs, thought, and language
Abstract
This article presents a theory of recursion in thinking and language. In the logic of computability, a function maps one or more sets to another, and it can have a recursive definition that is semi-circular, i.e., referring in part to the function itself. Any function that is computable - and many are not - can be computed in an infinite number of distinct programs. Some of these programs are semi-circular too, but they needn't be, because repeated loops of instructions can compute any recursive function. Our theory aims to explain how naive individuals devise informal programs in natural language, and is itself implemented in a computer program that creates programs. Participants in our experiments spontaneously simulate loops of instructions in kinematic mental models. They rely on such loops to compute recursive functions for rearranging the order of cars in trains on a track with a siding. Kolmogorov complexity predicts the relative difficulty of abducing such programs - for easy rearrangements, such as reversing the order of the cars, to difficult ones, such as splitting a train in two and interleaving the two resulting halves (equivalent to a faro shuffle). This rearrangement uses both the siding and part of the track as working memories, shuffling cars between them, and so it relies on the power of a linear-bounded computer. Linguistic evidence implies that this power is more than necessary to compose the meanings of sentences in natural language from those of their grammatical constituents.
Keywords: Computational power; Grammar; Informal programs; Mental models; Recursion; Working memory.
© 2021. The Psychonomic Society, Inc.
References
-
- Ackermann, W. (1967/1928). On Hilbert’s construction of the real numbers. In van Heijenoort, J. (Ed.) From Frege to Gödel: A source book in mathematical logic, 1879-1931 (pp. 495-507.) Harvard University Press. (Originally published in 1928.)
-
- Adams, R. (2011). An early history of recursive functions and computability: from Gödel to Turing. Docent Press. (An edited version of his 1983 Ph.D. thesis.)
-
- Aho, A. V., & Ullman, J. D. (1972). The Theory of Parsing, Translation, and Compiling, Vol. 1: Parsing. Prentice-Hall.
-
- Anderson, J. R., Pirolli, P., & Farrell, R. (1988). Learning to program recursive functions. In: Chi, M., Glaser, R., & Farr, M. (Eds.), The nature of expertise (pp. 153-183). Erlbaum.
-
- Anderson, J. R., Betts, S., Ferris, J. L., & Fincham, J. M. (2011). Cognitive and metacognitive activity in mathematical problem solving: prefrontal and parietal patterns. Cognitive, Affective, & Behavioral Neuroscience, 11, 52-67.
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
