1,305 research outputs found
Mixin Composition Synthesis based on Intersection Types
We present a method for synthesizing compositions of mixins using type
inhabitation in intersection types. First, recursively defined classes and
mixins, which are functions over classes, are expressed as terms in a lambda
calculus with records. Intersection types with records and record-merge are
used to assign meaningful types to these terms without resorting to recursive
types. Second, typed terms are translated to a repository of typed combinators.
We show a relation between record types with record-merge and intersection
types with constructors. This relation is used to prove soundness and partial
completeness of the translation with respect to mixin composition synthesis.
Furthermore, we demonstrate how a translated repository and goal type can be
used as input to an existing framework for composition synthesis in bounded
combinatory logic via type inhabitation. The computed result is a class typed
by the goal type and generated by a mixin composition applied to an existing
class
Max Dehn, Axel Thue, and the Undecidable
This is a short essay on the roles of Max Dehn and Axel Thue in the
formulation of the word problem for (semi)groups, and the story of the proofs
showing that the word problem is undecidable.Comment: Definition of undecidability and unsolvability improve
Physics, Topology, Logic and Computation: A Rosetta Stone
In physics, Feynman diagrams are used to reason about quantum processes. In
the 1980s, it became clear that underlying these diagrams is a powerful analogy
between quantum physics and topology: namely, a linear operator behaves very
much like a "cobordism". Similar diagrams can be used to reason about logic,
where they represent proofs, and computation, where they represent programs.
With the rise of interest in quantum cryptography and quantum computation, it
became clear that there is extensive network of analogies between physics,
topology, logic and computation. In this expository paper, we make some of
these analogies precise using the concept of "closed symmetric monoidal
category". We assume no prior knowledge of category theory, proof theory or
computer science.Comment: 73 pages, 8 encapsulated postscript figure
Planar Realizability via Left and Right Applications
We introduce a class of applicative structures called bi-BDI-algebras. Bi-BDI-algebras are generalizations of partial combinatory algebras and BCI-algebras, and feature two sorts of applications (left and right applications). Applying the categorical realizability construction to bi-BDI-algebras, we obtain monoidal bi-closed categories of assemblies (as well as of modest sets). We further investigate two kinds of comonadic applicative morphisms on bi-BDI-algebras as non-symmetric analogues of linear combinatory algebras, which induce models of exponential and exchange modalities on non-symmetric linear logics
A Structural Approach to Reversible Computation
Reversibility is a key issue in the interface between computation and
physics, and of growing importance as miniaturization progresses towards its
physical limits. Most foundational work on reversible computing to date has
focussed on simulations of low-level machine models. By contrast, we develop a
more structural approach. We show how high-level functional programs can be
mapped compositionally (i.e. in a syntax-directed fashion) into a simple kind
of automata which are immediately seen to be reversible. The size of the
automaton is linear in the size of the functional term. In mathematical terms,
we are building a concrete model of functional computation. This construction
stems directly from ideas arising in Geometry of Interaction and Linear
Logic---but can be understood without any knowledge of these topics. In fact,
it serves as an excellent introduction to them. At the same time, an
interesting logical delineation between reversible and irreversible forms of
computation emerges from our analysis.Comment: 30 pages, appeared in Theoretical Computer Scienc
- …