Expert-systems
Expert-systems
Static database
User User Interface
Dynamic database
(working memory)
Explanation Module
Problem Solver
IE TMS
KB
TMS - Cont
● TMS can be used to implement monotonic or non-
monotonic systems.
● In monotonic system, once a fact or piece of
knowledge is stored in KB, it can not change.
− In monotonic reasoning, the world of axioms continually
increases in size and keeps on expending.
− Predicate logic is an example of monotonic form of
reasoning. It is a deductive reasoning system where new
facts are derived from the known facts.
● Non-monotonic system allows retraction of truths that
are present in the system whenever contradictions
arise.
− So number of axioms can both increase and decrease and
depending upon the changes in KB, it can be updated.
Example – Monotonic TMS
● Suppose we are given the premise set = {P, W}
and the internal constraint set
{P Q, (P W) R, (Q R) S}.
● TMS are able to derive S from these constraints and
the premise set .
● TMS should provide the justifications of deriving S
from constraints and premises.
● Therefore, for any given set of internal constraints
and premise set , if a formula S can be derived from
these, then justification functions generate a
justification tree for S.
Justification Tree
(Q R) S
{Q, R}
PQ Q R (P W) R
{P} {P, W}
Non-Monotonic TMS
● TMS basically operates with two kinds of
objects
− ‘Propositions’ declaring different beliefs
and
− ‘Justifications’ related to individual
propositions for backing up the belief or
disbelief expressed by the proposition.
2 It rains SL() ()
(outhypotheses))
A CP-justification is valid if the consequent
node is in whenever
(a) each node of the inhypotheses is In and
(b) each node of the outhypotheses is Out.
Example: Consider scheduling a meeting, to
be held preferably at 10 A.M. in either room
813 or 801.
Dependency Directed Backtracking