Midterm II Sample Questions
|
|
- May Lawson
- 5 years ago
- Views:
Transcription
1 Midterm II Sample Questions Constructive Logic Frank Penning November 7, 2017 Name: Sample Solution Andrew ID: p Instructions This exam is closed book, closed notes. You have 80 minutes to complete the exam. There are only 4 problems! Admissibility Logic Deriving o Cut Prolog Programming Rules Prob 1 Prob 2 Prob 3 Prob 4 Prob 5 Total Score Max
2 1 Admissibility o Cut (30 pts) In unctional languages, we have parametric polymorphism and abstract types, which corresponds to universal and existential quantiication over types, respectively. The corresponding constructs in logic are universal and existential quantiication over propositions. In this problem we consider the existential quantiier, given by the ollowing rules in the sequent calculus. Γ = [B/x]A Γ = x:prop. A R Γ, x:prop. A, [p/x]a = C Γ, x:prop. A = C L p In the R rule, B must be a proposition. In the L rule, p must be a resh propositional variable. The substitution principle or propositions says that we can always substitute a proposition or a propositional variable throughout a proo; you will need that below. We state the admissibility o cut as D Γ = A E Γ, A = C Γ = C cut A Task 1 (20 pts). Show what would be the critical case in the proo o the admissibility o cut, when the cut ormula is inerred by R in D and by L in E. You should only be concerned about eliminating the cut at proposition x:prop. A; do not be concerned about whether you are actually justiied in applying the induction hypothesis (see Task 3). Case: D = D E Γ = [B/x]A Γ = x:prop. A R Γ, x:prop. A, [p/x]a = C and E = Γ, x:prop. A = C F Γ, [p/x]a = C by cut on x:prop. A, D, and E [B/p]F Γ, [B/x]A = C by substitution property or propositions and [B/p][p/x]A = [B/x]A F Γ = C by cut on [B/x]A, D, and [B/p]F L p Task 2 (5 pts). The admissibility o cut is shown by a nested induction, which can also be ormulated as a well-ounded induction over a lexicographic order. Complete the ollowing paragraph, using Γ, A, C, D, and E rom the statement o the admissibility o cut. The proo is by nested induction, irst over A, then over D and E. This means in an appeal to the induction hypothesis, either A becomes smaller and D and E are arbitrary, or A remains the same and one o D and E becomes smaller while the other remains the same. 2
3 Task 3 (5 pts). When adding quantiiers over propositions, this particular induction argument ails. Explain why by completing the ollowing paragraph. The case or R against L would require us to appeal to the induction hypothesis on [B/x]A, D, and [B/p]F. However, this is not smaller than x:prop. A, D, and E because [B/x]A may be bigger than x:prop. A. 3
4 2 Prolog (30 pts) One issue with lists in unctional programs is that we can access them only at one end. In logic programming, so-called dierence lists allows us to access both ends! Recall that Prolog notation or a list is [] or the empty list, and [X Xs] or the list with head X and tail Xs. We abbreviate [X1 [X2 [X3... Xs]]] as [X1,X2,X3,... Xs]. A dierence list with elements x 1,..., x n has the orm di([x1,...,xn L],L) where L is a logic variable, subject to uniication. Note that it must be the same logic variable L at the tail end o the list, and as the second argument to the constructor di, but that dierent dierence lists may have dierent variables (ha!). Complete the ollowing programs, always assuming that the given dierence lists are in the orm shown above. Task 1 (5 pts). I to_list(di(k,l), Xs) and di(k,l) represents [x1,...,xn] then the ordinary list Xs is [x1,...,xn]. to_list(di(k,l), K) :- L = []. % or % to_list(di(k,[]), K). Task 2 (5 pts). I prepend(y, di(k,l), D) and di(k,l) represents [x1,...,xn], then the dierence list D represents [Y,x1,...,xn]. prepend(y, di(k,l), di([y K], L)). Task 3 (10 pts). I postpend(di(k,l), Y, D) and di(k,l) represents [x1,...,xn], then the dierence list D represents [x1,...,xn,y]. postpend(di(k,l), Y, di(k,m)) :- L = [Y M]. % or % postpend(di(k,[y M]), Y, di(k,m)). 4
5 Task 4 (10 pts). I concat(di(k,l), di(m,n), D) and di(k,l) represents [x1,...,xi] and di(m,n) represents [y1,...,yj] then dierence list D represents [x1,...,xi,y1,...,yj]. concat(di(k,l), di(l,m), di(k,m)). 5
6 3 Logic Programming (30 pts) We explore some programming over heap-ordered binary trees. A binary tree is heap-ordered i the key at every node is less than or equal to the key at its children. We assume we have predicate N <= K which succeeds i N K. Both N and K must be ground, that is, ree o variables subject to uniication. We represent binary trees with lea and node constructors. tree(lea). tree(node(let, N, Right)) :- tree(let), nat(n), tree(right). Task 1 (15 pts). Deine a backward chaining predicate ordered(tree) in Prolog that tests i a given tree is heap-ordered. It should have mode ordered(+tree) and always terminate in this mode. You may deine auxiliary predicates as needed and use N <= K. ordered(lea). ordered(node(let, N, Right)) :- below(n, Let), below(n, Right). below(n, lea). below(n, node(let, K, Right)) :- N <= K, ordered(node(let, K, Right)). 6
7 Task 2 (15 pts). Now deine a orward chaining predicate ord(t) that tests i a given tree is heapordered. The assertion ord(t) or a given (ground) tree T should derive no i the assumption that T is heap-ordered is inconsistent. You may generate additional assertions leq(n,k), assuming that this will prove no i N is not less than or equal to K. Your program must saturate. You may give your answer in the orm o inerence rules (read rom the premises to the conclusion), propositions with all positive atoms, or in Prolog syntax (but keeping in mind the clauses will be applied with orward chaining). ord(node(let, N, Right)) below(n, Let) below(n, node(let, K, Right)) leq(n, K) ord(node(let, N, Right)) below(n, Right) below(n, node(let, K, Right)) ord(node(let, K, Right)) 7
8 4 Deriving Inerence Rules (30 pts) We can use orward chaining in order to derive big-step inerence rules rom propositions. Recall a ew characteristic rules or orward chaining, where all atoms are positive. Γ, [D(X)] Γ, [ x.d(x) ] L Γ, P + Γ, [ P + ] L Γ, P + [P + ] id + Γ, [D 1 ] Γ, [D 1 D 2 ] L 1 Γ, [D 2 ] Γ, [D 1 D 2 ] L 2 Γ [G + 1 ] Γ, [D 2 ] Γ, [G + 1 D 2 ] L where X is a reshly chosen variable subject to uniication in L. Task 1 (5 pts). When is an inerence rule with judgment K in the premise and judgment J in the conclusion derivable? Circle all that apply. Correct: (i), (iii) (i) There is a hypothetical proo o the conclusion J rom hypothesis K. (ii) I we add this rule to the system we do not change the provable judgments. (iii) I we substitute a proo or K in the premise we obtain a proo or J. (iv) There is a dierentiable unction rom K to J. (v) I we add the rule the system remains in harmony. Now consider the negative propositions numbits(e, z), n. k. numbits(n, k) ( numbits(b0(n), s(k)) numbits(b1(n), s(k))) where all atomic propositions numbits(, ) are positive. Using these two propositions as antecedents we can deduce numbits(n, k) i the number o bits b0 and b1 in the binary number n is the unary number k. Task 2 (5 pts). Derive all inerence rules that arise rom let ocusing on numbits(e, z). Γ, numbits(e, z) Γ, [ numbits(e, z)] L Γ, numbits(e, z) G+ Γ R 0 8
9 Task 3 (15 pts). Derive all inerence rules that arise rom let ocusing on n. k. numbits(n, k) ( numbits(b0(n), s(k)) numbits(b1(n), s(k))) Γ, numbits(b0(n), s(k)) L numbits(n, K) Γ Γ, [ numbits(b0(n), s(k))] id + L 1 Γ [numbits(n, K)] Γ, [( numbits(b0(n), s(k)) numbits(b1(n), s(k)))] L Γ, [numbits(n, K) ( numbits(b0(n), s(k)) numbits(b1(n), s(k)))] L 2 Γ, [ n. k. numbits(n, k) ( numbits(b0(n), s(k)) numbits(b1(n), s(k)))] and, symmetrically, using L 2 instead o L 1 : Γ, numbits(n, K), numbits(b0(n), s(k)) Γ, numbits(n, K) R 1 Γ, numbits(n, K), numbits(b1(n), s(k)) Γ, numbits(n, K) R 2 Task 4 (5 pts). Use your rules to prove that numbits(b0(b1(e)), s(s(z))), that is, the number o bits in the binary number 2 is 2. Deine G 0 = numbits(b0(b1(e)), s(s(z))) numbits(e, z), numbits(b1(e), s(z)), numbits(b0(b1(e)), s(s(z))) G 0 id numbits(e, z), numbits(b1(e), s(z)) G 0 R 1 numbits(e, z) G 0 R 2 G 0 R 0 To just use derived rules, we should also derive a rule by ocusing on G 0 on the right. This new rule would just replace the use o id in the last step. Γ, numbits(b0(b1(e)), s(s(z))) G 0 R 3 9
Midterm Exam Types and Programming Languages Frank Pfenning. October 18, 2018
Midterm Exam 15-814 Types and Programming Languages Frank Pfenning October 18, 2018 Name: Andrew ID: Instructions This exam is closed-book, closed-notes. You have 80 minutes to complete the exam. There
More informationFinal Exam : Constructive Logic Frank Pfenning, Ron Garcia, William Lovas. December 14, 2009
Final Exam 15-317: Constructive Logic Frank Pfenning, Ron Garcia, William Lovas December 14, 2009 Name: Andrew ID: Instructions This exam is open-book. You have 3 hours to complete the exam. There are
More informationThe First-Order Theory of Ordering Constraints over Feature Trees
Discrete Mathematics and Theoretical Computer Science 4, 2001, 193 234 The First-Order Theory o Ordering Constraints over Feature Trees Martin Müller 1 and Joachim Niehren 1 and Ral Treinen 2 1 Programming
More informationLecture Notes on Certifying Theorem Provers
Lecture Notes on Certifying Theorem Provers 15-317: Constructive Logic Frank Pfenning Lecture 13 October 17, 2017 1 Introduction How do we trust a theorem prover or decision procedure for a logic? Ideally,
More informationFinal Exam Substructural Logics Frank Pfenning. December 12, 2016
Final Exam 15-816 Substructural Logics Frank Pfenning December 12, 2016 Name: Andrew ID: Instructions This exam is closed-book, closed-notes. You have 3 hours to complete the exam. There are 6 problems.
More information( x) f = where P and Q are polynomials.
9.8 Graphing Rational Functions Lets begin with a deinition. Deinition: Rational Function A rational unction is a unction o the orm ( ) ( ) ( ) P where P and Q are polynomials. Q An eample o a simple rational
More informationFunctors for the Piagetian Robotics Paper
Functors or the Piagetian Robotics Paper Joshua Taylor 1 and Selmer Bringsjord 1,2 tayloj@cs.rpi.edu, selmer@rpi.edu Rensselaer AI & Reasoning (RAIR) Lab Department o Cognitive Science 2 Department o Computer
More informationRoberto s Notes on Differential Calculus Chapter 8: Graphical analysis Section 1. Extreme points
Roberto s Notes on Dierential Calculus Chapter 8: Graphical analysis Section 1 Extreme points What you need to know already: How to solve basic algebraic and trigonometric equations. All basic techniques
More informationLecture Notes on Cut Elimination
Lecture Notes on Cut Elimination 15-816: Substructural Logics Frank Pfenning Lecture 4 September 8, 2016 We first present some additional examples illustrating ordered inference that capture computations
More informationDefinition: Let f(x) be a function of one variable with continuous derivatives of all orders at a the point x 0, then the series.
2.4 Local properties o unctions o several variables In this section we will learn how to address three kinds o problems which are o great importance in the ield o applied mathematics: how to obtain the
More informationMathematical Logic Part Three
Mathematical Logic Part hree riday our Square! oday at 4:15PM, Outside Gates Announcements Problem Set 3 due right now. Problem Set 4 goes out today. Checkpoint due Monday, October 22. Remainder due riday,
More informationDifferentiation. The main problem of differential calculus deals with finding the slope of the tangent line at a point on a curve.
Dierentiation The main problem o dierential calculus deals with inding the slope o the tangent line at a point on a curve. deinition() : The slope o a curve at a point p is the slope, i it eists, o the
More informationFocused and Synthetic Nested Sequents (Extended Technical Report)
Focused and Synthetic Nested Sequents (Extended Technical Report) Kaustuv Chaudhuri, Sonia Marin, Lutz Straßburger To cite this version: Kaustuv Chaudhuri, Sonia Marin, Lutz Straßburger. Focused and Synthetic
More informationLecture Notes on Cut Elimination
Lecture Notes on Cut Elimination 15-317: Constructive Logic Frank Pfenning Lecture 10 October 5, 2017 1 Introduction The entity rule of the sequent calculus exhibits one connection between the judgments
More informationare well-formed, provided Φ ( X, x)
(October 27) 1 We deine an axiomatic system, called the First-Order Theory o Abstract Sets (FOTAS) Its syntax will be completely speciied Certain axioms will be iven; but these may be extended by additional
More informationFigure 1: Bayesian network for problem 1. P (A = t) = 0.3 (1) P (C = t) = 0.6 (2) Table 1: CPTs for problem 1. (c) P (E B) C P (D = t) f 0.9 t 0.
Probabilistic Artiicial Intelligence Problem Set 3 Oct 27, 2017 1. Variable elimination In this exercise you will use variable elimination to perorm inerence on a bayesian network. Consider the network
More informationInductive Definitions
University of Science and Technology of China (USTC) 09/26/2011 Judgments A judgment states that one or more syntactic objects have a property or stand in some relation to one another. The property or
More informationLecture Notes on Cut Elimination
Lecture Notes on Cut limination 15-816: Linear Logic Frank Pfenning Lecture 7 February 8, 2012 After presenting an interpretation of linear propositions in the sequent calculus as session types, we now
More informationSupplementary material for Continuous-action planning for discounted infinite-horizon nonlinear optimal control with Lipschitz values
Supplementary material or Continuous-action planning or discounted ininite-horizon nonlinear optimal control with Lipschitz values List o main notations x, X, u, U state, state space, action, action space,
More informationIntroduction to Intuitionistic Logic
Introduction to Intuitionistic Logic August 31, 2016 We deal exclusively with propositional intuitionistic logic. The language is defined as follows. φ := p φ ψ φ ψ φ ψ φ := φ and φ ψ := (φ ψ) (ψ φ). A
More informationLecture Notes on Ordered Logic
Lecture Notes on Ordered Logic 15-317: Constructive Logic Frank Pfenning Lecture 21 November 16, 2017 1 Introduction In this lecture we first review ordered inference with two new examples: a finite state
More informationPropositional Logic: Part II - Syntax & Proofs 0-0
Propositional Logic: Part II - Syntax & Proofs 0-0 Outline Syntax of Propositional Formulas Motivating Proofs Syntactic Entailment and Proofs Proof Rules for Natural Deduction Axioms, theories and theorems
More informationTLT-5200/5206 COMMUNICATION THEORY, Exercise 3, Fall TLT-5200/5206 COMMUNICATION THEORY, Exercise 3, Fall Problem 1.
TLT-5/56 COMMUNICATION THEORY, Exercise 3, Fall Problem. The "random walk" was modelled as a random sequence [ n] where W[i] are binary i.i.d. random variables with P[W[i] = s] = p (orward step with probability
More informationParts 3-6 are EXAMPLES for cse634
1 Parts 3-6 are EXAMPLES for cse634 FINAL TEST CSE 352 ARTIFICIAL INTELLIGENCE Fall 2008 There are 6 pages in this exam. Please make sure you have all of them INTRODUCTION Philosophical AI Questions Q1.
More informationLecture Notes on From Rules to Propositions
Lecture Notes on From Rules to Propositions 15-816: Linear Logic Frank Pfenning Lecture 2 January 18, 2012 We review the ideas of ephemeral truth and linear inference with another example from graph theory:
More informationCATEGORIES. 1.1 Introduction
1 CATEGORIES 1.1 Introduction What is category theory? As a irst approximation, one could say that category theory is the mathematical study o (abstract) algebras o unctions. Just as group theory is the
More informationTHE INTERNATIONAL UNIVERSITY (IU) Course: Probability Models in Operations Research Department of Industrial System Engineering
MIDTERM EXAMINATION PROBABILITY MODELS IN OPERATIONS RESEARCH Head o ISE Department Lecturer: Student ID: Name: Duration: minutes Date: 9 th March, Assoc Pro. Ho Thanh Phong INSTRUCTIONS: Truong Ba Huy.
More informationOutline. Overview. Syntax Semantics. Introduction Hilbert Calculus Natural Deduction. 1 Introduction. 2 Language: Syntax and Semantics
Introduction Arnd Poetzsch-Heffter Software Technology Group Fachbereich Informatik Technische Universität Kaiserslautern Sommersemester 2010 Arnd Poetzsch-Heffter ( Software Technology Group Fachbereich
More informationq FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY. FLAC (15-453) Spring L. Blum. REVIEW for Midterm 2 TURING MACHINE
FLAC (15-45) Spring 214 - L. Blum THURSDAY APRIL 15-45 REVIEW or Midterm 2 FORMAL LANGUAGES, AUTOMATA AND COMPUTABILITY TUESDAY April 8 Deinition: A Turing Machine is a 7-tuple T = (Q, Σ, Γ,, q, q accept,
More informationRelations to first order logic
An Introduction to Description Logic IV Relations to first order logic Marco Cerami Palacký University in Olomouc Department of Computer Science Olomouc, Czech Republic Olomouc, November 6 th 2014 Marco
More informationPropositional Logic: Models and Proofs
Propositional Logic: Models and Proofs C. R. Ramakrishnan CSE 505 1 Syntax 2 Model Theory 3 Proof Theory and Resolution Compiled at 11:51 on 2016/11/02 Computing with Logic Propositional Logic CSE 505
More informationLecture 13: Soundness, Completeness and Compactness
Discrete Mathematics (II) Spring 2017 Lecture 13: Soundness, Completeness and Compactness Lecturer: Yi Li 1 Overview In this lecture, we will prvoe the soundness and completeness of tableau proof system,
More informationFirst Order Logic: Syntax and Semantics
irst Order Logic: Syntax and Semantics COMP30412 Sean Bechhofer sean.bechhofer@manchester.ac.uk Logic Recap You should already know the basics of irst Order Logic (OL) It s a prerequisite of this course!
More informationCMPSCI 601: Tarski s Truth Definition Lecture 15. where
@ CMPSCI 601: Tarski s Truth Definition Lecture 15! "$#&%(') *+,-!".#/%0'!12 43 5 6 7 8:9 4; 9 9 < = 9 = or 5 6?>A@B!9 2 D for all C @B 9 CFE where ) CGE @B-HI LJKK MKK )HG if H ; C if H @ 1 > > > Fitch
More informationCSE-433 Logic in Computer Science 2007 Final exam Sample Solution
Name: Hemos ID: CSE-433 Logic in Computer Science 2007 Final exam Sample Solution This is a closed-book exam No other material is permitted It consists of 4 problems worth a total of 175 points There are
More informationLecture Notes on Identity and Inversion
Lecture Notes on Identity and Inversion 15-816: Linear Logic Frank Pfenning Lecture 8 February 13, 2012 In the last lecture we saw cut elimination as the global version of cut reduction. In this lecture
More informationClausal Presentation of Theories in Deduction Modulo
Gao JH. Clausal presentation of theories in deduction modulo. JOURNAL OF COMPUTER SCIENCE AND TECHNOL- OGY 28(6): 1085 1096 Nov. 2013. DOI 10.1007/s11390-013-1399-0 Clausal Presentation of Theories in
More informationLecture Notes on Linear Logic
Lecture Notes on Linear Logic 15-816: Modal Logic Frank Pfenning Lecture 23 April 20, 2010 1 Introduction In this lecture we will introduce linear logic [?] in its judgmental formulation [?,?]. Linear
More informationAn Early (1971) Conversation. Logic Programming (PLP 11.3) Horn Clauses Introduction to Prolog: Resolution, Unification.
Logic Programming (PLP 11.3) Horn Clauses Introduction to Prolog: Resolution, Unification Carlos Varela Rennselaer Polytechnic Institute November 9, 2006 C. Varela 1 An Early (1971) Conversation Cats kill
More informationModels of Computation,
Models of Computation, 2010 1 Induction We use a lot of inductive techniques in this course, both to give definitions and to prove facts about our semantics So, it s worth taking a little while to set
More informationAxiomatic Semantics. Semantics of Programming Languages course. Joosep Rõõmusaare
Axiomatic Semantics Semantics of Programming Languages course Joosep Rõõmusaare 2014 Direct Proofs of Program Correctness Partial correctness properties are properties expressing that if a given program
More informationProblem Set. Problems on Unordered Summation. Math 5323, Fall Februray 15, 2001 ANSWERS
Problem Set Problems on Unordered Summation Math 5323, Fall 2001 Februray 15, 2001 ANSWERS i 1 Unordered Sums o Real Terms In calculus and real analysis, one deines the convergence o an ininite series
More informationKnowledge representation DATA INFORMATION KNOWLEDGE WISDOM. Figure Relation ship between data, information knowledge and wisdom.
Knowledge representation Introduction Knowledge is the progression that starts with data which s limited utility. Data when processed become information, information when interpreted or evaluated becomes
More information9.3 Graphing Functions by Plotting Points, The Domain and Range of Functions
9. Graphing Functions by Plotting Points, The Domain and Range o Functions Now that we have a basic idea o what unctions are and how to deal with them, we would like to start talking about the graph o
More informationThe Importance of Being Formal. Martin Henz. February 5, Propositional Logic
The Importance of Being Formal Martin Henz February 5, 2014 Propositional Logic 1 Motivation In traditional logic, terms represent sets, and therefore, propositions are limited to stating facts on sets
More informationNatural Deduction for Propositional Logic
Natural Deduction for Propositional Logic Bow-Yaw Wang Institute of Information Science Academia Sinica, Taiwan September 10, 2018 Bow-Yaw Wang (Academia Sinica) Natural Deduction for Propositional Logic
More informationLecture Notes on Focusing
Lecture Notes on Focusing Oregon Summer School 2010 Proof Theory Foundations Frank Pfenning Lecture 4 June 17, 2010 1 Introduction When we recast verifications as sequent proofs, we picked up a lot of
More informationDeductive Systems. Lecture - 3
Deductive Systems Lecture - 3 Axiomatic System Axiomatic System (AS) for PL AS is based on the set of only three axioms and one rule of deduction. It is minimal in structure but as powerful as the truth
More informationMath Review and Lessons in Calculus
Math Review and Lessons in Calculus Agenda Rules o Eponents Functions Inverses Limits Calculus Rules o Eponents 0 Zero Eponent Rule a * b ab Product Rule * 3 5 a / b a-b Quotient Rule 5 / 3 -a / a Negative
More informationThe semantics of propositional logic
The semantics of propositional logic Readings: Sections 1.3 and 1.4 of Huth and Ryan. In this module, we will nail down the formal definition of a logical formula, and describe the semantics of propositional
More informationTermination and Reduction Checking for Higher-Order Logic Programs
Termination and Reduction Checking for Higher-Order Logic Programs Brigitte Pientka Department of Computer Science Carnegie Mellon University Pittsburgh, PA 15213, USA bp@cs.cmu.edu Abstract. In this paper,
More informationTheorem Let J and f be as in the previous theorem. Then for any w 0 Int(J), f(z) (z w 0 ) n+1
(w) Second, since lim z w z w z w δ. Thus, i r δ, then z w =r (w) z w = (w), there exist δ, M > 0 such that (w) z w M i dz ML({ z w = r}) = M2πr, which tends to 0 as r 0. This shows that g = 2πi(w), which
More informationSimpler Functions for Decompositions
Simpler Functions or Decompositions Bernd Steinbach Freiberg University o Mining and Technology, Institute o Computer Science, D-09596 Freiberg, Germany Abstract. This paper deals with the synthesis o
More informationType Systems as a Foundation for Reliable Computing
Type Systems as a Foundation for Reliable Computing Robert Harper Carnegie Mellon University Summer School on Reliable Computing University of Oregon July, 2005 References These lectures are based on the
More informationTelescoping Decomposition Method for Solving First Order Nonlinear Differential Equations
Telescoping Decomposition Method or Solving First Order Nonlinear Dierential Equations 1 Mohammed Al-Reai 2 Maysem Abu-Dalu 3 Ahmed Al-Rawashdeh Abstract The Telescoping Decomposition Method TDM is a new
More informationLecture Notes on Sequent Calculus
Lecture Notes on Sequent Calculus 15-816: Modal Logic Frank Pfenning Lecture 8 February 9, 2010 1 Introduction In this lecture we present the sequent calculus and its theory. The sequent calculus was originally
More informationThe University of Nottingham
The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 3 MODULE, AUTUMN SEMESTER 2010-2011 KNOWLEDGE REPRESENTATION AND REASONING Time allowed TWO hours Candidates may complete the front cover
More informationMathematical Notation Math Calculus & Analytic Geometry III
Mathematical Notation Math 221 - alculus & Analytic Geometry III Use Word or WordPerect to recreate the ollowing documents. Each article is worth 10 points and should be emailed to the instructor at james@richland.edu.
More informationFirst-Order Theorem Proving and Vampire. Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester)
First-Order Theorem Proving and Vampire Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester) Outline Introduction First-Order Logic and TPTP Inference Systems
More informationcis32-ai lecture # 18 mon-3-apr-2006
cis32-ai lecture # 18 mon-3-apr-2006 today s topics: propositional logic cis32-spring2006-sklar-lec18 1 Introduction Weak (search-based) problem-solving does not scale to real problems. To succeed, problem
More information(C) The rationals and the reals as linearly ordered sets. Contents. 1 The characterizing results
(C) The rationals and the reals as linearly ordered sets We know that both Q and R are something special. When we think about about either o these we usually view it as a ield, or at least some kind o
More informationNested Sequent Calculi for Normal Conditional Logics
Nested Sequent Calculi for Normal Conditional Logics Régis Alenda 1 Nicola Olivetti 2 Gian Luca Pozzato 3 1 Aix-Marseille Université, CNRS, LSIS UMR 7296, 13397, Marseille, France. regis.alenda@univ-amu.fr
More informationhal , version 1-21 Oct 2009
ON SKOLEMISING ZERMELO S SET THEORY ALEXANDRE MIQUEL Abstract. We give a Skolemised presentation of Zermelo s set theory (with notations for comprehension, powerset, etc.) and show that this presentation
More informationFoundations of Logic Programming
Foundations of Logic Programming Deductive Logic e.g. of use: Gypsy specifications and proofs About deductive logic (Gödel, 1931) Interesting systems (with a finite number of axioms) are necessarily either:
More informationLecture Notes on Data Abstraction
Lecture Notes on Data Abstraction 15-814: Types and Programming Languages Frank Pfenning Lecture 14 October 23, 2018 1 Introduction Since we have moved from the pure λ-calculus to functional programming
More informationPractical Foundations for Programming Languages
Practical Foundations for Programming Languages Robert Harper Carnegie Mellon University Spring, 2009 [Draft of January 21, 2009 at 12:59pm.] Copyright c 2009 by Robert Harper. All Rights Reserved. The
More informationLab on Taylor Polynomials. This Lab is accompanied by an Answer Sheet that you are to complete and turn in to your instructor.
Lab on Taylor Polynomials This Lab is accompanied by an Answer Sheet that you are to complete and turn in to your instructor. In this Lab we will approimate complicated unctions by simple unctions. The
More informationUsing first-order logic, formalize the following knowledge:
Probabilistic Artificial Intelligence Final Exam Feb 2, 2016 Time limit: 120 minutes Number of pages: 19 Total points: 100 You can use the back of the pages if you run out of space. Collaboration on the
More informationGeneralised elimination rules and harmony
Generalised elimination rules and harmony Roy Dyckhoff Based on joint work with Nissim Francez Supported by EPSR grant EP/D064015/1 St ndrews, May 26, 2009 1 Introduction Standard natural deduction rules
More informationFirst Order Logic: Syntax and Semantics
CS1081 First Order Logic: Syntax and Semantics COMP30412 Sean Bechhofer sean.bechhofer@manchester.ac.uk Problems Propositional logic isn t very expressive As an example, consider p = Scotland won on Saturday
More informationThe concept of limit
Roberto s Notes on Dierential Calculus Chapter 1: Limits and continuity Section 1 The concept o limit What you need to know already: All basic concepts about unctions. What you can learn here: What limits
More informationCS 361 Meeting 28 11/14/18
CS 361 Meeting 28 11/14/18 Announcements 1. Homework 9 due Friday Computation Histories 1. Some very interesting proos o undecidability rely on the technique o constructing a language that describes the
More informationClassical Propositional Logic
The Language of A Henkin-style Proof for Natural Deduction January 16, 2013 The Language of A Henkin-style Proof for Natural Deduction Logic Logic is the science of inference. Given a body of information,
More informationCSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter p. 1/33
CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer Science (Arkoudas and Musser) Chapter 4.1-4.8 p. 1/33 CSCI.6962/4962 Software Verification Fundamental Proof Methods in Computer
More informationLecture Notes on A Concurrent Logical Framework
Lecture Notes on A Concurrent Logical Framework 15-816: Linear Logic Frank Pfenning Lecture 21 April 9, 2012 Today we will put many of pieces together that we have put in place so far, by moving from a
More information3 Propositional Logic
3 Propositional Logic 3.1 Syntax 3.2 Semantics 3.3 Equivalence and Normal Forms 3.4 Proof Procedures 3.5 Properties Propositional Logic (25th October 2007) 1 3.1 Syntax Definition 3.0 An alphabet Σ consists
More informationMetainduction in Operational Set Theory
Metainduction in Operational Set Theory Luis E. Sanchis Department of Electrical Engineering and Computer Science Syracuse University Syracuse, NY 13244-4100 Sanchis@top.cis.syr.edu http://www.cis.syr.edu/
More informationReview of Prerequisite Skills for Unit # 2 (Derivatives) U2L2: Sec.2.1 The Derivative Function
UL1: Review o Prerequisite Skills or Unit # (Derivatives) Working with the properties o exponents Simpliying radical expressions Finding the slopes o parallel and perpendicular lines Simpliying rational
More informationThe Many Faces of Modal Logic Day 4: Structural Proof Theory
The Many Faces of Modal Logic Day 4: Structural Proof Theory Dirk Pattinson Australian National University, Canberra (Slides based on a NASSLLI 2014 Tutorial and are joint work with Lutz Schröder) LAC
More informationTheory of Computation
Theory of Computation Prof. Michael Mascagni Florida State University Department of Computer Science 1 / 33 This course aims to cover... the development of computability theory using an extremely simple
More informationAdvanced Topics in LP and FP
Lecture 1: Prolog and Summary of this lecture 1 Introduction to Prolog 2 3 Truth value evaluation 4 Prolog Logic programming language Introduction to Prolog Introduced in the 1970s Program = collection
More informationA framework for describing recursive data structure topologies in Coq
A ramework or describing recursive data structure topologies in Coq Kenneth Roe and Scott Smith The Johns Hopkins University Abstract. This paper presents an axiomatic ramework in Coq or veriying invariants
More informationPropositional and Predicate Logic. jean/gbooks/logic.html
CMSC 630 February 10, 2009 1 Propositional and Predicate Logic Sources J. Gallier. Logic for Computer Science, John Wiley and Sons, Hoboken NJ, 1986. 2003 revised edition available on line at http://www.cis.upenn.edu/
More informationRelational Reasoning in Natural Language
1/67 Relational Reasoning in Natural Language Larry Moss ESSLLI 10 Course on Logics for Natural Language Inference August, 2010 Adding transitive verbs the work on R, R, and other systems is joint with
More informationOverview. I Review of natural deduction. I Soundness and completeness. I Semantics of propositional formulas. I Soundness proof. I Completeness proof.
Overview I Review of natural deduction. I Soundness and completeness. I Semantics of propositional formulas. I Soundness proof. I Completeness proof. Propositional formulas Grammar: ::= p j (:) j ( ^ )
More information. This is the Basic Chain Rule. x dt y dt z dt Chain Rule in this context.
Math 18.0A Gradients, Chain Rule, Implicit Dierentiation, igher Order Derivatives These notes ocus on our things: (a) the application o gradients to ind normal vectors to curves suraces; (b) the generaliation
More informationMath 230 Final Exam, Spring 2009
IIT Dept. Applied Mathematics, May 13, 2009 1 PRINT Last name: Signature: First name: Student ID: Math 230 Final Exam, Spring 2009 Conditions. 2 hours. No book, notes, calculator, cell phones, etc. Part
More informationCategories and Natural Transformations
Categories and Natural Transormations Ethan Jerzak 17 August 2007 1 Introduction The motivation or studying Category Theory is to ormalise the underlying similarities between a broad range o mathematical
More informationGeneral methods in proof theory for modal logic - Lecture 1
General methods in proof theory for modal logic - Lecture 1 Björn Lellmann and Revantha Ramanayake TU Wien Tutorial co-located with TABLEAUX 2017, FroCoS 2017 and ITP 2017 September 24, 2017. Brasilia.
More informationElement x is R-minimal in X if y X. R(y, x).
CMSC 22100/32100: Programming Languages Final Exam M. Blume December 11, 2008 1. (Well-founded sets and induction principles) (a) State the mathematical induction principle and justify it informally. 1
More informationFirst-Order Theorem Proving and Vampire
First-Order Theorem Proving and Vampire Laura Kovács 1,2 and Martin Suda 2 1 TU Wien 2 Chalmers Outline Introduction First-Order Logic and TPTP Inference Systems Saturation Algorithms Redundancy Elimination
More informationMathematical Notation Math Calculus & Analytic Geometry III
Name : Mathematical Notation Math 221 - alculus & Analytic Geometry III Use Word or WordPerect to recreate the ollowing documents. Each article is worth 10 points and can e printed and given to the instructor
More informationMathematical Logic. Reasoning in First Order Logic. Chiara Ghidini. FBK-IRST, Trento, Italy
Reasoning in First Order Logic FBK-IRST, Trento, Italy April 12, 2013 Reasoning tasks in FOL Model checking Question: Is φ true in the interpretation I with the assignment a? Answer: Yes if I = φ[a]. No
More informationChristoffel symbols and Gauss Theorema Egregium
Durham University Pavel Tumarkin Epiphany 207 Dierential Geometry III, Solutions 5 (Week 5 Christoel symbols and Gauss Theorema Egregium 5.. Show that the Gauss curvature K o the surace o revolution locally
More informationExtreme Values of Functions
Extreme Values o Functions When we are using mathematics to model the physical world in which we live, we oten express observed physical quantities in terms o variables. Then, unctions are used to describe
More informationHypersequent Calculi for some Intermediate Logics with Bounded Kripke Models
Hypersequent Calculi for some Intermediate Logics with Bounded Kripke Models Agata Ciabattoni Mauro Ferrari Abstract In this paper we define cut-free hypersequent calculi for some intermediate logics semantically
More informationThe Curry-Howard Isomorphism
The Curry-Howard Isomorphism Software Formal Verification Maria João Frade Departmento de Informática Universidade do Minho 2008/2009 Maria João Frade (DI-UM) The Curry-Howard Isomorphism MFES 2008/09
More informationPropositional Logic Language
Propositional Logic Language A logic consists of: an alphabet A, a language L, i.e., a set of formulas, and a binary relation = between a set of formulas and a formula. An alphabet A consists of a finite
More informationStrong AI vs. Weak AI Automated Reasoning
Strong AI vs. Weak AI Automated Reasoning George F Luger ARTIFICIAL INTELLIGENCE 6th edition Structures and Strategies for Complex Problem Solving Artificial intelligence can be classified into two categories:
More informationLecture Notes on Classical Linear Logic
Lecture Notes on Classical Linear Logic 15-816: Linear Logic Frank Pfenning Lecture 25 April 23, 2012 Originally, linear logic was conceived by Girard [Gir87] as a classical system, with one-sided sequents,
More information