Logically correct arguments

Argument

An argument is a sequence of [[Proposition|propositions]].

You can read ”, therefore ”.

Link to original

Logically correct

An argument is logically correct if in every situation that makes all premises true, the conclusion is true as well.

Link to original

Situation

A situation is a row in the truth table of $p_1, p_2, .., p_n, q$ or otherwise a possible assignment for the propositional variables in $p_1, p_2, .., p_n, q$.

Link to original

Examples

{
	"url":"[FC1W1 Lecture Slides.pdf](https://git.is.horse/insert/university/obsidian-notes/-/raw/9d95afcbbdb7a4c77ca9f62b32e35c6f31e269e7/University/Year%201/Semester%201/4CCS1FC1%20Foundations%20of%20Computing%201/Week%201.%20Intro%20to%20propositional%20logic%20and%20proofs/FC1W1%20Lecture%20Slides.pdf)",
	"page":[21,22],
	"scale":1.5
}

Rules of inference

Inference rule

An inference rule is a representation of a valid step in a formal proof, indicating the conditions that must be satisfied before a conclusion can be obtained in the proof.

A rule will be presented in the form:

are the premises or conditions of the rule, and is the conclusion.

Informally, “if are true, then is also true.”

Alternatively, we use the syntax:

Link to original

We can always use a truth table to decide whether an argument is correct. This can be very tedious.

If we consider different variables, the truth table requires rows.

Instead, we can establish the correctness of simple argument forms using rules of inference, and then use them to construct more complicated correct arguments.

For example, Modus ponens (the rule of detachment).

Examples

Should practice trying to justify these!
There will be no exam Q in this module for building these, no need to memorise.
{
	"url":"[FC1W1 Lecture Slides.pdf](https://git.is.horse/insert/university/obsidian-notes/-/raw/9d95afcbbdb7a4c77ca9f62b32e35c6f31e269e7/University/Year%201/Semester%201/4CCS1FC1%20Foundations%20of%20Computing%201/Week%201.%20Intro%20to%20propositional%20logic%20and%20proofs/FC1W1%20Lecture%20Slides.pdf)",
	"page":[24],
	"scale":1.5
}