The study is focused on the relation between theology and mathematics in the situation of increasing secularization. My main concern in the second part of this paper is the early-twentieth-century foundational crisis of mathematics. The hypothesis that pure mathematics partially fulfilled the functions of theology at that time is tested on the views of the leading figures of the three main foundationalist programs: Russell, Hilbert and Brouwer.
The study is focused on the relation between theology and mathematics in the situation of increasing secularization. My main concern is nineteenth-century mathematics. Theology was present in modern mathematics not through its objects or methods, but mainly through popular philosophy, which absolutized mathematics. Moreover, modern pure mathematics was treated as a sort of quasi-theology; a long-standing alliance between theology and mathematics made it habitual to view mathematics as a divine knowledge, so when theology was discarded, mathematics naturally took its place at the top of the system of knowledge. It was that cultural expectation aimed at mathematics that was substantially responsible for a great resonance made by set-theoretic paradoxes, and, finally, the whole picture of modern mathematics.