Relations and Functions Order Pair Cartesian Product Notation For

Total Page:16

File Type:pdf, Size:1020Kb

Relations and Functions Order Pair Cartesian Product Notation For Order Pair n An Ordered Pair consists of two elements, say a and b, in which one of them, saying a is Relations and Functions designated as the first element and the other as the second element. Peter Lo u The ordered pairs (1,2) and (2,1) are different u The set {1, 2} is not an ordered pair u Ordered pair can have same elements (1,1) CS218 © Peter Lo 2004 1 CS218 © Peter Lo 2004 2 Cartesian Product Notation for Number System n If X and Y are sets, we let X ´ Y denote the set of n Æ denotes Null Set all order pairs (x, y) where x Î X and y Î Y. n Z denotes the set of Integer n We call X ´ Y the Cartesian Productof X and Y. n Q denotes the set of Rational Numbers n If |X| = m, |Y| = n, then |X ´ Y| = mn n Qc denotes the set of Irrational Numbers n If A = {1, 2, 3} and B = {a, b}. n N denotes the set of Natural Numbers The Cartesian Product A ´ B n R denotes the set of Real Numbers = {(1, a), (1, b), (2, a), (2, b), (3, a), (3,b) } CS218 © Peter Lo 2004 3 CS218 © Peter Lo 2004 4 1 Introduction to Relations Domain and Range n A Binary Relation between sets A and B is a n The Domain of a relation R is the set of all first subset of A ´ B. In other word, a binary relation is elements of the ordered pair which belong to R, a collection of ordered pairs from A ´ B. and the Range of R is the set of second elements. n If A and B are equal, this relation is called n A relation is also written as aRb. Relation on the Set A. n Example: n Since relation R is a subset of A ´ B, any relation R has a complementary relation R, which is the u If A = {1, 2, 3}, B = {a, b, c}, and R = {(1, b), complement of the set R relative A ´ B. (1, c), (3, b)}. For this relation 1Rb, 1Rc, 3Rb, n (Do Ex. 1 & 2) domain = {1, 3}, range = {b, c}. CS218 © Peter Lo 2004 5 CS218 © Peter Lo 2004 6 Pictorial Representation of Graphical Representation of Relations Relations n Let R be a relation from A = {1, 2, 3} to B = {a, b} n Directed Graph is a way of picturing a relation when it is where R = {(1, a), (1, b), (3, a)}. The represented form a finite set to itself is to write down the elements of the set and then draw an arrow from an elements x to an as follows: element y whenever x is related to y. n (Do Ex. 3) n (Do Ex. 4 – 7) CS218 © Peter Lo 2004 7 CS218 © Peter Lo 2004 8 2 Matrix Representation of a Properties of Relations Relation n Let A be a set with n elements, and let B be a set with m n Reflexive elements and R be a relation between A and B. n Symmetric u A = {a1, a2, … , an} n Transitive u B = {b1, b2, … , bm} n Matrix M is called the Logical Matrix for R if n Irreflexive n Antisymmetric ì True "(ai ,b j ) Î R ü M (i, j) = í ý îFalse "(ai ,b j ) Ï Rþ n (Do Ex. 8) CS218 © Peter Lo 2004 9 CS218 © Peter Lo 2004 10 Reflexive Symmetric n Let R be a subset of A ´ A. Then R is called a n Let R be a subset of A ´ A. Then R is called a Reflexive Relation if "xÎA, (a, a)ÎR. Symmetric Relation if (a, b)ÎR Þ (b, a)ÎR. n The direct graph of every reflexive relation n The matrix representation for the symmetric includes an arrow from every point to the point relations are symmetric with respect to the main itself. diagonal. CS218 © Peter Lo 2004 11 CS218 © Peter Lo 2004 12 3 Transitive Irreflexive n A relation R in a set A is called a Transitive n A Relation R on a set S is Irreflexive Relation if Relation if ((a, b)ÎR Ç (b, c)ÎR) Þ (a, c)ÎR. x R x, "xÎR. n Example: n Example: u Let W = {a, b, c}, and let u The relation on the set {a, b, c} given by the set R = {(a, b), (c, b), (b, a), (a, c)}. of order pairs {(a, b), (b, c), (c, a)} is irreflexive, because it does not contain any of the ordered u Then R is not a transitive relation because pairs (a, a), (b, b) and (c, c). (c, b) ÎR and (b, a) ÎR but (c, a) Ï R. CS218 © Peter Lo 2004 13 CS218 © Peter Lo 2004 14 Antisymmetric Types of Relations n A Relation R on a set S is Antisymmetric if n Equivalence of Relations "x, yÎS, (xRy Ç yRx) Þ (x = y). n Partially Ordered Relations n Example: n Universal Relations u The relation “Greater than or equal to” on the n Empty Relations set of integer is antisymmetric because if x, y n Inverse Relations ÎZ, then (x ³ y and y £ x) Þ (x = y). n Composite Relations CS218 © Peter Lo 2004 15 CS218 © Peter Lo 2004 16 4 Equivalence Relations Example n A relation is an Equivalence Relation if it is n Provide that the relation = of equality on any set S reflexive, symmetric and transitive and is denoted is an equivalence relation. as ~. u (1) a = a for every a in S; (Reflexive property) u (2) if a = b, then b = a; (Symmetric property) u (3) if a = b and b = c, then a = c. (Transitive property) u Therefore, S is an equivalent relation. CS218 © Peter Lo 2004 17 CS218 © Peter Lo 2004 18 Partially Ordered Relations Example n A Relation on a set is reflexive, antisymmetric and n If a and b are positive integers, a|b means that a is transitive is called Partially Ordered Relation on a divisor of b, i.e. b = ac for some integer c. Show the set. that “|” is a partial ordering of the set of positive integers. CS218 © Peter Lo 2004 19 CS218 © Peter Lo 2004 20 5 Answer Universal and Empty Relations n By definition, the a|b means that the number b/a is an integer. n Universal Relation We need to verify reflexivity, antisymmetry, and transitivity. u Let A be any set, then A ´ A is known as the + u Reflexivity: "nÎZ , n|n as n/n is 1 Universal Relation. u Antisymmetry: If n|m and m|n, then m/n and n/m are both integers. Since n/m = (m/n)-1, the integer n/m has n Empty Relation the property that its reciprocal is also an integer. The u Let A be any set, then Æ is called the Empty only such positive integer is 1, and so n/m = 1, i.e. n = m. Relation. u Transitivity: If n|m and m|p, then p/n = (n/m) x (m/n) is an integer, since it is the product of two other integers. n It follows that “|” is a partial ordering. CS218 © Peter Lo 2004 21 CS218 © Peter Lo 2004 22 Inverse Relations Composite Relations n For every relation R between sets A and B is a n Let R be a relation between sets A and B, and let S be a subset of A ´ B, the Inverse Relation of R is the relation between B and C. The composition of R and S is reverses of the roles of A and B to obtain a the relation between A and C. relation between B and A. n The composite relation of S and R is denoted as S o R, given by S o R = {(x, z) | xÎA, zÎC, $yÎB, xRy Ç ySz} -1 n The inverse Relation of R is denoted as R and the n (Do Ex. 11) relation between B and A given by R-1 = {(y, x) | (x, y) ÎR} n (Do Ex. 9 – 10) CS218 © Peter Lo 2004 23 CS218 © Peter Lo 2004 24 6 Introduction to Functions Elements of a Function n A Function is an association of exactly one object n Functions are often referred to as Mappings or from one set (the range) with each object from Transformations. n The unique element y = f (x) of B assigned to xÎA by f is another set (the domain). called the Image of x under f. n This means that there must be at least one arrow n f: A®B indicate f is a function from A to B. The set A is leaving each point in the domain, and further that called the Domain of f, and set B is called Codomain of f. there can be no more than one arrow leaving each n The range of f denoted by f [A], is the set of all images: point in the domain. f [A] = {f(x) | x ÎA} n The Pre -image or Inverse Image of a set B contained in n (Do Ex. 12) the range of f is denoted by f -1(B) and is the subset of the domain whose members have images in b. CS218 © Peter Lo 2004 25 CS218 © Peter Lo 2004 26 Example Graphing Functions + n The geometric mean function gmean: N x N à R is defined by n gmean(x,y) = Ö(xy) The set of all ordered pairs of the function f u What is the domain ofgmean? plotted in a Cartesian coordinate system is called u Explain why the range ofgmean is different from the codmain the Graph of f.
Recommended publications
  • Enumeration of Finite Automata 1 Z(A) = 1
    INFOI~MATION AND CONTROL 10, 499-508 (1967) Enumeration of Finite Automata 1 FRANK HARARY AND ED PALMER Department of Mathematics, University of Michigan, Ann Arbor, Michigan Harary ( 1960, 1964), in a survey of 27 unsolved problems in graphical enumeration, asked for the number of different finite automata. Re- cently, Harrison (1965) solved this problem, but without considering automata with initial and final states. With the aid of the Power Group Enumeration Theorem (Harary and Palmer, 1965, 1966) the entire problem can be handled routinely. The method involves a confrontation of several different operations on permutation groups. To set the stage, we enumerate ordered pairs of functions with respect to the product of two power groups. Finite automata are then concisely defined as certain ordered pah's of functions. We review the enumeration of automata in the natural setting of the power group, and then extend this result to enumerate automata with initial and terminal states. I. ENUMERATION THEOREM For completeness we require a number of definitions, which are now given. Let A be a permutation group of order m = ]A I and degree d acting on the set X = Ix1, x~, -.. , xa}. The cycle index of A, denoted Z(A), is defined as follows. Let jk(a) be the number of cycles of length k in the disjoint cycle decomposition of any permutation a in A. Let al, a2, ... , aa be variables. Then the cycle index, which is a poly- nomial in the variables a~, is given by d Z(A) = 1_ ~ H ~,~(°~ . (1) ~$ a EA k=l We sometimes write Z(A; al, as, ..
    [Show full text]
  • Formal Construction of a Set Theory in Coq
    Saarland University Faculty of Natural Sciences and Technology I Department of Computer Science Masters Thesis Formal Construction of a Set Theory in Coq submitted by Jonas Kaiser on November 23, 2012 Supervisor Prof. Dr. Gert Smolka Advisor Dr. Chad E. Brown Reviewers Prof. Dr. Gert Smolka Dr. Chad E. Brown Eidesstattliche Erklarung¨ Ich erklare¨ hiermit an Eides Statt, dass ich die vorliegende Arbeit selbststandig¨ verfasst und keine anderen als die angegebenen Quellen und Hilfsmittel verwendet habe. Statement in Lieu of an Oath I hereby confirm that I have written this thesis on my own and that I have not used any other media or materials than the ones referred to in this thesis. Einverstandniserkl¨ arung¨ Ich bin damit einverstanden, dass meine (bestandene) Arbeit in beiden Versionen in die Bibliothek der Informatik aufgenommen und damit vero¨ffentlicht wird. Declaration of Consent I agree to make both versions of my thesis (with a passing grade) accessible to the public by having them added to the library of the Computer Science Department. Saarbrucken,¨ (Datum/Date) (Unterschrift/Signature) iii Acknowledgements First of all I would like to express my sincerest gratitude towards my advisor, Chad Brown, who supported me throughout this work. His extensive knowledge and insights opened my eyes to the beauty of axiomatic set theory and foundational mathematics. We spent many hours discussing the minute details of the various constructions and he taught me the importance of mathematical rigour. Equally important was the support of my supervisor, Prof. Smolka, who first introduced me to the topic and was there whenever a question arose.
    [Show full text]
  • Equivalents to the Axiom of Choice and Their Uses A
    EQUIVALENTS TO THE AXIOM OF CHOICE AND THEIR USES A Thesis Presented to The Faculty of the Department of Mathematics California State University, Los Angeles In Partial Fulfillment of the Requirements for the Degree Master of Science in Mathematics By James Szufu Yang c 2015 James Szufu Yang ALL RIGHTS RESERVED ii The thesis of James Szufu Yang is approved. Mike Krebs, Ph.D. Kristin Webster, Ph.D. Michael Hoffman, Ph.D., Committee Chair Grant Fraser, Ph.D., Department Chair California State University, Los Angeles June 2015 iii ABSTRACT Equivalents to the Axiom of Choice and Their Uses By James Szufu Yang In set theory, the Axiom of Choice (AC) was formulated in 1904 by Ernst Zermelo. It is an addition to the older Zermelo-Fraenkel (ZF) set theory. We call it Zermelo-Fraenkel set theory with the Axiom of Choice and abbreviate it as ZFC. This paper starts with an introduction to the foundations of ZFC set the- ory, which includes the Zermelo-Fraenkel axioms, partially ordered sets (posets), the Cartesian product, the Axiom of Choice, and their related proofs. It then intro- duces several equivalent forms of the Axiom of Choice and proves that they are all equivalent. In the end, equivalents to the Axiom of Choice are used to prove a few fundamental theorems in set theory, linear analysis, and abstract algebra. This paper is concluded by a brief review of the work in it, followed by a few points of interest for further study in mathematics and/or set theory. iv ACKNOWLEDGMENTS Between the two department requirements to complete a master's degree in mathematics − the comprehensive exams and a thesis, I really wanted to experience doing a research and writing a serious academic paper.
    [Show full text]
  • Axioms of Set Theory and Equivalents of Axiom of Choice Farighon Abdul Rahim Boise State University, [email protected]
    Boise State University ScholarWorks Mathematics Undergraduate Theses Department of Mathematics 5-2014 Axioms of Set Theory and Equivalents of Axiom of Choice Farighon Abdul Rahim Boise State University, [email protected] Follow this and additional works at: http://scholarworks.boisestate.edu/ math_undergraduate_theses Part of the Set Theory Commons Recommended Citation Rahim, Farighon Abdul, "Axioms of Set Theory and Equivalents of Axiom of Choice" (2014). Mathematics Undergraduate Theses. Paper 1. Axioms of Set Theory and Equivalents of Axiom of Choice Farighon Abdul Rahim Advisor: Samuel Coskey Boise State University May 2014 1 Introduction Sets are all around us. A bag of potato chips, for instance, is a set containing certain number of individual chip’s that are its elements. University is another example of a set with students as its elements. By elements, we mean members. But sets should not be confused as to what they really are. A daughter of a blacksmith is an element of a set that contains her mother, father, and her siblings. Then this set is an element of a set that contains all the other families that live in the nearby town. So a set itself can be an element of a bigger set. In mathematics, axiom is defined to be a rule or a statement that is accepted to be true regardless of having to prove it. In a sense, axioms are self evident. In set theory, we deal with sets. Each time we state an axiom, we will do so by considering sets. Example of the set containing the blacksmith family might make it seem as if sets are finite.
    [Show full text]
  • Notes on Sets, Relations, and Functions
    Sets, Relations, and Functions S. F. Ellermeyer May 15, 2003 Abstract We give definitions of the concepts of Set, Relation, and Function, andlookatsomeexamples. 1Sets A set is a well—defined collection of objects. An example of a set is the set, A,defined by A = 1, 2, 5, 10 . { } The set A has four members (also called elements). The members of A are the numbers 1, 2, 5, and 10. Another example of a set is the set, B,defined by B = Arkansas, Hawaii, Michigan . { } The set B hasthreemembers—thestatesArkansas,Hawaii,andMichi- gan. In this course, we will restrict our attention to sets whose members are real numbers or ordered pairs of real numbers. An example of a set whose members are ordered pairs of real numbers is the set, C,defined by C = (6, 8) , ( 4, 7) , (5, 1) , (10, 10) . { − − } Note that the set C has four members. When describing a set, we never list any of its members more than once. Thus, the set 1, 2, 5, 5, 10 isthesameastheset 1, 2, 5, 10 . Actually, it is { } { } 1 not even correct to write this set as 1, 2, 5, 5, 10 because, in doing so, we are listing one of the members more than{ once. } If an object, x, is a member of a set, A,thenwewrite x A. ∈ This notation is read as “x is a member of A”, or as “x is an element of A” or as “x belongs to A”. If the object, x, is not a member of the set A,then we write x/A.
    [Show full text]
  • ALGEBRA II 6.1 Mathematical Functions
    Page 1 of 7 ALGEBRA II 6.1 mathematical functions: In mathematics, a function[1] is a relation between a set of inputs and a set of permissible outputs with the property that each input is related to exactly one output. An example is the function that relates each real number x to its square x2. The output of a function f corresponding to an input x is denoted by f(x) (read "f of x"). In this example, if the input is −3, then the output is 9, and we may write f(−3) = 9. The input variable(s) are sometimes referred to as the argument(s) of the function. Functions of various kinds are "the central objects of investigation"[2] in most fields of modern mathematics. There are many ways to describe or represent a function. Some functions may be defined by a formula or algorithm that tells how to compute the output for a given input. Others are given by a picture, called the graph of the function. In science, functions are sometimes defined by a table that gives the outputs for selected inputs. A function could be described implicitly, for example as the inverse to another function or as a solution of a differential equation. The input and output of a function can be expressed as an ordered pair, ordered so that the first element is the input (or tuple of inputs, if the function takes more than one input), and the second is the output. In the example above, f(x) = x2, we have the ordered pair (−3, 9).
    [Show full text]
  • Defining Sets
    Math 134 Honors Calculus Fall 2016 Handout 4: Sets All of mathematics uses set theory as an underlying foundation. Intuitively, a set is a collection of objects, considered as a whole. The objects that make up the set are called its elements or its members. The elements of a set may be any objects whatsoever, but for our purposes, they will usually be mathematical objects such as numbers, functions, or other sets. The notation x ∈ X means that the object x is an element of the set X. The words collection and family are synonyms for set. In rigorous axiomatic developments of set theory, the words set and element are taken as primitive undefined terms. (It would be very difficult to define the word “set” without using some word such as “collection,” which is essentially a synonym for “set.”) Instead of giving a general mathematical definition of what it means to be a set, or for an object to be an element of a set, mathematicians characterize each particular set by giving a precise definition of what it means for an object to be a element of that set—this is called the set’s membership criterion. The membership criterion for a set X is a statement of the form “x ∈ X ⇔ P (x),” where P (x) is some sentence that is true precisely for those objects x that are elements of X, and no others. For example, if Q is the set of all rational numbers, then the membership criterion for Q might be expressed as follows: x ∈ Q ⇔ x = p/q for some integers p and q with q 6= 0.
    [Show full text]
  • Sample Questions for Test One 1. Define the Ordered Pair〈A, B〉
    Sample Questions for Test One 1. Define the ordered pairha; bi and show that it is a set for any sets a and b. 2. Show that if fa; bg = hc; di, then either a = c and b = d, or a = d and b = c. 3. Write a formula φ(x; y) of set theory which states that y = fxg. 4. Show that the class fx : x2 = xg is not a set. 5. Show that the intersection T C is a set for any class C. 6. Show that the intersection of a class and a set is a set. 7. Define the direct product A × B of two sets A and B and show that it is a set. 8. Define the product ΠA and show that it is a set. 9. Show that the Axiom of Replacement implies the Axiom of Comprehension 10. Show that for any sets a and b, it is not possible that a 2 b and b 2 a. 11. Prove by induction on n that, for any n 2 ! and any n sets a1; : : : ; an, there exists a set containing exactly those n elements. Use only the Pair and Union axioms. 12. Show that for any sets A and B, P(A \ B) = P(A) \P(B). 13. Show that f4; 5; 6;::: g is a set. 14. Define a monotone operator Γ with least fixed point P = f2n : n 2 !g; you may assume that addition is defined. 15. Show that for any linear ordering ≤ on a finite set A, A contains a largest element.
    [Show full text]
  • Notation Systems and Recursive Ordered Fields 1 By
    COMPOSITIO MATHEMATICA YIANNIS N. MOSCHOVAKIS Notation systems and recursive ordered fields Compositio Mathematica, tome 17 (1965-1966), p. 40-71 <http://www.numdam.org/item?id=CM_1965-1966__17__40_0> © Foundation Compositio Mathematica, 1965-1966, tous droits réser- vés. L’accès aux archives de la revue « Compositio Mathematica » (http: //http://www.compositio.nl/) implique l’accord avec les conditions gé- nérales d’utilisation (http://www.numdam.org/conditions). Toute utili- sation commerciale ou impression systématique est constitutive d’une infraction pénale. Toute copie ou impression de ce fichier doit conte- nir la présente mention de copyright. Article numérisé dans le cadre du programme Numérisation de documents anciens mathématiques http://www.numdam.org/ Notation systems and recursive ordered fields 1 by Yiannis N. Moschovakis Introduction The field of real numbers may be introduced in one of two ways. In the so-called "constructive" or "genetic" method [6, p. 26], one defines the real numbers directly from the rational numbers as infinite decimals, Dedekind cuts, Cauchy sequences, nested interval sequences or some other similar objects. In the "axio- matic" or "postulational" method, on the other hand, one simply takes the real numbers to be any system of objects which satisfies the axioms for a "complete ordered field". (If we postulate "Cauchy-completeness" rather than "order-completeness", we must also require the field to be archimedean [4, Ch. II, Sec. s-io].) These two methods do not contradict each other, but are in fact complementary. The Dedekind construction furnishes an existence proof for the axiomatic approach. Similarly, the axio- matic characterization provides a certain justification for the seemingly arbitrary choice of any particular construction; for we can show that any two complete ordered fields are isomorphic [4, Ch.
    [Show full text]
  • SET THEORY for CATEGORY THEORY 3 the Category Is Well-Powered, Meaning That Each Object Has Only a Set of Iso- Morphism Classes of Subobjects
    SET THEORY FOR CATEGORY THEORY MICHAEL A. SHULMAN Abstract. Questions of set-theoretic size play an essential role in category theory, especially the distinction between sets and proper classes (or small sets and large sets). There are many different ways to formalize this, and which choice is made can have noticeable effects on what categorical constructions are permissible. In this expository paper we summarize and compare a num- ber of such “set-theoretic foundations for category theory,” and describe their implications for the everyday use of category theory. We assume the reader has some basic knowledge of category theory, but little or no prior experience with formal logic or set theory. 1. Introduction Since its earliest days, category theory has had to deal with set-theoretic ques- tions. This is because unlike in most fields of mathematics outside of set theory, questions of size play an essential role in category theory. A good example is Freyd’s Special Adjoint Functor Theorem: a functor from a complete, locally small, and well-powered category with a cogenerating set to a locally small category has a left adjoint if and only if it preserves small limits. This is always one of the first results I quote when people ask me “are there any real theorems in category theory?” So it is all the more striking that it involves in an essential way notions like ‘locally small’, ‘small limits’, and ‘cogenerating set’ which refer explicitly to the difference between sets and proper classes (or between small sets and large sets). Despite this, in my experience there is a certain amount of confusion among users and students of category theory about its foundations, and in particular about what constructions on large categories are or are not possible.
    [Show full text]
  • Creativity and Effective Inseparability
    CREATIVITY AND EFFECTIVE INSEPARABILITY BY RAYMOND M. SMULLYAN(i) Introduction. Our terminology is from [1]. We consider the collection of all r.e. (recursively enumerable) sets arranged in an effective sequence co1,co2,--•,«;,••• as in the Post-Kleene enumeration, i.e.,cü¡ is the set of all numbers satisfying the condition (3y)T1(i,x, y), where 7\(z,x,y) is the Kleene predicate (cf. [2]). A number set a. is called productive iff there exists a recursive function f(x) (called a productive function for a) such that for every number i, if co¡ çz a then/(i) ea —ca¡. A number set a is called creative iff a is r.e. and the complement ä of a is productive. A disjoint pair (a, ß) of number sets is called recursively inseparable (abbreviated "R.I.") iff there exists no recursive superset of a which is disjoint from p\The pair (a, y5)is effectively inseparable (abbreviated "E. I.") iff there is a recursive function ô(x,y)—called an E.I. function for the pair a, ß—such that for every disjoint pair (co^coj) of respective r.e. supersets of (<x,ß), the number ö(i,j) is outside both ttj¡ and coj. It has been independently shown by Trahtenbrat and by Tennenbaum that there exists an R.I. pair (a,/?) of r.e. sets which is not E.I. In this paper we obtain some new characterizations of creativity and effective inseparability (as well as some closely allied notions) which seem surprisingly weak. These results are in some respects stronger than those obtained in [1].
    [Show full text]
  • Mathematical Background
    Appendix A Mathematical Background In this appendix, we review the basic notions, concepts and facts of logic, set theory, algebra, analysis, and formal language theory that are used throughout this book. For further details see, for example, [105, 134, 138] for logic, [61, 56, 88] for set theory, [40, 74, 119] for algebra, [51] for formal languages, and [77, 142] for mathematical analysis. Propositional Calculus P Syntax • An expression of P is a finite sequence of symbols. Each symbol denotes either an individ- ual constant or an individual variable, or it is a logic connective or a parenthesis. Individual constants are denoted by a,b,c,... (possibly indexed). Individual variables are denoted by x,y,z,... (possibly indexed). Logic connectives are ∨,∧,⇒,⇔ and ¬; they are called the dis- junction, conjunction, implication, equivalence, and negation, respectively. Punctuation marks are parentheses. • Not every expression of P is well-formed. An expression of P is well formed if it is either 1) an individual-constant or individual-variable symbol, or 2) one of the expressions F ∨ G, F ∧ G, F ⇒ G, F ⇔ G, and ¬F, where F and G are well-formed expressions of P. A well-formed expression of P is called a sentence. Semantic • The intended meanings of the logic connectives are: “or” (∨), “and” (∧), “implies” (⇒), “if and only if” (⇔), “not” (¬). • Let {,,⊥} be a set. The elements , and ⊥ are called logic values and stand for “true” and “false,” respectively. Often, 1 and 0 are used instead of , and ⊥, respectively. • Any sentence has either the truth value , or ⊥. A sentence is said to be true if its truth value is ,, and false if its truth value is ⊥.
    [Show full text]