In thinking about the years circa 1900 when people were first seriously attempting the formalization of mathematics (e.g. via a formal logic like Frege’s or Whitehead & Russell’s), it seems like it would have been far from obvious at that time that all of mathematics actually could be formalized in this way.
But nowadays it seems that, although only a fraction of mathematical results have actually been formalized in this way, people seem to generally be confident that all mathematical concepts, proofs, etc., can in fact be formalized in first-order logic within some sufficiently strong and “consistent” foundational theory (I use “consistent” in scare-quotes as shorthand for “widely believed by the community of mathematicians to be consistent”). One example of this confidence can be seen in the comment thread (unfortunately moved to chat) of this earlier question of mine.
My question is: what exactly is the basis for this confidence?
- Is it purely “empirical”? Namely, the fact that all attempts made so far to formalize mathematics in this way have been successful.
- Or is there some sense in which one can “prove” that all mathematical reasoning can be formalized in first-order logic within some sufficiently strong and “consistent” foundational theory? (obviously any attempt at such a proof would be complicated by the difficulty of defining what exactly is meant by “all mathematical reasoning”)
Side Note: I’m assuming in this question what seems to be a fairly mainstream philosophical stance, namely that mathematics needn’t necessarily be formalized in order to be “legitimate” (see for example this answer for a fuller articulation).
Update, to address the (hopefully temporary) closure of this question as “opinion-based”:
To clarify, I’m specifically not looking for answers consisting of an individual SE user’s personal opinion on the first-order formalizability of all mathematics.
If indeed there is a general consensus in favor of confidence that all mathematics is first-order formalizable in the sense described above, then this consensus surely is based on reasoned arguments, rationales that have been expressed and communicated in papers, books, lectures, etc. I’m interested in knowing what is/are the “common” or “mainstream” expressed rationale(s) justifying this confidence in first-order formalizability. This could be answered by reference to, say, a frequently-cited journal article. It could also be answered on the basis of someone’s experience as a research mathematician (discussions with colleagues, etc.) That is, the question is answerable in a fact-based way that answers the question “what are the reasons that people commonly give for thinking this?”
Of course, if I am wrong in my impression that there is a general consensus in favor of all mathematics being first-order formalizable in the sense described above, then the wrongness of this impression is also a fact-based matter answerable in a fact-based way (“actually, most mathematicians don’t take this view”)