13

For a long time I thought that the standard mathematical proofs, only were an informal or imperfect way of writing the proof in the language of first-order logic.

When I say standard mathematical proof I mean all the proofs in analysis, topology etc. that goes like this:

Let x be an element of A.
...
...
Hence x is an element of B.

Or:

Let epsilon be bigger than 0.
....
....
....
Hence f is continious.

etc etc.

But when we prove things in first-order logic, the deduction always have the matehmatical symbols and connectives etc.($\forall,\neg,(,),\vee$,etc..)

I always thought that these proof were just an informal way of presenting the correct way of the proof as it is in mathematical logic.

But now I am reading first-order logic. And here they formalize these deduction rules etc. However, when they prove something about the language, they still use the ordinary way of proving things as we do in mathematics.

So it is not clear what is the correct, or most basic, or "most perfect" way of proving things of these two. I mean, since we must use this standard mathematical way in order to prove things about first-order logic, does this mean that this way of proving things is just as valid, or maybe even more so valid, than the formal way in mathematical logic, because to even create mathematical logic, we need these proof techniques?

So when a standard calculus text proves that a function is continuous in the ordinary way, this may be a more basic way to prove it, than if it was written in the language of first-order logic, because this technique is needed to create first order logic?

A simple way to state the question: Does the proof writing in first-order logic "precede" the ordinary proof writing used in mathematics, or does the ordinary proof writing used in mathematics "precede" the deduction writing used in first-order logic?

When I say precede I mean, is it more basic, is it more atomic, is it closer to the foundation, is it closer to the "ground"? (This is very imprecise, but I hope you see my point).

Charles
  • 32,122
user119615
  • 10,176
  • 5
  • 44
  • 112
  • I dont understand what are you talking about... first order logic is used in all proofs... And why you says "matematical logic" as it is different of first order logic? The "ordinary" proof is first order logic too. – Masacroso Jul 05 '15 at 17:39
  • I don't mean to distinguish between mathematcal logic and first-order logic, I distinguish between mathematical logic/first-order logic and the way proofs are written in math textbooks. But what I mean is that the proofs in math books are not written in the language of first-order logic, they are written in text instead, and this way of proving things is used to prove things about first order logic when we create first order logic, so is then this way of proving things a more "basic" way of doing it? – user119615 Jul 05 '15 at 17:41
  • 1
    The basic laws of thinking are ground zero, it doesn't get more basic than that. And yes, it's informal, tough luck. – Git Gud Jul 05 '15 at 17:42
  • Nice question. There will be differences of opinion. But to my mind, the idea, the geometry, comes first. For certain purposes, one may want to formalize. – André Nicolas Jul 05 '15 at 17:43
  • @user119615, yes, I understand... this is cause efficiency... Many times to write the same in formal form you need a lot of text... then you can do the same using phrases. You can learn, anyway, a middle point and write every proof in first order logic if you dont write every axiom or theorem that you need, just point its existence and derive the proof. – Masacroso Jul 05 '15 at 17:44
  • 2
    @Masacroso I think you're missing the OP's point. I will rephrase the question: Some mathematics is formalized in FOL, but when you study FOL you use mathematical reasoning. So why formalize it if you're going to have to stand on informal ground sooner or later? – Git Gud Jul 05 '15 at 17:47
  • I dont get the point, honestly @GitGud... When I study FOL Im reasoning in FOL... Maybe Im misunderstanding something... What I can says is that there is a lot of, IMO, very bad books of logic that try to make logic "easier" to understand and they destroy understanding. – Masacroso Jul 05 '15 at 17:49
  • @GitGud Thank you very much for your answer, and also your explanation. So you indeed are saying(or agree?) that the standard way of proving things in the "ordinary" math books(analysis, topology etc.) is more basic than if it was written in first-order logic language? And hence we can be content that these proofs stand on their own, and we don't need to worry that they are not perfect, because writing them in first-order logic would not make them better or more correct?, the way they are the most fundamental way they can be written? – user119615 Jul 05 '15 at 17:52
  • @Masacroso The difference is when you are proving things "in" or "about", when you are proving things in first-order logic, you are using first-order logic, when you are proving things about first-order logic, you are not using first-order logic, like a simple proof that in a formula in first-order logic there are just as many right as left parenthesis. – user119615 Jul 05 '15 at 18:01
  • 2
    It is the other way round ... mathematical proof dates back to Euclid and before him, while first-order logic dates from the end of XIX century. First-order logic is (also) a mathematical model of "mathematical proof" as well as calculus is (also) a mathematical model of some physical phenomenon. – Mauro ALLEGRANZA Jul 05 '15 at 18:17
  • @MauroALLEGRANZA Thank you very much for your answer. I am aware that logic is very young compared to mathematical reasoning, so in the sense of history it is clear what is on the ground and what is the foundation. But what I am wondering is if it in some way was that when first-order logic was created this took over in the "structure of mathematics" as the foundation, or is it still so, disregarding history etc., only looking at the theory today, that still, the old way of mathematical reasoning, and writing proofs as they do in textbooks, is still more basic, since in fact we have to(cont) – user119615 Jul 05 '15 at 18:24
  • use this technique in even justifying first-order logic? – user119615 Jul 05 '15 at 18:25
  • From my point of view math log is a branch of mathematics; thus, it needs the "basic tool" of mathematical thinking : the proof. We have to rely on our (intuitive, historical, etc.) "sense" of what counts for a proof, becuase math log, as any other branches of math, is ... full of proofs. Math log has not "discovered" any significant errors in the theory or proofs of "older" mathematics; one of it goals is to provide a "reliable" mathematical model of proofs. Even some "philosophical" branches of mathematics, ... 1/2 – Mauro ALLEGRANZA Jul 05 '15 at 18:34
  • ... like Constructivism have denied the validity of some "traditional" method of proof on philosophical and intuitive grounds. Only after that rejection, Constructivism has tried to codify his "own logic" : see [Intuitionistic logic](like Constructivism ). 2/2 – Mauro ALLEGRANZA Jul 05 '15 at 18:37
  • @MauroALLEGRANZA Thank you very much. 1/2 made things very clear for me, but your link was a little scary. Especially the part where law of excluded middle might not hold, just to be clear, standard mathematics as analysis topology algebra etc., we assume that LEM holds, and we also do that in first-order logic? – user119615 Jul 05 '15 at 19:01
  • Yes; "standard" (so called : classical) math agree on the legitimacy of LEM, while constructive math refuse to use it. Thus, so called "classical" logic formalizes rules of deduction that allows for LEM, while intuitionistic logic do not accept it among the "sound" rules of proof. – Mauro ALLEGRANZA Jul 05 '15 at 19:20
  • @MauroALLEGRANZA Thank you very much for your help!, I really appreciate it. – user119615 Jul 05 '15 at 19:32
  • @user119615 Only now did I get a chance to reply to your comment. "we don't need to worry that they are not perfect, because writing them in first-order logic would not make them better or more correct?," Well, you can formalize, say topology, and then prove topological facts within that formal system. Why would one want to do this if the meta-study of the formal system itself lies in intuitive ground? Because in doing this there's one less layer of intuition (as opposed to using the basic laws of thinking (informal logic) and informal topology). – Git Gud Jul 06 '15 at 10:54
  • @user119615 By formalizing topology you can be sure that if you're making a mistake, it will be in the meta-study of the formal system. If you don't formalize it, who knows where you'll find mistakes? Do read this related question. Pay special attention to my comments and the replies I get from the experts. At the end of the day, you can't formalize everything,it's just the way it is. Even if you did, incorrect formal proofs could be misread as correct by humans. – Git Gud Jul 06 '15 at 10:59

4 Answers4

8

Definition:

A waterfall is a system of differential equations of the form$\cdots\cdots\cdots$ [fluid mechanics stuff].

$\blacksquare$

But that's not a waterfall; that a mathematical model of a waterfall. Likewise proofs studied in mathematical logic, written in a form suitable to submit them to proof-checking software, are not proofs; rather, formal logic is a mathematical model of what logical proofs are. What certain logicians call "metamathematics" is really mathematics and what they call mathematics is really really only a mathematical model of mathematics. It's really a more complicated and icky situation than one might suspect before one thinks about it.

  • Thank you very much for your answer. It is hard to know what the foundation of mathematics then is, since logic is just a model of the theory, and ZFC is inside logic. So I guess it is a very shaky thing what is the foundation, I think we can construct a lot from the natural numbers, but we can't say that the peano axioms are the foundations either?, because these axioms is a part of first-order logic? So the natural numbers, and so the rest of mathematics just exist?(I thought the natural numbers was constructed from set theory, and set theory from logic, but since logic is not the found.. – user119615 Jul 05 '15 at 21:04
  • ation, the natural numbers can't come from there?) – user119615 Jul 05 '15 at 21:04
  • "Likewise proofs studied in mathematical logic, written in a form suitable to submit them to proof-checking software, are not proofs"

    So would you maintain that EQP (and other theorem provers that have produced new results), didn't prove anything at all when it returned a proof of the Robbins Conjecture for William McCune?

    – Doug Spoonwood Jul 05 '15 at 22:13
  • 2
    @DougSpoonwood : It is people's understanding of the output that proves something. ${}\qquad{}$ – Michael Hardy Jul 05 '15 at 23:40
  • 1
    @MichaelHardy So, given that computers can never understand anything, the possibility of a computer ever proving something is impossible in principle? EQP didn't prove anything at all, it just indicated symbols to get printed to the screen? I certainly don't agree that understanding proves something. Understanding is psychological. Proofs on the other hand are objective, and thus I think you've made a category error. – Doug Spoonwood Jul 06 '15 at 00:14
  • @DougSpoonwood : I agree that proof-hood is objective; I don't think that conflicts with understanding being "psychological". Principles of epistemology are objective rules whose purpose is to create understanding. – Michael Hardy Jul 06 '15 at 19:57
  • 1
    I agree with Mike Hardy. Re: computer proofs: If there were no conscious beings, and a 'computer' popped into existence and went through the same series of operations, it wouldn't prove anything. However, given that there are human beings who know how the computer works and know how its outputs correspond to certain objective facts, the computer succeeds in proving something, because we can know that A is true on the basis of a certain output of the computer program. – Owl Jul 06 '15 at 20:27
3

Your question as asked prompts good answers pointing to the study of foundations, the history of mathematics and the philosophy of mathematics.

You may be asking (as a student) about how working mathematicians answer your question. I think the answer is that most don't. You write proofs to convince yourself and other mathematicians that what you've discovered about some mathematical structure is correct - without really trying to argue further about what "correct" really means.

When my students ask me how to write a proof I tell them they should write something that convinces me that they have convinced themselves for good reason. The level of formality depends on the level of difficulty of the problem and the level of understanding of the student. In elementary school some kids can prove that the sum of two odd integers is even.

In some sense proof is a social construct, created by the society of mathematicians. It evolves over time.As the subject matter of mathematics has become more general and more abstract the work required to create a convincing argument for professionals has matured. Machine assisted proofs are at the edge of what's controversial today.

I hope this rambling helps. It may generate downvotes too.

Ethan Bolker
  • 95,224
  • 7
  • 108
  • 199
  • "You write proofs to convince yourself..."

    No, I don't always write proofs to convince myself of something. Even in say number theory, one might try to prove some theorem which we already know to hold as true, just in a different way. Some constructivist mathematicians might do this regularly, because they may well feel convinced by non-constructive proofs and most mathematicians stand convinced by those proofs also.

    Also, if proof is a construct created by the society of mathematicians, then how do certain programs generate proofs? Are the programs mathematicians?

    – Doug Spoonwood Jul 05 '15 at 22:17
  • @DougSpoonwood Fair enough on your first point - looking for new proofs is part of the fun. The last questions about programs that generate proofs are interesting. I don't think any answers would really contradict my sense that what constitutes a proof is determined by the mathematicians of the day. – Ethan Bolker Jul 06 '15 at 01:03
1

Does the proof writing in first-order logic "precede" the ordinary proof writing used in mathematics [. . .]

I think there are different understandings of "proof" and of "precede". "Proof" in formal logic has a technical sense referring to a symbol sequence satisfying certain formal rules. However, "proof" in ordinary English (the original sense of the word) refers to a certain way of coming to know something.

"Proof" in the ordinary sense means something like: thing that provides conclusive reasons for believing something else (as in "Look, footprints! That's proof that someone else was here!"). In a related sense, a "proof" is a verbal explanation of the conclusive reasons for believing something.

(Note: mathematicians might deny that the footprints would count as proof. That is because the standards in mathematics are stricter than in most other contexts, so that a reason won't count as conclusive unless it is logically impossible for the conclusion to fail to be true, given the reason.)

Now, the "ordinary proof writing" that you're talking about really does, I think, give the reader who understands it conclusive reasons for believing the conclusion; hence, I would say it counts as a perfectly legitimate kind of proof.

What about the formal-logic proofs; what do they have to do with proof in the ordinary sense? Well, a person who understands the rules of a formal system (and knows that they really correspond to valid inference forms) does indeed acquire conclusive reasons to believe a conclusion, when he sees that (the formal-logic symbolization of) that conclusion is the final line in a formal-logic "proof". Thus, formal logic proofs (given that understanding and knowledge) are a species of proofs in the ordinary sense. If you have the formal logic proof, then you have conclusive reasons to believe the conclusion; but you can also have conclusive reasons without having the formal logic proof.

By the way, as an example of the latter, consider Godel's Theorem, which was originally about a certain formal system (the system of Russell & Whitehead's Principia Mathematica). Godel proved that (assuming the PM system was cosistent) there was a sentence that had to be true but could not be proved within the system. Godel's method generalizes to any consistent formal system, and the method actually enables you to construct the true-but-unprovable sentence, given any (consistent) formal system.

This shows that the notion of proof cannot be exhausted by any formal system, since for any formal system, if we know that the system is consistent, we can prove a sentence that cannot be proven in that system. And if we don't know that the system is consistent, then I would say that we can't prove anything using the system. So, for any formal system, the "proofs" that exist in that system cannot exhaust all the proofs (in the ordinary sense) that there are.

Owl
  • 325
0

The formal logic proofs qualify as more basic.

A formal logic proof of a mathematical statement of a conjecture which is not known whether it holds or not, given that the deductive system used is sound, will qualify as a mathematical proof. For example, the proof of the Robbins conjecture though produced via McCune's input and EQP's reasoning, did qualify as a proof of a mathematical result.

On the other hand, a mathematical proof might NOT qualify as capable of getting translated into a formal proof, because it might not qualify as correct. For example, some of Euclid's old proofs arguably still qualify as mathematical, or at least for a very, very long time they did qualify as mathematical, but they were not correct. Also, the mathematical proof has to get translated into formal logic to make sense from the perspective of formal logic. A formal proof does not have to get translated to "ordinary" mathematics in order to make sense from the perspective of "ordinary" mathematics, it just requires that the "ordinary" mathematician learn the relevant formal system.

  • Thank you very much for your answer. But may I please ask you about two comments then. 1. What is your comment to the fact that in order to prove things about first-order logic, we use informal mathematics, should these proofs also be formalized?, will there be circularity? 2. And may I also please ask you about your opinion about the other answers, it seems like they are opposite of what you give. Maybe there is no clear answer to this. – user119615 Jul 05 '15 at 21:06
  • Go ahead and try to formalize meta-theoretic proofs if you want to. I believe that many experts would consider that a difficult exercise. You'll need a different meta-theory to avoid circularity. 2. I whole heartedly disagree with Ethan Bolker's comment that proof is a social construct, and I believe that the people like Russell, Frege, Lukasiewcz, etc. who founded mathematical logic would resolutely stand against such an instance of social psychologism. I also have the opinion that, strictly speaking, proofs qualify as logical entities, not mathematical entities.
  • – Doug Spoonwood Jul 05 '15 at 21:59
  • Also, I don't write proofs just to convince myself of the truth of some theorem, or that it appears in some system. One problem consists of finding the shortest proof or a shorter proof under some fixed axioms and rule(s) of inference. In those cases, I'm almost always already convinced that the theorem exists in the system, and I'm not trying to convince myself again that such holds! I'm trying to find a shorter proof. Or maybe I'll try to find a proof that uses fewer variables, fewer axioms, or comes as more easily followed, say by only requiring a unification to occur in one way. – Doug Spoonwood Jul 05 '15 at 22:02
  • Michael Hardy's comment "Likewise proofs studied in mathematical logic, written in a form suitable to submit them to proof-checking software, are not proofs" makes no sense at all and probably could accurately get said to consist of little more than posturing. A logician could similarly posture and say that no proofs in mathematics exist, and that proof is a logical concept, and thus only proofs exist inside the context of logic. Also, the comment makes no sense in light of the fact of computer generated proofs which have produced new mathematical results. – Doug Spoonwood Jul 05 '15 at 22:09
  • Thank you, but there is one thing I would like to ask you about. You say it is difficult to formalize meta-theoretic proofs, aren't then these proofs in a way more basic then the ones written in first-order logic? And aren't the type of proofs they do in meta-theory in regards to logic the same type of proof-style as they do in classical mathematics? – user119615 Jul 05 '15 at 22:52
  • " You say it is difficult to formalize meta-theoretic proofs, aren't then these proofs in a way more basic then the ones written in first-order logic?"

    No. Meta-theoretic proofs tell us something about the system. The results they give (at least from what I have seen of them) can get obtained without those results. For instance, say you have some demonstration using the implication of The Deduction Theorem that you can discharge a hypothesis and a conclusion into a conditional. This ultimately implies that a formal proof exists without The Deduction Theorem.

    – Doug Spoonwood Jul 05 '15 at 23:16
  • The style of meta-theoretic proofs isn't quite the same as in classical mathematics, because in classical mathematics we don't necessarily have well-defined statements to begin with. For instance, we might prove some number-theoretic result that says that under certain conditions for a, b, and c, a + b = c. The grammar involved in such an equality though is not well-defined. From a formal point of view, the grammar for something like a + b = c is defined before any proof takes place, which basically means that '=' is a binary predicate, '+' is a binary operation, and a unique parsing order. – Doug Spoonwood Jul 05 '15 at 23:21
  • The meta-theoretic proofs thus aren't of the same type of proof-style as classical mathematics, in that they establish results about well-defined symbolic objects. A classical mathematics proof, on the other hand, given such as correct, establishes a result about certain ideas. That every number equals the sum of some four square numbers does have implications for symbolic objects, but ultimately comes as conceptual, since numbers are not symbolic object, but rather qualify as conceptual. A meta-theoretic proof is more particular than that... – Doug Spoonwood Jul 05 '15 at 23:28
  • The four square theorem implies that in any legitimate, prefix, infix, or postfix notation certain patterns hold (given the same variables and operations symbols used). But, say a meta-theoretic proof using the Deduction Theorem only implies that in this particular formal language, we have that say from {$\gamma$, p} $\vdash$ q we can move to $\gamma$ $\vdash$ Cpq. It doesn't imply a similar result in an infix scheme. That said, there does exist a meta-theorem which implies that such a result will exist in another notational scheme, but the proof of the Deduction Theorem doesn't do that. – Doug Spoonwood Jul 05 '15 at 23:32