010.Rule Based Deduction Systems Planning

Embed Size (px)

Citation preview

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    1/21

    The way in which a piece of knowledge is expressed by a human expertcarries important information,example: if the person has fever and feels tummy-pain then she may have an

    infection.

    In logic it can be expressed as follows:

    x. (has_fever(x) & tummy_pain(x) has_an_infection(x))

    If we convert this formula to clausal form we loose the content as then wemay have equivalent formulas like:

    (i) has_fever(x) & ~has_an_infection(x) ~tummy_pain(x)(ii) ~has_an_infection(x) & tummy_pain(x) ~has_fever(x)

    Notice that: (i) and (ii) are logically equivalent to the original sentence

    they have lost the main information contained in its formulation.

    Rule-Based Deduction Systems

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    2/21

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    3/21

    Rules are the productions stated in implication form. Rules express specific knowledge about the problem.

    Facts are assertions not expressed as implications.

    The task of the system will be to prove a goal formula with thesefacts and rules.

    In a forward production system the rules are expressed as F-rules

    F-rules operate on the global database of facts until the terminationcondition is achieved.

    This sort of proving system is a directsystem rather than arefutation system.

    Facts Facts are expressed inAND/OR form.

    An expression in AND/OR form consists on sub-expressions ofliterals connected by & and V symbols.

    An expression in AND/OR form is not in clausal form.

    Forward production systems

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    4/21

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    5/21

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    6/21

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    7/21

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    8/21

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    9/21

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    10/21

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    11/21

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    12/21

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    13/21

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    14/21

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    15/21

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    16/21

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    17/21

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    18/21

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    19/21

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    20/21

  • 7/28/2019 010.Rule Based Deduction Systems Planning

    21/21