Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 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

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

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

Free
Get access to the full document:
Download

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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
3 months 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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions