Axiom 3 Z(pos(Z) X(X intersection of Z P(X)))

Size: px
Start display at page:

Download "Axiom 3 Z(pos(Z) X(X intersection of Z P(X)))"

Transcription

1 In this section, we are going to prove the equivalence between Axiom 3 ( the conjunction of any collection of positive properties is positive ) and Proposition 3 ( it is possible that God exists ). First, we have to translate these axiom/proposition which have been stated informally into formal ones. The following is the formal version of Axiom 3. Axiom 3 Z(pos(Z) X(X intersection of Z P(X))) Here, pos(z) is defined by X(Z(X) P(X)). This informally means that a property Z is applicable only to positive properties. On the other hand, X intersection of Z is defined by x(x(x) Y (Z(Y ) Y (x))). 1 This means, informally again, that a property X is necessarily applicable to objects which have properties contained in a property family Z. P(X) means, needless to say, that a property X is positive. The formal version of the Proposition 3 is as follows: Proposition 3 xg(x) Seeing that G(x) means that x is God, a further explanation except about the formal definition of G(x) would not be needed. A godness property G(x) is, using the lambda notation, defined by λx.( Y (P(Y ) Y (x))) which means an object which has all positive properties. Before proceeding to a proof that Axiom 3 and Proposition 3 above are actually equivalent, we have to formalize other informal axioms which are needed to prove the equivalence. First, we formalize Axiom 1. This axiom requires a property to be either positive or non-positive (that is, negative), but not both. There are two ways to formalize it. Axiom 1 A X(P( X) P(X)) B X( P(X) P( X)) In order to formalize Axiom 2 which asserts that any properties accompanied by a positive property are also positive, we need a new notation E(x) and the following abbreviations: E xφ is the abbreviation for x(e(x) Φ) and E xφ for x(e(x) Φ). 2 Using this new notation, we can formalize Axiom 2 as follows: Axiom 2 X Y ((P(X) E x(x(x) Y (x))) P(Y )) 3 1 This translation looks somewhat complicated because it deals with a property of properties. An analogy to Axiom of Union in axiomatic set theory X Y u(u Y z(z X u z)) might be helpful. 2 The rationale of this introduction of the new symbol E is concerning the issue about the two different interpretation of quantifiers in modal logic: actualist and possibilist. Although the issue is philosophically interesting, we set aside it in this paper. 3 The necessity symbol is needed here because Gödel thinks that the accompaniment of a property Y to Xis the nature of the property (Gödel, p. 403). 1

2 Now we are in a position to prove the equivalence. In proving, instead of directly showing the equivalence between Axiom 3 and Proposition 3, we prove it through the equivalences between the followings: 1. Axiom 3 2. P(G) 3. E xg(x) 4. Proposition 3 The derivability of P(G) from Axiom 3 would be intuitively clear because a property G is the collection of all positive properties. The formal proof is the following: Z(pos(Z) X(X intersection of Z P(X))) P(G) pos(p) X(X intersection of P P(X)) pos(p) X(X intersection of P P(X)) G intersection of P P(G) (G intersection of P) P(G) Given the definitions of pos and intersection of, both pos(p) and (G intersection of P) clearly lead to contradiction. However, we keep sticking to the formal proof here. Now pos(p) being an abbreviation of X(P(X) P(X)), pos(p) turns out to be: X(P(X) P(X)) X (P(X) P(X)) (P(P ) P(P )) P(P ) P(P ) In the same manner, G intersection of P and G being x(g(x) Y (P(Y ) Y (x))) and λx.( Y (P(Y ) Y (x))) respectively, the tree is going to be: 2

3 x(g(x) Y (P(Y ) Y (x))) x(g(x) Y (P(Y ) Y (x))) x (G(x) Y (P(Y ) Y (x))) w1 x (G(x) Y (P(Y ) Y (x))) w1 (G(a) Y (P(Y ) Y (a))) w1 (G(a) Y (P(Y ) Y (a))) w1 G(a) w1 Y (P(Y ) Y (a)) w1 Y (P(Y ) Y (a)) w1 (P(Q) Q(a)) w1 P(Q) w1 Q(a) w1 λx.( Y (P(Y ) Y (x)))(a) w1 Y (P(Y ) Y (a)) w1 P(Q) Q(a) w1 ( Y (P(Y ) Y (a)) G(a)) w1 Y (P(Y ) Y (a)) w1 G(a) w1 λx.( Y (P(Y ) Y (x)))(a) w1 Y (P(Y ) Y (a)) w1 Y (P(Y ) Y (a)) w1 (P(Q) Q(a)) w1 P(Q) w1 Q(a) w1 P(Q) Q(a) w1 P(Q) w1 w1 Q(a) w1 w1 P(Q) w1 w1 Q(a) w1 All branches considered, the above tree is closed. Therefore, it is proved that the Axiom 3 implies P(G). Next, we prove that P(G) implies E xg(x). In order to prove it, we first prove formally the following proposition the informal version of which we have already seen in the previous section. Proposition 1 X(P(X) E xx(x)) Roughly speaking, the informal version of Proposition 1 asserts that any positive properties can be instantiated. More exactly, it means that if a property X is positive, an object which has this property can exist. The formal expression of this assertion is X(P(X) E xx(x)). We need the following lemma first to prove formally Proposition 1. Lemma 1 XP(X) P(λx.x x) The validity of this lemma would be intuitively acceptable. If there exitst something positive, it must be identical to itself. The following tree is its proof (we assume Axiom 1 and Axiom 2). 3

4 X(P( X) P(X)) X Y ((P(X) E x(x(x) Y (x))) P(Y )) ( P(X) P(λx.x x)) XP(X) P(A) P(λx.x x) P(λx.x x) P( λx.x x) P(λx.x x) P( λx.x x) Y ((P(A) E x(a(x) Y (x))) P(Y )) (P(A) E x(a(x) λx.x = x(x))) P(λx.x = x) (continues to ) P(λx.x x) (P(A) E x(a(x) λx.x = x(x))) P(λx.x = x) P( λx.x = x) P(λx.x = x) E x(a(x) λx.x = x(x)) E x(a(x) λx.x = x(x)) x(e(x) (A(x) λx.x = x(x))) x (E(x) (A(x) λx.x = x(x))) w1 x (E(x) (A(x) λx.x = x(x))) w1 (E(a) (A(a) λx.x = x(a))) w1 E(a) w1 A(a) λx.x = x(a) w1 A(a) w1 λx.x = x(a) w1 λx.x x(a) w1 a a w1 P( λx.x = x) P(λx.x x) P(λx.x = x) With the above lemma and Axiom 2, we can prove Proposition 1 as follows. 4 4 In proving Proposition 1, I almost strictly follow Fitting because I could not find a more elegant proof than his proof (Fitting, p. 149). 4

5 X Y ((P(X) E x(x(x) Y (x))) P(Y )) XP(X) P(λx.x x) X(P(X) E xx(x)) X (P(X) E xx(x)) (P(A) E xa(x)) P(A) E xa(x) E xa(x) Y ((P(A) E x(a(x) Y (x))) P(Y )) (P(A) E x(a(x) λx.x x(x))) P(λx.x x) (P(A) E x(a(x) λx.x x(x))) P(λx.x x) E x(a(x) λx.x x(x)) E x(a(x) λx.x x(x)) w1 E x(a(x) λx.x x(x)) w1 x(e(x) (A(x) λx.x x(x))) w1 x (E(x) (A(x) λx.x x(x))) w1 (E(a) (A(a) λx.x x(a))) w1 E(a) w1 (A(a) λx.x x(a)) w1 A(a) w1 λx.x x(a) w1 E xa(x) w1 x(e(x) A(x)) w1 x (E(x) A(x)) w1 (E(a) A(a)) XP(X) X P(X) P(λx.x x) w1 E(a) w1 w1 A(a) w1 Once we get the above results, we can rather easily prove that P(G) implies E xg(x). P(G) X(P(X) E xx(x)) E xg(x) 5

6 P(G) E xg(x) P(G) E xg(x) Finally, we prove that E xg(x) implies Proposition 3. Seeing that E xg(x) is an abbreviation of (E(x) G(x)), the implication is intuitively straightforward. The following is the formal proof. E xg(x) xg(x) x(e(x) G(x)) xg(x) w1 x(e(x) G(x)) w1 E(a) G(a) w1 E(a) w1 G(a) w1 xg(x) w1 x G(x) w1 G(a) w1 All of the above taken into account, it has been formally shown that Axiom 3 (the recursiveness of any collection of positive properties) implies Proposition 3 (the possibility of the existence of God). To establish the equivalence between Axiom 3 and Proposition 3, next we move to the proof that Proposition 3 implies Axiom 3. First, we directly prove that Proposition 3 implies P(G) by introducing another definition of being God. The following is the definition. Another Definition of Godness G λx. Y (P(Y ) Y (x)) In addition to what the previous definition of Godness G says, this definition G also means that if something has some property, that property is positive. In fact, these two definition are equivalent. The following is its proof (we assume Axiom 1B). X( P(X) P( X)) x(g(x) G (x)) x (G(x) G (x)) (G(a) G (a)) (G(x) G (x)) (G (x) G(x)) First, we construct the left side of the tree. 6

7 (G(x) G (x)) G(x) G (x) λx. Y (P(Y ) Y (x))(a) Y (P(Y ) Y (a)) λx. Y (P(Y ) Y (x))(a) Y (P(Y ) Y (a)) Y (P(Y ) Y (a)) (P(A) A(a)) (P(A) A(a)) P(A) A(a) P(A) A(a) (A(a) P(A)) A(a) P( A) A(a) P(A) P( A) P( A) A(a) P( A) A(a) The next is the right side. (G (x) G(x)) λx. Y (P(Y ) Y (x))(a) Y (P(Y ) Y (a)) λx. Y (P(Y ) Y (x))(a) Y (P(Y ) Y (a)) Y (P(Y ) Y (a)) (P(A) A(a)) P(a) A(a) P(A) A(a) P(A) A(a) A(a) P(A) In addition to this equivalence x(g(x) G (x)), we need the formal version of Axiom 4 ( Any positive property is necessarily so, and any negative property is necessarily so ). 7

8 Axiom 4 A X(P(X) P(X)) B X( P(X) P(X)) 5 With the necessitated version of x(g(x) G (x)) 6 and Axiom 4, we can prove that G(x) implies P(G). xg(x) x(g(x) G (x)) X( P(X) P(X)) P(G) P(G) P(G) P(G) P(G) P(G) w1 xg(x) w1 G(a) w1 x(g(x) G (x)) w1 G(a) G (a) w1 G (a) w1 λx. Y (P(Y ) Y (x))(a) w1 Y (P(Y ) Y (a)) w1 P(G) G(a) w1 P(G) w1 P(G) w1 Now the only remaining task to prove the equivalence between Axiom 3 and Proposition 3 is to prove that P(G) implies Proposition 3. The proof is a bit lengthy. In the following proof, we assume Axiom 2. P(G) X Y ((P(X) E x(x(x) Y (x))) P(Y )) Z(pos(Z) X((X intersection of Z) P(X))) Z (pos(z) X((X intersection of Z) P(X))) (pos(a) X((X intersection of A) P(X))) pos(a) X(A(X) P(X)) X((X intersection of A) P(X)) X ((X intersection of A) P(X)) ((B intersection of A) P(B)) 5 In fact, Axiom 4B can be deducible from Axiom 4A by assuming Axiom 1. However, we omit its proof here. 6 An intuitive justification of x(g(x) G (x)) is that God has to be God in all possible worlds. Thought we can in fact deduce the necessitated version of x(g(x) G (x)), we omit the deduction. 8

9 B intersection of A x(b(x) Y (A(Y ) Y (x))) P(B) Y ((P(G) E x(g(x) Y (x))) P(Y )) (P(G) E x(g(x) B(x))) P(B) (P(G) E x(g(x) B(x))) P(B) P(G) E x(g(x) B(x)) E x(g(x) B(x)) x(e(x) (G(x) B(x))) x (E(x) (G(x) B(x))) w1 x (E(x) (G(x) B(x))) (E(a) (G(a) B(a))) E(a) (G(a) B(a)) G(a) B(a) x(b(x) Y (A(Y ) Y (x))) B(a) Y (A(Y ) Y (a)) B(a) Y (A(Y ) Y (a)) Y (A(Y ) Y (a)) B(a) (A(G) G(a)) B(a) (A(G) G(a)) A(G) G(a) B(a) 9

Quantification. Using the suggested notation, symbolize the statements expressed by the following sentences.

Quantification. Using the suggested notation, symbolize the statements expressed by the following sentences. Quantification In this and subsequent chapters, we will develop a more formal system of dealing with categorical statements, one that will be much more flexible than traditional logic, allow a deeper analysis

More information

PHIL 240, Introduction to Logic, Sections Fall 2011 FINAL EXAM 14 December Name (5 points): Section (5 points):

PHIL 240, Introduction to Logic, Sections Fall 2011 FINAL EXAM 14 December Name (5 points): Section (5 points): Section I True / False questions (2 points each) 1. TRUE Any argument that is sound is also valid. 2. FALSE_ If the premises of an argument are all true, then that argument is sound. 3. TRUE Every universal

More information

Topic 3: Propositions as types

Topic 3: Propositions as types Topic 3: Propositions as types May 18, 2014 Propositions as types We have seen that the main mathematical objects in a type theory are types. But remember that in conventional foundations, as based on

More information

Basic Foundations of Isabelle/HOL

Basic Foundations of Isabelle/HOL Basic Foundations of Isabelle/HOL Peter Wullinger May 16th 2007 1 / 29 1 Introduction into Isabelle s HOL Why Type Theory Basic Type Syntax 2 More HOL Typed λ Calculus HOL Rules 3 Example proof 2 / 29

More information

MA651 Topology. Lecture 4. Topological spaces 2

MA651 Topology. Lecture 4. Topological spaces 2 MA651 Topology. Lecture 4. Topological spaces 2 This text is based on the following books: Linear Algebra and Analysis by Marc Zamansky Topology by James Dugundgji Fundamental concepts of topology by Peter

More information

Identity in Homotopy Type Theory, Part I: The Justification of Path Induction

Identity in Homotopy Type Theory, Part I: The Justification of Path Induction Identity in Homotopy Type Theory, Part I: The Justification of Path Induction Friday 24 th October, 2014 Abstract Homotopy type theory (HoTT) is a new branch of mathematics that connects algebraic topology

More information

The set consisting of all natural numbers that are in A and are in B is the set f1; 3; 5g;

The set consisting of all natural numbers that are in A and are in B is the set f1; 3; 5g; Chapter 5 Set Theory 5.1 Sets and Operations on Sets Preview Activity 1 (Set Operations) Before beginning this section, it would be a good idea to review sets and set notation, including the roster method

More information

Formal Predicate Calculus. Michael Meyling

Formal Predicate Calculus. Michael Meyling Formal Predicate Calculus Michael Meyling May 24, 2013 2 The source for this document can be found here: http://www.qedeq.org/0_04_07/doc/math/qedeq_formal_logic_v1.xml Copyright by the authors. All rights

More information

Automata and Formal Languages - CM0081 Introduction to Agda

Automata and Formal Languages - CM0081 Introduction to Agda Automata and Formal Languages - CM0081 Introduction to Agda Andrés Sicard-Ramírez Universidad EAFIT Semester 2018-2 Introduction Curry-Howard correspondence Dependent types Constructivism Martin-Löf s

More information

Computation Club: Gödel s theorem

Computation Club: Gödel s theorem Computation Club: Gödel s theorem The big picture mathematicians do a lot of reasoning and write a lot of proofs formal systems try to capture the ideas of reasoning and proof in a purely mechanical set

More information

CMPSCI 250: Introduction to Computation. Lecture #7: Quantifiers and Languages 6 February 2012

CMPSCI 250: Introduction to Computation. Lecture #7: Quantifiers and Languages 6 February 2012 CMPSCI 250: Introduction to Computation Lecture #7: Quantifiers and Languages 6 February 2012 Quantifiers and Languages Quantifier Definitions Translating Quantifiers Types and the Universe of Discourse

More information

Introduction to dependent types in Coq

Introduction to dependent types in Coq October 24, 2008 basic use of the Coq system In Coq, you can play with simple values and functions. The basic command is called Check, to verify if an expression is well-formed and learn what is its type.

More information

Lecture 3: Typed Lambda Calculus and Curry-Howard

Lecture 3: Typed Lambda Calculus and Curry-Howard Lecture 3: Typed Lambda Calculus and Curry-Howard H. Geuvers Radboud University Nijmegen, NL 21st Estonian Winter School in Computer Science Winter 2016 H. Geuvers - Radboud Univ. EWSCS 2016 Typed λ-calculus

More information

Locally convex topological vector spaces

Locally convex topological vector spaces Chapter 4 Locally convex topological vector spaces 4.1 Definition by neighbourhoods Let us start this section by briefly recalling some basic properties of convex subsets of a vector space over K (where

More information

Computational Logic. SLD resolution. Damiano Zanardini

Computational Logic. SLD resolution. Damiano Zanardini Computational Logic SLD resolution Damiano Zanardini UPM European Master in Computational Logic (EMCL) School of Computer Science Technical University of Madrid damiano@fi.upm.es Academic Year 2009/2010

More information

CSC Discrete Math I, Spring Sets

CSC Discrete Math I, Spring Sets CSC 125 - Discrete Math I, Spring 2017 Sets Sets A set is well-defined, unordered collection of objects The objects in a set are called the elements, or members, of the set A set is said to contain its

More information

1 The Axiom of Extensionality

1 The Axiom of Extensionality 1 The Axiom of Extensionality Primitive notion: Set A set is a group, a collection, or an aggregate of things. In fact, the words set, group, collection, and aggregate are all synonyms denoting the same

More information

CSL105: Discrete Mathematical Structures. Ragesh Jaiswal, CSE, IIT Delhi

CSL105: Discrete Mathematical Structures. Ragesh Jaiswal, CSE, IIT Delhi is another way of showing that an argument is correct. Definitions: Literal: A variable or a negation of a variable is called a literal. Sum and Product: A disjunction of literals is called a sum and a

More information

CMSC 330: Organization of Programming Languages

CMSC 330: Organization of Programming Languages CMSC 330: Organization of Programming Languages Operational Semantics CMSC 330 Summer 2018 1 Formal Semantics of a Prog. Lang. Mathematical description of the meaning of programs written in that language

More information

Interpretations and Models. Chapter Axiomatic Systems and Incidence Geometry

Interpretations and Models. Chapter Axiomatic Systems and Incidence Geometry Interpretations and Models Chapter 2.1-2.4 - Axiomatic Systems and Incidence Geometry Axiomatic Systems in Mathematics The gold standard for rigor in an area of mathematics Not fully achieved in most areas

More information

(a) (4 pts) Prove that if a and b are rational, then ab is rational. Since a and b are rational they can be written as the ratio of integers a 1

(a) (4 pts) Prove that if a and b are rational, then ab is rational. Since a and b are rational they can be written as the ratio of integers a 1 CS 70 Discrete Mathematics for CS Fall 2000 Wagner MT1 Sol Solutions to Midterm 1 1. (16 pts.) Theorems and proofs (a) (4 pts) Prove that if a and b are rational, then ab is rational. Since a and b are

More information

This is already grossly inconvenient in present formalisms. Why do we want to make this convenient? GENERAL GOALS

This is already grossly inconvenient in present formalisms. Why do we want to make this convenient? GENERAL GOALS 1 THE FORMALIZATION OF MATHEMATICS by Harvey M. Friedman Ohio State University Department of Mathematics friedman@math.ohio-state.edu www.math.ohio-state.edu/~friedman/ May 21, 1997 Can mathematics be

More information

a brief introduction to (dependent) type theory

a brief introduction to (dependent) type theory a brief introduction to (dependent) type theory Cory Knapp January 14, 2015 University of Birmingham what is type theory? What is type theory? formal language of terms with types x : A x has type A What

More information

COMPUTABILITY THEORY AND RECURSIVELY ENUMERABLE SETS

COMPUTABILITY THEORY AND RECURSIVELY ENUMERABLE SETS COMPUTABILITY THEORY AND RECURSIVELY ENUMERABLE SETS JOSHUA LENERS Abstract. An algorithm is function from ω to ω defined by a finite set of instructions to transform a given input x to the desired output

More information

CHAPTER 4. COMPUTABILITY AND DECIDABILITY

CHAPTER 4. COMPUTABILITY AND DECIDABILITY CHAPTER 4. COMPUTABILITY AND DECIDABILITY 1. Introduction By definition, an n-ary function F on N assigns to every n-tuple k 1,...,k n of elements of N a unique l N which is the value of F at k 1,...,k

More information

Representability of Homotopy Groups in Type Theory

Representability of Homotopy Groups in Type Theory Representability of Homotopy Groups in Type Theory Brandon Shapiro Constructive Type Theory The emerging field of homotopy type theory is built around the idea that in intensive type theory types can be

More information

CSE20: Discrete Mathematics

CSE20: Discrete Mathematics Spring 2018 Summary Last time: Today: Introduction to Basic Set Theory (Vardy) More on sets Connections between sets and logic Reading: Chapter 2 Set Notation A, B, C: sets A = {1, 2, 3}: finite set with

More information

Chapter 1.3 Quantifiers, Predicates, and Validity. Reading: 1.3 Next Class: 1.4. Motivation

Chapter 1.3 Quantifiers, Predicates, and Validity. Reading: 1.3 Next Class: 1.4. Motivation Chapter 1.3 Quantifiers, Predicates, and Validity Reading: 1.3 Next Class: 1.4 1 Motivation Propositional logic allows to translate and prove certain arguments from natural language If John s wallet was

More information

Computer-supported Modeling and Reasoning. First-Order Logic. 1 More on Isabelle. 1.1 Isabelle System Architecture

Computer-supported Modeling and Reasoning. First-Order Logic. 1 More on Isabelle. 1.1 Isabelle System Architecture Dipl-Inf Achim D Brucker Dr Burkhart Wolff Computer-supported Modeling and easoning http://wwwinfsecethzch/ education/permanent/csmr/ (rev 16814) Submission date: First-Order Logic In this lecture you

More information

EXTREME POINTS AND AFFINE EQUIVALENCE

EXTREME POINTS AND AFFINE EQUIVALENCE EXTREME POINTS AND AFFINE EQUIVALENCE The purpose of this note is to use the notions of extreme points and affine transformations which are studied in the file affine-convex.pdf to prove that certain standard

More information

Computability Theory XI

Computability Theory XI Computability Theory XI Recursively Enumerable Set Guoqiang Li Shanghai Jiao Tong University Dec. 12&19, 2013 Assignment Assignment 4 was announced! The deadline is Dec. 26! An Exercise Let A, B N. Define

More information

Lecture : Topological Space

Lecture : Topological Space Example of Lecture : Dr. Department of Mathematics Lovely Professional University Punjab, India October 18, 2014 Outline Example of 1 2 3 Example of 4 5 6 Example of I Topological spaces and continuous

More information

CS152: Programming Languages. Lecture 11 STLC Extensions and Related Topics. Dan Grossman Spring 2011

CS152: Programming Languages. Lecture 11 STLC Extensions and Related Topics. Dan Grossman Spring 2011 CS152: Programming Languages Lecture 11 STLC Extensions and Related Topics Dan Grossman Spring 2011 Review e ::= λx. e x e e c v ::= λx. e c τ ::= int τ τ Γ ::= Γ, x : τ (λx. e) v e[v/x] e 1 e 1 e 1 e

More information

Overview. CS389L: Automated Logical Reasoning. Lecture 6: First Order Logic Syntax and Semantics. Constants in First-Order Logic.

Overview. CS389L: Automated Logical Reasoning. Lecture 6: First Order Logic Syntax and Semantics. Constants in First-Order Logic. Overview CS389L: Automated Logical Reasoning Lecture 6: First Order Logic Syntax and Semantics Işıl Dillig So far: Automated reasoning in propositional logic. Propositional logic is simple and easy to

More information

Chapter 3. Set Theory. 3.1 What is a Set?

Chapter 3. Set Theory. 3.1 What is a Set? Chapter 3 Set Theory 3.1 What is a Set? A set is a well-defined collection of objects called elements or members of the set. Here, well-defined means accurately and unambiguously stated or described. Any

More information

Lecture 5: The Halting Problem. Michael Beeson

Lecture 5: The Halting Problem. Michael Beeson Lecture 5: The Halting Problem Michael Beeson Historical situation in 1930 The diagonal method appears to offer a way to extend just about any definition of computable. It appeared in the 1920s that it

More information

Lecture 5 - Axiomatic semantics

Lecture 5 - Axiomatic semantics Program Verification March 2014 Lecture 5 - Axiomatic semantics Lecturer: Noam Rinetzky Scribes by: Nir Hemed 1.1 Axiomatic semantics The development of the theory is contributed to Robert Floyd, C.A.R

More information

2 Introduction to operational semantics

2 Introduction to operational semantics 2 Introduction to operational semantics This chapter presents the syntax of a programming language, IMP, a small language of while programs. IMP is called an "imperative" language because program execution

More information

ROUGH MEMBERSHIP FUNCTIONS: A TOOL FOR REASONING WITH UNCERTAINTY

ROUGH MEMBERSHIP FUNCTIONS: A TOOL FOR REASONING WITH UNCERTAINTY ALGEBRAIC METHODS IN LOGIC AND IN COMPUTER SCIENCE BANACH CENTER PUBLICATIONS, VOLUME 28 INSTITUTE OF MATHEMATICS POLISH ACADEMY OF SCIENCES WARSZAWA 1993 ROUGH MEMBERSHIP FUNCTIONS: A TOOL FOR REASONING

More information

The three faces of homotopy type theory. Type theory and category theory. Minicourse plan. Typing judgments. Michael Shulman.

The three faces of homotopy type theory. Type theory and category theory. Minicourse plan. Typing judgments. Michael Shulman. The three faces of homotopy type theory Type theory and category theory Michael Shulman 1 A programming language. 2 A foundation for mathematics based on homotopy theory. 3 A calculus for (, 1)-category

More information

Connecting Statements. Today. First there was logic jumping forward.. ..and then proofs and then induction...

Connecting Statements. Today. First there was logic jumping forward.. ..and then proofs and then induction... Today Review for Midterm. First there was logic... A statement is a true or false. Statements? 3 = 4 1? Statement! 3 = 5? Statement! 3? Not a statement! n = 3? Not a statement...but a predicate. Predicate:

More information

LOGIC AND DISCRETE MATHEMATICS

LOGIC AND DISCRETE MATHEMATICS LOGIC AND DISCRETE MATHEMATICS A Computer Science Perspective WINFRIED KARL GRASSMANN Department of Computer Science University of Saskatchewan JEAN-PAUL TREMBLAY Department of Computer Science University

More information

Exact Algorithms Lecture 7: FPT Hardness and the ETH

Exact Algorithms Lecture 7: FPT Hardness and the ETH Exact Algorithms Lecture 7: FPT Hardness and the ETH February 12, 2016 Lecturer: Michael Lampis 1 Reminder: FPT algorithms Definition 1. A parameterized problem is a function from (χ, k) {0, 1} N to {0,

More information

Paths partition with prescribed beginnings in digraphs: a Chvátal-Erdős condition approach.

Paths partition with prescribed beginnings in digraphs: a Chvátal-Erdős condition approach. Paths partition with prescribed beginnings in digraphs: a Chvátal-Erdős condition approach. S. Bessy, Projet Mascotte, CNRS/INRIA/UNSA, INRIA Sophia-Antipolis, 2004 route des Lucioles BP 93, 06902 Sophia-Antipolis

More information

Formalizing the Halting Problem in a Constructive Type Theory

Formalizing the Halting Problem in a Constructive Type Theory Formalizing the Halting Problem in a Constructive Type Theory Kristofer Johannisson Department of Computing Science, Chalmers University of Technology, SE-412 96 Göteborg, Sweden. krijo@cs.chalmers.se

More information

Jaykov Foukzon. Israel Institute of Technology, Haifa, Israel.

Jaykov Foukzon. Israel Institute of Technology, Haifa, Israel. Inconsistent countable set Jaykov Foukzon Israel Institute of Technology, Haifa, Israel jaykovfoukzon@list.ru Abstract In this article we derived an importent example of the inconsistent countable set.

More information

Lecture 2 - Introduction to Polytopes

Lecture 2 - Introduction to Polytopes Lecture 2 - Introduction to Polytopes Optimization and Approximation - ENS M1 Nicolas Bousquet 1 Reminder of Linear Algebra definitions Let x 1,..., x m be points in R n and λ 1,..., λ m be real numbers.

More information

Recursive Estimation

Recursive Estimation Recursive Estimation Raffaello D Andrea Spring 28 Problem Set : Probability Review Last updated: March 6, 28 Notes: Notation: Unless otherwise noted, x, y, and z denote random variables, p x denotes the

More information

Reflection in the Chomsky Hierarchy

Reflection in the Chomsky Hierarchy Reflection in the Chomsky Hierarchy Henk Barendregt Venanzio Capretta Dexter Kozen 1 Introduction We investigate which classes of formal languages in the Chomsky hierarchy are reflexive, that is, contain

More information

Chapter 3: Propositional Languages

Chapter 3: Propositional Languages Chapter 3: Propositional Languages We define here a general notion of a propositional language. We show how to obtain, as specific cases, various languages for propositional classical logic and some non-classical

More information

Introduction to Type Theory August 2007 Types Summer School Bertinoro, It. Herman Geuvers Nijmegen NL

Introduction to Type Theory August 2007 Types Summer School Bertinoro, It. Herman Geuvers Nijmegen NL Introduction to Type Theory August 2007 Types Summer School Bertinoro, It Herman Geuvers Nijmegen NL Lecture 2: Dependent Type Theory, Logical Framework 1 For λ : Direct representation (shallow embedding)

More information

Mathematical Logic Prof. Arindama Singh Department of Mathematics Indian Institute of Technology, Madras. Lecture - 37 Resolution Rules

Mathematical Logic Prof. Arindama Singh Department of Mathematics Indian Institute of Technology, Madras. Lecture - 37 Resolution Rules Mathematical Logic Prof. Arindama Singh Department of Mathematics Indian Institute of Technology, Madras Lecture - 37 Resolution Rules If some literals can be unified, the same algorithm should be able

More information

Constructive Coherent Translation of Propositional Logic

Constructive Coherent Translation of Propositional Logic Constructive Coherent Translation of Propositional Logic JRFisher@cpp.edu (started: 2009, latest: January 18, 2016) Abstract Propositional theories are translated to coherent logic rules using what are

More information

.Math 0450 Honors intro to analysis Spring, 2009 Notes #4 corrected (as of Monday evening, 1/12) some changes on page 6, as in .

.Math 0450 Honors intro to analysis Spring, 2009 Notes #4 corrected (as of Monday evening, 1/12) some changes on page 6, as in  . 0.1 More on innity.math 0450 Honors intro to analysis Spring, 2009 Notes #4 corrected (as of Monday evening, 1/12) some changes on page 6, as in email. 0.1.1 If you haven't read 1.3, do so now! In notes#1

More information

Discrete Mathematics Lecture 4. Harper Langston New York University

Discrete Mathematics Lecture 4. Harper Langston New York University Discrete Mathematics Lecture 4 Harper Langston New York University Sequences Sequence is a set of (usually infinite number of) ordered elements: a 1, a 2,, a n, Each individual element a k is called a

More information

Math Introduction to Advanced Mathematics

Math Introduction to Advanced Mathematics Math 215 - Introduction to Advanced Mathematics Number Theory Fall 2017 The following introductory guide to number theory is borrowed from Drew Shulman and is used in a couple of other Math 215 classes.

More information

Applied Lagrange Duality for Constrained Optimization

Applied Lagrange Duality for Constrained Optimization Applied Lagrange Duality for Constrained Optimization Robert M. Freund February 10, 2004 c 2004 Massachusetts Institute of Technology. 1 1 Overview The Practical Importance of Duality Review of Convexity

More information

[Ch 6] Set Theory. 1. Basic Concepts and Definitions. 400 lecture note #4. 1) Basics

[Ch 6] Set Theory. 1. Basic Concepts and Definitions. 400 lecture note #4. 1) Basics 400 lecture note #4 [Ch 6] Set Theory 1. Basic Concepts and Definitions 1) Basics Element: ; A is a set consisting of elements x which is in a/another set S such that P(x) is true. Empty set: notated {

More information

For fine ti.ito vvt* have hcen in IS PUBLISHED EVERY. OF LOWELL. n t m r n T i l t " ^ n a i I Howk & White, CAPITAL, ,000.

For fine ti.ito vvt* have hcen in IS PUBLISHED EVERY. OF LOWELL. n t m r n T i l t  ^ n a i I Howk & White, CAPITAL, ,000. G G 7 87 - G G * - -» *» - - -8 6 8 ( - * - - - [- -- ( G - ( X * ( - --» - ( - - G» # - - - x- G»»» * 6 q q 6» - * 6 76 G» q 6 * - Q * /» q ** - X - * (( G» - * * * 8 8» * * X - - - (»-» * - - G - - G

More information

Trees. 3. (Minimally Connected) G is connected and deleting any of its edges gives rise to a disconnected graph.

Trees. 3. (Minimally Connected) G is connected and deleting any of its edges gives rise to a disconnected graph. Trees 1 Introduction Trees are very special kind of (undirected) graphs. Formally speaking, a tree is a connected graph that is acyclic. 1 This definition has some drawbacks: given a graph it is not trivial

More information

for all x, the assertion P(x) is false. there exists x, for which the assertion P(x) is true.

for all x, the assertion P(x) is false. there exists x, for which the assertion P(x) is true. You can t prove a predicate is true because a predicate is not an assertion, you can t prove it is valid as it is not a deduction! If someone asks you to prove P(x), it is not totally clear what they mean.

More information

The Inverse of a Schema Mapping

The Inverse of a Schema Mapping The Inverse of a Schema Mapping Jorge Pérez Department of Computer Science, Universidad de Chile Blanco Encalada 2120, Santiago, Chile jperez@dcc.uchile.cl Abstract The inversion of schema mappings has

More information

The Resolution Principle

The Resolution Principle Summary Introduction [Chang-Lee Ch. 5.1] for Propositional Logic [Chang-Lee Ch. 5.2] Herbrand's orem and refutation procedures Satisability procedures We can build refutation procedures building on Herbrand's

More information

Module 6. Knowledge Representation and Logic (First Order Logic) Version 2 CSE IIT, Kharagpur

Module 6. Knowledge Representation and Logic (First Order Logic) Version 2 CSE IIT, Kharagpur Module 6 Knowledge Representation and Logic (First Order Logic) Lesson 15 Inference in FOL - I 6.2.8 Resolution We have introduced the inference rule Modus Ponens. Now we introduce another inference rule

More information

Basic Properties The Definition of Catalan Numbers

Basic Properties The Definition of Catalan Numbers 1 Basic Properties 1.1. The Definition of Catalan Numbers There are many equivalent ways to define Catalan numbers. In fact, the main focus of this monograph is the myriad combinatorial interpretations

More information

Program Verification. Program Verification 307/434

Program Verification. Program Verification 307/434 Program Verification Program Verification 307/434 Outline Introduction: What and Why? Pre- and Postconditions Conditionals while-loops and Total Correctness Arrays Program Verification Introduction 308/434

More information

Sets. {1, 2, 3, Calvin}.

Sets. {1, 2, 3, Calvin}. ets 2-24-2007 Roughly speaking, a set is a collection of objects. he objects are called the members or the elements of the set. et theory is the basis for mathematics, and there are a number of axiom systems

More information

CSE Discrete Structures

CSE Discrete Structures CSE 2315 - Discrete Structures Lecture 5: Predicate Logic- Fall 2010 1 Motivation The use of predicates, variables, and quantifiers allows to represent a large number of arguments and expressions in formal

More information

Part I Logic programming paradigm

Part I Logic programming paradigm Part I Logic programming paradigm 1 Logic programming and pure Prolog 1.1 Introduction 3 1.2 Syntax 4 1.3 The meaning of a program 7 1.4 Computing with equations 9 1.5 Prolog: the first steps 15 1.6 Two

More information

Synthetic Geometry. 1.1 Foundations 1.2 The axioms of projective geometry

Synthetic Geometry. 1.1 Foundations 1.2 The axioms of projective geometry Synthetic Geometry 1.1 Foundations 1.2 The axioms of projective geometry Foundations Def: A geometry is a pair G = (Ω, I), where Ω is a set and I a relation on Ω that is symmetric and reflexive, i.e. 1.

More information

arxiv: v2 [cs.lo] 29 Sep 2015

arxiv: v2 [cs.lo] 29 Sep 2015 Avoiding Contradictions in the Paradoxes, the Halting Problem, and Diagonalization arxiv:1509.08003v2 [cs.lo] 29 Sep 2015 Abstract The fundamental proposal in this article is that logical formulas of the

More information

CSI30. Chapter 1. The Foundations: Logic and Proofs Rules of inference with quantifiers Logic and bit operations Specification consistency

CSI30. Chapter 1. The Foundations: Logic and Proofs Rules of inference with quantifiers Logic and bit operations Specification consistency Chapter 1. The Foundations: Logic and Proofs 1.13 Rules of inference with quantifiers Logic and bit operations Specification consistency 1.13 Rules of inference with quantifiers universal instantiation

More information

CSC 501 Semantics of Programming Languages

CSC 501 Semantics of Programming Languages CSC 501 Semantics of Programming Languages Subtitle: An Introduction to Formal Methods. Instructor: Dr. Lutz Hamel Email: hamel@cs.uri.edu Office: Tyler, Rm 251 Books There are no required books in this

More information

Numbers. Definition :Heading 4...1

Numbers. Definition :Heading 4...1 Numbers Table of Contents Definition :Heading 4...1 NUMBERS We are all familiar with numbers, from an early age. We develop an intuitive grasp of counting, adding, multiplying and so on. Here we show how

More information

Losp for Predicate Calculus

Losp for Predicate Calculus Losp for Predicate Calculus William Bricken June 1985 Contents 1 Extension to Predicate Calculus 1 1.1 Representation of Terms....................... 1 1.2 The Theory of Equality.......................

More information

Mathematically Rigorous Software Design Review of mathematical prerequisites

Mathematically Rigorous Software Design Review of mathematical prerequisites Mathematically Rigorous Software Design 2002 September 27 Part 1: Boolean algebra 1. Define the Boolean functions and, or, not, implication ( ), equivalence ( ) and equals (=) by truth tables. 2. In an

More information

Today s Lecture 4/13/ WFFs/ Free and Bound Variables 9.3 Proofs for Pred. Logic (4 new implicational rules)!

Today s Lecture 4/13/ WFFs/ Free and Bound Variables 9.3 Proofs for Pred. Logic (4 new implicational rules)! Today s Lecture 4/13/10 9.1 WFFs/ Free and Bound Variables 9.3 Proofs for Pred. Logic (4 new implicational rules)! Announcements Welcome Back! Answers to latest symbolizations HW are posted on-line Homework:

More information

Lecture 3: Constructing the Natural Numbers

Lecture 3: Constructing the Natural Numbers Math/CS 120: Intro. to Math Professor: Padraic Bartlett Lecture 3: Constructing the Natural Numbers Weeks 3-4 UCSB 2014 When we defined what a proof was in our first set of lectures, we mentioned that

More information

Review. CS152: Programming Languages. Lecture 11 STLC Extensions and Related Topics. Let bindings (CBV) Adding Stuff. Booleans and Conditionals

Review. CS152: Programming Languages. Lecture 11 STLC Extensions and Related Topics. Let bindings (CBV) Adding Stuff. Booleans and Conditionals Review CS152: Programming Languages Lecture 11 STLC Extensions and Related Topics e ::= λx. e x ee c v ::= λx. e c (λx. e) v e[v/x] e 1 e 2 e 1 e 2 τ ::= int τ τ Γ ::= Γ,x : τ e 2 e 2 ve 2 ve 2 e[e /x]:

More information

Solutions to the Test. Problem 1. 1) Who is the author of the first comprehensive text on geometry? When and where was it written?

Solutions to the Test. Problem 1. 1) Who is the author of the first comprehensive text on geometry? When and where was it written? Solutions to the Test Problem 1. 1) Who is the author of the first comprehensive text on geometry? When and where was it written? Answer: The first comprehensive text on geometry is called The Elements

More information

CUT VERTICES IN ZERO-DIVISOR GRAPHS OF FINITE COMMUTATIVE RINGS

CUT VERTICES IN ZERO-DIVISOR GRAPHS OF FINITE COMMUTATIVE RINGS CUT VERTICES IN ZERO-DIVISOR GRAPHS OF FINITE COMMUTATIVE RINGS M. AXTELL, N. BAETH, AND J. STICKLES Abstract. A cut vertex of a connected graph is a vertex whose removal would result in a graph having

More information

Appendix 1. Description Logic Terminology

Appendix 1. Description Logic Terminology Appendix 1 Description Logic Terminology Franz Baader Abstract The purpose of this appendix is to introduce (in a compact manner) the syntax and semantics of the most prominent DLs occurring in this handbook.

More information

HOMEWORK #4 SOLUTIONS - MATH 4160

HOMEWORK #4 SOLUTIONS - MATH 4160 HOMEWORK #4 SOLUTIONS - MATH 4160 DUE: FRIDAY MARCH 7, 2002 AT 10:30AM Enumeration problems. (1 How many different ways are there of labeling the vertices of the following trees so that the graphs are

More information

CSCI 3155: Principles of Programming Languages Exam preparation #1 2007

CSCI 3155: Principles of Programming Languages Exam preparation #1 2007 CSCI 3155: Principles of Programming Languages Exam preparation #1 2007 Exercise 1. Consider the if-then-else construct of Pascal, as in the following example: IF 1 = 2 THEN PRINT X ELSE PRINT Y (a) Assume

More information

Appendix 1. Description Logic Terminology

Appendix 1. Description Logic Terminology Appendix 1 Description Logic Terminology Franz Baader Abstract The purpose of this appendix is to introduce (in a compact manner) the syntax and semantics of the most prominent DLs occurring in this handbook.

More information

Univalent fibrations in type theory and topology

Univalent fibrations in type theory and topology Univalent fibrations in type theory and topology Dan Christensen University of Western Ontario Wayne State University, April 11, 2016 Outline: Background on type theory Equivalence and univalence A characterization

More information

2.1 Sets 2.2 Set Operations

2.1 Sets 2.2 Set Operations CSC2510 Theoretical Foundations of Computer Science 2.1 Sets 2.2 Set Operations Introduction to Set Theory A set is a structure, representing an unordered collection (group, plurality) of zero or more

More information

Harvard School of Engineering and Applied Sciences CS 152: Programming Languages

Harvard School of Engineering and Applied Sciences CS 152: Programming Languages Harvard School of Engineering and Applied Sciences CS 152: Programming Languages Lecture 19 Tuesday, April 3, 2018 1 Introduction to axiomatic semantics The idea in axiomatic semantics is to give specifications

More information

CS 1200 Discrete Math Math Preliminaries. A.R. Hurson 323 CS Building, Missouri S&T

CS 1200 Discrete Math Math Preliminaries. A.R. Hurson 323 CS Building, Missouri S&T CS 1200 Discrete Math A.R. Hurson 323 CS Building, Missouri S&T hurson@mst.edu 1 Course Objective: Mathematical way of thinking in order to solve problems 2 Variable: holder. A variable is simply a place

More information

AXIOMS OF AN IMPERATIVE LANGUAGE PARTIAL CORRECTNESS WEAK AND STRONG CONDITIONS. THE AXIOM FOR nop

AXIOMS OF AN IMPERATIVE LANGUAGE PARTIAL CORRECTNESS WEAK AND STRONG CONDITIONS. THE AXIOM FOR nop AXIOMS OF AN IMPERATIVE LANGUAGE We will use the same language, with the same abstract syntax that we used for operational semantics. However, we will only be concerned with the commands, since the language

More information

The Mathematical Vernacular

The Mathematical Vernacular The Mathematical Vernacular Freek Wiedijk Nijmegen University Abstract A mathematical vernacular is a formal language for writing mathematical s which resembles the natural language from

More information

BOOLEAN ALGEBRA AND CIRCUITS

BOOLEAN ALGEBRA AND CIRCUITS UNIT 3 Structure BOOLEAN ALGEBRA AND CIRCUITS Boolean Algebra and 3. Introduction 3. Objectives 3.2 Boolean Algebras 3.3 Logic 3.4 Boolean Functions 3.5 Summary 3.6 Solutions/ Answers 3. INTRODUCTION This

More information

Course notes for Data Compression - 2 Kolmogorov complexity Fall 2005

Course notes for Data Compression - 2 Kolmogorov complexity Fall 2005 Course notes for Data Compression - 2 Kolmogorov complexity Fall 2005 Peter Bro Miltersen September 29, 2005 Version 2.0 1 Kolmogorov Complexity In this section, we present the concept of Kolmogorov Complexity

More information

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF

ELEMENTARY NUMBER THEORY AND METHODS OF PROOF CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF Copyright Cengage Learning. All rights reserved. SECTION 4.6 Indirect Argument: Contradiction and Contraposition Copyright Cengage Learning. All

More information

HOL DEFINING HIGHER ORDER LOGIC LAST TIME ON HOL CONTENT. Slide 3. Slide 1. Slide 4. Slide 2 WHAT IS HIGHER ORDER LOGIC? 2 LAST TIME ON HOL 1

HOL DEFINING HIGHER ORDER LOGIC LAST TIME ON HOL CONTENT. Slide 3. Slide 1. Slide 4. Slide 2 WHAT IS HIGHER ORDER LOGIC? 2 LAST TIME ON HOL 1 LAST TIME ON HOL Proof rules for propositional and predicate logic Safe and unsafe rules NICTA Advanced Course Forward Proof Slide 1 Theorem Proving Principles, Techniques, Applications Slide 3 The Epsilon

More information

AXIOMS FOR THE INTEGERS

AXIOMS FOR THE INTEGERS AXIOMS FOR THE INTEGERS BRIAN OSSERMAN We describe the set of axioms for the integers which we will use in the class. The axioms are almost the same as what is presented in Appendix A of the textbook,

More information

2 Solution of Homework

2 Solution of Homework Math 3181 Name: Dr. Franz Rothe February 6, 2014 All3181\3181_spr14h2.tex Homework has to be turned in this handout. The homework can be done in groups up to three due February 11/12 2 Solution of Homework

More information

CS5371 Theory of Computation. Lecture 8: Automata Theory VI (PDA, PDA = CFG)

CS5371 Theory of Computation. Lecture 8: Automata Theory VI (PDA, PDA = CFG) CS5371 Theory of Computation Lecture 8: Automata Theory VI (PDA, PDA = CFG) Objectives Introduce Pushdown Automaton (PDA) Show that PDA = CFG In terms of descriptive power Pushdown Automaton (PDA) Roughly

More information

A.1 Numbers, Sets and Arithmetic

A.1 Numbers, Sets and Arithmetic 522 APPENDIX A. MATHEMATICS FOUNDATIONS A.1 Numbers, Sets and Arithmetic Numbers started as a conceptual way to quantify count objects. Later, numbers were used to measure quantities that were extensive,

More information

Faster parameterized algorithms for Minimum Fill-In

Faster parameterized algorithms for Minimum Fill-In Faster parameterized algorithms for Minimum Fill-In Hans L. Bodlaender Pinar Heggernes Yngve Villanger Technical Report UU-CS-2008-042 December 2008 Department of Information and Computing Sciences Utrecht

More information