First–Order Logic

Total Page:16

File Type:pdf, Size:1020Kb

First–Order Logic (LMCS, p. 317) V.1 First{Order Logic This is the most powerful, most expressive logic that we will examine. Our version of ¯rst-order logic will use the following symbols: ² variables ² connectives (_; ^; !; $; : ) ² function symbols ² relation symbols ² constant symbols ² equality (¼) ² quanti¯ers (8; 9) (LMCS, p. 318) V.2 Formulas for a ¯rst-order language L are de¯ned inductively as follows: ² There are two kinds of atomic formulas: (s ¼ t) , where s and t are terms, and (rt1 ¢ ¢ ¢ tn) , where r is an n{ary relation symbol and t1; ¢ ¢ ¢ ; tn are terms. ² If F is a formula, then so is (: F) . ² If F and G are formulas, then so are (F _ G) , (F ^ G) , (F ! G) , (F $ G) . ² If F is a formula and x is a variable, then (8x F) and (9x F) are formulas. (LMCS, p. 318) V.3 Notational Conventions ² Drop outer parentheses ² Adopt the previous precedence conventions for the propositional connectives. ² Quanti¯ers bind more strongly than any of the connectives. Thus 8y (rxy) _ 9y (rxy) means (8y (rxy)) _ (9y (rxy)) . (LMCS, p. 318) V.4 The subformulas of a formula F : ² The only subformula of an atomic formula F is F itself. ² The subformulas of : F are : F itself and all the subformulas of F. ² The subformulas of F ¤ G are F ¤ G itself and all the subformulas of F and all the subformulas of G: ( ¤ is any of _, ^, !, r $). ² The subformulas of 8x F are 8x F itself and all the subformulas of F. ² The subformulas of 9x F are 9x F itself and all the subformulas of F. (LMCS, p. 318-319) V.5 An occurrence of a variable x in a formula F is: ² bound if the occurrence is in a subformula of the form 8x G or of the form 9x G (such a subformula is called the scope of the quanti¯er that begins the subformula). ² Otherwise the occurrence of the variable is said to be free. ² A formula with no free occurrences of variables is called a sentence. (LMCS, p. 318-319) V.6 Given a bound occurrence of x in F, we say that x is bound by an occurrence of a quanti¯er Q if (i) the occurrence of Q quanti¯es the variable x, and (ii) subject to this constraint the scope of this occurrence of Q is the smallest in which the given occurrence of x occurs. (LMCS, p. 319) V.7 It is easier to explain scope, and quanti¯ers that bind variables, with a diagram: An occurrence of the variable x bound by A E A x ( ( r x y ) ( y (( x ( r z x)) ( r x z))) Scopes of quantifiers are underlined (LMCS, p. 319) V.8 The following ¯gure indicates all the bound and free variables in the previous formula: free occurrences A E A x ( ( r x y ) ( y (( x ( r z x)) ( r x z))) bound occurrences (LMCS, p. 322-323) V.9 Examples b. 2 + 2 < 3 is also an atomic sentence, which says \four is less than three." False in N. c. 8x9y (x < y) says that \for every number there is a larger number." True in N. d. 9y8x (x < y) says that \there is a number that is larger than every other number." False in N. (LMCS, p. 323-324) V.10 f. 8x (0 < x) ! 9y (y ¢ y ¼ x) says that ³ ´ \every positive number is a square." False in N. h. 8x8y (x < y) ! 9z (x < z) ^ (z < y) µ ³ ´¶ says that \if one number is less than another, then there is a number properly between the two." False in N. (LMCS, p. 323-324) V.11 We will use the shorthand notation Fi 1·^i·n to mean the same as the notation F1 ^ ¢ ¢ ¢ ^ Fn: Likewise, we will use the notations Fi 1·_i·n and F1 _ ¢ ¢ ¢ _ Fn: (LMCS, p. 324-325) V.12 English to First-order Given a ¯rst{order formula F(x) we can ¯nd ¯rst{order sentences to say a. There is at least one number such that F(x) is true in N. 9x F(x) b. There are at least two numbers such that F(x) is true in N. 9x9y : (x ¼ y) ^ F(x) ^ F(y) ³ ´ (LMCS, p. 324-325) V.13 c. There are at least n numbers (n ¯xed) such that F(x) is true in N. 9x1 ¢ ¢ ¢ 9xn 1·i<j·n : (xi ¼ xj) ^ 1·i·n F(xi) ³³V ´ ³V ´´ d. There are in¯nitely many numbers that make F(x) true in N. 8x9y (x < y) ^ F(y) ³ ´ e. There is at most one number such that F(x) is true in N. 8x8y (F(x) ^ F(y)) ! (x ¼ y) ³ ´ (LMCS, p. 325) V.14 De¯nable Relations To better understand what we can express with ¯rst{order sentences we need to introduce de¯nable relations. Given a ¯rst{order formula F(x1; : : : ; xk) we say F is \true" at a k{tuple (a1; : : : ; ak) of natural numbers if the expression F(a1; : : : ; ak) is a true statement about the natural numbers. (LMCS, p. 325) V.15 Example Let F(x; y) be the formula x < y. Then F is true at (a; b) i® a is less than b. Example Let F(x; y) be 9z (x ¢ z ¼ y). Then F is true at (a; b) i® a divides b, written ajb. a [Note: Don't confuse ajb with . b The ¯rst is true or false. The second has a value. Check that aj0 for any a, including a = 0.] (LMCS, p. 325) V.16 De¯nition N For F(x1; : : : ; xk) a formula let F be the set of k{tuples (a1; : : : ; ak) of natural numbers for which F(a1; : : : ; ak) is true in N. FN is the relation on N de¯ned by F. De¯nition A k{ary relation r ⊆ N k is de¯nable in N if there is a formula F(x1; : : : ; xk) such that r = FN : (LMCS, p. 325-326) V.17 Example (De¯nable Relations) ² x is an even number is de¯nable in N by 9y (x ¼ y + y) ² x divides y is de¯nable in N by 9z (x ¢ z ¼ y) ² x is prime is de¯nable in N by (1 < x) ^ 8y (yjx) ! (y ¼ 1) _ (y ¼ x) µ ³ ´¶ ² x ´ y modulo n is de¯nable in N by 9z (x ¼ y + n ¢ z) _ (y ¼ x + n ¢ z) ³ ´ (LMCS, p. 326) V.18 We will adopt the following abbreviations: ² xjy for the formula 9z (x ¢ z ¼ y) ² prime(x) for the formula (1 < x) ^ 8y (yjx) ! (y ¼ 1) _ (y ¼ x) : µ ³ ´¶ Note that in the de¯nition of prime(x) we have used the previous abbreviation. To properly write prime(x) as a ¯rst{order formula we need to replace that abbreviation; doing so gives us (1 < x) ^ 8y 9z (y ¢ z ¼ x) ! (y ¼ 1) _ (y ¼ x) µ ³ ´¶ (LMCS, p. 326) V.19 Abbreviations are not a feature of ¯rst{order logic, but rather they are a tool used by people to discuss ¯rst{order logic. Why do we use abbreviations? Without them, writing out the ¯rst{order sentences that we ¯nd interesting would ¯ll up lines with tedious, hard{to{read symbolism. (LMCS, p. 326) V.20 Given: xjy abbreviates 9z (x ¢ z ¼ y . Then (u + 1)j(u ¢ u + 1) is an abbreviation for 9z ((u + 1) ¢ z ¼ u ¢ u + 1) Now let us write out zj2 to obtain 9z (z ¢ z ¼ 1 + 1) Unfortunately, this last formula does not de¯ne the set of elements in N that divide 2. It is a ¯rst{order sentence that is simply false in N|the square root of 2 is not a natural number. (LMCS, p. 326) V.21 We have stumbled onto one of the subtler points of ¯rst{order logic, namely, we must be careful with substitution. The remedy for de¯ning \z divides 2" is to use another formula, like 9w (x ¢ w ¼ y); for \x divides y." (LMCS, p. 326) V.22 We obtain such a formula by simply renaming the bound variable z in the formula for xjy. With this formula we can correctly express \z divides 2" by 9w (z ¢ w ¼ 2). The danger in using abbreviations in ¯rst{order logic is that we forget the names of the bound variables in the abbreviation. (LMCS, p. 327) V.23 Our solution: add a ? to the abbreviation to alert the reader to the necessity for renaming the bound variables that overlap with the variables in the term to be substituted into the abbreviation. For example, prime?(y + z) alerts the reader to the need to change the formula for prime(x), say to (1 < x) ^ 8v (vjx) ! (v ¼ 1) _ (v ¼ x) ; µ ³ ´¶ so that when we substitute y + z for x in the formula, no new occurrence of y or z becomes bound. (LMCS, p. 327) V.24 Thus we could express prime(y + z) by (1 < y + z) ^ 8v (vj?(y + z)) ! (v ¼ 1) _ (v ¼ y + z) : ³ ¡ ¢´ Examples [Expressing statements in ¯rst-order logic.] a. The relation \divides" is transitive. 8x8y8z (xjy) ^ (yj?z) ! (xj?z) µ³ ´ ¶ b. There are an in¯nite number of primes. 8x9y (x < y) ^ prime?(y) ³ ´ (LMCS, p. 327) V.25 d. There are an in¯nite number of pairs of primes that di®er by the number 2. (Twin Prime Conjecture) 8x9y (x < y) ^ prime?(y) ^ prime?(y + 2) ³ ´ e. All even numbers greater than two are the sum of two primes.
Recommended publications
  • “The Church-Turing “Thesis” As a Special Corollary of Gödel's
    “The Church-Turing “Thesis” as a Special Corollary of Gödel’s Completeness Theorem,” in Computability: Turing, Gödel, Church, and Beyond, B. J. Copeland, C. Posy, and O. Shagrir (eds.), MIT Press (Cambridge), 2013, pp. 77-104. Saul A. Kripke This is the published version of the book chapter indicated above, which can be obtained from the publisher at https://mitpress.mit.edu/books/computability. It is reproduced here by permission of the publisher who holds the copyright. © The MIT Press The Church-Turing “ Thesis ” as a Special Corollary of G ö del ’ s 4 Completeness Theorem 1 Saul A. Kripke Traditionally, many writers, following Kleene (1952) , thought of the Church-Turing thesis as unprovable by its nature but having various strong arguments in its favor, including Turing ’ s analysis of human computation. More recently, the beauty, power, and obvious fundamental importance of this analysis — what Turing (1936) calls “ argument I ” — has led some writers to give an almost exclusive emphasis on this argument as the unique justification for the Church-Turing thesis. In this chapter I advocate an alternative justification, essentially presupposed by Turing himself in what he calls “ argument II. ” The idea is that computation is a special form of math- ematical deduction. Assuming the steps of the deduction can be stated in a first- order language, the Church-Turing thesis follows as a special case of G ö del ’ s completeness theorem (first-order algorithm theorem). I propose this idea as an alternative foundation for the Church-Turing thesis, both for human and machine computation. Clearly the relevant assumptions are justified for computations pres- ently known.
    [Show full text]
  • A Compositional Analysis for Subset Comparatives∗ Helena APARICIO TERRASA–University of Chicago
    A Compositional Analysis for Subset Comparatives∗ Helena APARICIO TERRASA–University of Chicago Abstract. Subset comparatives (Grant 2013) are amount comparatives in which there exists a set membership relation between the target and the standard of comparison. This paper argues that subset comparatives should be treated as regular phrasal comparatives with an added presupposi- tional component. More specifically, subset comparatives presuppose that: a) the standard has the property denoted by the target; and b) the standard has the property denoted by the matrix predi- cate. In the account developed below, the presuppositions of subset comparatives result from the compositional principles independently required to interpret those phrasal comparatives in which the standard is syntactically contained inside the target. Presuppositions are usually taken to be li- censed by certain lexical items (presupposition triggers). However, subset comparatives show that presuppositions can also arise as a result of semantic composition. This finding suggests that the grammar possesses more than one way of licensing these inferences. Further research will have to determine how productive this latter strategy is in natural languages. Keywords: Subset comparatives, presuppositions, amount comparatives, degrees. 1. Introduction Amount comparatives are usually discussed with respect to their degree or amount interpretation. This reading is exemplified in the comparative in (1), where the elements being compared are the cardinalities corresponding to the sets of books read by John and Mary respectively: (1) John read more books than Mary. |{x : books(x) ∧ John read x}| ≻ |{y : books(y) ∧ Mary read y}| In this paper, I discuss subset comparatives (Grant (to appear); Grant (2013)), a much less studied type of amount comparative illustrated in the Spanish1 example in (2):2 (2) Juan ha leído más libros que El Quijote.
    [Show full text]
  • Interpretations and Mathematical Logic: a Tutorial
    Interpretations and Mathematical Logic: a Tutorial Ali Enayat Dept. of Philosophy, Linguistics, and Theory of Science University of Gothenburg Olof Wijksgatan 6 PO Box 200, SE 405 30 Gothenburg, Sweden e-mail: [email protected] 1. INTRODUCTION Interpretations are about `seeing something as something else', an elusive yet intuitive notion that has been around since time immemorial. It was sys- tematized and elaborated by astrologers, mystics, and theologians, and later extensively employed and adapted by artists, poets, and scientists. At first ap- proximation, an interpretation is a structure-preserving mapping from a realm X to another realm Y , a mapping that is meant to bring hidden features of X and/or Y into view. For example, in the context of Freud's psychoanalytical theory [7], X = the realm of dreams, and Y = the realm of the unconscious; in Khayaam's quatrains [11], X = the metaphysical realm of theologians, and Y = the physical realm of human experience; and in von Neumann's foundations for Quantum Mechanics [14], X = the realm of Quantum Mechanics, and Y = the realm of Hilbert Space Theory. Turning to the domain of mathematics, familiar geometrical examples of in- terpretations include: Khayyam's interpretation of algebraic problems in terms of geometric ones (which was the remarkably innovative element in his solution of cubic equations), Descartes' reduction of Geometry to Algebra (which moved in a direction opposite to that of Khayyam's aforementioned interpretation), the Beltrami-Poincar´einterpretation of hyperbolic geometry within euclidean geom- etry [13]. Well-known examples in mathematical analysis include: Dedekind's interpretation of the linear continuum in terms of \cuts" of the rational line, Hamilton's interpertation of complex numbers as points in the Euclidean plane, and Cauchy's interpretation of real-valued integrals via complex-valued ones using the so-called contour method of integration in complex analysis.
    [Show full text]
  • Church's Thesis and the Conceptual Analysis of Computability
    Church’s Thesis and the Conceptual Analysis of Computability Michael Rescorla Abstract: Church’s thesis asserts that a number-theoretic function is intuitively computable if and only if it is recursive. A related thesis asserts that Turing’s work yields a conceptual analysis of the intuitive notion of numerical computability. I endorse Church’s thesis, but I argue against the related thesis. I argue that purported conceptual analyses based upon Turing’s work involve a subtle but persistent circularity. Turing machines manipulate syntactic entities. To specify which number-theoretic function a Turing machine computes, we must correlate these syntactic entities with numbers. I argue that, in providing this correlation, we must demand that the correlation itself be computable. Otherwise, the Turing machine will compute uncomputable functions. But if we presuppose the intuitive notion of a computable relation between syntactic entities and numbers, then our analysis of computability is circular.1 §1. Turing machines and number-theoretic functions A Turing machine manipulates syntactic entities: strings consisting of strokes and blanks. I restrict attention to Turing machines that possess two key properties. First, the machine eventually halts when supplied with an input of finitely many adjacent strokes. Second, when the 1 I am greatly indebted to helpful feedback from two anonymous referees from this journal, as well as from: C. Anthony Anderson, Adam Elga, Kevin Falvey, Warren Goldfarb, Richard Heck, Peter Koellner, Oystein Linnebo, Charles Parsons, Gualtiero Piccinini, and Stewart Shapiro. I received extremely helpful comments when I presented earlier versions of this paper at the UCLA Philosophy of Mathematics Workshop, especially from Joseph Almog, D.
    [Show full text]
  • Logic: Representation and Automated Reasoning
    Logic Knowledge Representation & Reasoning Mechanisms Logic ● Logic as KR ■ Propositional Logic ■ Predicate Logic (predicate Calculus) ● Automated Reasoning ■ Logical inferences ■ Resolution and Theorem-proving Logic ● Logic as KR ■ Propositional Logic ■ Predicate Logic (predicate Calculus) ● Automated Reasoning ■ Logical inferences ■ Resolution and Theorem-proving Propositional Logic ● Symbols: ■ truth symbols: true, false ■ propositions: a statement that is “true” or “false” but not both E.g., P = “Two plus two equals four” Q = “It rained yesterday.” ■ connectives: ~, →, ∧, ∨, ≡ • Sentences - propositions or truth symbols • Well formed formulas (expressions) - sentences that are legally well-formed with connectives E.g., P ∧ R → and P ~ are not wff but P ∧ R → ~ Q is Examples P Q AI is hard but it is interesting P ∧ Q AI is neither hard nor interesting ~P ∧ ~ Q P Q If you don’t do assignments then you will fail P → Q ≡ Do assignments or fail (Prove by truth table) ~ P ∨ Q None or both of P and Q is true (~ P ∧ ~ Q) ∨ (P ∧ Q) ≡ T Exactly one of P and Q is true (~ P ∧ Q) ∨ (P ∧ ~ Q) ≡ T Predicate Logic ● Symbols: • truth symbols • constants: represents objects in the world • variables: represents ranging objects } Terms • functions: represent properties • Predicates: functions of terms with true/false values e.g., bill_residence_city (vancouver) or lives (bill, vancouver) ● Atomic sentences: true, false, or predicates ● Quantifiers: ∀, ∃ ● Sentences (expressions): sequences of legal applications of connectives and quantifiers to atomic
    [Show full text]
  • Axiomatic Set Teory P.D.Welch
    Axiomatic Set Teory P.D.Welch. August 16, 2020 Contents Page 1 Axioms and Formal Systems 1 1.1 Introduction 1 1.2 Preliminaries: axioms and formal systems. 3 1.2.1 The formal language of ZF set theory; terms 4 1.2.2 The Zermelo-Fraenkel Axioms 7 1.3 Transfinite Recursion 9 1.4 Relativisation of terms and formulae 11 2 Initial segments of the Universe 17 2.1 Singular ordinals: cofinality 17 2.1.1 Cofinality 17 2.1.2 Normal Functions and closed and unbounded classes 19 2.1.3 Stationary Sets 22 2.2 Some further cardinal arithmetic 24 2.3 Transitive Models 25 2.4 The H sets 27 2.4.1 H - the hereditarily finite sets 28 2.4.2 H - the hereditarily countable sets 29 2.5 The Montague-Levy Reflection theorem 30 2.5.1 Absoluteness 30 2.5.2 Reflection Theorems 32 2.6 Inaccessible Cardinals 34 2.6.1 Inaccessible cardinals 35 2.6.2 A menagerie of other large cardinals 36 3 Formalising semantics within ZF 39 3.1 Definite terms and formulae 39 3.1.1 The non-finite axiomatisability of ZF 44 3.2 Formalising syntax 45 3.3 Formalising the satisfaction relation 46 3.4 Formalising definability: the function Def. 47 3.5 More on correctness and consistency 48 ii iii 3.5.1 Incompleteness and Consistency Arguments 50 4 The Constructible Hierarchy 53 4.1 The L -hierarchy 53 4.2 The Axiom of Choice in L 56 4.3 The Axiom of Constructibility 57 4.4 The Generalised Continuum Hypothesis in L.
    [Show full text]
  • How to Build an Interpretation and Use Argument
    Timothy S. Brophy Professor and Director, Institutional Assessment How to Build an University of Florida Email: [email protected] Interpretation and Phone: 352‐273‐4476 Use Argument To review the concept of validity as it applies to higher education Today’s Goals Provide a framework for developing an interpretation and use argument for assessments Validity What it is, and how we examine it • Validity refers to the degree to which evidence and theory support the interpretations of the test scores for proposed uses of tests. (p. 11) defined Source: • American Educational Research Association (AERA), American Psychological Association (APA), & National Council on Measurement in Education (NCME). (2014). Standards for educational and psychological testing. Validity Washington, DC: AERA The Importance of Validity The process of validation Validity is, therefore, the most involves accumulating relevant fundamental consideration in evidence to provide a sound developing tests and scientific basis for the proposed assessments. score and assessment results interpretations. (p. 11) Source: AERA, APA, & NCME. (2014). Standards for educational and psychological testing. Washington, DC: AERA • Most often this is qualitative; colleagues are a good resource • Review the evidence How Do We • Common sources of validity evidence Examine • Test Content Validity in • Construct (the idea or theory that supports the Higher assessment) • The validity coefficient Education? Important distinction It is not the test or assessment itself that is validated, but the inferences one makes from the measure based on the context of its use. Therefore it is not appropriate to refer to the ‘validity of the test or assessment’ ‐ instead, we refer to the validity of the interpretation of the results for the test or assessment’s intended purpose.
    [Show full text]
  • Propositional Logic
    Propositional Logic - Review Predicate Logic - Review Propositional Logic: formalisation of reasoning involving propositions Predicate (First-order) Logic: formalisation of reasoning involving predicates. • Proposition: a statement that can be either true or false. • Propositional variable: variable intended to represent the most • Predicate (sometimes called parameterized proposition): primitive propositions relevant to our purposes a Boolean-valued function. • Given a set S of propositional variables, the set F of propositional formulas is defined recursively as: • Domain: the set of possible values for a predicate’s Basis: any propositional variable in S is in F arguments. Induction step: if p and q are in F, then so are ⌐p, (p /\ q), (p \/ q), (p → q) and (p ↔ q) 1 2 Predicate Logic – Review cont’ Predicate Logic - Review cont’ Given a first-order language L, the set F of predicate (first-order) •A first-order language consists of: formulas is constructed inductively as follows: - an infinite set of variables Basis: any atomic formula in L is in F - a set of predicate symbols Inductive step: if e and f are in F and x is a variable in L, - a set of constant symbols then so are the following: ⌐e, (e /\ f), (e \/ f), (e → f), (e ↔ f), ∀ x e, ∃ s e. •A term is a variable or a constant symbol • An occurrence of a variable x is free in a formula f if and only •An atomic formula is an expression of the form p(t1,…,tn), if it does not occur within a subformula e of f of the form ∀ x e where p is a n-ary predicate symbol and each ti is a term.
    [Show full text]
  • Terms First-Order Logic: Syntax - Formulas
    First-order logic FOL Query Evaluation Giuseppe De Giacomo • First-order logic (FOL) is the logic to speak about object, which are the domain of discourse or universe. Universita` di Roma “La Sapienza” • FOL is concerned about Properties of these objects and Relations over objects (resp. unary and n-ary Predicates) • FOL also has Functions including Constants that denote objects. Corso di Seminari di Ingegneria del Software: Data and Service Integration Laurea Specialistica in Ingegneria Informatica Universita` degli Studi di Roma “La Sapienza” A.A. 2005-06 G. De Giacomo FOL queries 1 First-order logic: syntax - terms First-order logic: syntax - formulas Ter ms : defined inductively as follows Formulas: defined inductively as follows k • Vars: A set {x1,...,xn} of individual variables (variables that denote • if t1,...,tk ∈ Ter ms and P is a k-ary predicate, then k single objects) P (t1,...,tk) ∈ Formulas (atomic formulas) • Function symbols (including constants: a set of functions symbols of given • φ ∈ Formulas and ψ ∈ Formulas then arity > 0. Functions of arity 0 are called constants. – ¬φ ∈ Formulas • Vars ⊆ Ter ms – φ ∧ ψ ∈ Formulas k – φ ∨ ψ ∈ Formulas • if t1,...,tk ∈ Ter ms and f is a k-ary function, then k ⊃ ∈ f (t1,...,tk) ∈ Ter ms – φ ψ Formulas • nothing else is in Ter ms . • φ ∈ Formulas and x ∈ Vars then – ∃x.φ ∈ Formulas – ∀x.φ ∈ Formulas G. De Giacomo FOL queries 2 G. De Giacomo FOL queries 3 • nothing else is in Formulas. First-order logic: Semantics - interpretations Note: if a predicate is of arity Pi , then it is a proposition of propositional logic.
    [Show full text]
  • First Order Logic and Nonstandard Analysis
    First Order Logic and Nonstandard Analysis Julian Hartman September 4, 2010 Abstract This paper is intended as an exploration of nonstandard analysis, and the rigorous use of infinitesimals and infinite elements to explore properties of the real numbers. I first define and explore first order logic, and model theory. Then, I prove the compact- ness theorem, and use this to form a nonstandard structure of the real numbers. Using this nonstandard structure, it it easy to to various proofs without the use of limits that would otherwise require their use. Contents 1 Introduction 2 2 An Introduction to First Order Logic 2 2.1 Propositional Logic . 2 2.2 Logical Symbols . 2 2.3 Predicates, Constants and Functions . 2 2.4 Well-Formed Formulas . 3 3 Models 3 3.1 Structure . 3 3.2 Truth . 4 3.2.1 Satisfaction . 5 4 The Compactness Theorem 6 4.1 Soundness and Completeness . 6 5 Nonstandard Analysis 7 5.1 Making a Nonstandard Structure . 7 5.2 Applications of a Nonstandard Structure . 9 6 Sources 10 1 1 Introduction The founders of modern calculus had a less than perfect understanding of the nuts and bolts of what made it work. Both Newton and Leibniz used the notion of infinitesimal, without a rigorous understanding of what they were. Infinitely small real numbers that were still not zero was a hard thing for mathematicians to accept, and with the rigorous development of limits by the likes of Cauchy and Weierstrass, the discussion of infinitesimals subsided. Now, using first order logic for nonstandard analysis, it is possible to create a model of the real numbers that has the same properties as the traditional conception of the real numbers, but also has rigorously defined infinite and infinitesimal elements.
    [Show full text]
  • First-Order Logic
    First-Order Logic Chapter 8 1 Outline • Why FOL? • Syntax and semantics of FOL • Using FOL • Wumpus world in FOL • Knowledge engineering in FOL 2 Pros and cons of propositional logic ☺ Propositional logic is declarative ☺ Propositional logic allows partial/disjunctive/negated information – (unlike most data structures and databases) ☺ Propositional logic is compositional: – meaning of B1,1 ∧ P1,2 is derived from meaning of B1,1 and of P1,2 ☺ Meaning in propositional logic is context-independent – (unlike natural language, where meaning depends on context) Propositional logic has very limited expressive power – (unlike natural language) – E.g., cannot say "pits cause breezes in adjacent squares“ • except by writing one sentence for each square 3 First-order logic • Whereas propositional logic assumes the world contains facts, • first-order logic (like natural language) assumes the world contains – Objects: people, houses, numbers, colors, baseball games, wars, … – Relations: red, round, prime, brother of, bigger than, part of, comes between, … – Functions: father of, best friend, one more than, plus, … 4 Syntax of FOL: Basic elements • Constants KingJohn, 2, NUS,... • Predicates Brother, >,... • Functions Sqrt, LeftLegOf,... • Variables x, y, a, b,... • Connectives ¬, ⇒, ∧, ∨, ⇔ • Equality = • Quantifiers ∀, ∃ 5 Atomic sentences Atomic sentence = predicate (term1 ,...,termn) or term = term 1 2 Term = function (term1,..., termn) or constant or variable • E.g., Brother(KingJohn,RichardTheLionheart) > (Length(LeftLegOf(Richard)), Length(LeftLegOf(KingJohn)))
    [Show full text]
  • Atomic Sentences
    Symbolic Logic Study Guide: Class Notes 5 1.2. Notes for Chapter 2: Atomic Sentences 1.2.1. The Basic Structure of Atomic Sentences (2.1, 2.2, 2.3, and 2.5 of the Text) 1. Comparison between simple English sentences and atomic sentences Simple English Sentences Atomic sentences (FOL) (subject-predicate sentences) John is a freshman Freshman (John) John swims. Swim (John) John loves Jenny. Love (John, Jenny) John prefers Jenny to Amy. Prefer (John, Jenny, Amy) John’s mother loves Jenny. Love (mother (John), Jenny) The father of Jenny is angry. Angry (father (Jenny)) John is the brother of Jenny. John = brother (Jenny) [relational identity] 2. Names Definition: Names are individual constants that refer to some fixed individual objects or other. (1) The rule of naming (p. 10) • No empty name. • No multiple references (do not use one name to refer to different objects). • Multiple names: you can name one object by different names. (2) General terms / names: using a predicate, instead of a constant, to represent a general term. For example, John is a student Student (John) [correct] John = student [wrong!!!] 3. Predicates Definition: Predicates are symbols used to denote some property of objects or some relationship between objects. (1) Arity of predicates • Unary predicates--property • Binary predicates Relations • Ternary predicates (2) The predicates used in Tarski’s World: see p. 11. (3) Two rules of predicates: see p.12. 6 Symbolic Logic Study Guide: Class Notes 4. Functions Definition: A function is an individual constant determined by another constant. (1) Comparison with names: • Both refer to some fixed individual objects.
    [Show full text]