-1

Anyone who deals with mathematics knows intuitively that it is a different kind of thinking than ordinary common-sense thinking that intelligent people use every day to understand and make decisions in the world.

I would like to understand what separates ordinary common-sense thinking from mathematical thinking, and I have a guess that ordinary common-sense thinking is in essence contextual, while mathematics in in essence non-contextual.

For instance, pure mathematicians do not care about the context of a mathematical equation, how the equation relates to the real world, when trying to solve the equation, but ordinary intelligent people almost always care about the context of statements made in daily life.

So I thought that perhaps the Chomsky hierarchy might help me answer this question. This gives a mathematical definition of languages which are context-sensitive and context-free. So my question is "Can the structure of mathematics, as represented by ZFC (or perhaps the Peano axioms), be represented as a context-free language."

Has any work been done on this?

Craig Feinstein
  • 301
  • 1
  • 11
  • I have not downvoted the question, but find it very unclear. How do you want to derive a language? You need production rules (string-rewriting) for this. Specify the alphabet, maybe the set on non-terminals, if you are talking about deriving via a grammar... – Peter Leupold Sep 19 '18 at 06:59
  • @PeterLeupold, I would think the ZFC axioms already specify all of this information, right? Or at least it should be easy to derive this information from the axioms, I would think. – Craig Feinstein Sep 20 '18 at 04:01
  • Well. If you look at the axioms as strings of a formal language, nothing about possible derivations is specified. Or, if you want to take the axioms as rules, are all the occurring symbols non-terminals Then what are the terminals and the terminal strings? The answer to your question will depend much on the technical details of how you "derive" the grammar from the axioms. That is why it is impossible to answer the question as it is stated. – Peter Leupold Sep 20 '18 at 06:32
  • 1
    I have not downvoted this question yet. Your question does sound cool. Have your done any work? For example, have you investigated the possibly simpler case of Zermelo set theory? Have you found some relevant known results? If you have, please include your finding. You are supposed to substantiate your question with various information such as your motivation, what kind of answer you expect, what you have tried and found etc so as to motivate people to and help people help you. In summary, it looks like your question can hardly convince people that you care much about it yourself. – John L. Sep 20 '18 at 07:28
  • 3
    "Anyone who deals with mathematics knows intuitively that it is a different kind of thinking than ordinary common-sense thinking that intelligent people use every day to understand and make decisions in the world. " -- citation needed. – Raphael Sep 20 '18 at 16:59
  • "mathematicians do not care about the context of a mathematical equation, how the equation relates to the real world, when trying to solve the equation" -- citation needed. In my experience, mathematicians overload notation all the time; any given formula is mostly meaningless without context. – Raphael Sep 20 '18 at 17:00
  • 3
    Finally, "context-free" has a very precise meaning in the theory of formal languages. It is unlikely to map to your philisophical ideas. – Raphael Sep 20 '18 at 17:01
  • "For instance, mathematicians do not care about the context of a mathematical equation, how the equation relates to the real world, when trying to solve the equation, but ordinary intelligent people almost always care about the context of statements made in daily life". I strongly objects to this description. Before I care to refute such misleading generalization, I would like to ask, are you a mathematician? By the way, I just asked a very contextual question! – John L. Sep 26 '18 at 09:27
  • 1
    @ApassJack, I am an actuary. I was talking about pure mathematicians who by definition do not care about the context of the math problems. – Craig Feinstein Sep 26 '18 at 15:41
  • I added the word "pure" to the question. – Craig Feinstein Sep 26 '18 at 15:43
  • On a second thought, @Craig and I might have a different emphasis on what is the context of a math problems (We are tripped by the contexts!) I understand the context of a math problem includes but not limits to similar math problems, people who has worked on related problems, the origin of the problems which may come from real life questions, applications of its result towards meeting the needs of navigation, astronomy, physics, economics, engineering, and so on. (to be continued.) – John L. Sep 26 '18 at 17:28
  • @Craig's context, I guess, means basically how math entities manifest in the real world. Both understandings are displayed as the two major views toward pure mathematics in Wikipedia. In that way, that statement about pure mathematician by Craig makes sense to me. However, the implied contrast between "pure mathematician" and "ordinary intelligent people" would make, I assume, some pure mathematicians uncomfortable. Or did you actually imply "pure mathematician" is "extraordinary intelligent"? :) – John L. Sep 26 '18 at 17:45
  • Lack of and refusal of context-sensitivity is exactly where the stil shamefully “forbidden” instead of solved problems with infinity and zero come from. Hyperreal and surreal numbers for example work by (badly) introducing context. –  Dec 30 '21 at 20:54
  • Aside from that, the problem with mathematics is its deliberate obfuscation. Note how the most obscure and hard to google symbols and notations are the most revered and popular. Say using not only exclusively single-character variables, but things like an upside down triangle to represent a function, but in a way that makes it look like a variable. Or leaving away the definition of indices, and just using them, so one can’t tell where they come from. All huge no-nos in programming. Math isn’t actually hard or unnatural. But it’s obfuscated purely for snobist reasons. –  Dec 30 '21 at 20:58
  • @Raphael: Citations do not change the truth/falseness of an argument. Go back to Wikipedia. And look up “scientific method”, “formal logic” and “argument from authority fallacy” there. ^^ –  Dec 30 '21 at 21:02

1 Answers1

3

Let me quote the question.

Can the structure of mathematics, as represented by ZFC (or perhaps the Peano axioms), be represented as a context-free language?

I would like to clarify that the phrase "the structure of mathematics" could be understood as mathematical structures or as a philosophical term whose definition is up in the air in everybody's mind. While everybody is entitled to define or understand that phrase in their own terms, I object to the view "the structure of mathematics, as represented by ZFC (or perhaps the Peano axioms)" because of its ambiguity and its likely misleading connotations. Mathematics is larger than what can be represented by ZFC. Even assuming the view that mathematics is all about ZFC, the clearer way to express that view is "all statements in mathematics, as generated by ZFC (or perhaps the Peano axioms)".

Let me also emphasize that the questions "what is mathematics?" and "what is mathematical thinking?" have been asked thousands of times if not billions of times since the birth of mathematics. Numerous articles, books, videos etc have been produced about them. Checking whether it is context-free sounds like a new cool line of thinking to me on first look, though.

Here is an equivalent of version of the question.

Is the set of all statements generated by ZFC (or by the Peano axioms) a context-free language?

Here is my answer. No, the statements generated by ZFC or the Peano axioms is not a context-free language. It is, in fact, undecidable. Please note that any context-free language is decidable.

In fact, any consistent formal system within which a certain amount of elementary arithmetic can be carried out is undecidable. Note that the subject of previous sentence should, if one wants to know the exact meaning of "a certain amount", be understood according to "Gödel's Incompleteness Theorems" by Panu Raatikainen, 2015, Stanford Encyclopedia of Philosophy. The Peano axioms is just one of the many formal systems where enough elementary arithmetic can be carried out. The most upvoted answer to why Peano arithmetic is undecidable shows that the undecidability of Peano arithmetic (and, in fact, that of any consistent formal within which a certain amount of elementary arithmetic can be carried out) follows from the way the proof of Gödel's incompleteness theorem goes. I would encourage you to read that well-written answer.


Please note there is a serious ambiguity or inconsistency in the original question and the equivalent version given above. By common understanding of a context-free language, it has a finite set of terminal symbols and a finite set of production rules. Since there are infinitely many natural numbers in Peano axioms, which are considered as terminal symbols, we have infinitely many terminal symbols in the statements generated by Peano axioms. There are a few approaches to resolve this technicality so that we could obtain a non-vacuous question as intended by OP. For example, we can replace Peano axioms by a set of axioms where each positive number is defined as the successor of the number that is one smaller than it (then we need infinitely many axioms). For another approach, we can introduce a bit of set theory and define $1$ as the set $\{0\}$, $2$ as the set $\{0, 1\}$, $3$ as the set $\{0, 1, 2\}$, and so on (then it might not be called Peano axioms by common views, I believe). For still another approach, we can extend context-free language to include language with (countably) infinite many terminals. In whichever reasonably way we resolve this technicality, the answer should remain negative following the same line of arguments.

John L.
  • 38,985
  • 4
  • 33
  • 90