33

Sorry if this is off-topic.

It was my attempt to take a top-down approach to mathematics.

Being an inexperienced undergraduate (so please take my writing here lightly), I've been presented with ZFC as a foundational system. However, other set theories exist (e.g. NBG), the axiom of choice is famously "controversial", and then there's other approaches entirely, like type theory (e.g. HoTT) and category theory.

Alright, but these seem to have some structure in common... enter universal logic, for which I found Meseguer's paper particularly enlightening. For a brief moment I thought I had reached my goal (despite the fact that the theory about logics was itself already quite mathematically sophisticated).

But then I discovered that, to describe different logics, one needs (or desires?) a logical framework to operate in. Pfenning's paper gives a lovely introduction to this topic, but also mentions that there are a multitude of logical frameworks, e.g. ELF or Martin-Löf's Framework, so I'm still not where I want to be.

Then, finally, I came across a paper entitled "A Framework for Defining Logical Frameworks". At this point I thought to myself that perhaps my approach thus far is misguided, given that the more effort I make, the less clear things seem to become.

And hence, my question: Where does it all begin?

Or, should this be unanswerable, is there some sort of guide through this flurry of terminology and meta-metamathematical research? It seems authors have such a clear grasp on the confines of each topic, yet somehow I cannot satisfy my simple desire to find a point at which to start. What would Bourbaki do, if they were to start writing today instead of 80-something years ago?

gmvh
  • 2,758
steve
  • 447
  • 7
    This is an interesting line of thought, but in my opinion not appropriate for this forum. I think the answer will be a personal viewpoint arising from years of reading and deep thinking. Keep it up, and have fun! – Monroe Eskew Mar 19 '21 at 06:17
  • 1
    A logical system is a way to designate some strings of symbols as valid proofs...but discussion in that generality is probably not illuminating. –  Mar 19 '21 at 07:38
  • 3
    My personal, current opinion: Formalization of mathematics begins with finite strings of symbols. Mathematics itself is a process of the mind, and the mind is not a finished product, so there is no beginning. – Pace Nielsen Mar 19 '21 at 07:46
  • 3
    A thing to keep in mind is that the logical hierarchy of topics is rarely the same as the order they should be studied in. Furthermore you are allowed to obtain basic knowledge in one topic, move on to something else and then come back at a later time. This is true even if you take Bourbaki as a guide (which I wouldn't recommend). Their books weren't written in order. They started with only a short summary of set theory without proofs, then got all the way to integration, before finally writing the proper volume on sets 15 years after the initial summary. – mlk Mar 19 '21 at 08:23
  • 36
    While I understand the impulse to sort out foundational issues before you start learning "real" mathematics, I think it is misguided. All the programs you'll find for setting up the foundations came in response to issues that arose in mathematical practice, and it is impossible to understand them without having the mathematical maturity/experience to appreciate those issues. Almost all mathematicians work in basically a naive version of ZFC (of the sort that you can read about in Halmos's "Naive Set Theory"), and I think that trying to do more than that at the beginning just won't work. – Irina Mar 19 '21 at 15:56
  • Irina's comment has been what my thoughts over this have evolved to in the past 3 decades (I used to spend a great deal of time worrying over this in the second half of the 1970s and throughout the 1980s), and with that said, jwodder's seemingly too simplistic answer to Where to begin with foundations of mathematics is what I've finally decided is, for me, probably best for how to leave things. For an elaboration of the "Philosophy (optional)" step, this answer might be of interest. – Dave L Renfro Mar 19 '21 at 17:01
  • 3
    I don't think that there is a single beginning. Math, or what we now call math, requires a foundation, but there are several possible foundations, and to a large extent mathematics is independent of the foundations. Now, whatever your choice of foundation, you have to be able to do certain basic things, like induction and counting arguments. So maybe those basic ideas are the beginning and foundations are a framework built around those ideas. – Erik Walsberg Mar 20 '21 at 00:52
  • 1
    I also suspect that if the Bourbaki guys were around today, they wouldn't be Bourbaki. Bourbaki came out of a particular time, I don't think anyone would try to take their approach today. – Erik Walsberg Mar 20 '21 at 00:54
  • 2
    I would definitely describe starting with the axioms - whatever you choose them to be - as "bottom-up" rather than "top-down". A "top-down" approach is more like "Suppose you're building a bridge ..." introducing concepts only as they're needed. This is what the terms mean in programming, anyway. – Adam Chalcraft Mar 20 '21 at 02:43
  • Having dabbled a bit with ELF, it is basically a technical approach to defining various different kinds of logical systems in another system. On a quick glance, GLF seems very similar. They are both founded in the informal logic that the papers are written in. You could found both of them in yet another formal framework, but it just becomes "turtles all the way down". While those systems are interesting, the question you are after seems more philosophical than anything to do with practical mathematics. – TrayMan Mar 20 '21 at 09:11
  • 1
    It's turtles all the way down ... – davidbak Mar 21 '21 at 22:08
  • It doesn't have to start from somewhere in mathematics! As some intuitionists/constructivists believe, it all roots in the innate notion of computation and reasoning. If you tend to believe in Kant, it's the sort of a priori knowledge that is independent of any experience. You don't have to study math to acquire the conception of quantity, or of (simple) reasoning, right? And this is where it starts, according to some... – xuq01 Mar 22 '21 at 01:02

3 Answers3

40

One approach, mentioned by Pace Nielsen in the comments, is to start with what I call strict formalism. The only substantive assumption required for strict formalism is that you are capable of recognizing and manipulating finite strings of symbols in certain simple ways, and can understand what a syntactic rule is at the level of being able to confirm or disconfirm whether a particular syntactic rule is being obeyed. So for example, it is assumed that you do not balk at assertions such as, "$\phi$ is the same symbol as $\varphi$" or "appending the symbol 0 to the symbol 1 yields the string 10". If you are bothered by the concept of a symbol, or of a syntactic rule, then I don't think that you will be able to develop anything remotely resembling mathematics.

In strict formalism, the symbols do not mean anything. It is assumed that you have the capability of verifying that if you start with certain strings and apply certain rules then you will arrive at a certain result. But there is no assumption that you are able to reason mathematically. For example, consider the rule "append a 0" and consider applying that rule some finite number of times to the string "0". As a strict formalist, you will be able to confirm that at some point, the string 0000 will emerge. However, consider the following claim: "At no point will this process ever produce a string with the symbol 1 in it." While this claim may seem ridiculously obvious, it is not a claim that a strict formalist can deduce. Arriving at such a conclusion requires reasoning about symbols, and a strict formalist is assumed only to be able to carry out symbolic manipulations, not to be able to reason about them.

A strict formalist can verify any formal proof produced by a mathematician, and so in that sense can reproduce all the formal content of mathematics, no matter how arcane an axiom is invoked. But a strict formalist will not, for example, be able to tell us something like this: "If you write a computer program to search for strictly positive integers $a$ and $b$ such that $a^2 = 2b^2$, then the program will never halt." The strict formalist will be able to execute such a computer program, and can even verify a formal proof that $\sqrt{2}$ is irrational, but as far as the strict formalist is concerned, the formal proof that $\sqrt{2}$ is irrational is simply a meaningless sequence of symbolic manipulations, and tells us nothing about "reality."

If you want to recover the ability to claim with confidence that computer programs that search for positive integer solutions to $a^2 = 2b^2$ are doomed to fail, then you need to take an additional step beyond strict formalism. Namely, you need to claim that there is such a thing as sound mathematical reasoning, and you need to lay down the principles that you think are trustworthy. At this point, it's basically up to you to decide what principles you trust. Most mathematicians seem to be happy with ZFC, but others are uneasy with it and prefer to back off to some set of more modest principles. For almost every mathematician $M$, it is possible to write down a set of formal axioms with the property that anything the strict formalist deduces from those axioms will be accepted by $M$ as a true mathematical statement. So again, in that sense, the strict formalist can reproduce all of mathematics. But the set of formal axioms accepted by $M$ will vary as $M$ varies.

Timothy Chow
  • 78,129
  • 1
    Related to this is the Mathematics StackExchange question/answers Foundation of Formal Logic, especially (in my answer) the excerpt of Martin Davis' 1959 review in Scripta Mathematica of Church's book Introduction to Mathematical Logic. – Dave L Renfro Mar 19 '21 at 17:22
  • 3
    @DaveLRenfro Interesting MSE question. In the first edition of Kenneth Kunen's book Set Theory, on page 39, he raises the question, "But what is a symbol?" He sidesteps this question by defining symbols in terms of natural numbers. Of course that presupposes that one understands what a natural number is. Evidently, in those days, the concept of a natural number was considered clearer than the concept of a symbol. Nowadays, my anecdotal experience is that it is the other way around. I believe that in the 2nd edition of his book, Kunen no longer defines symbols in terms of natural numbers. – Timothy Chow Mar 19 '21 at 17:41
  • 1
    Your comment reminded me of Philip J. Davis, Fidelity in mathematical discourse: is one and one really two?, American Mathematical Monthly 79 #3 (March 1972), pp. 252-263 (esp. FIG. 1) -- reprinted on pp. 163-175 of Thomas Tymoczko (editor), New Directions in the Philosophy of Mathematics (same pages for 1986 and 1998 editions). – Dave L Renfro Mar 19 '21 at 17:52
  • 5
    +1: thank you for an enormously illuminating and interesting answer –  Mar 19 '21 at 21:57
  • 2
    "Strict formalist" - oh so that's the name of what I am. I think... – Qfwfq Mar 20 '21 at 00:16
  • 2
    @Qfwfq So you're agnostic about whether applying the rule "append a 0" finitely many times to the strong "0" will ever result in a string containing a "1"? – Timothy Chow Mar 22 '21 at 00:47
  • @Timothy Chow: yes, I guess so: at that level of the reduction, it's a matter of "philosophy of syntax" (if such a thing even exists) or belief based on sense-experience, not of mathematics. – Qfwfq Mar 22 '21 at 23:36
  • 1
    @Qfwfq Okay, i find that quite interesting since I did not expect many, if any, people to actually be strict formalists. Let me point out, though, that it doesn't seem to me that it can be a belief based on sense-experience. Firstly and most importantly, symbols and rules are abstract entities and cannot be sensed directly, and secondly, the claim in question is an extrapolation beyond anything that we might have any direct experience of. – Timothy Chow Mar 23 '21 at 00:10
  • @Timothy Chow: maybe I don't have a definite philosophical position about this. I am just sure that I'm not a Platonist; but abstract entities must come from somewhere: for me they come from language. – Qfwfq Mar 23 '21 at 01:45
20

Here is a possible viewpoint to contemplate:

Foundations of mathematics do not begin anywhere.

This happens to be my (current) personal belief. I agree with Monroe that the answer to the question asked can only be a personal viewpoint that is formed after some amount of experience and contemplation.

To elaborate a little bit, let me say that of course foundations and logic are tremendously useful for mathematics, and they help clarify and make precise the very nature of mathematical thinking, but the idea that they "come before mathematics" or that they "provide an unshakable foundation upon which mathematics stands" is misguided, because it is just a Creation Myth dressed up as science.

A typical foundation of mathematics builds things up in some way, for example:

  1. Syntax
  2. Formal system
  3. Logic
  4. Set theory

Type theory operates in much the same way, except that the last two steps are different. This order of steps is the result of an engineering design, which we should hope is a good one, but it seems all too easy to assign too much philopshical significance to it.

I suppose my point is to be aware of unconscious assumptions that permeate discussions about foundations, in this case an (unwarranted) desire to find the First Cause.

Andrej Bauer
  • 47,834
  • 16
    I agree. In my experience, one of the biggest stumbling blocks people have (and I mean not just undergraduates but also professional mathematicians) when they approach the study of logic and set theory is a tacit expectation that they have to suspend all their mathematical beliefs in order to avoid "circularity." A proof that they would unhesitatingly accept when it comes out of the mouth of, say, a number theorist is suddenly rejected when it comes out of the mouth of a logician. I have to explain that formal logic can clarify mathematical reasoning but cannot justify it ex nihilo. – Timothy Chow Mar 20 '21 at 12:56
  • 5
    Mathematics is a human activity and philosophical considerations necessarily enter the picture. A number of mathematicians are platonic and this helps them doing mathematics. So I would not say that desiring to find the first cause (or a first cause) is necessarily flawed, inasmuch as it stimulates research. Desiring something does not mean that the thing is reachable, we can try to get closer. The mistake is to assume that this first cause actually exists within our material world. – François Brunault Mar 20 '21 at 17:46
  • 1
    ''A number of mathematicians are platonic and this helps them doing mathematics'' As an example, if I remember rightly from reading 'The Road to Reality' by Roger Penrose, he explicitly states at the beginning that he is a Platonist (I might be misremembering). – Hollis Williams Mar 21 '21 at 16:24
  • 1
    @TimothyChow: kudos for appropriate Latin phrases. – Andrej Bauer Mar 21 '21 at 18:57
  • @FrançoisBrunault: I am not sure how to read your comment. The two interpretations that come to mind are (a) that it is beneficial for us to pretend that there is a First cause that we aspire to (isn't that intellectual dishonesty?) or (b) that there is a First cause but not within our material world (where then, and what evidence of its existence is there?). Could you clarify a bit, please? – Andrej Bauer Mar 22 '21 at 14:22
  • 1
    @AndrejBauer Sorry if my comment was not clear. By "first cause" I meant "first cause in mathematics", in other words "true foundations". In this context, a platonist may believe in a first cause which is not accessible to us. In my opinion, the parallel with theology is not irrelevant, as one refers to an entity beyond our senses. In both cases, a first cause is a belief so (a) it should not be perceived as a scientific or universalizing claim, and (b) it makes little sense to give scientific arguments to prove or disprove it. But discussing this would lead us far from the original question. – François Brunault Mar 22 '21 at 14:56
  • @FrançoisBrunault: thanks, that makes your comments clear(er) to me. I can appreciate them as a thorough non-Platonist. – Andrej Bauer Mar 22 '21 at 20:34
  • @AndrejBauer You're welcome. If you are interested, there is a book "Matière à pensée" (well it's in French) which is a conversation between Alain Connes (platonist) and Jean-Pierre Changeux (materialist biologist). – François Brunault Mar 23 '21 at 08:22
  • 2
    Actually it has been translated in English: Conversations on Mind, Matter, and Mathematics, Princeton University Press. – François Brunault Mar 23 '21 at 08:41
0

Below mathematical logic, there is "everyday logic" - our ability to handle expressions with words like "if", "then", "because", "and", "or", etc., and to build complex arguments from them. Everyday logic is the foundation for mathematical logic and of mathematics in general.

This works because there is a fundamental difference between a real-world proof as it appears in a mathematical book and the "proof" object that occurs in mathematical logic. The real-world proof does not need a formal definition of its logic, it is enough that author and readers agree that all details are right for this specific proof. It is only when we want to talk about all proofs, all formulas, or at least an infinite set of them, that we need a formal definition.

An agreement about a real-world proof is possible because we all have more or less the same everyday logic. And it is similar for all of us because we all live in the same society and have to present and understand more or less complex arguments every day. Another reason is that everyday logic has to map the causal structure of the world we all live in.

And where does this causal structure come from, on which our world, and therefore also our mathematics, relies? Now that is a very good question...

rimu
  • 749