Understanding PML Paulo Pinheiro da Silva. PML PML is a provenance language (a language used to encode provenance knowledge) that has been proudly derived.

Slides:



Advertisements
Similar presentations
Artificial Intelligence
Advertisements

Predicate Logic Colin Campbell. A Formal Language Predicate Logic provides a way to formalize natural language so that ambiguity is removed. Mathematical.
Hoare’s Correctness Triplets Dijkstra’s Predicate Transformers
Propositional Logic Russell and Norvig: Chapter 6 Chapter 7, Sections 7.1—7.4 Slides adapted from: robotics.stanford.edu/~latombe/cs121/2003/home.htm.
Deduction In addition to being able to represent facts, or real- world statements, as formulas, we want to be able to manipulate facts, e.g., derive new.
Logic CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Logic.
Knowledge Representation I Suppose I tell you the following... The Duck-Bill Platypus and the Echidna are the only two mammals that lay eggs. Only birds.
Outline Recap Knowledge Representation I Textbook: Chapters 6, 7, 9 and 10.
1 Introduction to Computability Theory Lecture12: Reductions Prof. Amos Israeli.
Logic in general Logics are formal languages for representing information such that conclusions can be drawn Syntax defines the sentences in the language.
Knowledge Representation & Reasoning.  Introduction How can we formalize our knowledge about the world so that:  We can reason about it?  We can do.
CSCI 5582 Fall 2006 CSCI 5582 Artificial Intelligence Lecture 9 Jim Martin.
Knowledge Representation & Reasoning (Part 1) Propositional Logic chapter 6 Dr Souham Meshoul CAP492.
Alpha: Symbolization and Inference Bram van Heuveln Minds and Machines Lab RPI.
Let remember from the previous lesson what is Knowledge representation
Computability and Complexity 10-1 Computability and Complexity Andrei Bulatov Gödel’s Incompleteness Theorem.
Describing Syntax and Semantics
Computability Thank you for staying close to me!! Learning and thinking More algorithms... computability.
What makes communication by language possible? Striking fact (a) If someone utters a sentence and you know which proposition her utterance expresses, then.
Artificial Intelligence Reasoning. Reasoning is the process of deriving logical conclusions from given facts. Durkin defines reasoning as ‘the process.
Propositional Logic Reasoning correctly computationally Chapter 7 or 8.
Inference is a process of building a proof of a sentence, or put it differently inference is an implementation of the entailment relation between sentences.
Deduction, Proofs, and Inference Rules. Let’s Review What we Know Take a look at your handout and see if you have any questions You should know how to.
MATH 224 – Discrete Mathematics
1 Chapter 7 Propositional and Predicate Logic. 2 Chapter 7 Contents (1) l What is Logic? l Logical Operators l Translating between English and Logic l.
CS 4100 Artificial Intelligence Prof. C. Hafner Class Notes Jan 19, 2012.
Pattern-directed inference systems
Logical Agents Logic Propositional Logic Summary
1 Knowledge Representation. 2 Definitions Knowledge Base Knowledge Base A set of representations of facts about the world. A set of representations of.
Dr. Shazzad Hosain Department of EECS North South Universtiy Lecture 04 – Part A Knowledge Representation and Reasoning.
Of 33 lecture 12: propositional logic – part I. of 33 propositions and connectives … two-valued logic – every sentence is either true or false some sentences.
LOGIC AND ONTOLOGY Both logic and ontology are important areas of philosophy covering large, diverse, and active research projects. These two areas overlap.
Computing & Information Sciences Kansas State University Lecture 13 of 42 CIS 530 / 730 Artificial Intelligence Lecture 13 of 42 William H. Hsu Department.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
CS 4100 Artificial Intelligence Prof. C. Hafner Class Notes Jan 17, 2012.
Computing & Information Sciences Kansas State University Lecture 14 of 42 CIS 530 / 730 Artificial Intelligence Lecture 14 of 42 William H. Hsu Department.
CS6133 Software Specification and Verification
Artificial Intelligence 2004 Non-Classical Logics Non-Classical Logics Specific Language Constructs added to classic FOPL Different Types of Logics.
Artificial Intelligence “Introduction to Formal Logic” Jennifer J. Burg Department of Mathematics and Computer Science.
11 Artificial Intelligence CS 165A Thursday, October 25, 2007  Knowledge and reasoning (Ch 7) Propositional logic 1.
Chapter 7. Propositional and Predicate Logic Fall 2013 Comp3710 Artificial Intelligence Computing Science Thompson Rivers University.
CSE 311: Foundations of Computing Fall 2013 Lecture 8: Proofs and Set theory.
First-Order Logic Semantics Reading: Chapter 8, , FOL Syntax and Semantics read: FOL Knowledge Engineering read: FOL.
ARTIFICIAL INTELLIGENCE Lecture 2 Propositional Calculus.
Propositional Logic Russell and Norvig: Chapter 6 Chapter 7, Sections 7.1—7.4.
Review: What is a logic? A formal language –Syntax – what expressions are legal –Semantics – what legal expressions mean –Proof system – a way of manipulating.
Some Thoughts to Consider 5 Take a look at some of the sophisticated toys being offered in stores, in catalogs, or in Sunday newspaper ads. Which ones.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
Propositional Logic Russell and Norvig: Chapter 6 Chapter 7, Sections 7.1—7.4 CS121 – Winter 2003.
1 Propositional Proofs 1. Problem 2 Deduction In deduction, the conclusion is true whenever the premises are true.  Premise: p Conclusion: (p ∨ q) 
March 3, 2016Introduction to Artificial Intelligence Lecture 12: Knowledge Representation & Reasoning I 1 Back to “Serious” Topics… Knowledge Representation.
Artificial Intelligence Logical Agents Chapter 7.
CS344 : Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 4- Logic.
THE NATURE OF ARGUMENT. THE MAIN CONCERN OF LOGIC Basically in logic we deal with ARGUMENTS. Mainly we deal with learning of the principles with which.
Logical Agents. Outline Knowledge-based agents Logic in general - models and entailment Propositional (Boolean) logic Equivalence, validity, satisfiability.
Knowledge Representation Part I Ontology Jan Pettersen Nytun Knowledge Representation Part I, JPN, UiA1.
Language = Syntax + Semantics + Vocabulary
Chapter 7. Propositional and Predicate Logic
Propositional Logic Russell and Norvig: Chapter 6 Chapter 7, Sections 7.1—7.4 CS121 – Winter 2003.
Knowledge Representation and Reasoning
Knowledge Representation
KNOWLEDGE REPRESENTATION
Back to “Serious” Topics…
Logical Entailment Computational Logic Lecture 3
Chapter 7. Propositional and Predicate Logic
CSNB234 ARTIFICIAL INTELLIGENCE
ece 720 intelligent web: ontology and beyond
Habib Ullah qamar Mscs(se)
Logical Agents Prof. Dr. Widodo Budiharto 2018
Presentation transcript:

Understanding PML Paulo Pinheiro da Silva

PML PML is a provenance language (a language used to encode provenance knowledge) that has been proudly derived from well- established, centuries-old proof theory

Outline Proof Theory 101 Proofs and Provenance Proofs vs. Justifications PML Conclusions

Proof Theory 101 Proof theory is about the mechanics of one deriving new knowledge from things that one knows “Proof theory is syntactic in nature” (Wikipedia); – “syntax is the way in which objects are put together; a connected or orderly system : harmonious arrangement of parts or elements” (Merriam-Webster)

Which mechanics are you talking about? One knows the following: – “if it is raining then it is wet outside” – “it is raining” Proof theory is used to explain how one derives the following conclusion from the knowledge above: – “it is wet outside” The mechanics of deriving conclusions from knowledge is based on the use of inference rules

Inference Rule (1/2) “A rule of inference consists of (1) a set of sentence patterns called conditions, and (2) another set of sentence patterns called conclusions’ Whenever we have sentences that match the conditions of the rules, the it is acceptable to infer sentences matching the conclusions” (Logical Foundations of Artificial Intelligence, Genesereth and Nilsson)

Inference Rule (2/2) Modus Ponens: (A -> B) (A) (B). In plain English: We know (A -> B) and (A) and we don’t know (B). If we apply the “Modus Ponens” rule to the facts that we know then we can conclude (B) (A-B), (A) and (B) are all sentence patterns

Inference Step (1/3) An inference step is a process of applying an inference rule to some antecedents to derive a conclusion Example: – Antecedents: “if it is raining then it is wet outside” “it is raining” – Inference Rule: Modus Ponens (MP) – Conclusion: “it is wet outside”

Inference Step (2/3) But how was the conclusion derived from the antecedents? Consider the following mappings: A = “It is raining” B = “It is wet outside” Then we can say that “If it is raining then it is wet outside” corresponds to (A->B) Thus, we can apply Modus Ponens to (A->B) and (A) and conclude B!

Inference Step (3/3) “If it is raining then it is wet outside ” “it is raining” “it is wet outside” MP (A -> B) (A) (B) (A -> B) A B

Understanding the meaning of a proof (1/2) What can we infer from the proof below? We cannot infer that it is wet outside! Instead, we can infer the following: If the following is true – “If it is raining then it is wet outside” – “If it is raining” and the MP rule is sound than it is true that – “it is wet outside” “If it is raining then it is wet outside” “it is raining” “it is wet outside” MP

Understanding the meaning of a proof (2/2) Proofs do not say what is true of false It is up to the one using a proof to accept (believe) the ground knowledge used in the proof to thus believe its final conclusion That is why every ground fact in a proof is called an axiom, which is defined as “a self- evident truth that requires no proof” (Dictionary.com)

Revisiting the Proof Terminology “If it is raining then it is wet outside” “it is raining” “it is wet outside” MP “it is raining” is a sentence With respect to the proof, “it is raining” is an axiom (of the proof) With respect to the only inference step of the proof, “it is raining” is an antecedent

A More Complex Proof (A -> B) A B MP C ^I (B^C) MP D (B^C) -> D

Outline Proof Theory 101 Proofs and Provenance Proofs vs. Justifications PML Conclusions

Some provenance questions may be answered by proofs: – Why is it wet outside? – Did someone say that is wet outside or was it derived from other things one knows? – If it was derived, how was the derivation? How proofs and provenance are related? (“it is raining” -> “it is wet outside”) “it is raining” “it is wet outside” MP

How proofs and provenance are related? Other provenance questions, however, are not answered by proofs (although proofs may help answering these questions) (“it is raining” -> “it is wet outside”) “it is raining” “it is wet outside” MP Who said that it is raining? What is MP? Who decided to use MP?

Outline Proof Theory 101 Proofs and Provenance Proofs vs. Justifications PML Conclusions

Proofs vs. Justifications (1/4) Proofs Justifications (“it is raining” -> “it is wet outside”) “it is raining” “it is wet outside” MP (KNN) k-Nearest Neighbor algorithm 5 Irregularly spaced measurements Regularly spaced “measurements”

Proofs vs. Justifications (2/4) What are the differences? WRT antecedents and conclusions – “it is raining” is a object of class class Sentence – is a “dataset” object, which is not necessarily an instance of any formal class of objects WRT inference rules – MP is defined in terms of variables of strongly typed objects, i.e., sentences – KNN is defined in terms of parameters that are not necessarily strongly typed, e.g., many kinds of objects can be transformed by KNN Irregularly spaced measurements

Proofs vs. Justifications (3/4) Basically, every proof is a justification but not every justification is a proof. Some people requires a justification to be defined in terms of the following to be considered a proof: 1.Strongly typed objects 2.Inference rules that are defined in terms of patterns of classes of objects 3.Inference steps where inference rule patterns can be verified against antecedents and conclusions

Proofs vs. Justifications (4/4) Many of the “proofs” that we see out there such as execution traces, information transformations traces are not formal enough to be considered proofs Even things that are sometimes called proofs are not formal enough to be “proper” proofs The term justification is used in PML to refer to both formal justifications (i.e., proofs) and informal justifications

Outline Proof Theory 101 Proofs and Provenance Proofs vs. Justifications PML Conclusions

PML Four principles: 1.Leverage proof theory 2.Expand proof representation to support multiple justifications 3.Expand proof representation to support assertions 4.Expand proof representation to support underspecified inference rules

PML: Proof Theory These are PML concepts and properties derived from proof theory: – Inference Rule – Inference Step – Has Conclusion of type Information – Has Antecedent – Has Inference Engine of type Inference Engine

PML: Proofs as Graphs An ordinary proof can be represented by a graph composed of nodes: (“it is raining” -> “it is wet outside”) “it is raining” “it is wet outside” MP (“it is raining” -> “it is wet outside”) “it is wet outside” “it is raining” translated into a graph

PML: Multiple Justifications (1/2) PML needs to capture the diversity of justifications for any kind of conclusion: Multiple justifications come from the fact that a single conclusion can have more than one justification e.g., “it is wet outside” because of the following – Paulo said so – The Weather Channel said so – (“it is raining” -> “it is wet outside”) “it is raining” “it is wet outside” MP

PML: Multiple Justifications (2/2) In an ordinary proof, a node is an inference step with the following: – A single inference rule – A single conclusion – A single set of antecedents PML has Node Sets, which are collection of Inference Steps with a common conclusion – A single conclusion – Zero, one or many inference steps, each step with the following: A single inference rule A single set of antecedents

PML: Assertions (1/2) This is a part of PML that is not covered by proof theory (every ground “conclusion” in proof theory is just an axiom) A question: who said that “it is raining?” An answer: Paulo said that it is raining – Paulo is a PML Source capable of asserting Information – Source Usage is the PML concept connecting Sources and Information

PML: Assertions (2/2) Why PML needs Source Usage? – the relationship between Source and Information is 1 to many since Paulo can asserts many things – Some provenance questions are supported by Source Usage. For example, when Paulo said that “it is raining?” According to the hasDateTime property of source usage, it is possible to say that Paulo said it yesterday

PML: Inference Rule Definition Revisited A rule of inference consists of (1) a set of objects called conditions, and (2) another set of objects called conclusions. Whenever we have objects that match the conditions of the rules, the it is acceptable to infer objects matching the conclusions. Rules may have no matching conditions for objects.

Inference Rule Taxonomy Inference Rule Declarative Rule Method Rule

Outline Proof Theory 101 Proofs and Provenance Proof vs. Justification PML Conclusions

Proof theory has been developed over centuries to support a category of provenance questions PML is based on proof theory PML relaxes the proof theory notion of conclusion – Based on Information instead of (logical) sentence PML relaxed the proof theory notion of inference rules – Based on objects instead of (logical) sentences. Rules do not need to provide matching conditions

Conclusions PML supports multiple justifications for a single conclusion – supported by Node Sets and their Inference Rules PML supports the encoding of assertions – Supported by Sources and SourceUsage