Computer code comprehension shares neural resources with formal logical inference in the fronto-parietal network
Figures

Whole-brain contrasts.
Areas shown are p<0.05 cluster-corrected p-values, with intensity (both warm and cold colors) representing uncorrected vertex-wise probability. In the maps for each localizer contrast, both warm and cold colors indicate activated vertices in the contrast, with the cold color labelling the overlap with the code contrast.

Mean accuracy for (a) code comprehension and (b) localizer tasks.
Response time for (c) code comprehension and (d) localizer tasks. Error bars are mean ± SEM. *p<0.05. **p<0.01. ***p<0.001.

MVPA decoding accuracy in ROIs revealed by the code contrast.
(a) The four search spaces (IPS, pMTG, PFC, OCC in the left hemisphere) within which functional ROIs were defined for the MVPA. (b) The MVPA decoding accuracy in the four ROIs. Error bars are mean ± SEM. *p<0.05. ***p<0.001.

Overlap between the brain map revealed by the code contrast and each of the brain maps revealed by the localizer contrasts.
(a) Brain map with the activated regions in the five contrasts reported in Figure 1 overlain. The language network is shown in transparent blue, math in transparent red, and logic in transparent green. The regions activated in the MSIT contrast are enclosed in black outlines, and the code-responsive regions are enclosed in yellow outlines. (b) Cosine similarity between code contrast and each localizer contrast, in each hemisphere. Each dot represents the data from one participant. The dotted line on each bar indicates the null similarity between code contrast and the given localizer contrast. The yellow dashed line in each hemisphere indicates the empirical upper bound of the cosine similarity, the similarity between code comprehension and itself, averaged across participants. Error bars are mean ± SEM. *p<0.05. **p<0.01. ***p<0.001.

The lateralization index of the code contrast and the localizer contrasts.
(a) The lateralization index of the code contrast and the localizer contrasts. Each white dot stands for one participant, and the enlarged dots represent the mean values. (b) The lateralization indices of code contrast and language contrast are highly correlated.

The experiment design.
The FAKE function (bottom row) in this figure is created by scrambling the words and symbols in each line of the REAL function (top row). Note that for the purpose of illustration, the relative font size of the text in each screen shown in this figure is larger than what the participants saw during the actual MRI scan.
Additional files
-
Supplementary file 1
All the functions included in the fMRI study.
- https://cdn.elifesciences.org/articles/59340/elife-59340-supp1-v1.docx
-
Supplementary file 2
Activated clusters in each contrast.
- https://cdn.elifesciences.org/articles/59340/elife-59340-supp2-v1.docx
-
Supplementary file 3
FDR-corrected p-values for the post-hoc paired t-tests among the overlap between code contrast and the localizer contrasts.
- https://cdn.elifesciences.org/articles/59340/elife-59340-supp3-v1.docx
-
Transparent reporting form
- https://cdn.elifesciences.org/articles/59340/elife-59340-transrepform-v1.pdf