Jump to content

Talk:List of axiomatic systems in logic

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Talk:List of logic systems)

Inaccessible

[edit]

The article is utterly inaccessible for non-experts. Boris Tsirelson (talk) 15:06, 10 September 2010 (UTC)[reply]

It's rather inaccessible for experts too, since it uses an unnecessarily obscure prefix notation which has no utility in an age of LaTeX and MathML. -- Radagast3 (talk) 02:37, 11 September 2010 (UTC)[reply]
I have to agree that polish notation should be replaced. However I think the content is otherwise a wonderful contribution.Greg Bard (talk) 16:23, 12 September 2010 (UTC)[reply]
With the infix notation it will be still inaccessible unless a context will be explained, the meaning of it all, - what is happening, and what for. Boris Tsirelson (talk) 18:39, 12 September 2010 (UTC)[reply]
Now it makes sense. Boris Tsirelson (talk) 16:42, 13 September 2010 (UTC)[reply]
I'm not an expert, but it seems straight-forward enough, now. 67.198.37.16 (talk) 02:19, 31 August 2016 (UTC)[reply]

Modus Ponens

[edit]

The article says all these logic systems include Modus Ponens, so they don't need to mention. But then under Tarski–Bernays–Wajsberg axiom system, an axiom is included ((A→B)→A)→B). Isn't this a version of Modus Ponens? Just to be clear, modus ponens should be added to all of them except Tarski–Bernays–Wajsberg? Or should be implicitly added to them all, including Tarski–Bernays–Wajsberg? -lethe talk + 05:28, 4 December 2017 (UTC)[reply]

The axiom is Peirce's law, not modus ponens. Modus ponens is a rule of inference, but not an axiom schema. (Axiom schemas are also rules of inference of an especially simple form.) JRSpriggs (talk) 05:52, 4 December 2017 (UTC)[reply]
I was thinking of some kind of currying principle. So if modus ponens is , which currying transforms into I think I had guessed that some argument like this applies to the form of Pierce's law. But now I think Pierce's law is parenthesized wrong for currying to apply, among other discrepancies. -lethe talk + 16:34, 17 December 2017 (UTC)[reply]

How to establish completeness in a two-valued (i.e. classical) logic

[edit]

To illustrate my point, I will take the Sheffer stroke as an example because it is a connective and system with which I am not used to working, but is also simple in that it has only one connective. First let me make two definitions (abbreviations) to make the formulas more readable and keep them from becoming excessively long:

.

We must show that modus ponens is a valid inference in these systems. It is so because ordinary modus ponens translates to

which is a special case of Nicod's modus ponens

.

To show completeness, we need to make sure that the deduction metatheorem holds (it is a feature of classical logic so it would have to hold even if one chooses some other way to get completeness), so we need

1. and
2.

to be theorems.

For a valuation v, any formula true in that valuation could be derived by induction on its subformulas P establishing

for true subformulas and

for false subformulas. In our example, subformulas (other than atoms) are formed in only one way, by using the Sheffer stroke. So we need

3. ,
4. , and
5.

to be theorems. These theorems encode the four entries in the truth-table for NAND.

If the formula F in question is a tautology, then it is true in any valuation. So any combination of values assigned to its atoms will allow one to derive F. We can then remove the dependency on the specific valuation by backwards induction (see implicational propositional calculus#Completeness for an example). This requires one last theorem:

6. .

So the problem of establishing that all tautologies are theorems has been reduced to showing that six specific tautologies are theorems. JRSpriggs (talk) 04:13, 30 September 2018 (UTC)[reply]

Here is an example of how these six theorems can be used to prove any tautology, that is, show that it is a theorem.

To show: . Here I am using the deduction metatheorem so theorems 1 and 2 are being used implicitly throughout.

hypothesis
hypothesis
theorem 3
modus ponens
modus ponens
theorem 5
modus ponens
theorem 4
modus ponens
theorem 3
modus ponens
modus ponens
theorem 5
modus ponens
deduction
hypothesis
theorem 4
modus ponens
theorem 3
modus ponens
modus ponens
theorem 4
modus ponens
deduction
theorem 6
modus ponens
modus ponens
deduction
hypothesis
theorem 4
modus ponens
theorem 3
modus ponens
modus ponens
theorem 5
modus ponens
theorem 4
modus ponens
theorem 3
modus ponens
modus ponens
theorem 5
modus ponens
deduction
theorem 6
modus ponens
modus ponens QED

You see how theorem 6 works together with the deduction step of the deduction metatheorem. OK? JRSpriggs (talk) 05:58, 1 October 2018 (UTC)[reply]

We do not have to use P to represent "P is true" and ¬P to represent "P is false"; there are other options. So here I will show one.

If F is the formula that we are trying to prove, we could use (PF)→F to represent "P is true (or F is true)" and PF to represent "P is false (or F is true)". In our example with the Sheffer stroke, this would change the needed theorems (after theorems 1 and 2 for the deduction meta-theorem, which do not change) to:

3. ,
4. , and
5. .

When the induction on sub-formulas reaches F, we would have (FF)→F (if F is true in the valuation in question) which reduces to F itself (since FF is a theorem by the deduction meta-theorem). The results of the deduction steps would be ((PF)→F)→F and (PF)→F. So we can get F by modus ponens rather than using a variant of theorem 6. JRSpriggs (talk) 00:30, 3 October 2018 (UTC)[reply]

Completeness of Mendelson's axioms for implication and negation

[edit]

Mendelson uses the usual two axioms to get the deduction meta-theorem:

1. P→(QP)
2. (P→(QR))→((PQ)→(PR))

and one powerful axiom to handle negation and two-valuedness:

3. (¬P→¬Q)→((¬PQ)→P).

To show their completeness, I use a somewhat different approach than he used in his book. I derive these seven theorems which are clearly sufficient (in light of what I said above) to establish completeness:

The first two are just his first two axioms, used for the same purpose to get the deduction meta-theorem. So their derivation is trivial.

1. P→(QP)
2. (P→(QR))→((PQ)→(PR))

If the conclusion of an implication is true, then the implication is true:

3. ((QF)→F)→(((PQ)→F)→F)
Q→(PQ) axiom 1
(PQ)→F hypothesis
Q hypothesis
PQ modus ponens
F modus ponens
QF deduction
((PQ)→F)→(QF) deduction
(QF)→F hypothesis
(PQ)→F hypothesis
QF modus ponens
F modus ponens
((PQ)→F)→F deduction
((QF)→F)→(((PQ)→F)→F) deduction QED

If the hypothesis of an implication is true and the conclusion is false, then the implication is false:

4. ((PF)→F)→((QF)→((PQ)→F))
(PF)→F hypothesis
QF hypothesis
PQ hypothesis
P hypothesis
Q modus ponens
F modus ponens
PF deduction
F modus ponens
(PQ)→F deduction
(QF)→((PQ)→F) deduction
((PF)→F)→((QF)→((PQ)→F)) deduction QED

If the hypothesis of an implication is false, then the implication is true:

5. (PF)→((PQ)→F)→F)

The proof of theorem 5 requires that we first show Peirce's law and some other lemmas:

P→¬P)→((¬PP)→P) axiom 3
¬P hypothesis
¬P→¬P deduction
PP)→P modus ponens (lemma 1)
Q→¬P)→((¬QP)→Q) axiom 3
¬P hypothesis
¬P→(¬Q→¬P) axiom 1
¬Q→¬P modus ponens
QP)→Q modus ponens
P hypothesis
P→(¬QP) axiom 1
¬QP modus ponens
Q modus ponens
PQ deduction
¬P→(PQ) deduction (lemma 2)
(PQ)→P hypothesis
¬P hypothesis
PQ modus ponens (from lemma 2)
P modus ponens
¬PP deduction
P modus ponens (from lemma 1)
((PQ)→P)→P deduction (Peirce's law)
PF hypothesis
(PQ)→F hypothesis
FQ hypothesis
P hypothesis
F modus ponens
Q modus ponens
PQ deduction
F modus ponens
(FQ)→F deduction
((FQ)→F)→F Peirce's law
F modus ponens
((PQ)→F)→F deduction
(PF)→(((PQ)→F)→F) deduction QED

If P is true, then ¬P is false:

6. ((PF)→F)→(¬PF)
¬P→(PF) lemma 2
(PF)→F hypothesis
¬P hypothesis
PF modus ponens
F modus ponens
¬PF deduction
((PF)→F)→(¬PF) deduction QED

If P is false, then ¬P is true:

7. (PF)→((¬PF)→F)

The proof of theorem 7 also requires some lemmas leading to the contra-positive:

P→¬¬P)→((¬P→¬P)→P) axiom 3
¬¬P hypothesis
¬¬P→(¬P→¬¬P) axiom 1
¬P→¬¬P modus ponens
P→¬P)→P modus ponens
¬P hypothesis
¬P→¬P deduction
P modus ponens
¬¬PP deduction (lemma 3)
(¬¬¬P→¬P)→((¬¬¬PP)→¬¬P) axiom 3
¬¬¬P→¬P lemma 3
(¬¬¬PP)→¬¬P modus ponens
P hypothesis
P→(¬¬¬PP) axiom 1
¬¬¬PP modus ponens
¬¬P modus ponens
P→¬¬P deduction (lemma 4)
(¬¬P→¬¬Q)→((¬¬P→¬Q)→¬P) axiom 3
PQ hypothesis
¬¬P hypothesis
¬¬PP lemma 3
P modus ponens
Q modus ponens
Q→¬¬Q lemma 4
¬¬Q modus ponens
¬¬P→¬¬Q deduction
(¬¬P→¬Q)→¬P modus ponens
¬Q hypothesis
¬Q→(¬¬P→¬Q) axiom 1
¬¬P→¬Q modus ponens
¬P modus ponens
¬Q→¬P deduction
(PQ)→(¬Q→¬P) deduction (contra-positive)
F→¬¬P)→((¬F→¬P)→F) axiom 3
PF hypothesis
(PF)→(¬F→¬P) contra-positive
¬F→¬P modus ponens
¬PF hypothesis
PF)→(¬F→¬¬P) contra-positive
¬F→¬¬P modus ponens
F→¬P)→F modus ponens
F modus ponens
PF)→F deduction
(PF)→((¬PF)→F) deduction QED

Now, having proven all seven required theorems, we know that Mendelson's axiom system is complete. To show that another axiom system for implication and negation is complete, we could either prove the same seven theorems from it or we could prove the three axioms of Mendelson's system instead. JRSpriggs (talk) 03:34, 9 October 2018 (UTC)[reply]

Łukasiewicz's third axiom system is very similar to Mendelson's. The only difference is in axiom 3

where Łukasiewicz's axiom lacks the part in green. That part tends to strengthen Mendelson's axiom. Nonetheless, Łukasiewicz's system is still complete as I will show by deducing Mendelson's version of the third axiom from Łukasiewicz's version. To show:

3. (¬P→¬Q)→((¬PQ)→P).
¬Q hypothesis
¬Q→(¬P→¬Q) axiom 1
¬P→¬Q modus ponens
P→¬Q)→(QP) axiom 3
QP modus ponens
¬Q→(QP) deduction (lemma 1)
¬P→¬Q hypothesis
¬PQ hypothesis
¬P hypothesis
¬Q modus ponens
Q modus ponens
¬Q→(Q→¬(PP)) lemma 1
Q→¬(PP) modus ponens
¬(PP) modus ponens
¬P→¬(PP) deduction
P→¬(PP))→((PP)→P) axiom 3
(PP)→P modus ponens
P hypothesis
PP deduction
P modus ponens
PQ)→P deduction
P→¬Q)→((¬PQ)→P) deduction QED

So Łukasiewicz's third axiom system is complete. JRSpriggs (talk) 21:25, 17 October 2018 (UTC)[reply]

Completeness of Hilbert's system

[edit]

To establish the completeness of Hilbert's system, we derive from it the axioms of Łukasiewicz's third system.
Axioms of Hilbert's system:

1. A→(BA)
2. (A→(BC))→(B→(AC))
3. (BC))→((AB)→(AC))
4. A→(¬AB)
5. (AB)→((¬AB)→B)


Theorems:

6. (A→(BA))→(B→(AA)) 2
7. B→(AA) mp 1,6
8. (A→(BA))→(AA) 7
9. AA mp 1,8
10. (AA)→((¬AA)→A) 5
11. (¬AA)→A mp 9,10
12. [(BC))→((AB)→(AC))]→[(AB)→((BC)→(AC))] 2
13. (AB)→((BC)→(AC)) mp 3,12
14. [A→(¬AB)]→[¬A→(AB)] 2
15. ¬A→(AB) mp 4,14
16. (¬A→(AB))→[((AB)→A)→(¬AA)] 13
17. ((AB)→A)→(¬AA) mp 15,16
18. (((AB)→A)→(¬AA))→[((¬AA)→A)→(((AB)→A)→A)] 13
19. ((¬AA)→A)→(((AB)→A)→A) mp 17,18
20. ((AB)→A)→A mp 11,19
21. (A→(AC))→[((AC)→C)→(AC)] 13
22. [((AC)→C)→(AC)]→(AC) 20
23. ((A→(AC))→[((AC)→C)→(AC)])→[([((AC)→C)→(AC)]→(AC))→((A→(AC))→(AC))] 13
24. ([((AC)→C)→(AC)]→(AC))→((A→(AC))→(AC)) mp 21,23
25. (A→(AC))→(AC) mp 22,24
26. ((BC)→(AC))→[(A→(BC))→(A→(AC)))] 3
27. [(AB)→((BC)→(AC))]→([((BC)→(AC))→[(A→(BC))→(A→(AC)))]]→[(AB)→[(A→(BC))→(A→(AC))]]) 13
28. [((BC)→(AC))→[(A→(BC))→(A→(AC)))]]→[(AB)→[(A→(BC))→(A→(AC))]] mp 13,27
29. (AB)→[(A→(BC))→(A→(AC))] mp 26,28
30. ((AB)→[(A→(BC))→(A→(AC))])→((A→(BC))→[(AB)→(A→(AC))]) 2
31. (A→(BC))→[(AB)→(A→(AC))] mp 29,30
32. ((A→(AC))→(AC))→[((AB)→(A→(AC)))→((AB)→(AC))] 3
33. ((AB)→(A→(AC)))→((AB)→(AC)) mp 25,32
34. [((AB)→(A→(AC)))→((AB)→(AC))]→[((A→(BC))→((AB)→(A→(AC))))→((A→(BC))→((AB)→(AC)))] 3
35. ((A→(BC))→((AB)→(A→(AC))))→((A→(BC))→((AB)→(AC))) mp 33,34
36. (A→(BC))→((AB)→(AC)) mp 31,35

Now we have proven the two theorems, 1 and 36, needed to make the deduction theorem work. So we can switch to that, much easier, method of proof.

¬A→¬B hypothesis
B hypothesis
¬A hypothesis
¬B modus ponens
B→(¬BA) 4
¬BA modus ponens
A modus ponens
¬AA deduction
AA)→A 11
A modus ponens
BA deduction
A→¬B)→(BA) deduction QED (converse contra-positive)

These are the three axioms of Łukasiewicz's third system (which we showed above was complete), our theorems: 1, 36, and converse contra-positive. So we have proved that Hilbert's system is complete. JRSpriggs (talk) 06:38, 19 October 2018 (UTC)[reply]

@JRSpriggs: Nice! I think this stuff belongs inside the article (or another article if you prefer), not (just) in the talk page. Dan Gluck (talk) 11:14, 23 July 2020 (UTC)[reply]

P.S I haven't reviewed the proofs (yet?)Dan Gluck (talk) 11:15, 23 July 2020 (UTC)[reply]
At the time I wrote this, I was trying to comply with the wishes of EmilJ (talk · contribs) which he expressed at Talk:Implicational propositional calculus where he said "... no more proofs, please. There should be less proofs in the article, not more. This is an encyclopedia, not a textbook.". I think his point was that we require verifiability, not proof. Indeed, a proof like this would be considered Original Research, the original sin of encyclopedia writers. I was trying to get around that by putting my proofs on the talk pages where standards are looser. JRSpriggs (talk) 12:21, 23 July 2020 (UTC)[reply]

Why is Rosser's system not included in the list?

[edit]

Basic symbols: and

Axiom schemes:

1)

2)

3)

Inference rule: Modus Ponens.

- Aris Makridis (talk) 13:41, 24 October 2023 (UTC)[reply]

I do not see a section in the article on logics based on conjunction and negation. If you find a another reference for such a logic, then you could reasonably add such a section with Rosser and the other reference to support it. JRSpriggs (talk) 07:23, 26 October 2023 (UTC)[reply]
See Rosser J. Barkley, "Logic for Mathematicians", New York, McGraw-Hill, 1953. Here is a link:
https://archive.org/details/logicformathemat00ross/mode/2up
So, I am adding the section. Aris Makridis (talk) 07:43, 31 October 2023 (UTC)[reply]