AI Presentation Vs
AI Presentation Vs
Example:
a) It is Sunday.
b) The Sun rises from West (False proposition)
c) 3+3= 7(False proposition)
d) 5 is a prime number.
Some basic facts about
propositional logic:
Propositional logic is also called Boolean logic as it works on 0 and 1.
In propositional logic, we use symbolic variables to represent the logic, and we
can use any symbol for a representing a proposition, such A, B, C, P, Q, R, etc.
Propositions can be either true or false, but it cannot be both.
Propositional logic consists of an object, relations or function, and logical
connectives.
These connectives are also called logical operators.
The propositions and connectives are the basic elements of the propositional
logic.
Connectives can be said as a logical operator which connects two sentences.
A proposition formula which is always true is called tautology, and it is also
called a valid sentence.
A proposition formula which is always false is called Contradiction.
A proposition formula which has both true and false values is called
contingency.
There are two types of
Propositions:
Atomic Propositions
Compound propositions
Example:
a) 2+2 is 4, it is an atomic proposition as it is a true fact.
b) "The Sun is cold" is also a proposition as it is a false fact.
Example: “It is raining ↔ The ground is wet” is true if both are true or both are false.
3. Decision Making:
In decision-making processes, propositional logic helps AI systems evaluate
various options and determine the best course of action. Logical rules can
encode decision criteria, and truth tables can be used to assess the outcomes
of different choices.
Example:
a. All the girls are intelligent.
b. Some apples are sweet.