Professional Documents
Culture Documents
2017
Logic Programming
Upekha
Vandebona
upe.vand@gmail.c
Introduction
Non-procedural programming
paradigm
First-
Reasonin order
g Predicate Prolog
Logic
Check Concept Ma
Lesson 01
Introduction to
Reasoning
Upekha Vandebona
upe.vand@gmail.co
m
Introduction
Drawing conclusions, solving problems, making
inference, etc.
Day-to-day Scientific
Reasoning Reasoning
Mathematical
so ning Reasoning
Rea
n amic
Dy
e asonin
ase dR
el-B
Game Mo d
Determini
s stic reason
ing
What is reasoning?
We solve a
mathematical
equation, which is a
form of knowledge,
through a step-by-step
deductive reasoning
Nature of Knowledge
For instance,
Paracetamole has
been concluded as a o n ing
as
pain killer because it e Re
t iv
uc
had worked as a pain In d
1. Deterministic reasoning
2. Dynamic reasoning
3. Non-deterministic reasoning
4. Search and match
5. Deductive reasoning
6. Abductive reasoning
7. Inductive reasoning
1. Deterministic Reasoning
Examples
We simplify the 2+3+0 as 2+3,
knowing the premise 3+0 is 3 in real
numbers.
Deductive Reasoning (contd.)
P Q is not equivalent to QP
Abductive Reasoning (contd.)
Identify what are the conclusions and what are the premis
Premise vs. Conclusion
because Sometimes
since indicator
given that word may be
seeing that hidden
as shown by
assuming that e.g. Carrots
considering that have
for the reason thatsignificant
vitamin
Try to reverse this content,
Examples
statement
of words or phrases that are typically
according to
Exercise : Find the premises
and conclusions and reverse
the statement
Sinceall humans have the
capacity for creative thought
and all capacities could be
developed and used, it follows
that all humans can think
creatively.
Deductive
Reasoning
P = road condition is so
crucial
Q = all types of drivers must
be affected [by the condition
but accidents are generally caused by
private bus drivers. Therefore, drivers
unethical behaviour is more relevant
than road conditions for the increase of
accidents Deductive
Reasoning
Can be write as a P Q statement. If P then Q.
If accidents are generally caused by private bus
divers then drivers unethical behaviour is more
relevant than road conditions for the increase of
accidents