Chapter 1 - The Foundations: Logic and Proofs Flashcards
proposition
a statement that is true or false
propositional variable
a variable that represents a proposition
truth value
true or false
¬ p (negation of p)
th proposition with truth value opposite to the truth value of p
logical operators
operators used to combine propositions
compound propositions
a proposition constructed by combining propositions using logical operators
truth table
a table displaying all possible truth cakes of propositions
p ⋎ q (disjunction of p and q)
the proposition “p or q,” which is true if and only if at least one of p and q is true
p ⋏ q (conjunction of p and q)
the proposition “p and q,” which is true if and only of both p and q are true
p ⊕ q (exclusive or of p and q)
the proposition “p XOR q,” which is true when exactly one of p and q is true
p → q (p implies q)
the proposition “if p, then q,” which is false if and only of p is true and q is false
converse of p → q
the conditional statement q → p
contrapositive of p → q
the conditional statement ¬q → ¬p
inverse of p → q
the conditional statement ¬p → ¬q
p ⇄ q (biconditional)
the proposition “p if and only if q,” which is true if and only if p and q have the same truth value
bit
either a 0 or 1
Boolean variable
a variavle that has a value of 0 or 1
bit operation
an operation on a bit or bits
bit string
a list of bits
bitwise operations
operations on bit strings that operate on each bit in one strong and the corresponding bit in the other string
logic gate
a logic element that performs a logical operation on one or more bits to produce an output bit
logic circuit
a switching circuit made up of logic gates that produces one or more output bits
tautology
a compound proposition that is always true
contradiction
a compound proposition that is always false
contingency
a compound proposition that is sometimes true and sometimes false
consistent compound propositions
compound propositions for which there is an assignment of truth values to the variables that makes all these propositions true