3

Out of curiosity I wanted to translate modus ponens into a logical statement and condense/solve it in some way, and I ended up getting True:

$p \land (p \rightarrow q) \rightarrow q$

$=p \land (\lnot p \lor q) \rightarrow q$

$=\lnot(p \land (\lnot p \lor q)) \lor q$

$=\lnot((p \land \lnot p) \lor (p \land q)) \lor q$

$=\lnot(\text{False} \lor (p \land q)) \lor q$

$=\lnot(p \land q) \lor q$

$=\lnot p \lor \lnot q \lor q$

$=\lnot p \lor \text{True}$

$=\text{True}$

I'm not really sure what to make of this. Is modus ponens a tautology? How is it useful in practice if it's not really saying anything?

user525966
  • 5,631

2 Answers2

5

In this sense, yes, modus ponens is a tautology. All logic rules that can be stated as sentences of propositional logic are tautologies in the same way.

The use of modus ponens in practice is as a rule of inference, rather than as a tautology. That is, if we already have sentences $P$ and $P \to Q$, the modus ponens rule of inference says we can conclude $Q$.

The fact that the sentence $(P \land Q) \land P \to Q$ is a tautology means that this rule is sound: if $P$ and $P \to Q$ are true, so is $Q$. That justifies the use of the rule.

It also means that we don't expect rule of inference to really 'say something' by adding information of their own. If they did, then we would look at them as axioms, rather than rules of inference. We don't want rules of inference to add new information - just to rephrase or simplify the information we already have, so that we can identify conclusions that are already implicit in our assumptions, even if they are hard to recognize originally.

Carl Mummert
  • 81,604
  • You may want to separate logical axioms from non-logical axioms. It is the non-logical axioms that we expect to "say something" in the way I believe you mean. A logical axiom, such as $A\to A$, say, we would arguably also expect not to "say something" at least as much as we expect rules not to. Though, if you want to say logical axioms should be viewed as rules, I'd be totally down with that, but it would still warrant being clear. – Derek Elkins left SE Aug 26 '18 at 02:51
  • For proof systems that have logical axioms, you're right that they are similar to rules of inference in that they don't add new information - and the logical axioms that look like propositional sentences are also tautologies. I was thinking more of deductive systems in which there are no logical axioms. --- Although I don't know that I expect axioms to say something, only that if a rule of inference tried to say something I think we would look at it more like an axiom. There are exceptions to that general principle as well, but they go beyond the level of this kind of answer. – Carl Mummert Aug 26 '18 at 03:09
1

Modus ponens isn't that formula or any formula (and thus not a tautology), it's a rule. A rule tells you one way of building a proof. In fact, rules are part of the definition of what a proof is1 (for a given logical system). For this specific case, it sounds like this: "One way of building a proof of $Q$ is to combine a proof of $P$ and a proof of $P\to Q$ and label that combination "modus ponens". So "modus ponens" is operating at the meta-logical level. It is part of the definition of the logical framework, and specifically part of the definition of proof. (Other logical frameworks may or may not have modus ponens as a rule.)

In more program-y terms, a proof is a data structure and a rule is one of the ways of building a value of that data structure. This is literally how such a thing is represented in many mechanized proof systems when we study logics within them. For example, as demonstrated in Agda for a basic logical framework here where modus ponens literally is a data constructor (H-IM) of a data type.

1 You can have "derived rules" which can just be thought of as abbreviations of using several "primitive" rules. These derived rules are not part of the definition of a proof. In some presentations of logics, modus ponens might be a derived rule rather than a primitive rule.

  • 1
    How is it not a tautology if it is equivalent to True? Isn't that what a tautology is? – user525966 Aug 26 '18 at 02:42
  • @user525966 That's not the definition of a tautology but rather something you can meta-theoretically prove about tautologies (in typical logical systems). I should have been clearer. What I'm saying is that $(p\land(p\to q))\to q$ is not what modus ponens is. Instead what is typically referred to by "modus ponens" is a rule of inference. – Derek Elkins left SE Aug 26 '18 at 02:44
  • If modus ponens is not a tautology, what is an example of a tautology? – saulspatz Aug 26 '18 at 02:45
  • @saulspatz $(p\land (p\to q))\to q$ is an example of a tautology (for typical logical systems). Again, what I'm saying is what "modus ponens" refers to is not that formula or any formula. It doesn't refer to something for which asking whether it is or is not a tautology makes sense. What's "useful in practice" is the rule called modus ponens, not this formula which the OP is calling "modus ponens". Except calling it "useful" is a bit misleading. It is simply part of the definition of what a proof is in many common logical systems. – Derek Elkins left SE Aug 26 '18 at 02:48
  • What do you mean by meta-logical level? – user525966 Aug 26 '18 at 02:50
  • @user525966 I described proofs as "data structures" at one point. We can prove things (in one logical system, the "meta-logic", which is often informal) about the data structures that themselves represent proofs (in a different logic system, the "[object] logic"). As a very concrete example, the link I mention proves things about a Hilbert-style presentation of a propositional logic within the meta-logic of Agda (a dependent type theory). More commonly, the meta-logic is first-order logic with the ZFC axioms. – Derek Elkins left SE Aug 26 '18 at 03:00
  • @user525966 Obviously, it can be quite easy to mix these up since the meta-logic and the object logic are often very similar. It is very important to keep them distinct. A lot of confusion, and very likely the difficulty that prompted your question, arises from conflating these two levels of analysis. – Derek Elkins left SE Aug 26 '18 at 03:00
  • So meta logic is sort of like "Us, humans, talking about how we use and apply logical proofs"? – user525966 Aug 26 '18 at 03:06
  • 1
    @user525966 To be clear, most of the mathematical content of the subject area of logic is meta-theorems. For example, the deduction theorem and the soundness and completeness theorems are meta-theorems. Meta-logic also covers things like "what is the syntax of a formula", "what proofs can we build given these rules", "what can we prove about a given notion of semantics". You can have a formal meta-logic such as Agda or ZFC set theory. However, to talk about those formally requires then a meta-meta-logic and ultimately gets grounded in informal reasoning. – Derek Elkins left SE Aug 26 '18 at 03:25
  • @DerekElkins So I suppose my other question here is that if modus ponens is really more like $(p\land (p\to q)) \vdash q$ on a metalogical level (or I guess probably more like $p, p \to q \vdash q$ if we want to avoid using the $\land$ symbol as a metalogical symbol?), why do I see others proving that it is a tautology by stating it $(p\land (p\to q))\to q$? For example https://math.stackexchange.com/a/1125705/525966 or https://math.stackexchange.com/a/946132/525966 – user525966 Sep 02 '18 at 12:36
  • @user525966 What prompted you to call it "modus ponens" originally? People can be confused. I'm not going to say it's crazy to call that formula "modus ponens", but it is not what logicians usually mean by "modus ponens". The first answer you link to doesn't use the words "modus ponens" but rather the questioner does and is not referring to the rule. The second answer starts off talking about the rule modus ponens. It then states that it corresponds to a semantic claim and that that semantic claim is what is equivalent to $(p\land(p\to q))\to q$ being a tautology. – Derek Elkins left SE Sep 02 '18 at 18:47
  • @DerekElkins I think because I didn't understand the difference between infers and implies and I occasionally see people using both somewhat interchangibly – user525966 Sep 02 '18 at 19:19