Selective Applicative Functors
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
On String Topology Operations and Algebraic Structures on Hochschild Complexes
City University of New York (CUNY) CUNY Academic Works All Dissertations, Theses, and Capstone Projects Dissertations, Theses, and Capstone Projects 9-2015 On String Topology Operations and Algebraic Structures on Hochschild Complexes Manuel Rivera Graduate Center, City University of New York How does access to this work benefit ou?y Let us know! More information about this work at: https://academicworks.cuny.edu/gc_etds/1107 Discover additional works at: https://academicworks.cuny.edu This work is made publicly available by the City University of New York (CUNY). Contact: [email protected] On String Topology Operations and Algebraic Structures on Hochschild Complexes by Manuel Rivera A dissertation submitted to the Graduate Faculty in Mathematics in partial fulfillment of the requirements for the degree of Doctor of Philosophy, The City University of New York 2015 c 2015 Manuel Rivera All Rights Reserved ii This manuscript has been read and accepted for the Graduate Faculty in Mathematics in sat- isfaction of the dissertation requirements for the degree of Doctor of Philosophy. Dennis Sullivan, Chair of Examining Committee Date Linda Keen, Executive Officer Date Martin Bendersky Thomas Tradler John Terilla Scott Wilson Supervisory Committee THE CITY UNIVERSITY OF NEW YORK iii Abstract On string topology operations and algebraic structures on Hochschild complexes by Manuel Rivera Adviser: Professor Dennis Sullivan The field of string topology is concerned with the algebraic structure of spaces of paths and loops on a manifold. It was born with Chas and Sullivan’s observation of the fact that the in- tersection product on the homology of a smooth manifold M can be combined with the con- catenation product on the homology of the based loop space on M to obtain a new product on the homology of LM , the space of free loops on M . -
On Projective Lift and Orbit Spaces T.K
BULL. AUSTRAL. MATH. SOC. 54GO5, 54H15 VOL. 50 (1994) [445-449] ON PROJECTIVE LIFT AND ORBIT SPACES T.K. DAS By constructing the projective lift of a dp-epimorphism, we find a covariant functor E from the category d of regular Hausdorff spaces and continuous dp- epimorphisms to its coreflective subcategory £d consisting of projective objects of Cd • We use E to show that E(X/G) is homeomorphic to EX/G whenever G is a properly discontinuous group of homeomorphisms of a locally compact Hausdorff space X and X/G is an object of Cd • 1. INTRODUCTION Throughout the paper all spaces are regular HausdorfF and maps are continuous epimorphisms. By X, Y we denote spaces and for A C X, Cl A and Int A mean the closure of A and the interior of A in X respectively. The complete Boolean algebra of regular closed sets of a space X is denoted by R(X) and the Stone space of R(X) by S(R(X)). The pair (EX, hx) is the projective cover of X, where EX is the subspace of S(R(X)) having convergent ultrafilters as its members and hx is the natural map from EX to X, sending T to its point of convergence ^\T (a singleton is identified with its member). We recall here that {fl(F) \ F £ R(X)} is an open base for the topology on EX, where d(F) = {T £ EX \ F G T} [8]. The projective lift of a map /: X —> Y (if it exists) is the unique map Ef: EX —> EY satisfying hy o Ef = f o hx • In [4], Henriksen and Jerison showed that when X , Y are compact spaces, then the projective lift Ef of / exists if and only if / satisfies the following condition, hereafter called the H J - condition, holds: Clint/-1(F) = Cl f-^IntF), for each F in R(Y). -
What I Wish I Knew When Learning Haskell
What I Wish I Knew When Learning Haskell Stephen Diehl 2 Version This is the fifth major draft of this document since 2009. All versions of this text are freely available onmywebsite: 1. HTML Version http://dev.stephendiehl.com/hask/index.html 2. PDF Version http://dev.stephendiehl.com/hask/tutorial.pdf 3. EPUB Version http://dev.stephendiehl.com/hask/tutorial.epub 4. Kindle Version http://dev.stephendiehl.com/hask/tutorial.mobi Pull requests are always accepted for fixes and additional content. The only way this document will stayupto date and accurate through the kindness of readers like you and community patches and pull requests on Github. https://github.com/sdiehl/wiwinwlh Publish Date: March 3, 2020 Git Commit: 77482103ff953a8f189a050c4271919846a56612 Author This text is authored by Stephen Diehl. 1. Web: www.stephendiehl.com 2. Twitter: https://twitter.com/smdiehl 3. Github: https://github.com/sdiehl Special thanks to Erik Aker for copyediting assistance. Copyright © 20092020 Stephen Diehl This code included in the text is dedicated to the public domain. You can copy, modify, distribute and perform thecode, even for commercial purposes, all without asking permission. You may distribute this text in its full form freely, but may not reauthor or sublicense this work. Any reproductions of major portions of the text must include attribution. The software is provided ”as is”, without warranty of any kind, express or implied, including But not limitedtothe warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authorsor copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, Arising from, out of or in connection with the software or the use or other dealings in the software. -
Parametrized Higher Category Theory
Parametrized higher category theory Jay Shah MIT May 1, 2017 Jay Shah (MIT) Parametrized higher category theory May 1, 2017 1 / 32 Answer: depends on the class of weak equivalences one inverts in the larger category of G-spaces. Inverting the class of maps that induce a weak equivalence of underlying spaces, X ; the homotopy type of the underlying space X , together with the homotopy coherent G-action. Can extract homotopy fixed points and hG orbits X , XhG from this. Equivariant homotopy theory Let G be a finite group and let X be a topological space with G-action (e.g. G = C2 and X = U(n) with the complex conjugation action). What is the \homotopy type" of X ? Jay Shah (MIT) Parametrized higher category theory May 1, 2017 2 / 32 Inverting the class of maps that induce a weak equivalence of underlying spaces, X ; the homotopy type of the underlying space X , together with the homotopy coherent G-action. Can extract homotopy fixed points and hG orbits X , XhG from this. Equivariant homotopy theory Let G be a finite group and let X be a topological space with G-action (e.g. G = C2 and X = U(n) with the complex conjugation action). What is the \homotopy type" of X ? Answer: depends on the class of weak equivalences one inverts in the larger category of G-spaces. Jay Shah (MIT) Parametrized higher category theory May 1, 2017 2 / 32 Equivariant homotopy theory Let G be a finite group and let X be a topological space with G-action (e.g. -
Lifting Grothendieck Universes
Lifting Grothendieck Universes Martin HOFMANN, Thomas STREICHER Fachbereich 4 Mathematik, TU Darmstadt Schlossgartenstr. 7, D-64289 Darmstadt mh|[email protected] Spring 1997 Both in set theory and constructive type theory universes are a useful and necessary tool for formulating abstract mathematics, e.g. when one wants to quantify over all structures of a certain kind. Structures of a certain kind living in universe U are usually referred to as \small structures" (of that kind). Prominent examples are \small monoids", \small groups" . and last, but not least \small sets". For (classical) set theory an appropriate notion of universe was introduced by A. Grothendieck for the purposes of his development of Grothendieck toposes (of sheaves over a (small) site). Most concisely, a Grothendieck universe can be defined as a transitive set U such that (U; 2 U×U ) itself constitutes a model of set theory.1 In (constructive) type theory a universe (in the sense of Martin–L¨of) is a type U of types that is closed under the usual type forming operations as e.g. Π, Σ and Id. More precisely, it is a type U together with a family of types ( El(A) j A 2 U ) assigning its type El(A) to every A 2 U. Of course, El(A) = El(B) iff A = B 2 U. For the purposes of Synthetic Domain Theory (see [6, 3]) or Semantic Nor- malisations Proofs (see [1]) it turns out to be necessary to organise (pre)sheaf toposes into models of type theory admitting a universe. In this note we show how a Grothendieck universe U gives rise to a type-theoretic universe in the presheaf topos Cb where C is a small category (i.e. -
Arxiv:1709.06839V3 [Math.AT] 8 Jun 2021
PRODUCT AND COPRODUCT IN STRING TOPOLOGY NANCY HINGSTON AND NATHALIE WAHL Abstract. Let M be a closed Riemannian manifold. We extend the product of Goresky- Hingston, on the cohomology of the free loop space of M relative to the constant loops, to a nonrelative product. It is graded associative and commutative, and compatible with the length filtration on the loop space, like the original product. We prove the following new geometric property of the dual homology coproduct: the nonvanishing of the k{th iterate of the coproduct on a homology class ensures the existence of a loop with a (k + 1){fold self-intersection in every representative of the class. For spheres and projective spaces, we show that this is sharp, in the sense that the k{th iterated coproduct vanishes precisely on those classes that have support in the loops with at most k{fold self-intersections. We study the interactions between this cohomology product and the more well-known Chas-Sullivan product. We give explicit integral chain level constructions of these loop products and coproduct, including a new construction of the Chas- Sullivan product, which avoid the technicalities of infinite dimensional tubular neighborhoods and delicate intersections of chains in loop spaces. Let M be a closed oriented manifold of dimension n, for which we pick a Riemannian metric, and let ΛM = Maps(S1;M) denote its free loop space. Goresky and the first author defined in [15] a ∗ product ~ on the cohomology H (ΛM; M), relative to the constant loops M ⊂ ΛM. They showed that this cohomology product behaves as a form of \dual" of the Chas-Sullivan product [8] on the homology H∗(ΛM), at least through the eyes of the energy functional. -
Applicative Programming with Effects
Under consideration for publication in J. Functional Programming 1 FUNCTIONALPEARL Applicative programming with effects CONOR MCBRIDE University of Nottingham ROSS PATERSON City University, London Abstract In this paper, we introduce Applicative functors—an abstract characterisation of an ap- plicative style of effectful programming, weaker than Monads and hence more widespread. Indeed, it is the ubiquity of this programming pattern that drew us to the abstraction. We retrace our steps in this paper, introducing the applicative pattern by diverse exam- ples, then abstracting it to define the Applicative type class and introducing a bracket notation which interprets the normal application syntax in the idiom of an Applicative functor. Further, we develop the properties of applicative functors and the generic opera- tions they support. We close by identifying the categorical structure of applicative functors and examining their relationship both with Monads and with Arrows. 1 Introduction This is the story of a pattern that popped up time and again in our daily work, programming in Haskell (Peyton Jones, 2003), until the temptation to abstract it became irresistable. Let us illustrate with some examples. Sequencing commands One often wants to execute a sequence of commands and collect the sequence of their responses, and indeed there is such a function in the Haskell Prelude (here specialised to IO): sequence :: [IO a ] → IO [a ] sequence [ ] = return [] sequence (c : cs) = do x ← c xs ← sequence cs return (x : xs) In the (c : cs) case, we collect the values of some effectful computations, which we then use as the arguments to a pure function (:). We could avoid the need for names to wire these values through to their point of usage if we had a kind of ‘effectful application’. -
Learn You a Haskell for Great Good! © 2011 by Miran Lipovača 3 SYNTAX in FUNCTIONS 35 Pattern Matching
C ONTENTSINDETAIL INTRODUCTION xv So, What’s Haskell? .............................................................. xv What You Need to Dive In ........................................................ xvii Acknowledgments ................................................................ xviii 1 STARTING OUT 1 Calling Functions ................................................................. 3 Baby’s First Functions ............................................................. 5 An Intro to Lists ................................................................... 7 Concatenation ........................................................... 8 Accessing List Elements ................................................... 9 Lists Inside Lists .......................................................... 9 Comparing Lists ......................................................... 9 More List Operations ..................................................... 10 Texas Ranges .................................................................... 13 I’m a List Comprehension.......................................................... 15 Tuples ........................................................................... 18 Using Tuples............................................................. 19 Using Pairs .............................................................. 20 Finding the Right Triangle ................................................. 21 2 BELIEVE THE TYPE 23 Explicit Type Declaration .......................................................... 24 -
On Closed Categories of Functors
ON CLOSED CATEGORIES OF FUNCTORS Brian Day Received November 7, 19~9 The purpose of the present paper is to develop in further detail the remarks, concerning the relationship of Kan functor extensions to closed structures on functor categories, made in "Enriched functor categories" | 1] §9. It is assumed that the reader is familiar with the basic results of closed category theory, including the representation theorem. Apart from some minor changes mentioned below, the terminology and notation employed are those of |i], |3], and |5]. Terminology A closed category V in the sense of Eilenberg and Kelly |B| will be called a normalised closed category, V: V o ÷ En6 being the normalisation. Throughout this paper V is taken to be a fixed normalised symmetric monoidal closed category (Vo, @, I, r, £, a, c, V, |-,-|, p) with V ° admitting all small limits (inverse limits) and colimits (direct limits). It is further supposed that if the limit or colimit in ~o of a functor (with possibly large domain) exists then a definite choice has been made of it. In short, we place on V those hypotheses which both allow it to replace the cartesian closed category of (small) sets Ens as a ground category and are satisfied by most "natural" closed categories. As in [i], an end in B of a V-functor T: A°P@A ÷ B is a Y-natural family mA: K ÷ T(AA) of morphisms in B o with the property that the family B(1,mA): B(BK) ÷ B(B,T(AA)) in V o is -2- universally V-natural in A for each B 6 B; then an end in V turns out to be simply a family sA: K ~ T(AA) of morphisms in V o which is universally V-natural in A. -
There Is No Fork: an Abstraction for Efficient, Concurrent, and Concise Data Access
There is no Fork: an Abstraction for Efficient, Concurrent, and Concise Data Access Simon Marlow Louis Brandy Jonathan Coens Jon Purdy Facebook Facebook Facebook Facebook [email protected] [email protected] [email protected] [email protected] Abstract concise business logic, uncluttered by performance-related details. We describe a new programming idiom for concurrency, based on In particular the programmer should not need to be concerned Applicative Functors, where concurrency is implicit in the Applica- with accessing external data efficiently. However, one particular tive <*> operator. The result is that concurrent programs can be problem often arises that creates a tension between conciseness and written in a natural applicative style, and they retain a high degree efficiency in this setting: accessing multiple remote data sources of clarity and modularity while executing with maximal concur- efficiently requires concurrency, and that normally requires the rency. This idiom is particularly useful for programming against programmer to intervene and program the concurrency explicitly. external data sources, where the application code is written without When the business logic is only concerned with reading data the use of explicit concurrency constructs, while the implementa- from external sources and not writing, the programmer doesn’t tion is able to batch together multiple requests for data from the care about the order in which data accesses happen, since there same source, and fetch data from multiple sources concurrently. are no side-effects that could make the result different when the Our abstraction uses a cache to ensure that multiple requests for order changes. So in this case the programmer would be entirely the same data return the same result, which frees the programmer happy with not having to specify either ordering or concurrency, from having to arrange to fetch data only once, which in turn leads and letting the system perform data access in the most efficient way to greater modularity. -
An Introduction to Applicative Functors
An Introduction to Applicative Functors Bocheng Zhou What Is an Applicative Functor? ● An Applicative functor is a Monoid in the category of endofunctors, what's the problem? ● WAT?! Functions in Haskell ● Functions in Haskell are first-order citizens ● Functions in Haskell are curried by default ○ f :: a -> b -> c is the curried form of g :: (a, b) -> c ○ f = curry g, g = uncurry f ● One type declaration, multiple interpretations ○ f :: a->b->c ○ f :: a->(b->c) ○ f :: (a->b)->c ○ Use parentheses when necessary: ■ >>= :: Monad m => m a -> (a -> m b) -> m b Functors ● A functor is a type of mapping between categories, which is applied in category theory. ● What the heck is category theory? Category Theory 101 ● A category is, in essence, a simple collection. It has three components: ○ A collection of objects ○ A collection of morphisms ○ A notion of composition of these morphisms ● Objects: X, Y, Z ● Morphisms: f :: X->Y, g :: Y->Z ● Composition: g . f :: X->Z Category Theory 101 ● Category laws: Functors Revisited ● Recall that a functor is a type of mapping between categories. ● Given categories C and D, a functor F :: C -> D ○ Maps any object A in C to F(A) in D ○ Maps morphisms f :: A -> B in C to F(f) :: F(A) -> F(B) in D Functors in Haskell class Functor f where fmap :: (a -> b) -> f a -> f b ● Recall that a functor maps morphisms f :: A -> B in C to F(f) :: F(A) -> F(B) in D ● morphisms ~ functions ● C ~ category of primitive data types like Integer, Char, etc. -
Adjunctions of Higher Categories
Adjunctions of Higher Categories Joseph Rennie 3/1/2017 Adjunctions arise very naturally in many diverse situations. Moreover, they are a primary way of studying equivalences of categories. The goal of todays talk is to discuss adjunctions in the context of higher category theories. We will give two definitions of an adjunctions and indicate how they have the same data. From there we will move on to discuss standard facts that hold in adjunctions of higher categories. Most of what we discuss can be found in section 5.2 of [Lu09], particularly subsection 5.2.2. Adjunctions of Categories Recall that for ordinary categories C and D we defined adjunctions as follows Definition 1.1. (Definition Section IV.1 Page 78 [Ml98]) Let F : C ! D and G : D ! C be functors. We say the pair (F; G) is an adjunction and denote it as F C D G if for each object C 2 C and D 2 D there exists an equivalence ∼ HomD(F C; D) = HomC(C; GD) This definition is not quite satisfying though as the determination of the iso- morphisms is not functorial here. So, let us give following equivalent definitions that are more satisfying: Theorem 1.2. (Parts of Theorem 2 Section IV.1 Page 81 [Ml98]) A pair (F; G) is an adjunction if and only if one of the following equivalent conditions hold: 1. There exists a natural transformation c : FG ! idD (the counit map) such that the natural map F (cC )∗ HomC(C; GD) −−! HomD(F C; F GD) −−−−−! HomD(F C; D) is an isomorphism 1 2.