Outline a Logical Syllogism

Total Page:16

File Type:pdf, Size:1020Kb

Outline a Logical Syllogism 3/25/2017 Lo Lo Logic Logic Outline Inference Using •Review of propositional logic terminology •Notation, syllogism, rules of inference Propositional Logic •Proof by perfect induction CSE 415: Introduction to Artificial Intelligence •Clause form University of Washington •Proof by resolution Spring 2017 © S. Tanimoto and University of Washington, 2017 Univ. of Wash. Inference with Propositional Logic 2 Lo Lo Logic Readings for Logic Logic Role of Logical Inference in AI For basics of logic as a means of knowledge The single most important inference method. representation, consult the textbook material in: Section 4.8. “Propositional and Predicate Logic” But: (in EAIP, Part 2). •Doesn't handle uncertain information well. Propositional logic is covered in 4.8.1-4.8.6. (optional: Predicate logic is covered in 4.8.7-4.8.10.) •Needs algorithmic help – prone to the combinatorial explosion. For methods of inference with logic, see Chapter 6 (in EAIP, Part 4). Univ. of Wash. Inference with Propositional Logic 3 Univ. of Wash. Inference with Propositional Logic 4 Lo Lo Logic Propositional Calculus Logic A Logical Syllogism A formal mathematical system of notation and evaluation rules for representing and processing If it is raining, then I am doing my homework. true-false statements involving logical relationships. It is raining. An important foundation for knowledge Therefore, I am doing my homework. representation in artificial intelligence. Several modern techniques combine logic and probability (e.g., Markov Logic Networks). Univ. of Wash. Inference with Propositional Logic 5 Univ. of Wash. Inference with Propositional Logic 6 1 3/25/2017 Lo Lo Logic Another Syllogism Logic Terminology of the Propositional Calculus Proposition symbols: P, Q, R, P1, P2, ... , Q1, Q2, ..., R1, R2, ... Atomic proposition: a statement that does not specifically contain substatements. It is not the case that steel cannot float. P: “It is raining.” Therefore, steel can float. Q: “Neither did Jack eat nor did he drink.” Compound proposition: A statement formed from one or more atomic propositions using logical connectives. P v Q: Either it is raining, or neither did Jack eat nor did he drink. Univ. of Wash. Inference with Propositional Logic 7 Univ. of Wash. Inference with Propositional Logic 8 Lo Lo Logic Logical Connectives Logic Logical Connectives (Cont) Negation: P not P NAND: (P Q) P nand Q Conjunction: P Q P and Q NOR: (P v Q) P nor Q Disjunction: P v Q P or Q Implies: P Q if P then Q Exclusive OR: P <> Q P exclusive-or Q P v Q Univ. of Wash. Inference with Propositional Logic 9 Univ. of Wash. Inference with Propositional Logic 10 Lo Logically Complete Sets of Lo Logic Connectives Logic Syllogism: General Form {, v} form a logically complete set. Premise 1 P Q = (P v Q) Premise 2 ... {, } form a logically complete set Premise n P Q = (P Q) -------------- Conclusion {, } form a logically complete set P v Q = (P Q) P1 P2 ... Pn C Univ. of Wash. Inference with Propositional Logic 11 Univ. of Wash. Inference with Propositional Logic 12 2 3/25/2017 Lo Modus Ponens: Lo Modus Tollens: Logic Logic An important rule of inference (modus ponens in reverse) P Q conditional P Q conditional P antecedent Q consequent denied --------- --------- Q consequent P antecedent denied Can be proved using “transposition” – taking the contrapositive of the conditional: aka the “cut rule” P Q Q P Q therefore, by modus ponens, P Univ. of Wash. Inference with Propositional Logic 13 Univ. of Wash. Inference with Propositional Logic 14 Lo Lo Logic Algorithms for Logical Inference Logic Proof by Perfect Induction Prove that P, P v Q Q Issues: P Q P v Q P (P v Q) (P (P v Q)) Q Goal-directed or not? T T T T T Always exponential in time? Space? T F F F T Intelligible to users? F T T F T Readily applicable to problem solving? F F T F T Univ. of Wash. Inference with Propositional Logic 15 Univ. of Wash. Inference with Propositional Logic 16 Lo Lo Logic Perfect Induction Logic Perfect Induction: Characteristics • Given formulas: G0, G1, …, Gn-1, prove conclusion C. • Goal directed (compute only columns of interest) • Create a truth table with a column for each • Always exponential in time AND space (as a propositional variable, each premise, and the function of the number of propositional variables) conclusion. • Somewhat understandable to non-technical users • Find all rows in which G0 through Gn-1 are all True. • Straightforward algorithmically • See if C is True in all those rows. • Not considered appropriate for general problem • If so, the syllogism is proven; otherwise, it’s not valid. solving. Univ. of Wash. Inference with Propositional Logic 17 Univ. of Wash. Inference with Propositional Logic 18 3 3/25/2017 Lo Lo Logic Getting Ready for Resolution Logic Clause Form Expressions such as P, P, Q and Q are called literals. They are atomic formulas to which a negation may be prefixed. • Resolution is a general proof technique that supports A clause is an expression of the form L1 v L2 v ... v Lq logical reasoning. where each Li is a literal. Here q is any non-negative integer. • It underlies the PROLOG language. Any propositional calculus formula can be represented as a set of clauses. • It requires that formulas be in a restricted form (“clause form”). (P (Q R)) starting formula • PROLOG imposes a further constraint that the clauses be (P (Q v R)) eliminate “Horn clauses.” ((P Q) v (P R)) distribute over v. (P Q) (P R) DeMorgan’s law (P v Q) (P v R) “ “ P v Q, P v R Double neg. and break into clauses Univ. of Wash. Inference with Propositional Logic 19 Univ. of Wash. Inference with Propositional Logic 20 Lo Lo Logic Propositional Resolution Logic Why Does Resolution Work? Two clauses having a pair of complementary literals can be Consider four examples: resolved to produce a new clause that is logically implied by its parent clauses. P, P [] (the null clause) e.g., (a contradiction) Q v R v S, R v P Q v S v P P, P v R R P v Q, Q v R P v R (modus ponens, since P R P v R ) P, P v R R P, P [] (the null clause) Univ. of Wash. Inference with Propositional Logic 21 Univ. of Wash. Inference with Propositional Logic 22 Lo Lo Logic Why Does Resolution Work? Logic Proof Using Resolution To Prove: (P Q) (Q R) (P R) P v Q, Q v R P v R (Suppose Q is false, then P must be true; Negate the conclusion: If Q is not false, then Q is false and R must be true. (P Q) (Q R) (P R) One way or the other, either P or R must be true. Obtain clause form: P1 v … v Pn v Q, Q v R1 v … v Rm P1 v … v Pn v R1 v … v Rm P v Q, Q v R, P, R (We get this from the previous version by letting P = P1 v … v Pn and R = R1 v … v Rm .) Derive the null clause (F) using resolution: Q by resolving P with P v Q. This last example is the general case. R by resolving Q with Q v R. F by resolving R with R. Univ. of Wash. Inference with Propositional Logic 23 Univ. of Wash. Inference with Propositional Logic 24 4 3/25/2017 Lo Lo Logic Reductio ad Absurdum Logic Resolution: Characteristics A proof by resolution uses RAA (proof by contradiction). • Not necessarily goal directed (can be used in either forward-chaining or backward-chaining systems). Original syllogism: Syllogism for RAA: • Time and space requirements depend on the algorithm Premise 1 Premise 1 in which resolution is embedded. Premise 2 Premise 2 • Can be made understandable to non-technical users ... ... • Needs to be combined with a search algorithm. Premise n Premise n • Can be very appropriate for general problem solving --------------- Conclusion (e.g., using PROLOG) Conclusion ---------------------- [] Univ. of Wash. Inference with Propositional Logic 25 Univ. of Wash. Inference with Propositional Logic 26 5.
Recommended publications
  • Chapter 2 Introduction to Classical Propositional
    CHAPTER 2 INTRODUCTION TO CLASSICAL PROPOSITIONAL LOGIC 1 Motivation and History The origins of the classical propositional logic, classical propositional calculus, as it was, and still often is called, go back to antiquity and are due to Stoic school of philosophy (3rd century B.C.), whose most eminent representative was Chryssipus. But the real development of this calculus began only in the mid-19th century and was initiated by the research done by the English math- ematician G. Boole, who is sometimes regarded as the founder of mathematical logic. The classical propositional calculus was ¯rst formulated as a formal ax- iomatic system by the eminent German logician G. Frege in 1879. The assumption underlying the formalization of classical propositional calculus are the following. Logical sentences We deal only with sentences that can always be evaluated as true or false. Such sentences are called logical sentences or proposi- tions. Hence the name propositional logic. A statement: 2 + 2 = 4 is a proposition as we assume that it is a well known and agreed upon truth. A statement: 2 + 2 = 5 is also a proposition (false. A statement:] I am pretty is modeled, if needed as a logical sentence (proposi- tion). We assume that it is false, or true. A statement: 2 + n = 5 is not a proposition; it might be true for some n, for example n=3, false for other n, for example n= 2, and moreover, we don't know what n is. Sentences of this kind are called propositional functions. We model propositional functions within propositional logic by treating propositional functions as propositions.
    [Show full text]
  • Automated Theorem Proving Introduction
    Automated Theorem Proving Scott Sanner, Guest Lecture Topics in Automated Reasoning Thursday, Jan. 19, 2006 Introduction • Def. Automated Theorem Proving: Proof of mathematical theorems by a computer program. • Depending on underlying logic, task varies from trivial to impossible: – Simple description logic: Poly-time – Propositional logic: NP-Complete (3-SAT) – First-order logic w/ arithmetic: Impossible 1 Applications • Proofs of Mathematical Conjectures – Graph theory: Four color theorem – Boolean algebra: Robbins conjecture • Hardware and Software Verification – Verification: Arithmetic circuits – Program correctness: Invariants, safety • Query Answering – Build domain-specific knowledge bases, use theorem proving to answer queries Basic Task Structure • Given: – Set of axioms (KB encoded as axioms) – Conjecture (assumptions + consequence) • Inference: – Search through space of valid inferences • Output: – Proof (if found, a sequence of steps deriving conjecture consequence from axioms and assumptions) 2 Many Logics / Many Theorem Proving Techniques Focus on theorem proving for logics with a model-theoretic semantics (TBD) • Logics: – Propositional, and first-order logic – Modal, temporal, and description logic • Theorem Proving Techniques: – Resolution, tableaux, sequent, inverse – Best technique depends on logic and app. Example of Propositional Logic Sequent Proof • Given: • Direct Proof: – Axioms: (I) A |- A None (¬R) – Conjecture: |- ¬A, A ∨ A ∨ ¬A ? ( R2) A A ? |- A∨¬A, A (PR) • Inference: |- A, A∨¬A (∨R1) – Gentzen |- A∨¬A, A∨¬A Sequent (CR) ∨ Calculus |- A ¬A 3 Example of First-order Logic Resolution Proof • Given: • CNF: ¬Man(x) ∨ Mortal(x) – Axioms: Man(Socrates) ∀ ⇒ Man(Socrates) x Man(x) Mortal(x) ¬Mortal(y) [Neg. conj.] Man(Socrates) – Conjecture: • Proof: ∃y Mortal(y) ? 1. ¬Mortal(y) [Neg. conj.] 2. ¬Man(x) ∨ Mortal(x) [Given] • Inference: 3.
    [Show full text]
  • 7.1 Rules of Implication I
    Natural Deduction is a method for deriving the conclusion of valid arguments expressed in the symbolism of propositional logic. The method consists of using sets of Rules of Inference (valid argument forms) to derive either a conclusion or a series of intermediate conclusions that link the premises of an argument with the stated conclusion. The First Four Rules of Inference: ◦ Modus Ponens (MP): p q p q ◦ Modus Tollens (MT): p q ~q ~p ◦ Pure Hypothetical Syllogism (HS): p q q r p r ◦ Disjunctive Syllogism (DS): p v q ~p q Common strategies for constructing a proof involving the first four rules: ◦ Always begin by attempting to find the conclusion in the premises. If the conclusion is not present in its entirely in the premises, look at the main operator of the conclusion. This will provide a clue as to how the conclusion should be derived. ◦ If the conclusion contains a letter that appears in the consequent of a conditional statement in the premises, consider obtaining that letter via modus ponens. ◦ If the conclusion contains a negated letter and that letter appears in the antecedent of a conditional statement in the premises, consider obtaining the negated letter via modus tollens. ◦ If the conclusion is a conditional statement, consider obtaining it via pure hypothetical syllogism. ◦ If the conclusion contains a letter that appears in a disjunctive statement in the premises, consider obtaining that letter via disjunctive syllogism. Four Additional Rules of Inference: ◦ Constructive Dilemma (CD): (p q) • (r s) p v r q v s ◦ Simplification (Simp): p • q p ◦ Conjunction (Conj): p q p • q ◦ Addition (Add): p p v q Common Misapplications Common strategies involving the additional rules of inference: ◦ If the conclusion contains a letter that appears in a conjunctive statement in the premises, consider obtaining that letter via simplification.
    [Show full text]
  • Logic and Proof Computer Science Tripos Part IB
    Logic and Proof Computer Science Tripos Part IB Lawrence C Paulson Computer Laboratory University of Cambridge [email protected] Copyright c 2015 by Lawrence C. Paulson Contents 1 Introduction and Learning Guide 1 2 Propositional Logic 2 3 Proof Systems for Propositional Logic 5 4 First-order Logic 8 5 Formal Reasoning in First-Order Logic 11 6 Clause Methods for Propositional Logic 13 7 Skolem Functions, Herbrand’s Theorem and Unification 17 8 First-Order Resolution and Prolog 21 9 Decision Procedures and SMT Solvers 24 10 Binary Decision Diagrams 27 11 Modal Logics 28 12 Tableaux-Based Methods 30 i 1 INTRODUCTION AND LEARNING GUIDE 1 1 Introduction and Learning Guide 2008 Paper 3 Q6: BDDs, DPLL, sequent calculus • 2008 Paper 4 Q5: proving or disproving first-order formulas, This course gives a brief introduction to logic, including • resolution the resolution method of theorem-proving and its relation 2009 Paper 6 Q7: modal logic (Lect. 11) to the programming language Prolog. Formal logic is used • for specifying and verifying computer systems and (some- 2009 Paper 6 Q8: resolution, tableau calculi • times) for representing knowledge in Artificial Intelligence 2007 Paper 5 Q9: propositional methods, resolution, modal programs. • logic The course should help you to understand the Prolog 2007 Paper 6 Q9: proving or disproving first-order formulas language, and its treatment of logic should be helpful for • 2006 Paper 5 Q9: proof and disproof in FOL and modal logic understanding other theoretical courses. It also describes • 2006 Paper 6 Q9: BDDs, Herbrand models, resolution a variety of techniques and data structures used in auto- • mated theorem provers.
    [Show full text]
  • Chapter 10: Symbolic Trails and Formal Proofs of Validity, Part 2
    Essential Logic Ronald C. Pine CHAPTER 10: SYMBOLIC TRAILS AND FORMAL PROOFS OF VALIDITY, PART 2 Introduction In the previous chapter there were many frustrating signs that something was wrong with our formal proof method that relied on only nine elementary rules of validity. Very simple, intuitive valid arguments could not be shown to be valid. For instance, the following intuitively valid arguments cannot be shown to be valid using only the nine rules. Somalia and Iran are both foreign policy risks. Therefore, Iran is a foreign policy risk. S I / I Either Obama or McCain was President of the United States in 2009.1 McCain was not President in 2010. So, Obama was President of the United States in 2010. (O v C) ~(O C) ~C / O If the computer networking system works, then Johnson and Kaneshiro will both be connected to the home office. Therefore, if the networking system works, Johnson will be connected to the home office. N (J K) / N J Either the Start II treaty is ratified or this landmark treaty will not be worth the paper it is written on. Therefore, if the Start II treaty is not ratified, this landmark treaty will not be worth the paper it is written on. R v ~W / ~R ~W 1 This or statement is obviously exclusive, so note the translation. 427 If the light is on, then the light switch must be on. So, if the light switch in not on, then the light is not on. L S / ~S ~L Thus, the nine elementary rules of validity covered in the previous chapter must be only part of a complete system for constructing formal proofs of validity.
    [Show full text]
  • Saving the Square of Opposition∗
    HISTORY AND PHILOSOPHY OF LOGIC, 2021 https://doi.org/10.1080/01445340.2020.1865782 Saving the Square of Opposition∗ PIETER A. M. SEUREN Max Planck Institute for Psycholinguistics, Nijmegen, the Netherlands Received 19 April 2020 Accepted 15 December 2020 Contrary to received opinion, the Aristotelian Square of Opposition (square) is logically sound, differing from standard modern predicate logic (SMPL) only in that it restricts the universe U of cognitively constructible situations by banning null predicates, making it less unnatural than SMPL. U-restriction strengthens the logic without making it unsound. It also invites a cognitive approach to logic. Humans are endowed with a cogni- tive predicate logic (CPL), which checks the process of cognitive modelling (world construal) for consistency. The square is considered a first approximation to CPL, with a cognitive set-theoretic semantics. Not being cognitively real, the null set Ø is eliminated from the semantics of CPL. Still rudimentary in Aristotle’s On Interpretation (Int), the square was implicitly completed in his Prior Analytics (PrAn), thereby introducing U-restriction. Abelard’s reconstruction of the logic of Int is logically and historically correct; the loca (Leak- ing O-Corner Analysis) interpretation of the square, defended by some modern logicians, is logically faulty and historically untenable. Generally, U-restriction, not redefining the universal quantifier, as in Abelard and loca, is the correct path to a reconstruction of CPL. Valuation Space modelling is used to compute
    [Show full text]
  • Solving the Boolean Satisfiability Problem Using the Parallel Paradigm Jury Composition
    Philosophæ doctor thesis Hoessen Benoît Solving the Boolean Satisfiability problem using the parallel paradigm Jury composition: PhD director Audemard Gilles Professor at Universit´ed'Artois PhD co-director Jabbour Sa¨ıd Assistant Professor at Universit´ed'Artois PhD co-director Piette C´edric Assistant Professor at Universit´ed'Artois Examiner Simon Laurent Professor at University of Bordeaux Examiner Dequen Gilles Professor at University of Picardie Jules Vernes Katsirelos George Charg´ede recherche at Institut national de la recherche agronomique, Toulouse Abstract This thesis presents different technique to solve the Boolean satisfiability problem using parallel and distributed architec- tures. In order to provide a complete explanation, a careful presentation of the CDCL algorithm is made, followed by the state of the art in this domain. Once presented, two proposi- tions are made. The first one is an improvement on a portfo- lio algorithm, allowing to exchange more data without loosing efficiency. The second is a complete library with its API al- lowing to easily create distributed SAT solver. Keywords: SAT, parallelism, distributed, solver, logic R´esum´e Cette th`ese pr´esente diff´erentes techniques permettant de r´esoudre le probl`eme de satisfaction de formule bool´eenes utilisant le parall´elismeet du calcul distribu´e. Dans le but de fournir une explication la plus compl`ete possible, une pr´esentation d´etaill´ee de l'algorithme CDCL est effectu´ee, suivi d'un ´etatde l'art. De ce point de d´epart,deux pistes sont explor´ees. La premi`ereest une am´eliorationd'un algorithme de type portfolio, permettant d'´echanger plus d'informations sans perte d’efficacit´e.
    [Show full text]
  • 12 Propositional Logic
    CHAPTER 12 ✦ ✦ ✦ ✦ Propositional Logic In this chapter, we introduce propositional logic, an algebra whose original purpose, dating back to Aristotle, was to model reasoning. In more recent times, this algebra, like many algebras, has proved useful as a design tool. For example, Chapter 13 shows how propositional logic can be used in computer circuit design. A third use of logic is as a data model for programming languages and systems, such as the language Prolog. Many systems for reasoning by computer, including theorem provers, program verifiers, and applications in the field of artificial intelligence, have been implemented in logic-based programming languages. These languages generally use “predicate logic,” a more powerful form of logic that extends the capabilities of propositional logic. We shall meet predicate logic in Chapter 14. ✦ ✦ ✦ ✦ 12.1 What This Chapter Is About Section 12.2 gives an intuitive explanation of what propositional logic is, and why it is useful. The next section, 12,3, introduces an algebra for logical expressions with Boolean-valued operands and with logical operators such as AND, OR, and NOT that Boolean algebra operate on Boolean (true/false) values. This algebra is often called Boolean algebra after George Boole, the logician who first framed logic as an algebra. We then learn the following ideas. ✦ Truth tables are a useful way to represent the meaning of an expression in logic (Section 12.4). ✦ We can convert a truth table to a logical expression for the same logical function (Section 12.5). ✦ The Karnaugh map is a useful tabular technique for simplifying logical expres- sions (Section 12.6).
    [Show full text]
  • Traditional Logic II Text (2Nd Ed
    Table of Contents A Note to the Teacher ............................................................................................... v Further Study of Simple Syllogisms Chapter 1: Figure in Syllogisms ............................................................................................... 1 Chapter 2: Mood in Syllogisms ................................................................................................. 5 Chapter 3: Reducing Syllogisms to the First Figure ............................................................... 11 Chapter 4: Indirect Reduction of Syllogisms .......................................................................... 19 Arguments in Ordinary Language Chapter 5: Translating Ordinary Sentences into Logical Statements ..................................... 25 Chapter 6: Enthymemes ......................................................................................................... 33 Hypothetical Syllogisms Chapter 7: Conditional Syllogisms ......................................................................................... 39 Chapter 8: Disjunctive Syllogisms ......................................................................................... 49 Chapter 9: Conjunctive Syllogisms ......................................................................................... 57 Complex Syllogisms Chapter 10: Polysyllogisms & Aristotelian Sorites .................................................................. 63 Chapter 11: Goclenian & Conditional Sorites ........................................................................
    [Show full text]
  • Propositional Calculus
    CSC 438F/2404F Notes Winter, 2014 S. Cook REFERENCES The first two references have especially influenced these notes and are cited from time to time: [Buss] Samuel Buss: Chapter I: An introduction to proof theory, in Handbook of Proof Theory, Samuel Buss Ed., Elsevier, 1998, pp1-78. [B&M] John Bell and Moshe Machover: A Course in Mathematical Logic. North- Holland, 1977. Other logic texts: The first is more elementary and readable. [Enderton] Herbert Enderton: A Mathematical Introduction to Logic. Academic Press, 1972. [Mendelson] E. Mendelson: Introduction to Mathematical Logic. Wadsworth & Brooks/Cole, 1987. Computability text: [Sipser] Michael Sipser: Introduction to the Theory of Computation. PWS, 1997. [DSW] M. Davis, R. Sigal, and E. Weyuker: Computability, Complexity and Lan- guages: Fundamentals of Theoretical Computer Science. Academic Press, 1994. Propositional Calculus Throughout our treatment of formal logic it is important to distinguish between syntax and semantics. Syntax is concerned with the structure of strings of symbols (e.g. formulas and formal proofs), and rules for manipulating them, without regard to their meaning. Semantics is concerned with their meaning. 1 Syntax Formulas are certain strings of symbols as specified below. In this chapter we use formula to mean propositional formula. Later the meaning of formula will be extended to first-order formula. (Propositional) formulas are built from atoms P1;P2;P3;:::, the unary connective :, the binary connectives ^; _; and parentheses (,). (The symbols :; ^ and _ are read \not", \and" and \or", respectively.) We use P; Q; R; ::: to stand for atoms. Formulas are defined recursively as follows: Definition of Propositional Formula 1) Any atom P is a formula.
    [Show full text]
  • Why Would You Trust B? Eric Jaeger, Catherine Dubois
    Why Would You Trust B? Eric Jaeger, Catherine Dubois To cite this version: Eric Jaeger, Catherine Dubois. Why Would You Trust B?. Logic for Programming, Artificial In- telligence, and Reasoning, Nov 2007, Yerevan, Armenia. pp.288-302, 10.1007/978-3-540-75560-9. hal-00363345 HAL Id: hal-00363345 https://hal.archives-ouvertes.fr/hal-00363345 Submitted on 23 Feb 2009 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Why Would You Trust B? Eric´ Jaeger12 and Catherine Dubois3 1 LIP6, Universit´eParis 6, 4 place Jussieu, 75252 Paris Cedex 05, France 2 LTI, Direction centrale de la s´ecurit´edes syst`emes d’information, 51 boulevard de La Tour-Maubourg, 75700 Paris 07 SP, France 3 CEDRIC, Ecole´ nationale sup´erieure d’informatique pour l’industrie et l’entreprise, 18 all´ee Jean Rostand, 91025 Evry Cedex, France Abstract. The use of formal methods provides confidence in the cor- rectness of developments. Yet one may argue about the actual level of confidence obtained when the method itself – or its implementation – is not formally checked. We address this question for the B, a widely used formal method that allows for the derivation of correct programs from specifications.
    [Show full text]
  • Exploring Semantic Hierarchies to Improve Resolution Theorem Proving on Ontologies
    The University of Maine DigitalCommons@UMaine Honors College Spring 2019 Exploring Semantic Hierarchies to Improve Resolution Theorem Proving on Ontologies Stanley Small University of Maine Follow this and additional works at: https://digitalcommons.library.umaine.edu/honors Part of the Computer Sciences Commons Recommended Citation Small, Stanley, "Exploring Semantic Hierarchies to Improve Resolution Theorem Proving on Ontologies" (2019). Honors College. 538. https://digitalcommons.library.umaine.edu/honors/538 This Honors Thesis is brought to you for free and open access by DigitalCommons@UMaine. It has been accepted for inclusion in Honors College by an authorized administrator of DigitalCommons@UMaine. For more information, please contact [email protected]. EXPLORING SEMANTIC HIERARCHIES TO IMPROVE RESOLUTION THEOREM PROVING ON ONTOLOGIES by Stanley C. Small A Thesis Submitted in Partial Fulfillment of the Requirements for a Degree with Honors (Computer Science) The Honors College University of Maine May 2019 Advisory Committee: Dr. Torsten Hahmann, Assistant Professor1, Advisor Dr. Mark Brewer, Professor of Political Science Dr. Max Egenhofer, Professor1 Dr. Sepideh Ghanavati, Assistant Professor1 Dr. Roy Turner, Associate Professor1 1School of Computing and Information Science ABSTRACT A resolution-theorem-prover (RTP) evaluates the validity (truthfulness) of conjectures against a set of axioms in a knowledge base. When given a conjecture, an RTP attempts to resolve the negated conjecture with axioms from the knowledge base until the prover finds a contradiction. If the RTP finds a contradiction between the axioms and a negated conjecture, the conjecture is proven. The order in which the axioms within the knowledge-base are evaluated significantly impacts the runtime of the program, as the search-space increases exponentially with the number of axioms.
    [Show full text]