65,592 research outputs found
The Category Theoretic Understanding of Universal Algebra: Lawvere Theories and Monads
Lawvere theories and monads have been the two main category theoretic formulations of universal algebra, Lawvere theories arising in 1963 and the connection with monads being established a few years later. Monads, although mathematically the less direct and less malleable formulation, rapidly gained precedence. A generation later, the definition of monad began to appear extensively in theoretical computer science in order to model computational effects, without reference to universal algebra. But since then, the relevance of universal algebra to computational effects has been recognised, leading to renewed prominence of the notion of Lawvere theory, now in a computational setting. This development has formed a major part of Gordon Plotkin’s mature work, and we study its history here, in particular asking why Lawvere theories were eclipsed by monads in the 1960’s, and how the renewed interest in them in a computer science setting might develop in future
Recommended from our members
Category theory : definitions and examples
Category theory was invented as an abstract language for describing certain structures and constructions which repeatedly occur in many branches of mathematics, such as topology, algebra, and logic. In recent years, it has found several applications in computer science, e.g., algebraic specification, type theory, and programming language semantics. In this paper, we collect definitions and examples of the basic concepts in category theory: categories, functors, natural transformations, universal properties, limits, and adjoints
Span(Graph): a Canonical Feedback Algebra of Open Transition Systems
We show that Span(Graph)*, an algebra for open transition systems introduced
by Katis, Sabadini and Walters, satisfies a universal property. By itself, this
is a justification of the canonicity of this model of concurrency. However, the
universal property is itself of interest, being a formal demonstration of the
relationship between feedback and state. Indeed, feedback categories, also
originally proposed by Katis, Sabadini and Walters, are a weakening of traced
monoidal categories, with various applications in computer science. A state
bootstrapping technique, which has appeared in several different contexts,
yields free such categories. We show that Span(Graph)* arises in this way,
being the free feedback category over Span(Set). Given that the latter can be
seen as an algebra of predicates, the algebra of open transition systems thus
arises - roughly speaking - as the result of bootstrapping state to that
algebra. Finally, we generalize feedback categories endowing state spaces with
extra structure: this extends the framework from mere transition systems to
automata with initial and final states.Comment: 48 pages, 33 figures, journal versio
Semantics out of context: nominal absolute denotations for first-order logic and computation
Call a semantics for a language with variables absolute when variables map to
fixed entities in the denotation. That is, a semantics is absolute when the
denotation of a variable a is a copy of itself in the denotation. We give a
trio of lattice-based, sets-based, and algebraic absolute semantics to
first-order logic. Possibly open predicates are directly interpreted as lattice
elements / sets / algebra elements, subject to suitable interpretations of the
connectives and quantifiers. In particular, universal quantification "forall
a.phi" is interpreted using a new notion of "fresh-finite" limit and using a
novel dual to substitution.
The interest of this semantics is partly in the non-trivial and beautiful
technical details, which also offer certain advantages over existing
semantics---but also the fact that such semantics exist at all suggests a new
way of looking at variables and the foundations of logic and computation, which
may be well-suited to the demands of modern computer science
Program Algebra over an Algebra
We introduce an algebra with free variables, an algebra with undefined values, a program algebra over a term algebra, an algebra with integers, and an algebra with arrays. Program algebra is defined as universal algebra with assignments. Programs depend on the set of generators with supporting variables and supporting terms which determine the value of free variables in the next state. The execution of a program is changing state according to successor function using supporting terms.This work has been supported by the Polish Ministry of Science and Higher Education project “Managing a Large Repository of Computer-verified Mathematical Knowledge” (N N519 385136).Faculty of Computer Science, Białystok Technical University, Wiejska 45A, 15-351 Białystok, PolandGrzegorz Bancerek. Cardinal numbers. Formalized Mathematics, 1(2):377-382, 1990.Grzegorz Bancerek. Introduction to trees. Formalized Mathematics, 1(2):421-427, 1990.Grzegorz Bancerek. K¨onig’s theorem. Formalized Mathematics, 1(3):589-593, 1990.Grzegorz Bancerek. The ordinal numbers. Formalized Mathematics, 1(1):91-96, 1990.Grzegorz Bancerek. Cartesian product of functions. Formalized Mathematics, 2(4):547-552, 1991.Grzegorz Bancerek. K¨onig’s lemma. Formalized Mathematics, 2(3):397-402, 1991.Grzegorz Bancerek. Algebra of morphisms. Formalized Mathematics, 6(2):303-310, 1997.Grzegorz Bancerek. Institution of many sorted algebras. Part I: Signature reduct of an algebra. Formalized Mathematics, 6(2):279-287, 1997.Grzegorz Bancerek. Mizar analysis of algorithms: Preliminaries. Formalized Mathematics, 15(3):87-110, 2007, doi:10.2478/v10037-007-0011-x.Grzegorz Bancerek. Sorting by exchanging. Formalized Mathematics, 19(2):93-102, 2011, doi: 10.2478/v10037-011-0015-4.Grzegorz Bancerek. Free term algebras. Formalized Mathematics, 20(3):239-256, 2012, doi: 10.2478/v10037-012-0029-6.Grzegorz Bancerek and Krzysztof Hryniewiecki. Segments of natural numbers and finite sequences. Formalized Mathematics, 1(1):107-114, 1990.Grzegorz Bancerek and Piotr Rudnicki. The set of primitive recursive functions. Formalized Mathematics, 9(4):705-720, 2001.Grzegorz Bancerek and Andrzej Trybulec. Miscellaneous facts about functions. Formalized Mathematics, 5(4):485-492, 1996.Ewa Burakowska. Subalgebras of the universal algebra. Lattices of subalgebras. Formalized Mathematics, 4(1):23-27, 1993.Czesław Bylinski. Binary operations. Formalized Mathematics, 1(1):175-180, 1990.Czesław Bylinski. Finite sequences and tuples of elements of a non-empty sets. Formalized Mathematics, 1(3):529-536, 1990.Czesław Bylinski. Functions and their basic properties. Formalized Mathematics, 1(1):55-65, 1990.Czesław Bylinski. Functions from a set to a set. Formalized Mathematics, 1(1):153-164, 1990.Czesław Bylinski. The modification of a function by a function and the iteration of the composition of a function. Formalized Mathematics, 1(3):521-527, 1990.Czesław Bylinski. Partial functions. Formalized Mathematics, 1(2):357-367, 1990.Czesław Bylinski. Some basic properties of sets. Formalized Mathematics, 1(1):47-53, 1990.Agata Darmochwał. Finite sets. Formalized Mathematics, 1(1):165-167, 1990.Artur Korniłowicz. On the group of automorphisms of universal algebra & many sorted algebra. Formalized Mathematics, 5(2):221-226, 1996.Artur Korniłowicz and Marco Riccardi. The Borsuk-Ulam theorem. Formalized Mathematics, 20(2):105-112, 2012, doi: 10.2478/v10037-012-0014-0Małgorzata Korolkiewicz. Homomorphisms of many sorted algebras. Formalized Mathematics, 5(1):61-65, 1996.Jarosław Kotowicz, Beata Madras, and Małgorzata Korolkiewicz. Basic notation of universal algebra. Formalized Mathematics, 3(2):251-253, 1992.Yatsuka Nakamura and Grzegorz Bancerek. Combining of circuits. Formalized Mathematics, 5(2):283-295, 1996.Andrzej Nedzusiak. Probability. Formalized Mathematics, 1(4):745-749, 1990.Beata Perkowska. Free many sorted universal algebra. Formalized Mathematics, 5(1):67-74, 1996.Andrzej Trybulec. Binary operations applied to functions. Formalized Mathematics, 1(2):329-334, 1990.Andrzej Trybulec. Enumerated sets. Formalized Mathematics, 1(1):25-34, 1990.Andrzej Trybulec. Many sorted sets. Formalized Mathematics, 4(1):15-22, 1993.Andrzej Trybulec. Many sorted algebras. Formalized Mathematics, 5(1):37-42, 1996.Andrzej Trybulec. A scheme for extensions of homomorphisms of many sorted algebras. Formalized Mathematics, 5(2):205-209, 1996.Andrzej Trybulec. On the sets inhabited by numbers. Formalized Mathematics, 11(4):341-347, 2003.Michał J. Trybulec. Integers. Formalized Mathematics, 1(3):501-505, 1990.Wojciech A. Trybulec. Pigeon hole principle. Formalized Mathematics, 1(3):575-579, 1990.Zinaida Trybulec. Properties of subsets. Formalized Mathematics, 1(1):67-71, 1990.Tetsuya Tsunetou, Grzegorz Bancerek, and Yatsuka Nakamura. Zero-based finite sequences. Formalized Mathematics, 9(4):825-829, 2001.Edmund Woronowicz. Many argument relations. Formalized Mathematics, 1(4):733-737, 1990.Edmund Woronowicz. Relations and their basic properties. Formalized Mathematics, 1(1):73-83, 1990
Generalized models as a universal approach to the analysis of nonlinear dynamical systems
We present a universal approach to the investigation of the dynamics in
generalized models. In these models the processes that are taken into account
are not restricted to specific functional forms. Therefore a single generalized
models can describe a class of systems which share a similar structure. Despite
this generality, the proposed approach allows us to study the dynamical
properties of generalized models efficiently in the framework of local
bifurcation theory. The approach is based on a normalization procedure that is
used to identify natural parameters of the system. The Jacobian in a steady
state is then derived as a function of these parameters. The analytical
computation of local bifurcations using computer algebra reveals conditions for
the local asymptotic stability of steady states and provides certain insights
on the global dynamics of the system. The proposed approach yields a close
connection between modelling and nonlinear dynamics. We illustrate the
investigation of generalized models by considering examples from three
different disciplines of science: a socio-economic model of dynastic cycles in
china, a model for a coupled laser system and a general ecological food web.Comment: 15 pages, 2 figures, (Fig. 2 in color
Approximating the rank of a homomorphism using a Prolog based system
A system of Prolog based programs for the purpose of approximating the rank of algebraic operations of finite unary algebras is presented. The rank function is a measure of finite algebras and their algebraic operations. Rank is a recursive function used in universal algebra and was first introduced as a tool for proving strong dualizability. Logic programming. particularly Prolog, is commonly used in natural language processing, an area of study devoted to the use of computers to understand human (natural) languages. One goal of this thesis is to explore a relationship between the fields of Mathematics and Computer Science through the application of logic programming techniques on structures from universal algebra. This thesis is motivated by the idea that when universal algebra is viewed as a language, the ideas of natural language processing can be used to create a computer system which approximates rank. The outcome of the research is a computational model that computes the Kth approximation of rank. A set of Prolog programs that act as useful tools on algebraic structures are created.The original print copy of this thesis may be available here: http://wizard.unbc.ca/record=b121201
Category theoretic understandings of universal algebra and its dual: monads and Lawvere theories, comonads and what?
AbstractUniversal algebra is often known within computer science in the guise of algebraic specification or equational logic. In 1963, it was given a category theoretic characterisation in terms of what are now called Lawvere theories. Unlike operations and equations, a Lawvere theory is uniquely determined by its category of models. Except for a caveat about nullary operations, the notion of Lawvere theory is equivalent to the universal algebraistʼs notion of an abstract clone. Lawvere theories were soon followed by a further characterisation of universal algebra in terms of monads, the latter quickly becoming preferred by category theorists but not by universal algebraists. In the 1990ʼs began a systematic attempt to dualise the situation. The notion of monad dualises to that of comonad, providing a framework for studying transition systems in particular. Constructs in universal algebra have begun to be dualised too, with different leading examples. But there is not yet a definitive dual of the concept of Lawvere theory, or that of abstract clone, or even a definitive dual of operations and equations. We explore the situation here
- …