Logo
Pattern

Discover published sets by community

Explore tens of thousands of sets crafted by our community.

Mathematical Logic - Propositional Logic

34

Flashcards

0/34

Still learning
StarStarStarStar

p \land q

StarStarStarStar

True if both p and q are true, otherwise false.

StarStarStarStar

(p \lor q) \rightarrow r

StarStarStarStar

True if whenever at least one of p or q is true, r is also true.

StarStarStarStar

p \rightarrow (q \land r)

StarStarStarStar

True if whenever p is true, both q and r are also true.

StarStarStarStar

p \lor q

StarStarStarStar

True if at least one of p or q is true, otherwise false.

StarStarStarStar

\neg p

StarStarStarStar

True if p is false, and false if p is true.

StarStarStarStar

(p \land q) \rightarrow r

StarStarStarStar

True if whenever both p and q are true, r is also true.

StarStarStarStar

p \rightarrow q

StarStarStarStar

If p is true, then q is also true. If p is false, then nothing is said about q.

StarStarStarStar

p \oplus q

StarStarStarStar

True if p and q have different truth values, false if they are the same.

StarStarStarStar

p \leftrightarrow q

StarStarStarStar

True if p and q have the same truth value, false otherwise.

StarStarStarStar

p \rightarrow (q \lor r)

StarStarStarStar

True if whenever p is true, at least one of q or r is true.

StarStarStarStar

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

StarStarStarStar

This is a form of modus ponens: true if q is true whenever p is true and 'p implies q' is true.

StarStarStarStar

(p \rightarrow q) \leftrightarrow (\neg q \rightarrow \neg p)

StarStarStarStar

True, this is known as contraposition.

StarStarStarStar

(p \lor q) \leftrightarrow (q \lor p)

StarStarStarStar

True, as the disjunction operation is commutative.

StarStarStarStar

\neg(\neg p)

StarStarStarStar

True if p is true, and false if p is false. It is simply the value of p.

StarStarStarStar

(\neg q \land (p \rightarrow q)) \rightarrow \neg p

StarStarStarStar

This is a form of modus tollens: true if p is false whenever q is false and 'p implies q' is true.

StarStarStarStar

(p \land (p \rightarrow q)) \leftrightarrow q

StarStarStarStar

Not necessarily true; equivalent to modus ponens but represented as a biconditional, which requires equivalence.

StarStarStarStar

((p \rightarrow q) \land (q \rightarrow r)) \rightarrow (p \rightarrow r)

StarStarStarStar

True, as this is the transitive property of implications.

StarStarStarStar

(p \rightarrow r) \land (q \rightarrow r)

StarStarStarStar

True if either both p and q are false, or if r is true.

StarStarStarStar

(p \lor q) \land \neg(p \and q)

StarStarStarStar

True if exactly one of p or q is true (exclusive or).

StarStarStarStar

\neg(p \lor q)

StarStarStarStar

True if both p and q are false.

StarStarStarStar

\neg (p \rightarrow q) \leftrightarrow (p \land \neg q)

StarStarStarStar

True, this is based on the definition of implication and represents the only case where 'p implies q' is false.

StarStarStarStar

\neg (p \leftrightarrow q) \leftrightarrow (p \oplus q)

StarStarStarStar

True, this shows that the negation of biconditional is equivalent to exclusive or.

StarStarStarStar

((p \lor q) \land \neg p) \rightarrow q

StarStarStarStar

True, as this represents the disjunctive syllogism rule of inference.

StarStarStarStar

(p \rightarrow q) \land (p \rightarrow \neg q)

StarStarStarStar

True only if p is false, because q and \neg q cannot both be true.

StarStarStarStar

(p \lor \neg p)

StarStarStarStar

True, this is known as the law of excluded middle.

StarStarStarStar

(p \land q) \leftrightarrow (q \land p)

StarStarStarStar

True, as the conjunction operation is commutative.

StarStarStarStar

\neg(p \land q)

StarStarStarStar

True if either p is false, q is false, or both are false.

StarStarStarStar

p \rightarrow (q \rightarrow p)

StarStarStarStar

True, this implication always holds due to the reflexivity of implication.

StarStarStarStar

(p \rightarrow q) \land (p \rightarrow r)

StarStarStarStar

True if p is true and both q and r are also true, or if p is false.

StarStarStarStar

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

StarStarStarStar

True, direct application of the modus ponens inference rule.

StarStarStarStar

\neg p \rightarrow (p \lor q)

StarStarStarStar

True, based on the principle that the disjunction is true if at least one disjunct is true.

StarStarStarStar

(p \land (q \lor r)) \leftrightarrow ((p \land q) \lor (p \land r))

StarStarStarStar

True, this represents the distributive law of conjunction over disjunction.

StarStarStarStar

\neg p \rightarrow (p \rightarrow q)

StarStarStarStar

True because if p is false then the implication 'p implies q' is always true.

StarStarStarStar

(p \lor (q \land r)) \leftrightarrow ((p \lor q) \and (p \lor r))

StarStarStarStar

True, this represents the distributive law of disjunction over conjunction.

Know
0
Still learning
Click to flip
Know
0
Logo

© Hypatia.Tech. 2024 All rights reserved.