100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Other

Foundations of Computing Cheatsheet

Rating
-
Sold
2
Pages
1
Uploaded on
15-07-2021
Written in
2020/2021

This document is a one-page summary of all the laws of logic, corresponding set identities and rules of inference necessary for the Foundations of Computing course.

Institution
Course








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

Uploaded on
July 15, 2021
Number of pages
1
Written in
2020/2021
Type
Other
Person
Unknown

Subjects

Content preview

Cheat Sheet
ALGEBRAIC LAWS OF LOGIC SET IDENTITIES

a ∧b ≡b∧a A∩B =B∩A
Commutative
a ∨b ≡ b ∨a A∪B = B ∪A
(a ∧ b) ∧ c ≡ a ∧ (b ∧ c) (A ∩ B ) ∩ C = A ∩ (B ∩ C )
Associative
(a ∨ b) ∨ c ≡ a ∨ (b ∨ c) (A ∪ B ) ∪ C = A ∪ (B ∪ C )
a ∧ (b ∨ c) ≡ (a ∧ b) ∨ (a ∧ c) A ∩ (B ∪ C ) = (A ∩ B ) ∪ (A ∩ C )
Distributive
a ∨ (b ∧ c) ≡ (a ∨ b) ∧ (a ∨ c) A ∪ (B ∩ C ) = (A ∪ B ) ∩ (A ∪ C )
¬(a ∧ b) ≡ ¬a ∨ ¬b (A ∩ B )c = A c ∪ B c
De Morgan’s Law
¬(a ∨ b) ≡ ¬a ∧ ¬b (A ∪ B )c = A c ∩ B c
Double negation ¬ ¬a ≡ a
Double complement (A c )c = A

a ∧T ≡ a A ∩𝒰= A
Identity
a ∨F ≡ a A∪∅= A
a ∧ ¬a ≡ F
Negation
a ∨ ¬a ≡ T
A ∩ Ac = ∅
Complement
A ∪ Ac = 𝒰
a ∧a ≡a A∩A=A
Idempotence
a ∨a ≡ a A∪A =A
a∧F ≡F A ∩∅=∅
Universal bound
a ∨T ≡T A∪𝒰=𝒰
a ∨ (a ∧ b) ≡ a A ∪ (A ∩ B ) = A
Absorption
a ∧ (a ∨ b) ≡ a A ∩ (A ∪ B ) = A
Negation of T ¬T ≡ F
Negation of F ¬F ≡ T
Complement of 𝒰 𝒰c = ∅
Complement of ∅ ∅c = 𝒰

Translation ⇒ a ⇒ b ≡ ¬a ∨ b
Translation ⇔ a ⇔ b ≡ (a ⇒ b) ∧ (b ⇒ a)
Set difference A\ B = A ∩ B c


Rules of inference
Modus Ponens Modus Tollens Elimination Conjunction Transitivity
a ⇒b a ⇒b a ∨b a a ⇒b
a ¬b ¬b b b ⇒c
∴ b ∴ ¬a ∴ a ∴ a∧b ∴ a ⇒c

Specialization Generalization Contradiction Contradiction

a∧b a b ⇒F a
∴ a ∴ a ∨b ∴ ¬b b ⇒ ¬a
∴ ¬b
Case distinction Case distinction
a ⇒c a ⇒c
b ⇒c b ⇒c
p ⇒a ∨b a ∨b
∴ p ⇒c ∴ c

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Lieve12 RWTH Aachen University
Follow You need to be logged in order to follow users or courses
Sold
172
Member since
5 year
Number of followers
118
Documents
28
Last sold
14 hours ago

4.4

17 reviews

5
8
4
8
3
1
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions