Topology 01: Set Theory and Logic

Total Page:16

File Type:pdf, Size:1020Kb

Topology 01: Set Theory and Logic Topology 01: Set Theory and Logic Lingerois Shanghai Jiao Tong University Update: January 10, 2020 1 Preliminarys of Set Theory We skip naive set theory, one could refer to the book for a review. We introduce a term for set theory. We say set A and B intersects if A \ B , ;. Note Vacuously True: If p is false, for any q, p ) q is always true. We say this kind of proposition is vacuously true. One can comprehend the truth of p ) q by using the notion of set theory. Let A = fxjp¹xº = 1g, and B = fxjq¹xº = 1g, then p¹xº ) q¹xº is saying that if x 2 A then x 2 B, which is equal to A ⊂ B. For x < A (equal to p¹xº = 0), of course x < B (equal to q¹xº = 0). Proposition 1.1 p ) q is equal to :q ) p. Proof. The only case that p ) q is false is when p is true and q is false, which implies :q ):p is false. A similar argument can prove :q ):p is true then p ) q is true. Theorem 1.2 DeMorgan’s Law A − ¹B [ Cº = ¹A − Bº [ ¹A − Cº A − ¹B \ Cº = ¹A − Bº \ ¹A − Cº The set of sets is called collection, denoted by A; B; ··· . The collection of all the subsets of A is called the power set, denoted by P¹Aº. We define the the union and intersection of all sets in A. For given A, the union of elements in A is defined as Ø A = fxj9A 2 A; x 2 Ag A2A And the intersection of A’s elements is defined as Ù A = fxjxg A2A A problem here is what if A = ;? One can prove that the union is still well defined if A =. But for the intersection, "8A 2 A; x 2 A" is vacuously true for any X. Therefore we don’t define the intersection of empty A. We skip the discuss of naive Cartesian product. 2 Function We define the function f : A ! B as a subset of C × D. We define it like this to circumvent the vague description of "corresponding". Definition 2.1 A rule of assignment is a subset r of C × D, where for any ¹a; bº;¹a; b0º 2 r, we have b = b0. The definition is saying that r can only contain at most one element ¹a; bº for any a 2 C. We say C is the domain of r; 2 D is the codomain of r; fbj9¹a; bº 2 rg ⊂ D is the range of r, which is also called the image set of r. Remark We don’t use the term "range" for B of f : A ! B, otherwise, we use "codomain" to keep in line with other notes. Definition 2.2 A function f is a rule of assignment r, together with a domain B that contains the image set of r. The domain of r is called the domain of f , the image set of r is called the image set of f . B is called the codomain of f . Definition 2.3 For functions f : A ! B and g : B ! C, the composition of f and g, denoted by f ◦ g, is a function f ◦ g : A ! C, defined as ¹ f ◦ gº¹aº = f ¹g¹aºº. We skip the definition of injection, surjection and bijection, by shown them by fig.1. (a) injection (b) surjection (c) bijection (d) not an injection, nor a surjection Figure 1: Compare of Functions Remark We use "injective", "surjective" and "bijective" for adjectives. We never use ambiguous words like "one-to-one" and "onto". Some notions are used frequently. For function f : X ! Y, let A ⊂ X and B ⊂ Y, we define The image of A as f ¹Aº = f f ¹xºjx 2 Ag; The preimage of B as f −1¹Bº = fxj f ¹xº 2 Bg. 3 By defining them, we have Proposition 2.4 We have the following holds: 1. x 2 f −1¹Bº () f ¹xº 2 B; 2. f −1¹ f ¹Aºº ⊂ A; 3. f ¹ f −1º¹Bº ⊃ B; 4. f ¹A \ Bº ⊂ f ¹Aº \ f ¹Bº. We illustrate the possible non-equality of 2. and 3. by fig.2. (a) f −1¹f ¹Aºº ( A (b) f ¹f −1º¹Bº ) B Figure 2: Compare of Functions 3 Relation Definition 3.1 A relation on a set A is a subset C of A × A. 3.1 Equivalence Relation We skip the definition of equivalence relation and partition. Note When we defines equivalence class and partition, we never says the equivalence classes C of some relation C on A is an partition of A. This fact is true, but one has to prove it. To prove this, one has to show that (1) every x 2 A lies in some C 2 C; (2) any x 2 A never lies in two distinct classes C1;C2 2 C. 4 3.2 Order Definition 3.2 An order relation (or simple order, linear order) C of set A is a relation that satiesfy the follows: 1. For any x; y 2 A such that x , y, we have x ∼ y or y ∼ x; 2. There exists no x 2 A such that x ∼ x; 3. If x ∼ y and y ∼ z, then x ∼ z. The order relation of a set is saying that one can line up the elements of A by a thread, in the order of the order relation. We often use "<" instead of "∼" to denote the relations in an order relation. Note There’s no parlance of "strict simple order" or "non-strict simple order". A simple order never includes x ∼ x for any x 2 A. The notion x ≤ y means one of the following two statements holds: x and y are different elements in A and x < y; x and y are different notions of the same elements in A. Definition 3.3 For a set X, let < be the simple order on X. For a < b, we denote fxja < x < bg as ¹a; bº, and we say it is a open interval. If ¹a; bº is empty, we say b is the immediate successor of a. Definition 3.4 For set A and B has simple order <A and <B correspondingly. We say A; B has the same order type if there exists an bijection f : A ! B such that a1 <A a2 ) f ¹a1º <B f ¹a2º As for A; B with simple order, we can define a simple order for A × B. Definition 3.5 For set A and B has simple order <A and <B correspondingly. Define the simple order < on A × B: when a1 <A a2 or when a1 = a2 and b1 <B b2, ¹a1; b1º < ¹a2; b2º We say it is the dictionary order relation. 5 3.3 Least Upper Bound Property We now discuss least upper bound property, which is a amazing as well as useful property used frequently in analysis. Let’s define something first. Definition 3.6 Let A be a set with simple order <. Let A0 be a subset of A. We say b is the largest element in A0 if b0 2 A0 and for any x 2 A0 it holds that x ≤ b0. Similarly, we say b is the smallest element in A0 if for any x 2 A0 it holds that b ≤ x. Remark In fact the names with "largest" and "smallest" are quite straightforward since we use "maximum" and "minimal" more often. Definition 3.7 We say A0 ⊂ A is bounded above if there exists b 2 A such that for all x 2 A0 it holds that x ≤ b; We say b is a upper bound of A0. If there’s a smallest element in the collection of the upper bounds of A, we say it is the least upper bound (or supremum) of A0, denoted by sup A0. Similarly, one could define bounded below, lower bound, greatest lower bound. Definition 3.8 We say a set A with simple order has least upper bound property if for all its nonempty subset A0, if A0 has an upper bound, it has least upper bound. Similarly, we cound define greatesst lower bound property. Notice that discussing all (from the start of section 3.3) these concepts is significant only if the order is specified. The simple order can be omitted if there’s no ambiguity. An amazing of the previous definition is that the least upper bound property and the greatest lower bound property is exactly the same property. Theorem 3.9 Ordered set A has least upper bound property if and only if it has greatest lower bound property. We postpone the proof of theorem 3.9 in the notes of Mathematical Analysis. 6 4 Integers and Real Numbers We skip the definition of binary operations. Definition 4.1 A set R we called real numbers, is a field (with addition + and multiplication ·), with a simple order < and the following properties (assuming x; y 2 R): 1. If x > y, then x + z > y + z; 2. If x > y and z > 0, then x · z > y · z; 3. Simple order > has least upper bound property; 4. If x < y, there exists z 2 R such that x < z < y. We say a field is an ordered field if it satisfies properties 1. and 2.. We say a set with simple order is an linear continuum if it satisfies properties 3. and 4.. Note we don’t prove such R exists, since it is too complex.
Recommended publications
  • On Properties of Families of Sets Lecture 2
    On properties of families of sets Lecture 2 Lajos Soukup Alfréd Rényi Institute of Mathematics Hungarian Academy of Sciences http://www.renyi.hu/∼soukup 7th Young Set Theory Workshop Recapitulation Recapitulation Definition: A family A⊂P(X) has property B iff χ(A)= 2, where the chromatic number of A is defined as follows: χ(A)=min{λ | ∃f : X → λ ∀A ∈ A |f [A]|≥ 2}. Recapitulation Definition: A family A⊂P(X) has property B iff χ(A)= 2, where the chromatic number of A is defined as follows: χ(A)=min{λ | ∃f : X → λ ∀A ∈ A |f [A]|≥ 2}. Theorem (E. W. Miller, 1937) ω There is an almost disjoint A⊂ ω with χ(A)= ω. Recapitulation Definition: A family A⊂P(X) has property B iff χ(A)= 2, where the chromatic number of A is defined as follows: χ(A)=min{λ | ∃f : X → λ ∀A ∈ A |f [A]|≥ 2}. Theorem (E. W. Miller, 1937) ω There is an almost disjoint A⊂ ω with χ(A)= ω. Theorem (Gy. Elekes, Gy Hoffman, 1973) ω For all infinite cardinal κ there is an almost disjoint A⊂ X with χ(A) ≥ κ. Recapitulation Definition: A family A⊂P(X) has property B iff χ(A)= 2, where the chromatic number of A is defined as follows: χ(A)=min{λ | ∃f : X → λ ∀A ∈ A |f [A]|≥ 2}. Theorem (E. W. Miller, 1937) ω There is an almost disjoint A⊂ ω with χ(A)= ω. Theorem (Gy. Elekes, Gy Hoffman, 1973) ω For all infinite cardinal κ there is an almost disjoint A⊂ X with χ(A) ≥ κ.
    [Show full text]
  • Some Intersection Theorems for Ordered Sets and Graphs
    IOURNAL OF COMBINATORIAL THEORY, Series A 43, 23-37 (1986) Some Intersection Theorems for Ordered Sets and Graphs F. R. K. CHUNG* AND R. L. GRAHAM AT&T Bell Laboratories, Murray Hill, New Jersey 07974 and *Bell Communications Research, Morristown, New Jersey P. FRANKL C.N.R.S., Paris, France AND J. B. SHEARER' Universify of California, Berkeley, California Communicated by the Managing Editors Received May 22, 1984 A classical topic in combinatorics is the study of problems of the following type: What are the maximum families F of subsets of a finite set with the property that the intersection of any two sets in the family satisfies some specified condition? Typical restrictions on the intersections F n F of any F and F’ in F are: (i) FnF’# 0, where all FEF have k elements (Erdos, Ko, and Rado (1961)). (ii) IFn F’I > j (Katona (1964)). In this paper, we consider the following general question: For a given family B of subsets of [n] = { 1, 2,..., n}, what is the largest family F of subsets of [n] satsifying F,F’EF-FnFzB for some BE B. Of particular interest are those B for which the maximum families consist of so- called “kernel systems,” i.e., the family of all supersets of some fixed set in B. For example, we show that the set of all (cyclic) translates of a block of consecutive integers in [n] is such a family. It turns out rather unexpectedly that many of the results we obtain here depend strongly on properties of the well-known entropy function (from information theory).
    [Show full text]
  • Self-Organizing Tuple Reconstruction in Column-Stores
    Self-organizing Tuple Reconstruction in Column-stores Stratos Idreos Martin L. Kersten Stefan Manegold CWI Amsterdam CWI Amsterdam CWI Amsterdam The Netherlands The Netherlands The Netherlands [email protected] [email protected] [email protected] ABSTRACT 1. INTRODUCTION Column-stores gained popularity as a promising physical de- A prime feature of column-stores is to provide improved sign alternative. Each attribute of a relation is physically performance over row-stores in the case that workloads re- stored as a separate column allowing queries to load only quire only a few attributes of wide tables at a time. Each the required attributes. The overhead incurred is on-the-fly relation R is physically stored as a set of columns; one col- tuple reconstruction for multi-attribute queries. Each tu- umn for each attribute of R. This way, a query needs to load ple reconstruction is a join of two columns based on tuple only the required attributes from each relevant relation. IDs, making it a significant cost component. The ultimate This happens at the expense of requiring explicit (partial) physical design is to have multiple presorted copies of each tuple reconstruction in case multiple attributes are required. base table such that tuples are already appropriately orga- Each tuple reconstruction is a join between two columns nized in multiple different orders across the various columns. based on tuple IDs/positions and becomes a significant cost This requires the ability to predict the workload, idle time component in column-stores especially for multi-attribute to prepare, and infrequent updates. queries [2, 6, 10].
    [Show full text]
  • On Free Products of N-Tuple Semigroups
    n-tuple semigroups Anatolii Zhuchok Luhansk Taras Shevchenko National University Starobilsk, Ukraine E-mail: [email protected] Anatolii Zhuchok Plan 1. Introduction 2. Examples of n-tuple semigroups and the independence of axioms 3. Free n-tuple semigroups 4. Free products of n-tuple semigroups 5. References Anatolii Zhuchok 1. Introduction The notion of an n-tuple algebra of associative type was introduced in [1] in connection with an attempt to obtain an analogue of the Chevalley construction for modular Lie algebras of Cartan type. This notion is based on the notion of an n-tuple semigroup. Recall that a nonempty set G is called an n-tuple semigroup [1], if it is endowed with n binary operations, denoted by 1 ; 2 ; :::; n , which satisfy the following axioms: (x r y) s z = x r (y s z) for any x; y; z 2 G and r; s 2 f1; 2; :::; ng. The class of all n-tuple semigroups is rather wide and contains, in particular, the class of all semigroups, the class of all commutative trioids (see, for example, [2, 3]) and the class of all commutative dimonoids (see, for example, [4, 5]). Anatolii Zhuchok 2-tuple semigroups, causing the greatest interest from the point of view of applications, occupy a special place among n-tuple semigroups. So, 2-tuple semigroups are closely connected with the notion of an interassociative semigroup (see, for example, [6, 7]). Moreover, 2-tuple semigroups, satisfying some additional identities, form so-called restrictive bisemigroups, considered earlier in the works of B. M. Schein (see, for example, [8, 9]).
    [Show full text]
  • Order Types and Structure of Orders
    ORDER TYPES AND STRUCTURE OF ORDERS BY ANDRE GLEYZALp) 1. Introduction. This paper is concerned with operations on order types or order properties a and the construction of order types related to a. The reference throughout is to simply or linearly ordered sets, and we shall speak of a as either property or type. Let a and ß be any two order types. An order A will be said to be of type aß if it is the sum of /3-orders (orders of type ß) over an a-order; i.e., if A permits of decomposition into nonoverlapping seg- ments each of order type ß, the segments themselves forming an order of type a. We have thus associated with every pair of order types a and ß the product order type aß. The definition of product for order types automatically associates with every order type a the order types aa = a2, aa2 = a3, ■ ■ ■ . We may further- more define, for all ordinals X, a Xth power of a, a\ and finally a limit order type a1. This order type has certain interesting properties. It has closure with respect to the product operation, for the sum of ar-orders over an a7-order is an a'-order, i.e., a'al = aI. For this reason we call a1 iterative. In general, we term an order type ß having the property that ßß = ß iterative, a1 has the following postulational identification: 1. a7 is a supertype of a; that is to say, all a-orders are a7-orders. 2. a1 is iterative.
    [Show full text]
  • Families of Sets and Extended Operations Families of Sets
    Families of Sets and Extended Operations Families of Sets When dealing with sets whose elements are themselves sets it is fairly common practice to refer to them as families of sets, however this is not a definition. In fact, technically, a family of sets need not be a set, because we allow repeated elements, so a family is a multiset. However, we do require that when repeated elements appear they are distinguishable. F = {A , A , A , A } with A = {a,b,c}, A ={a}, A = {a,d} and 1 2 3 4 1 2 3 A = {a} is a family of sets. 4 Extended Union and Intersection Let F be a family of sets. Then we define: The union over F by: ∪ A={x :∃ A∈F x∈A}= {x :∃ A A∈F∧x∈A} A∈F and the intersection over F by: ∩ A = {x :∀ A∈F x∈A}= {x :∀ A A∈F ⇒ x∈A}. A∈F For example, with F = {A , A , A , A } where A = {a,b,c}, 1 2 3 4 1 A ={a}, A = {a,d} and A = {a} we have: 2 3 4 ∪ A = {a ,b , c , d } and ∩ A = {a}. A∈F A∈F Theorem 2.8 For each set B in a family F of sets, a) ∩ A ⊆ B A∈F b) B ⊆ ∪ A. A∈F Pf: a) Suppose x ∈ ∩ A, then ∀A ∈ F, x ∈ A. Since B ∈ F, we have x ∈ B. Thus, ∩ A ⊆ B. b) Now suppose y ∈ B. Since B ∈ F, y ∈ ∪ A. Thus, B ⊆ ∪ A. Caveat Care must be taken with the empty family F, i.e., the family containing no sets.
    [Show full text]
  • Handout from Today's Lecture
    MA532 Lecture Timothy Kohl Boston University April 23, 2020 Timothy Kohl (Boston University) MA532 Lecture April 23, 2020 1 / 26 Cardinal Arithmetic Recall that one may define addition and multiplication of ordinals α = ot(A, A) β = ot(B, B ) α + β and α · β by constructing order relations on A ∪ B and B × A. For cardinal numbers the foundations are somewhat similar, but also somewhat simpler since one need not refer to orderings. Definition For sets A, B where |A| = α and |B| = β then α + β = |(A × {0}) ∪ (B × {1})|. Timothy Kohl (Boston University) MA532 Lecture April 23, 2020 2 / 26 The curious part of the definition is the two sets A × {0} and B × {1} which can be viewed as subsets of the direct product (A ∪ B) × {0, 1} which basically allows us to add |A| and |B|, in particular since, in the usual formula for the size of the union of two sets |A ∪ B| = |A| + |B| − |A ∩ B| which in this case is bypassed since, by construction, (A × {0}) ∩ (B × {1})= ∅ regardless of the nature of A ∩ B. Timothy Kohl (Boston University) MA532 Lecture April 23, 2020 3 / 26 Definition For sets A, B where |A| = α and |B| = β then α · β = |A × B|. One immediate consequence of these definitions is the following. Proposition If m, n are finite ordinals, then as cardinals one has |m| + |n| = |m + n|, (where the addition on the right is ordinal addition in ω) meaning that ordinal addition and cardinal addition agree. Proof. The simplest proof of this is to define a bijection f : (m × {0}) ∪ (n × {1}) → m + n by f (hr, 0i)= r for r ∈ m and f (hs, 1i)= m + s for s ∈ n.
    [Show full text]
  • Infinite Sets
    “mcs-ftl” — 2010/9/8 — 0:40 — page 379 — #385 13 Infinite Sets So you might be wondering how much is there to say about an infinite set other than, well, it has an infinite number of elements. Of course, an infinite set does have an infinite number of elements, but it turns out that not all infinite sets have the same size—some are bigger than others! And, understanding infinity is not as easy as you might think. Some of the toughest questions in mathematics involve infinite sets. Why should you care? Indeed, isn’t computer science only about finite sets? Not exactly. For example, we deal with the set of natural numbers N all the time and it is an infinite set. In fact, that is why we have induction: to reason about predicates over N. Infinite sets are also important in Part IV of the text when we talk about random variables over potentially infinite sample spaces. So sit back and open your mind for a few moments while we take a very brief look at infinity. 13.1 Injections, Surjections, and Bijections We know from Theorem 7.2.1 that if there is an injection or surjection between two finite sets, then we can say something about the relative sizes of the two sets. The same is true for infinite sets. In fact, relations are the primary tool for determining the relative size of infinite sets. Definition 13.1.1. Given any two sets A and B, we say that A surj B iff there is a surjection from A to B, A inj B iff there is an injection from A to B, A bij B iff there is a bijection between A and B, and A strict B iff there is a surjection from A to B but there is no bijection from B to A.
    [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]
  • 17 Axiom of Choice
    Math 361 Axiom of Choice 17 Axiom of Choice De¯nition 17.1. Let be a nonempty set of nonempty sets. Then a choice function for is a function f sucFh that f(S) S for all S . F 2 2 F Example 17.2. Let = (N)r . Then we can de¯ne a choice function f by F P f;g f(S) = the least element of S: Example 17.3. Let = (Z)r . Then we can de¯ne a choice function f by F P f;g f(S) = ²n where n = min z z S and, if n = 0, ² = min z= z z = n; z S . fj j j 2 g 6 f j j j j j 2 g Example 17.4. Let = (Q)r . Then we can de¯ne a choice function f as follows. F P f;g Let g : Q N be an injection. Then ! f(S) = q where g(q) = min g(r) r S . f j 2 g Example 17.5. Let = (R)r . Then it is impossible to explicitly de¯ne a choice function for . F P f;g F Axiom 17.6 (Axiom of Choice (AC)). For every set of nonempty sets, there exists a function f such that f(S) S for all S . F 2 2 F We say that f is a choice function for . F Theorem 17.7 (AC). If A; B are non-empty sets, then the following are equivalent: (a) A B ¹ (b) There exists a surjection g : B A. ! Proof. (a) (b) Suppose that A B.
    [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]
  • Types for Describing Coordinated Data Structures
    Types for Describing Coordinated Data Structures Michael F. Ringenburg∗ Dan Grossman [email protected] [email protected] Dept. of Computer Science & Engineering University of Washington, Seattle, WA 98195 ABSTRACT the n-th function). This section motivates why such invari- Coordinated data structures are sets of (perhaps unbounded) ants are important, explores why the scope of type variables data structures where the nodes of each structure may share makes the problem appear daunting, and previews the rest abstract types with the corresponding nodes of the other of the paper. structures. For example, consider a list of arguments, and 1.1 Low-Level Type Systems a separate list of functions, where the n-th function of the Recent years have witnessed substantial work on powerful second list should be applied only to the n-th argument of type systems for safe, low-level languages. Standard moti- the first list. We can guarantee that this invariant is obeyed vation for such systems includes compiler debugging (gener- by coordinating the two lists, such that the type of the n-th ated code that does not type check implies a compiler error), argument is existentially quantified and identical to the ar- proof-carrying code (the type system encodes a safety prop- gument type of the n-th function. In this paper, we describe erty that the type-checker verifies), automated optimization a minimal set of features sufficient for a type system to sup- (an optimizer can exploit the type information), and manual port coordinated data structures. We also demonstrate that optimization (humans can use idioms unavailable in higher- two known type systems (Crary and Weirich’s LX [6] and level languages without sacrificing safety).
    [Show full text]