- Type
- Final term past paper
- Course
- CS636 Formal Methods
- Size
- PDF 955 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 1, 2, 3 of 55. Download the file for all 55 pages.
A tautology is a statement that is always true, no matter what the truth values of its variables are.
Example:
P∨¬P (A statement is true, or its negation is true).
P
¬P
P∨¬P
o Result: Always true.
Contradictions
A contradiction is a statement that is always false, no matter what the truth values of its variables are.
Example:
P∧¬P (A statement cannot be true and false at the same time).
P
¬P
P∧¬P
o Result: Always false.
2. Arguments
An argument is a set of statements (called premises) that lead to a conclusion.
o
Example:
If it rains, the ground gets wet (premise). It is raining (premise). Therefore, the ground is wet (conclusion).
An argument is valid if the conclusion is always true whenever the premises are true.
Example:
Premises:
P: It is raining.
P→Q: If it is raining, the ground is wet. Conclusion: Q: The ground is wet.
Valid Argument?
A fallacy is an invalid argument, where the conclusion does not logically follow the premises.
Example (Fallacy):
Premises: P→Q , Q. Conclusion: P.
This is invalid because Q being true does not necessarily mean P is true.
3. Validity of Arguments
How to Check Validity
An argument is valid if the conclusion Q is true whenever all the premises are true.
Mathematically: (P1∧P2∧...∧Pn)→Q must be a tautology.
Example of Valid Argument
Argument: P→Q,¬Q⊢ ¬P
Explanation:
o
Premises:
1. If P, then Q (P→Q).
2. Q is false (¬Q).
o Conclusion: P must also be false (¬P).
Valid?
In classical logic, every statement is either true (T) or false (F).
In three-valued logic, a statement can also be undefined (U).
o Example: Division by zero (0/0) is undefined.
Operators in Three-Valued Logic
- AND (∧): Both inputs must be true for the result to be true.
o
P∧Q
- OR (∨): At least one input must be true for the result to be true.
o
P∨Q
- Implication (→): If P is true, Q must be true for the result to be true.
o
- Equivalence (↔): Both values must be the same for the result to be true.
Related CS636 files
All CS636 files →- CS636 Final Term Quizzes by DL Final term PDF 1.3 MB
- CS636 Final Term Solved Subjective by Maha Malik Final term PDF 1.7 MB
- CS636 Final Term Highlighted Handouts by Phistanphobia Highlighted PDF 17.5 MB
- CS636 Handouts by VUBuddy Handout PDF 7.8 MB
- CS636 Quiz 1 May 2025 by Lucky Quiz PDF 271 KB
- CS636 Midterm Past Papers by Black Vigo Midterm PDF 2.1 MB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.