Topology in Denotational Semantics

Size: px
Start display at page:

Download "Topology in Denotational Semantics"

Transcription

1 Journées Topologie et Informatique Thomas Ehrhard Preuves, Programmes et Systèmes (PPS) Université Paris Diderot - Paris 7 and CNRS March 21, 2013

2 What is denotational semantics? The usual stateful approach to programming Most current programming languages are based on states. A program is a sequence of instructions (including while or goto instructions allowing for loops). An instruction induces a change of the state of the machine, and its behaviour depends on the state. Abstract models behind this approach: Turing machines, automata...

3 What is denotational semantics? The functional approach There is another approach, more in the spirit of recursion theory where programs are functions taking values to values. It is based on rewriting, does not require a machine (automaton) and has no notion of state.

4 What is denotational semantics? Pros conceptually simpler allows to write higher order programs (taking programs as arguments) direct connection with mathematical proof systems (Curry Howard) stateful extensions are possible, in an elegant way (monads). Cons computational complexity harder to evaluate some algorithms are more naturally expressed in a stateful model.

5 What is denotational semantics? A functional language: PCF The language Programming Computational Functions (PCF) has been introduce by Plotkin in It is Turing complete. One ground type ι of natural numbers. If σ and τ are types, then σ τ is a type. Example of types: ι, ι ι, ι (ι ι), (ι ι) ι. Any partial recursive function from N to N can be represented as a PCF term of type ι ι.

6 What is denotational semantics? Syntax and typing rules for PCF The language uses variables x,y,... Typing context: finite partial function Γ from variables to types. Typing judgement Γ M : σ means that the term M is of type σ when its variables have types specified by Γ. There is a set of deduction rules for deriving such judgements.

7 What is denotational semantics? For each natural number N, there is a constant which is a term of PCF: Each variable is a term Γ n : ι Γ,x : σ x : σ

8 What is denotational semantics? Successor, predecessor and conditional constructions Γ M : ι Γ succ(m) : ι Γ M : ι Γ pred(m) : ι Γ M : ι Γ P : σ Γ Q : σ Γ if(m,p,q) : σ

9 What is denotational semantics? PCF: the lambda-calculus constructs To define a function: Γ,x : σ M : τ Γ λx σ M : σ τ and to apply a function to an argument: Γ M : σ τ Γ N : σ Γ (M)N : τ

10 What is denotational semantics? PCF: the fixpoint operator The last construct is essential for Turing-completeness. Γ M : σ σ Γ fix(m) : σ

11 What is denotational semantics? PCF: operational semantics Until now, we have said nothing about the meaning of these terms, ie. on their computational behaviour. This operational semantics is specified by a rewriting system, defined by the following rules. succ(n) n+1 pred(0) 0 pred(n+1) n M M succ(m) succ(m ) M M pred(m) pred(m )

12 What is denotational semantics? The rewriting rules for conditionals: if(0,p,q) P if(n+1,p,q) Q M M if(m,p,q) if(m,p,q)

13 What is denotational semantics? The rewriting rules for the lambda-calculus fragment The main rule is β-reduction: (λx σ M)N M[N/x]

14 What is denotational semantics? Then we have to specify how to reduce in an abstraction or an application. M M λx σ M λx σ M P P and P is not of the shape λx σ M (P)N (P )N This last rule specifies that we have a call-by-name operational semantics.

15 What is denotational semantics? The last rule concerns fixpoints: fix(m) (M)fix(M) Fact For any term M, there is at most one rule which can apply for reducing it to a term M : the rewriting relation is a deterministic evaluation strategy on PCF terms. Easy to see by induction on M. The strategy can be implemented by means of an abstract machine (a stateful device).

16 What is denotational semantics? Subject reduction Reduction is compatible with typing. Fact If Γ M : σ and M M then Γ M : σ.

17 What is denotational semantics? Programming in PCF: an example We want to represent in PCF a total function f : N N N which computes the inf of two natural numbers: f(n,0) = n, f(0,m) = m and f(n+1,m +1) = 1+f(n,m). One defines a closed term F of type σ σ where σ = (ι (ι ι)) is the expected type for our function inf: F = λf σ λx ι λy ι if(x,y,if(y,x,((f)pred(x))pred(y))) and then inf = fix(f) is a closed term of type σ which has the expected behaviour.

18 What is denotational semantics? Computations at ground type ι A term M is normal if M M for no M (M cannot be reduced). And M is closed if it has no free variables (the notion of free variable is the same as in first order logic, considering λ as a binder). Fact If M is closed and normal and M : ι, then M = n for some n N.

19 What is denotational semantics? Turing completeness of PCF So if M : ι (M is closed), there are two possibilities: either M n (where n N is uniquely defined), notation M n or there is a uniquely defined sequence of terms (M i ) i N such that M 0 = M and M i M i+1 for each i, notation M.

20 What is denotational semantics? Theorem Let f : N N be a partial recursive function. There is a term M with M : ι ι such that, for any n,m N if f(n) = m then (M)n m and if f(n) is undefined then (M)n. The converse is obviously true (Church Thesis).

21 What is denotational semantics? Observational equivalence Let M and M be closed with M : σ and M : σ. We can say that M and M are equivalent if they produce the same results when used in the same environment. Definition M M if, for any closed term C with C : σ ι one has n N (C)M n (C)M n. This is a nice definition, but it is usually quite difficult to prove that two terms are equivalent. Denotational semantics is a convenient way of proving such equivalences.

22 Continuity and computability The Myhill Shepherdson Theorem Let P be the set of partial recursive functions N N. An effective operation is a partial function Φ : P N such that there is e N such that, for any n N The MS Theorem implies: Theorem Let Φ be an effective operation. Φ(ϕ n ) = ϕ e (n). If f g P, then Φ(f) = n Φ(g) = n. If Φ(f) = n then there is a finite function f 0 f such that Φ(f 0 ) = n.

23 Continuity and computability Let P be the set of all partial functions N N, so that P P. Any effective operation Φ : P N can be extended to a partial function Φ : P N setting n if there is f 0 f, f 0 finite Φ (f) = such that Φ(f 0 ) = n undefined otherwise

24 Continuity and computability Complete partial orders (cpos) A subset D of a partially ordered set (X, ) is directed if D is non empty and u 1,u 2 D u D u 1 u and u 2 u. Intuition: natural generalization of increasing sequences. NB: a finite directed set has a maximal element. (X, ) is a cpo if all directed subsets D of X have a least upper bound, denoted as D. (P, ) is a cpo, but (P, ) is not.

25 Continuity and computability Add to N a new element corresponding to the undefined computation: N = N { } endowed with the following order relation: u v if u = or u = v. N is (trivially) a cpo: directed sets in N have at most 2 elements! Then Φ is a total function P N which satisfies f g Φ (f) Φ (g) and if D P is directed then Φ ( D) = f D Φ (f).

26 Continuity and computability This observation is the starting point of denotational semantics (Dana Scott). Towards a Mathematical Semantics of Programming Languages, Dana Scott and Christopher Strachey, Even if they considered stateful programming languages, this paper settled the bases of the denotational semantics of functional languages. Stateful languages can be translated in functional languages (this syntactic transformation is also known as denotational semantics).

27 Continuity and computability Idea: interpret PCF types as cpos PCF terms as monotone and directed lub preserving functions. This does not work, because the category of ω-algebraic cpos and monotone and directed lubs preserving functions is not cartesian closed. However there are suitable subcategories which are cartesian closed. For instance, the category of Scott domains.

28 Continuity and computability A Scott domain is a cpo (X, ) which has a least element where each bounded subset has a lub where any element is the lub of its compact lower bounds (algebraicity) and which has at most countably many compact elements (ω-algebraicity). u X compact means that if D X is directed and u D, then v D u v. In some sense, a compact element is finite.

29 Continuity and computability Scott Topology Any cpo (X, ) has a natural topology for which U X is open if: u,v X (u v and u U) v U and for any D X directed, if D U then D U. Equivalently F X is closed if u,v X (u v and v F) u F and for any D X directed, if D F then D F.

30 Continuity and computability Scott domains are topological spaces Fact If (X, ) is a Scott domain, the Scott topology on X is T 0 and is the specialization order of the Scott topology. T 0 is the weakest form of separation: if u v there is an open set such that u U and v / U, or such that v U and u / U. The specialization order of a T 0 space is defined by: u v if any open set which contains u also contains v.

31 Continuity and computability Fact If (X, ) and (Y, ) are Scott domains and f : X Y, the two following conditions are equivalent f is continuous for the Scott topologies of X and Y f is monotone and preserves the lubs of all directed sets. This shows that the category of Scott domains and monotone and directed lubs preserving maps is a full subcategory of the category of topological spaces and continuous maps.

32 Continuity and computability Fact The category of Scott domains and Scott continuous functions is cartesian closed. If (X, ) and (Y, ) are Scott domains, then X Y equiped with the product order is a Scott domain and the projections are continuous the set X Y of Scott continuous function X Y, equiped with the pointwise order (f g if a X f(a) g(a)) is a Scott domain the evaluation map (X Y) X Y is Scott continuous.

33 Continuity and computability This fact is surprising because the category of topological spaces and continuous functions is not cartesian closed. It is probably related to the following very specific feature of Scott topology. Fact If (X, ), (Y, ) and (Z, ) are Scott domains, a function f : X Y Z is continuous as soon as it is separately continuous. NB: the Scott topology of X Y is the product topology of the Scott topologies of X and Y.

34 Continuity and computability Any Scott continuous function f : X X has a least fixpoint, namely n N f n ( ). (Indeed f( ) f 2 ( ) ). By cartesian closeness, the function (X X) X f n N f n ( ) is itself Scott continuous. This provides a direct interpretation of the fix(m) construction of PCF.

35 Continuity and computability With each type σ of PCF we can associate a Scott domain [σ]: [ι] = N [σ τ] = [σ] [τ]. and with any term M such that x 1 : σ 1,...,x n : σ n M : τ we can associate a continuous function [M] : [σ 1 ] [σ n ] [τ]. Theorem Soundness: if M M then [M] = [M ]. This interpretation is an invariant of the reduction.

36 Continuity and computability So in particular, if M : ι and M n, then [M] = n N = [ι]. The converse is also true. Theorem Adequacy: if M : ι and [M] = n, then M n. The proof uses a very powerful tool in the semantics of lambda-calculus: logical relations, introduced by Tait (reducibility).

37 Continuity and computability A logical relation The following idea is due to Plotkin. By induction on types one defines for each type σ a relation R σ between elements of [σ] and closed terms of type σ. n R ι M if n M n. f R σ τ M if, for all u [σ] and P such that P : σ, if u R σ P then f(u) R τ (M)P. By induction on terms one proves that if M : σ, then [M] R σ M. (One needs actually to prove a more complicated statement involving non closed terms). Adequacy follows. Main lemma: {u [σ] u R σ M} is Scott closed.

38 Continuity and computability A consequence of adequacy Theorem If M and M are closed of type σ, then [M] = [M ] M M. Indeed, let C : σ ι. If (C)M n then [(C)M] = n by soundness. But [(C)M] = [C]([M]) = [C]([M ]) = [(C)M ]. So [(C)M ] = n and hence (C)M n by adequacy.

39 Beyond Scott semantics Full abstraction is the converse property: M M [M] = [M ]. This property does not hold in Scott domains but is highly desirable because it means that the model provide an abstract and complete way of reasoning on programs.

40 Beyond Scott semantics The reason is that it contains non deterministic morphisms such as por : N N N { 0 if n = 0 or m = 0 (n,m) otherwise This function is Scott continuous.

41 Beyond Scott semantics Let Ω = fix(λx ι x), it is the everlooping program of type N (Ω (λx ι x)ω Ω...). One has [Ω] =. Consider λh ι (ι ι) Ω, also denoted as Ω, and port = λh ι (ι ι) if(((h)0)ω,if(((h)ω)0,0,ω),ω). then we have [Ω] [port] since [Ω](por) = and [port](por) = 0. But port Ω as we shall see. port: por taster.

42 Beyond Scott semantics The trouble with por: por(, ) = por(0,0) = 0 so that por needs its arguments to produce the result 0 from (0,0) but since por(0, ) = 0 and por(,0) = 0 it is impossible to say which are the arguments really used by the function to compute the result.

43 Beyond Scott semantics Say that f : X N is stable if f is Scott continuous if f(u) = n there is u 0 u such that f(u 0 ) = n and for any v u, if f(v) = n then u 0 v. u 0 is the part of u that f has used to produce the result n. por is not stable: take u = (0,0), there is no u 0 with the required property.

44 Beyond Scott semantics Coherence spaces One can build nice categories with stable functions as morphisms. However there is no topology for which continuity would be equivalent to stability. The simplest of these categories is that of coherence spaces and stable functions. A coherence space is a structure X = ( X, X) where X is a countable set and X is a binary reflexive and symmetric relation on X.

45 Beyond Scott semantics A clique of X is a subset u of X such that a,a x a X a. Ordered by, the cliques of X form a (very well-behaved) Scott domain. Let Cl(X) be this Scott domain. A function f : Cl(X) Cl(Y) is stable if it is Scott continuous and moreover u 1,u 2 Cl(X) u 1 u 2 Cl(X) f(u 1 u 2 ) = f(u 1 ) f(u 2 ).

46 Beyond Scott semantics Fact A function f : Cl(X) Cl(Y) is stable iff for all u Cl(X) and all b f(u) there exists u 0 u finite such that b f(u 0 ) and, for all u 1 u, if b f(u 1 ) then u 0 u 1. Theorem The category of coherence spaces and stable functions is cartesian closed and is a model of PCF. ι interpreted by the coherence space N such that N = N and n N m if n = m. Cl(N) is clearly isomorphic to N.

47 Beyond Scott semantics Moreover, this model satisfies the adequacy property. In this model [port] = = [Ω]. This shows that port Ω. The stable model is not fully abstract (there is a stable function N 3 N which is not definable in PCF and one can define a taster for this function).

48 Linear logic as an underlying structure Linear decomposition of stable functions A function f : Cl(X) Cl(Y) is linear if it is stable and commutes with all unions: u 1,u 2 Cl(X) u 1 u 2 Cl(X) f(u 1 u 2 ) = f(u 1 ) f(u 2 ).

49 Linear logic as an underlying structure Fact There is a canonical bijection between linear functions Cl(X) Cl(Y) and cliques of the coherence space X Y where X Y = X Y and (a,b) X Y (a,b ) if a X a b Y b b Y b a X a where a X a if a = a, or a X a does not hold.

50 Linear logic as an underlying structure If t Cl(X Y), the associated linear map f : Cl(X) Cl(Y) is defined by f(u) = {b Y a u and (a,b) t}. This suggests to define X by X = X and a 1 X a 2 if a 1 X a 2 so that X = X. Then X (X ) where is the one point coherence space. If one think of as the field (1-dimensional vector space), then X is the analogue of a linear dual of X. X Y by X Y = X Y and (a 1,b 1 ) X Y (a 2,b 2 ) if a 1 X a 2 and b 1 Y b 2. Then X Y = (X Y ).

51 Linear logic as an underlying structure We have a structure completely similar to that of the category of finite dimensional vector space and linear map, but less degenerated because here, it is not true that (X Y) X Y. Coherence spaces and stable functions form a cartesian closed category: we have a coherence space X Y with a canonical bijection between Cl(X Y) and stable functions Cl(X) Cl(Y).

52 Linear logic as an underlying structure Decomposition of implication Girard s observation: X Y =!X Y where!x is the set of all finite (multi)cliques of X and u 1!X u 2 if u 1 u 2 Cl(X). This led him to the introduction of a refinement of intuitionistic and classical logic: linear logic.

53 A vector space model of LL Since LL has a strong intuitive background of linear algebra, it was tempting to define models where formulae are interpreted as vector spaces. However, the construction!x will create infinite dimensional vector spaces, and therefore topology will come in naturally. It will be quite different from Scott topology.

54 A vector space model of LL A starting point: observe that if u Cl(X) and u Cl(X ) then u u has at most one element. Interpret u and u as {0,1}-valued vectors: the sum Σ a X u a u a has at most one non-zero term. Let us relax this condition by requiring u u to be finite so that the corresponding sum will only have a finite number of non-zero terms.

55 A vector space model of LL A typical LL definition Given a set I and a subset F or P(I), set Observe that F G G F F F. hence F = F. F = {u I u F u u finite}. This means that any set G which has been defined as F for some F will satisfy G = G.

56 A vector space model of LL A finiteness space is a structure X = ( X,F(X)) where X is a countable set and F(X) P( X ) satisfies F(X) = F(X). Similarity with coherence spaces: F(X) looks like a set of cliques. For instance: u 1 u 2 F(X) u 1 F(X). But there are big differences: u 1,u 2 F(X) u 1 u 2 F(X), whereas the union of two cliques is not a clique in general any finite subset of X belongs to F(X) F(X) is not closed under directed unions, whereas cliques are.

57 A vector space model of LL Let k be a field (no topological assumptions). Let k X be the set of all functions x : X k such that supp(x) = {a X x(a) 0} is an element of F(X). Since supp(x 1 +x 2 ) supp(x 1 ) supp(x 2 ) and supp(αx) supp(x) (for α k), Fact k X is a k-vector space.

58 A vector space model of LL Topology Let u F(X). Let V(u ) = {x k X supp(x) u = }. This is a linear subspace of k X. Observe that V(u 1 u 2 ) = V(u 1 ) V(u 2 ). Say that U k X is open if x U u F(X) x +V(u ) U. This defines a topology on k X which is T 2.

59 A vector space model of LL Fact For each u F(X), the space V(u ) is both open and closed. So k X is zero-dimensional (the x +V(u ) are a basis of clopen sets). Fact This topology is compatible with the linear structure (addition and scalar multiplication are continuous). We give k the discrete topology. Remark: when X is finite, k X = k X is finite dimensional and its topology is discrete.

60 A vector space model of LL Linearly topologized vector spaces The corresponding general notion of topological vector space has been introduced by S. Lefschetz in 1942: linearly topologized vector spaces (ltvs). They are a purely algebraic analogue of locally convex topological vector spaces (based on the topology of R or C).

61 A vector space model of LL Cauchy completeness A net is a family (x i ) i I of elements of k X where I is a directed ordered set. It converges to x k X if for all neighborhood U of 0 there exists i I such that x j x U for all j i. It is Cauchy if for all neighborhood U of 0 there exists i I such that x j x j U for all j,j i.

62 A vector space model of LL Theorem Any Cauchy net in k X converges: k X is Cauchy complete. The proof uses the fact that F(X) = F(X) in an essential way. Basic examples: N = (N,P fin (N)); indeed P fin (N) = P(N) and P(N) = P fin (N). Then k N = k (N), with the discrete topology. And k N = k N with the product topology (remember that k is discrete).

63 A vector space model of LL Matrix of a linear map Given a X define e a k X by (e a ) a = Let f : k X k Y be linear and continuous. { 1 if a = a 0 otherwise. Define the matrix of f as M(f) k X Y such that M(f) a,b = f(e a ) b.

64 A vector space model of LL Define X Y by X Y = X Y and F(X Y) = {u v u F(X) and v F(Y) } Theorem The operation f M(f) is a linear isomorphism between the space of linear and continuous maps k X k Y and k X Y.

65 A vector space model of LL Linear boundedness A linear subspace B of k X is linearly bounded if, for any open (and therefore closed) linear subspace U of k X, the image of B by the canonical projection k X k X /U is finite dimensional. Fact B is linearly bounded iff x B supp(x) F(X).

66 A vector space model of LL Theorem Let U be a set of linear and continuous maps k X k Y. The two following conditions are equivalent: {M(f) f U} is open in k X Y for each f U there exists a linearly bounded subspace B of k X and an open subspace V of k Y such that, for any linear and continuous g : k X k Y, if g(b) V then f +g U. This is the bounded-open topology.

67 A vector space model of LL Hypocontinuous bilinear functions A bilinear function k X 1 k X 2 k Y is hypocontinuous if: for any linearly bounded subspace B 1 of k X 1 and any neighborhood V of 0 in k Y, there is a neighborhood U 2 of 0 in k X 2 such that f(b 1 U 2 ) V and symmetrically. Warning: such a map is not necessarily continuous.

68 A vector space model of LL Tensor product X 1 X 2 is defined as X 1 X 2 = X 1 X 2 and F(X 1 X 2 ) = {u 1 u 2 u i F(X i ) for i = 1,2} Given x i k X i for i = 1,2, x 1 x 2 defined by (x 1 x 2 ) (a1,a 2 ) = (x 1 ) a1 (x 2 ) a2 belongs to k X 1 X 2. Theorem The map (x 1,x 2 ) x 1 x 2 is bilinear and hypocontinuous and is universal: for any Y and any hypocontinuous bilinear f : k X 1 k X 2 k Y, there is exactly one linear and continuous h : k X 1 X 2 k Y such that f(x 1,x 2 ) = h(x 1 x 2 ).

69 A vector space model of LL Remark: tensor and co-tensor do not coincide, (X Y) and X Y are not isomorphic in general.

70 A vector space model of LL Polynomial and entire functions A function f : k X k Y is polynomial if there are hypocontinuous multilinear maps f 0,f 1,...,f k with f i : k X i k Y such that f(x) = k f i (x,...,x) }{{} i i=0 They form a k-vector space that we can complete under the bounded-open topology to get a space (an ltvs actually) of entire functions k X k Y.

71 A vector space model of LL Theorem Assume k infinite. The ltvs of entire functions k X k Y equiped with the bounded-open topology is linearly homeomorphic to k (!X) Y where!x = M fin ( X ) and F(!X) = {M fin (u) u F(X)}.

72 A vector space model of LL Each p M fin ( X ) is a muti-exponent: given x k X, we define x p = a X xp(a) a k. Given M k (!X) Y we define an entire map k X k Y by for each b Y. f(x) b = p M fin ( X ) M p,b x p For each b, this sum is finite, but its number of non-zero terms is not bounded (when b varies).

73 A vector space model of LL Differentiation of entire functions An entire function f : k X k Y is not continuous in general. It can nevertheless be differentiated, one can define f : k X k (X Y) as an entire function. Iterating we have a nth derivative f (n) : k X k X n Y. The Taylor formula holds: f(x +y) = 1 n! f (n) (x)(y,...,y). }{{} n=0 This sum converges in the topology of k Y. n

74 A vector space model of LL The! construction introduces complicated topologies Theorem k X is metrizable iff there is a countable subset F of F(X) such that u F(X) v F u v. Fact Let 1 be the finiteness space with 1 = { }, so that k 1 = k. The space k (!(!1 1) 1) is not metrizable.

75 A vector space model of LL k!1 1 is the space of polynomials, with the discrete topology (isomorphic to k (N) ). k!(!1 1) 1 contains infinite objects such as the operations which maps a polynomial P to P(P(0)): n α i X i i=0 n α i α i 0 i=0

76 A vector space model of LL Conclusion The category of entire functions is cartesian closed and has some basic differential operations, providing solid foundations to calculi with resources introduced earlier (Boudol), and recasting them in a wider LL setting. Contrarily to Scott or stable semantics, it does not accomodate general fixpoints. It has suggested to introduce a new way of approximating lambda-terms by Taylor expansion: Tasson s talk this afternoon. One of the main applications of denotational semantics is to suggest sound extensions of syntaxes.

Resource lambda-calculus: the differential viewpoint

Resource lambda-calculus: the differential viewpoint Resource lambda-calculus: the differential viewpoint Preuves, Programmes et Systèmes (PPS) Université Paris Diderot and CNRS September 13, 2011 History ( 1985): Girard Girard had differential intuitions

More information

Denoting computation

Denoting computation A jog from Scott Domains to Hypercoherence Spaces 13/12/2006 Outline Motivation 1 Motivation 2 What Does Denotational Semantic Mean? Trivial examples Basic things to know 3 Scott domains di-domains 4 Event

More information

Complete Partial Orders, PCF, and Control

Complete Partial Orders, PCF, and Control Complete Partial Orders, PCF, and Control Andrew R. Plummer TIE Report Draft January 2010 Abstract We develop the theory of directed complete partial orders and complete partial orders. We review the syntax

More information

Domain theory and denotational semantics of functional programming

Domain theory and denotational semantics of functional programming Domain theory and denotational semantics of functional programming Martín Escardó School of Computer Science, Birmingham University MGS 2007, Nottingham, version of April 20, 2007 17:26 What is denotational

More information

Denotational semantics of linear logic

Denotational semantics of linear logic Denotational semantics of linear logic Lionel Vaux I2M, Université d Aix-Marseille, France LL2016, Lyon school: 7 and 8 November 2016 L. Vaux (I2M) Denotational semantics of linear logic LL2016 1 / 31

More information

Parameterizations and Fixed-Point Operators on Control Categories

Parameterizations and Fixed-Point Operators on Control Categories Parameterizations and Fixed-Point Operators on Control Categories oshihiko Kakutani 1 and Masahito Hasegawa 12 1 Research Institute for Mathematical Sciences, Kyoto University {kakutani,hassei}@kurims.kyoto-u.ac.jp

More information

Introduction to Topology

Introduction to Topology Introduction to Topology Randall R. Holmes Auburn University Typeset by AMS-TEX Chapter 1. Metric Spaces 1. Definition and Examples. As the course progresses we will need to review some basic notions about

More information

Minimal logic for computable functionals

Minimal logic for computable functionals Minimal logic for computable functionals Helmut Schwichtenberg Mathematisches Institut der Universität München Contents 1. Partial continuous functionals 2. Total and structure-total functionals 3. Terms;

More information

3. The Sheaf of Regular Functions

3. The Sheaf of Regular Functions 24 Andreas Gathmann 3. The Sheaf of Regular Functions After having defined affine varieties, our next goal must be to say what kind of maps between them we want to consider as morphisms, i. e. as nice

More information

Boolean Algebras, Boolean Rings and Stone s Representation Theorem

Boolean Algebras, Boolean Rings and Stone s Representation Theorem Boolean Algebras, Boolean Rings and Stone s Representation Theorem Hongtaek Jung December 27, 2017 Abstract This is a part of a supplementary note for a Logic and Set Theory course. The main goal is to

More information

A completeness theorem for symmetric product phase spaces

A completeness theorem for symmetric product phase spaces A completeness theorem for symmetric product phase spaces Thomas Ehrhard Fédération de Recherche des Unités de Mathématiques de Marseille CNRS FR 2291 Institut de Mathématiques de Luminy CNRS UPR 9016

More information

FROM COHERENT TO FINITENESS SPACES

FROM COHERENT TO FINITENESS SPACES FROM COHERENT TO FINITENESS SPACES PIERRE HYVERNAT Laboratoire de Mathématiques, Université de Savoie, 73376 Le Bourget-du-Lac Cedex, France. e-mail address: Pierre.Hyvernat@univ-savoie.fr Abstract. This

More information

arxiv: v1 [cs.pl] 19 May 2016

arxiv: v1 [cs.pl] 19 May 2016 arxiv:1605.05858v1 [cs.pl] 19 May 2016 Domain Theory: An Introduction Robert Cartwright Rice University Rebecca Parsons ThoughtWorks, Inc. Moez AbdelGawad SRTA-City Hunan University This monograph is an

More information

An explicit formula for the free exponential modality of linear logic

An explicit formula for the free exponential modality of linear logic An explicit formula for the free exponential modality of linear logic Paul-André Melliès Nicolas Tabareau Christine Tasson Laboratoire Preuves Programmes Systèmes CNRS & Université Paris 7 - Denis Diderot

More information

4 Countability axioms

4 Countability axioms 4 COUNTABILITY AXIOMS 4 Countability axioms Definition 4.1. Let X be a topological space X is said to be first countable if for any x X, there is a countable basis for the neighborhoods of x. X is said

More information

Automata on linear orderings

Automata on linear orderings Automata on linear orderings Véronique Bruyère Institut d Informatique Université de Mons-Hainaut Olivier Carton LIAFA Université Paris 7 September 25, 2006 Abstract We consider words indexed by linear

More information

Categories, Proofs and Programs

Categories, Proofs and Programs Categories, Proofs and Programs Samson Abramsky and Nikos Tzevelekos Lecture 4: Curry-Howard Correspondence and Cartesian Closed Categories In A Nutshell Logic Computation 555555555555555555 5 Categories

More information

Topology. Xiaolong Han. Department of Mathematics, California State University, Northridge, CA 91330, USA address:

Topology. Xiaolong Han. Department of Mathematics, California State University, Northridge, CA 91330, USA  address: Topology Xiaolong Han Department of Mathematics, California State University, Northridge, CA 91330, USA E-mail address: Xiaolong.Han@csun.edu Remark. You are entitled to a reward of 1 point toward a homework

More information

Notes on Monoids and Automata

Notes on Monoids and Automata Notes on Monoids and Automata Uday S. Reddy November 9, 1994 In this article, I define a semantics for Algol programs with Reynolds s syntactic control of interference?;? in terms of comonoids in coherent

More information

Call-by-value non-determinism in a linear logic type discipline

Call-by-value non-determinism in a linear logic type discipline Call-by-value non-determinism in a linear logic type discipline Alejandro Díaz-Caro? Giulio Manzonetto Université Paris-Ouest & INRIA LIPN, Université Paris 13 Michele Pagani LIPN, Université Paris 13

More information

Subtractive Logic. To appear in Theoretical Computer Science. Tristan Crolard May 3, 1999

Subtractive Logic. To appear in Theoretical Computer Science. Tristan Crolard May 3, 1999 Subtractive Logic To appear in Theoretical Computer Science Tristan Crolard crolard@ufr-info-p7.jussieu.fr May 3, 1999 Abstract This paper is the first part of a work whose purpose is to investigate duality

More information

Herbrand Theorem, Equality, and Compactness

Herbrand Theorem, Equality, and Compactness CSC 438F/2404F Notes (S. Cook and T. Pitassi) Fall, 2014 Herbrand Theorem, Equality, and Compactness The Herbrand Theorem We now consider a complete method for proving the unsatisfiability of sets of first-order

More information

A Discrete Duality Between Nonmonotonic Consequence Relations and Convex Geometries

A Discrete Duality Between Nonmonotonic Consequence Relations and Convex Geometries A Discrete Duality Between Nonmonotonic Consequence Relations and Convex Geometries Johannes Marti and Riccardo Pinosio Draft from April 5, 2018 Abstract In this paper we present a duality between nonmonotonic

More information

CS 6110 Lecture 21 The Fixed-Point Theorem 8 March 2013 Lecturer: Andrew Myers. 1 Complete partial orders (CPOs) 2 Least fixed points of functions

CS 6110 Lecture 21 The Fixed-Point Theorem 8 March 2013 Lecturer: Andrew Myers. 1 Complete partial orders (CPOs) 2 Least fixed points of functions CS 6110 Lecture 21 The Fixed-Point Theorem 8 March 2013 Lecturer: Andrew Myers We saw that the semantics of the while command are a fixed point. We also saw that intuitively, the semantics are the limit

More information

Metric spaces and metrizability

Metric spaces and metrizability 1 Motivation Metric spaces and metrizability By this point in the course, this section should not need much in the way of motivation. From the very beginning, we have talked about R n usual and how relatively

More information

Lecture Notes in Advanced Calculus 1 (80315) Raz Kupferman Institute of Mathematics The Hebrew University

Lecture Notes in Advanced Calculus 1 (80315) Raz Kupferman Institute of Mathematics The Hebrew University Lecture Notes in Advanced Calculus 1 (80315) Raz Kupferman Institute of Mathematics The Hebrew University February 7, 2007 2 Contents 1 Metric Spaces 1 1.1 Basic definitions...........................

More information

Operational Semantics

Operational Semantics Operational Semantics Semantics and applications to verification Xavier Rival École Normale Supérieure Xavier Rival Operational Semantics 1 / 50 Program of this first lecture Operational semantics Mathematical

More information

Axioms of separation

Axioms of separation Axioms of separation These notes discuss the same topic as Sections 31, 32, 33, 34, 35, and also 7, 10 of Munkres book. Some notions (hereditarily normal, perfectly normal, collectionwise normal, monotonically

More information

COMP6463: λ-calculus

COMP6463: λ-calculus COMP6463: λ-calculus 1. Basics Michael Norrish Michael.Norrish@nicta.com.au Canberra Research Lab., NICTA Semester 2, 2015 Outline Introduction Lambda Calculus Terms Alpha Equivalence Substitution Dynamics

More information

Denotational Semantics

Denotational Semantics Q Lecture Notes on Denotational Semantics for Part II of the Computer Science Tripos Dr Andrew M. Pitts Cambridge University Computer Laboratory c A. M. Pitts, 1997-9 First edition 1997. Revised 1998,

More information

A Differential Model Theory for Resource Lambda Calculi - Part II

A Differential Model Theory for Resource Lambda Calculi - Part II A Differential Model Theory for Resource Lambda Calculi - Part II Giulio Manzonetto (joint work with Bucciarelli, Ehrhard, Laird, McCusker) g.manzonetto@cs.ru.nl Intelligent Systems Radboud University

More information

Part II Logic and Set Theory

Part II Logic and Set Theory Part II Logic and Set Theory Theorems Based on lectures by I. B. Leader Notes taken by Dexter Chua Lent 2015 These notes are not endorsed by the lecturers, and I have modified them (often significantly)

More information

Definable Extension Theorems in O-minimal Structures. Matthias Aschenbrenner University of California, Los Angeles

Definable Extension Theorems in O-minimal Structures. Matthias Aschenbrenner University of California, Los Angeles Definable Extension Theorems in O-minimal Structures Matthias Aschenbrenner University of California, Los Angeles 1 O-minimality Basic definitions and examples Geometry of definable sets Why o-minimal

More information

Convex Optimization Notes

Convex Optimization Notes Convex Optimization Notes Jonathan Siegel January 2017 1 Convex Analysis This section is devoted to the study of convex functions f : B R {+ } and convex sets U B, for B a Banach space. The case of B =

More information

A Non-Topological View of Dcpos as Convergence Spaces

A Non-Topological View of Dcpos as Convergence Spaces A Non-Topological View of Dcpos as Convergence Spaces Reinhold Heckmann AbsInt Angewandte Informatik GmbH, Stuhlsatzenhausweg 69, D-66123 Saarbrücken, Germany e-mail: heckmann@absint.com Abstract The category

More information

Concrete Domains. Gilles Kahn INRIA Sophia Antipolis Gordon D. Plotkin University of Edinburgh

Concrete Domains. Gilles Kahn INRIA Sophia Antipolis Gordon D. Plotkin University of Edinburgh Concrete Domains Gilles Kahn INRIA Sophia Antipolis Gordon D. Plotkin University of Edinburgh May 21, 1993 Abstract This paper introduces the theory of a particular kind of computation domains called concrete

More information

Notes on ordinals and cardinals

Notes on ordinals and cardinals Notes on ordinals and cardinals Reed Solomon 1 Background Terminology We will use the following notation for the common number systems: N = {0, 1, 2,...} = the natural numbers Z = {..., 2, 1, 0, 1, 2,...}

More information

A Differential Model Theory for Resource Lambda Calculi - Part I

A Differential Model Theory for Resource Lambda Calculi - Part I A Differential Model Theory for Resource Lambda Calculi - Part I Giulio Manzonetto g.manzonetto@cs.ru.nl Intelligent Systems Radboud University Nijmegen FMCS 2011 - Calgary - 11 th June 2011 Giulio Manzonetto

More information

Topos Theory. Lectures 17-20: The interpretation of logic in categories. Olivia Caramello. Topos Theory. Olivia Caramello.

Topos Theory. Lectures 17-20: The interpretation of logic in categories. Olivia Caramello. Topos Theory. Olivia Caramello. logic s Lectures 17-20: logic in 2 / 40 logic s Interpreting first-order logic in In Logic, first-order s are a wide class of formal s used for talking about structures of any kind (where the restriction

More information

FOUNDATIONS OF ALGEBRAIC GEOMETRY CLASS 2

FOUNDATIONS OF ALGEBRAIC GEOMETRY CLASS 2 FOUNDATIONS OF ALGEBRAIC GEOMETRY CLASS 2 RAVI VAKIL CONTENTS 1. Where we were 1 2. Yoneda s lemma 2 3. Limits and colimits 6 4. Adjoints 8 First, some bureaucratic details. We will move to 380-F for Monday

More information

Denotational Semantics

Denotational Semantics Q Lecture Notes on Denotational Semantics Part II of the Computer Science Tripos 2010/11 Dr Marcelo Fiore Cambridge University Computer Laboratory c A. M. Pitts, G. Winskel, M. Fiore Contents Notes ii

More information

Weak topologies, duality and polarities

Weak topologies, duality and polarities 1/26 Introduction Duality Polarity Conclusion SD2014, Vienna Weak topologies, duality and polarities Marie Kerjean PPS Laboratory Paris 7 University July 12, 2014 2/26 Introduction Duality Polarity Conclusion

More information

Adjunctions! Everywhere!

Adjunctions! Everywhere! Adjunctions! Everywhere! Carnegie Mellon University Thursday 19 th September 2013 Clive Newstead Abstract What do free groups, existential quantifiers and Stone-Čech compactifications all have in common?

More information

A Monad For Randomized Algorithms

A Monad For Randomized Algorithms A Monad For Randomized Algorithms Tyler Barker Tulane University 1 Domains XII August 26, 2015 1 Supported by AFOSR Tyler Barker Tulane University A Monad For Randomized Algorithms Domains XII August 26,

More information

Problem Set 6: Solutions Math 201A: Fall a n x n,

Problem Set 6: Solutions Math 201A: Fall a n x n, Problem Set 6: Solutions Math 201A: Fall 2016 Problem 1. Is (x n ) n=0 a Schauder basis of C([0, 1])? No. If f(x) = a n x n, n=0 where the series converges uniformly on [0, 1], then f has a power series

More information

Duality in Logic. Duality in Logic. Lecture 2. Mai Gehrke. Université Paris 7 and CNRS. {ε} A ((ab) (ba) ) (ab) + (ba) +

Duality in Logic. Duality in Logic. Lecture 2. Mai Gehrke. Université Paris 7 and CNRS. {ε} A ((ab) (ba) ) (ab) + (ba) + Lecture 2 Mai Gehrke Université Paris 7 and CNRS A {ε} A ((ab) (ba) ) (ab) + (ba) + Further examples - revisited 1. Completeness of modal logic with respect to Kripke semantics was obtained via duality

More information

MFPS LICS Special Session Honouring Dana Scott. Symmetric Scott. Andrew Pitts. Computer Laboratory MFPS/LICS /14

MFPS LICS Special Session Honouring Dana Scott. Symmetric Scott. Andrew Pitts. Computer Laboratory MFPS/LICS /14 MFPS/LICS 2013 1/14 MFPS LICS Special Session Honouring Dana Scott Symmetric Scott Andrew Pitts Computer Laboratory 80 years of Dana Scott MFPS/LICS 2013 2/14 automata theory set theory sheaves & logic

More information

On the Complexity of the Reflected Logic of Proofs

On the Complexity of the Reflected Logic of Proofs On the Complexity of the Reflected Logic of Proofs Nikolai V. Krupski Department of Math. Logic and the Theory of Algorithms, Faculty of Mechanics and Mathematics, Moscow State University, Moscow 119899,

More information

On the strong cell decomposition property for weakly o-minimal structures

On the strong cell decomposition property for weakly o-minimal structures On the strong cell decomposition property for weakly o-minimal structures Roman Wencel 1 Instytut Matematyczny Uniwersytetu Wroc lawskiego ABSTRACT We consider a class of weakly o-minimal structures admitting

More information

MTH 428/528. Introduction to Topology II. Elements of Algebraic Topology. Bernard Badzioch

MTH 428/528. Introduction to Topology II. Elements of Algebraic Topology. Bernard Badzioch MTH 428/528 Introduction to Topology II Elements of Algebraic Topology Bernard Badzioch 2016.12.12 Contents 1. Some Motivation.......................................................... 3 2. Categories

More information

Algebras. Larry Moss Indiana University, Bloomington. TACL 13 Summer School, Vanderbilt University

Algebras. Larry Moss Indiana University, Bloomington. TACL 13 Summer School, Vanderbilt University 1/39 Algebras Larry Moss Indiana University, Bloomington TACL 13 Summer School, Vanderbilt University 2/39 Binary trees Let T be the set which starts out as,,,, 2/39 Let T be the set which starts out as,,,,

More information

fy (X(g)) Y (f)x(g) gy (X(f)) Y (g)x(f)) = fx(y (g)) + gx(y (f)) fy (X(g)) gy (X(f))

fy (X(g)) Y (f)x(g) gy (X(f)) Y (g)x(f)) = fx(y (g)) + gx(y (f)) fy (X(g)) gy (X(f)) 1. Basic algebra of vector fields Let V be a finite dimensional vector space over R. Recall that V = {L : V R} is defined to be the set of all linear maps to R. V is isomorphic to V, but there is no canonical

More information

Rules and derivations in an elementary logic course arxiv: v1 [cs.lo] 7 Jan 2016

Rules and derivations in an elementary logic course arxiv: v1 [cs.lo] 7 Jan 2016 Rules and derivations in an elementary logic course arxiv:160101483v1 [cslo] 7 Jan 2016 Gilles Dowek Inria, 23 avenue d Italie, CS 81321, 75214 Paris Cedex 13, France gillesdowek@inriafr When teaching

More information

Primitive recursion in niteness spaces

Primitive recursion in niteness spaces Primitive recursion in niteness spaces Lionel Vaux Laboratoire de Mathématiques de l'université de Savoie UFR SF, Campus Scientique, 73376 Le Bourget-du-Lac Cedex, France E-mail: lionel.vaux@univ-savoie.fr

More information

Closure operators on sets and algebraic lattices

Closure operators on sets and algebraic lattices Closure operators on sets and algebraic lattices Sergiu Rudeanu University of Bucharest Romania Closure operators are abundant in mathematics; here are a few examples. Given an algebraic structure, such

More information

2. The Concept of Convergence: Ultrafilters and Nets

2. The Concept of Convergence: Ultrafilters and Nets 2. The Concept of Convergence: Ultrafilters and Nets NOTE: AS OF 2008, SOME OF THIS STUFF IS A BIT OUT- DATED AND HAS A FEW TYPOS. I WILL REVISE THIS MATE- RIAL SOMETIME. In this lecture we discuss two

More information

Operational and Denotational Semantics. Solution.

Operational and Denotational Semantics. Solution. Operational and Denotational Semantics Please turn in by April 5, 2011 (-1 point penalty per day late) Solution. We consider an enriched, typed λ-calculus with constants for arithmetic expressions and

More information

Lecture 2 Sheaves and Functors

Lecture 2 Sheaves and Functors Lecture 2 Sheaves and Functors In this lecture we will introduce the basic concept of sheaf and we also will recall some of category theory. 1 Sheaves and locally ringed spaces The definition of sheaf

More information

Spectral Theory, with an Introduction to Operator Means. William L. Green

Spectral Theory, with an Introduction to Operator Means. William L. Green Spectral Theory, with an Introduction to Operator Means William L. Green January 30, 2008 Contents Introduction............................... 1 Hilbert Space.............................. 4 Linear Maps

More information

11691 Review Guideline Real Analysis. Real Analysis. - According to Principles of Mathematical Analysis by Walter Rudin (Chapter 1-4)

11691 Review Guideline Real Analysis. Real Analysis. - According to Principles of Mathematical Analysis by Walter Rudin (Chapter 1-4) Real Analysis - According to Principles of Mathematical Analysis by Walter Rudin (Chapter 1-4) 1 The Real and Complex Number Set: a collection of objects. Proper subset: if A B, then call A a proper subset

More information

A Bird s Eye View on the Quantitative Semantics of Linear Logic

A Bird s Eye View on the Quantitative Semantics of Linear Logic A Bird s Eye View on the Quantitative Semantics of Linear Logic Michele Pagani Laboratoire d Informatique de Paris Nord Institut Galilèe Universitè de Paris 13 Villetaneuse, France michelepagani@lipnuniv-paris13fr

More information

Exercises on chapter 0

Exercises on chapter 0 Exercises on chapter 0 1. A partially ordered set (poset) is a set X together with a relation such that (a) x x for all x X; (b) x y and y x implies that x = y for all x, y X; (c) x y and y z implies that

More information

Denotational Semantics

Denotational Semantics Q Lecture Notes on Denotational Semantics for Part II of the Computer Science Tripos Andrew M. Pitts Cambridge University Computer Laboratory c A. M. Pitts, 1997-9 First edition 1997. Revised 1998, 1999.

More information

Lecture 1: Overview. January 24, 2018

Lecture 1: Overview. January 24, 2018 Lecture 1: Overview January 24, 2018 We begin with a very quick review of first-order logic (we will give a more leisurely review in the next lecture). Recall that a linearly ordered set is a set X equipped

More information

Theory of computation: initial remarks (Chapter 11)

Theory of computation: initial remarks (Chapter 11) Theory of computation: initial remarks (Chapter 11) For many purposes, computation is elegantly modeled with simple mathematical objects: Turing machines, finite automata, pushdown automata, and such.

More information

The tensor product of commutative monoids

The tensor product of commutative monoids The tensor product of commutative monoids We work throughout in the category Cmd of commutative monoids. In other words, all the monoids we meet are commutative, and consequently we say monoid in place

More information

Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics Lecture notes in progress (27 March 2010)

Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics Lecture notes in progress (27 March 2010) http://math.sun.ac.za/amsc/sam Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics 2009-2010 Lecture notes in progress (27 March 2010) Contents 2009 Semester I: Elements 5 1. Cartesian product

More information

CS 4110 Programming Languages & Logics. Lecture 16 Programming in the λ-calculus

CS 4110 Programming Languages & Logics. Lecture 16 Programming in the λ-calculus CS 4110 Programming Languages & Logics Lecture 16 Programming in the λ-calculus 30 September 2016 Review: Church Booleans 2 We can encode TRUE, FALSE, and IF, as: TRUE λx. λy. x FALSE λx. λy. y IF λb.

More information

Extraction from classical proofs using game models

Extraction from classical proofs using game models 1/16 Extraction from classical proofs using game models Valentin Blot University of Bath research funded by the UK EPSRC 2/16 The computational content of classical logic Griffin, 1990: Computational content

More information

An introduction to some aspects of functional analysis

An introduction to some aspects of functional analysis An introduction to some aspects of functional analysis Stephen Semmes Rice University Abstract These informal notes deal with some very basic objects in functional analysis, including norms and seminorms

More information

Notas de Aula Grupos Profinitos. Martino Garonzi. Universidade de Brasília. Primeiro semestre 2018

Notas de Aula Grupos Profinitos. Martino Garonzi. Universidade de Brasília. Primeiro semestre 2018 Notas de Aula Grupos Profinitos Martino Garonzi Universidade de Brasília Primeiro semestre 2018 1 Le risposte uccidono le domande. 2 Contents 1 Topology 4 2 Profinite spaces 6 3 Topological groups 10 4

More information

MIT Martin Rinard Laboratory for Computer Science Massachusetts Institute of Technology

MIT Martin Rinard Laboratory for Computer Science Massachusetts Institute of Technology MIT 6.035 Foundations of Dataflow Analysis Martin Rinard Laboratory for Computer Science Massachusetts Institute of Technology Dataflow Analysis Compile-Time Reasoning About Run-Time Values of Variables

More information

Equivalence of Algebraic λ -calculi extended abstract

Equivalence of Algebraic λ -calculi extended abstract Equivalence of Algebraic λ -calculi extended abstract Alejandro Díaz-Caro LIG, Université de Grenoble, France Alejandro.Diaz-Caro@imag.fr Christine Tasson CEA-LIST, MeASI, France Christine.Tasson@cea.fr

More information

An Introduction to Quantitative Semantics ( I )

An Introduction to Quantitative Semantics ( I ) An Introduction to Quantitative Semantics ( I ) Michele Pagani Laboratoire d Informatique de Paris Nord Université Paris-Nord Paris 3 (France) Logoi Summer School, Torino 03 Pagani (LIPN, Paris 3) Coquas

More information

Part II. Logic and Set Theory. Year

Part II. Logic and Set Theory. Year Part II Year 2018 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2018 60 Paper 4, Section II 16G State and prove the ǫ-recursion Theorem. [You may assume the Principle of ǫ- Induction.]

More information

Overview of normed linear spaces

Overview of normed linear spaces 20 Chapter 2 Overview of normed linear spaces Starting from this chapter, we begin examining linear spaces with at least one extra structure (topology or geometry). We assume linearity; this is a natural

More information

B. Appendix B. Topological vector spaces

B. Appendix B. Topological vector spaces B.1 B. Appendix B. Topological vector spaces B.1. Fréchet spaces. In this appendix we go through the definition of Fréchet spaces and their inductive limits, such as they are used for definitions of function

More information

AN EXPLORATION OF THE METRIZABILITY OF TOPOLOGICAL SPACES

AN EXPLORATION OF THE METRIZABILITY OF TOPOLOGICAL SPACES AN EXPLORATION OF THE METRIZABILITY OF TOPOLOGICAL SPACES DUSTIN HEDMARK Abstract. A study of the conditions under which a topological space is metrizable, concluding with a proof of the Nagata Smirnov

More information

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska

cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska cse303 ELEMENTS OF THE THEORY OF COMPUTATION Professor Anita Wasilewska LECTURE 1 Course Web Page www3.cs.stonybrook.edu/ cse303 The webpage contains: lectures notes slides; very detailed solutions to

More information

Joseph Muscat Universal Algebras. 1 March 2013

Joseph Muscat Universal Algebras. 1 March 2013 Joseph Muscat 2015 1 Universal Algebras 1 Operations joseph.muscat@um.edu.mt 1 March 2013 A universal algebra is a set X with some operations : X n X and relations 1 X m. For example, there may be specific

More information

EasyChair Preprint. Normalization and Taylor expansion of lambda-terms

EasyChair Preprint. Normalization and Taylor expansion of lambda-terms EasyChair Preprint 165 Normalization and Taylor expansion of lambda-terms Federico Olimpieri EasyChair preprints are intended for rapid dissemination of research results and are integrated with the rest

More information

2 Metric Spaces Definitions Exotic Examples... 3

2 Metric Spaces Definitions Exotic Examples... 3 Contents 1 Vector Spaces and Norms 1 2 Metric Spaces 2 2.1 Definitions.......................................... 2 2.2 Exotic Examples...................................... 3 3 Topologies 4 3.1 Open Sets..........................................

More information

Topological properties

Topological properties CHAPTER 4 Topological properties 1. Connectedness Definitions and examples Basic properties Connected components Connected versus path connected, again 2. Compactness Definition and first examples Topological

More information

Set, functions and Euclidean space. Seungjin Han

Set, functions and Euclidean space. Seungjin Han Set, functions and Euclidean space Seungjin Han September, 2018 1 Some Basics LOGIC A is necessary for B : If B holds, then A holds. B A A B is the contraposition of B A. A is sufficient for B: If A holds,

More information

Chapter 1. Sets and Mappings

Chapter 1. Sets and Mappings Chapter 1. Sets and Mappings 1. Sets A set is considered to be a collection of objects (elements). If A is a set and x is an element of the set A, we say x is a member of A or x belongs to A, and we write

More information

MAT 570 REAL ANALYSIS LECTURE NOTES. Contents. 1. Sets Functions Countability Axiom of choice Equivalence relations 9

MAT 570 REAL ANALYSIS LECTURE NOTES. Contents. 1. Sets Functions Countability Axiom of choice Equivalence relations 9 MAT 570 REAL ANALYSIS LECTURE NOTES PROFESSOR: JOHN QUIGG SEMESTER: FALL 204 Contents. Sets 2 2. Functions 5 3. Countability 7 4. Axiom of choice 8 5. Equivalence relations 9 6. Real numbers 9 7. Extended

More information

CALCULUS ON MANIFOLDS

CALCULUS ON MANIFOLDS CALCULUS ON MANIFOLDS 1. Manifolds Morally, manifolds are topological spaces which locally look like open balls of the Euclidean space R n. One can construct them by piecing together such balls ( cells

More information

Axioms for Set Theory

Axioms for Set Theory Axioms for Set Theory The following is a subset of the Zermelo-Fraenkel axioms for set theory. In this setting, all objects are sets which are denoted by letters, e.g. x, y, X, Y. Equality is logical identity:

More information

Sémantique des jeux asynchrones et réécriture 2-dimensionnelle

Sémantique des jeux asynchrones et réécriture 2-dimensionnelle Sémantique des jeux asynchrones et réécriture 2-dimensionnelle Soutenance de thèse de doctorat Samuel Mimram Laboratoire PPS (CNRS Université Paris Diderot) 1 er décembre 2008 1 / 64 A program is a text

More information

CHAPTER 7. Connectedness

CHAPTER 7. Connectedness CHAPTER 7 Connectedness 7.1. Connected topological spaces Definition 7.1. A topological space (X, T X ) is said to be connected if there is no continuous surjection f : X {0, 1} where the two point set

More information

From parametric polymorphism to models of polymorphic FPC

From parametric polymorphism to models of polymorphic FPC Under consideration for publication in Math. Struct. in Comp. Science From parametric polymorphism to models of polymorphic FPC Rasmus Ejlers Møgelberg IT University of Copenhagen Rued Langgaards Vej 7

More information

On k-groups and Tychonoff k R -spaces (Category theory for topologists, topology for group theorists, and group theory for categorical topologists)

On k-groups and Tychonoff k R -spaces (Category theory for topologists, topology for group theorists, and group theory for categorical topologists) On k-groups and Tychonoff k R -spaces 0 On k-groups and Tychonoff k R -spaces (Category theory for topologists, topology for group theorists, and group theory for categorical topologists) Gábor Lukács

More information

CHAPTER 1. AFFINE ALGEBRAIC VARIETIES

CHAPTER 1. AFFINE ALGEBRAIC VARIETIES CHAPTER 1. AFFINE ALGEBRAIC VARIETIES During this first part of the course, we will establish a correspondence between various geometric notions and algebraic ones. Some references for this part of the

More information

1 Basics of vector space

1 Basics of vector space Linear Algebra- Review And Beyond Lecture 1 In this lecture, we will talk about the most basic and important concept of linear algebra vector space. After the basics of vector space, I will introduce dual

More information

Building a (sort of) GoI from denotational semantics: an improvisation

Building a (sort of) GoI from denotational semantics: an improvisation Building a (sort of) GoI from denotational semantics: an improvisation Damiano Mazza Laboratoire d Informatique de Paris Nord CNRS Université Paris 13 Workshop on Geometry of Interaction, Traced Monoidal

More information

Part V. 17 Introduction: What are measures and why measurable sets. Lebesgue Integration Theory

Part V. 17 Introduction: What are measures and why measurable sets. Lebesgue Integration Theory Part V 7 Introduction: What are measures and why measurable sets Lebesgue Integration Theory Definition 7. (Preliminary). A measure on a set is a function :2 [ ] such that. () = 2. If { } = is a finite

More information

A few bridges between operational and denotational semantics of programming languages

A few bridges between operational and denotational semantics of programming languages A few bridges between operational and denotational semantics of programming languages Soutenance d habilitation à diriger les recherches Tom Hirschowitz November 17, 2017 Hirschowitz Bridges between operational

More information

s P = f(ξ n )(x i x i 1 ). i=1

s P = f(ξ n )(x i x i 1 ). i=1 Compactness and total boundedness via nets The aim of this chapter is to define the notion of a net (generalized sequence) and to characterize compactness and total boundedness by this important topological

More information

Non deterministic classical logic: the λµ ++ -calculus

Non deterministic classical logic: the λµ ++ -calculus Paru dans : Mathematical Logic Quarterly, 48, pp. 357-366, 2002 Non deterministic classical logic: the λµ ++ -calculus Karim NOUR LAMA - Equipe de Logique, Université de Savoie 73376 Le Bourget du Lac

More information

Geometry 2: Manifolds and sheaves

Geometry 2: Manifolds and sheaves Rules:Exam problems would be similar to ones marked with! sign. It is recommended to solve all unmarked and!-problems or to find the solution online. It s better to do it in order starting from the beginning,

More information