This page does not represent the most current semester of this course; it is present merely as an archive.
Concept | Java/C | Python | This class | Bitwise | Name | Other |
---|---|---|---|---|---|---|
true | true |
True |
or | -1 |
tautology | T |
false | false |
False |
or | 0 |
contradiction | F |
not | !p |
not p |
or | ~p |
negation | |
and | p && q |
p and q |
p & q |
conjunction | , | |
or | p || q |
p or q |
p | q |
disjunction | ||
xor | p != q |
p != q |
p ^ q |
parity | , | |
implies | implication | , | ||||
iff | p == q |
p == q |
bi-implication | , xnor |
Concept | Symbol | Meaning |
---|---|---|
equivalent | means is a tautology |
|
entails | means is a tautology |
|
provable | means proves; it means both and I know is true because is true (without ) means I know is true |
|
therefore | means the lines above this also connotes is the thing we wanted to show |
|
proof done | ∎ q.e.d. |
marks the end of a written (prose) proof |
hypothesis | something we expect is true | |
theorem | something we’ve proven is true | |
corollary | small theorem that builds off of the main theorem | |
lemma | small theorem that helps set up the proof of the main theorem |
Concept | Symbol | Meaning |
---|---|---|
floor | the largest integer not larger than rounded down to an integer |
|
ceiling | the smallest integer not smaller than rounded up to an integer |
|
exponent | multiplied by itself times | |
sum | the sum of all members of By definition, 0 if |
|
sum | where the sum of applied to integers between and inclusive |
|
product | the product of all members of By definition, 1 if |
|
product | where the product of applied to integers between and inclusive |
|
factorial | the product of all positive integers less than or equal to the number of permutations of a length- sequence with distinct members |
|
choose | the number of -member subsets of an -element set |