-
Algebra of Self-Replication
Authors:
Lawrence S. Moss
Abstract:
Typical arguments for results like Kleene's Second Recursion Theorem and the existence of self-writing computer programs bear the fingerprints of equational reasoning and combinatory logic. In fact, the connection of combinatory logic and computability theory is very old, and this paper extends this connection in new ways. In one direction, we counter the main trend in both computability theory an…
▽ More
Typical arguments for results like Kleene's Second Recursion Theorem and the existence of self-writing computer programs bear the fingerprints of equational reasoning and combinatory logic. In fact, the connection of combinatory logic and computability theory is very old, and this paper extends this connection in new ways. In one direction, we counter the main trend in both computability theory and combinatory logic of heading straight to undecidability. Instead, this paper proposes using several very small equational logics to examine results in computability theory itself. These logics are decidable via term rewriting. We argue that they have something interesting to say about computability theory. They are closely related to fragments of combinatory logic which are decidable, and so this paper contributes to the study of such fragments. The paper has a few surprising results such as a classification of quine programs (programs which output themselves) in two decidable fragments. The classification goes via examination of normal forms in term rewriting systems, hence the title of the paper. The classification is an explanation of why all quine programs (in any language) are "pretty much the same, except for inessential details." In addition, we study the relational structure whose objects are the programs with the relation "p expresses q" meaning that if the program p is run on nothing, then it eventually outputs the program q.
△ Less
Submitted 19 November, 2023; v1 submitted 18 September, 2023;
originally announced September 2023.
-
On Kripke, Vietoris and Hausdorff Polynomial Functors
Authors:
Jiří Adámek,
Stefan Milius,
Lawrence S. Moss
Abstract:
The Vietoris space of compact subsets of a given Hausdorff space yields an endofunctor $\mathscr V$ on the category of Hausdorff spaces. Vietoris polynomial endofunctors on that category are built from $\mathscr V$, the identity and constant functors by forming products, coproducts and compositions. These functors are known to have terminal coalgebras and we deduce that they also have initial alge…
▽ More
The Vietoris space of compact subsets of a given Hausdorff space yields an endofunctor $\mathscr V$ on the category of Hausdorff spaces. Vietoris polynomial endofunctors on that category are built from $\mathscr V$, the identity and constant functors by forming products, coproducts and compositions. These functors are known to have terminal coalgebras and we deduce that they also have initial algebras. We present an analogous class of endofunctors on the category of extended metric spaces, using in lieu of $\mathscr V$ the Hausdorff functor $\mathcal H$. We prove that the ensuing Hausdorff polynomial functors have terminal coalgebras and initial algebras. Whereas the canonical constructions of terminal coalgebras for Vietoris polynomial functors takes $ω$ steps, one needs $ω+ ω$ steps in general for Hausdorff ones. We also give a new proof that the closed set functor on metric spaces has no fixed points.
△ Less
Submitted 20 March, 2023;
originally announced March 2023.
-
Logics for Epistemic Actions: Completeness, Decidability, Expressivity
Authors:
Alexandru Baltag,
Lawrence S. Moss,
Slawomir Solecki
Abstract:
We consider dynamic versions of epistemic logic as formulated in Baltag and Moss "Logics for epistemic programs" (2004). That paper proposed a logical language (actually families of languages parameterized by action signatures) for dynamic epistemic logic. It had been shown that validity in the language is Pi-1-1-complete, so there are no recursively axiomatized complete logical systems for it. In…
▽ More
We consider dynamic versions of epistemic logic as formulated in Baltag and Moss "Logics for epistemic programs" (2004). That paper proposed a logical language (actually families of languages parameterized by action signatures) for dynamic epistemic logic. It had been shown that validity in the language is Pi-1-1-complete, so there are no recursively axiomatized complete logical systems for it. In contrast, this paper proves a weak completeness result for the fragment without action iteration, and a strong completeness result for the fragment without action iteration and common knowledge. Our work involves a detour into term rewriting theory. The argument uses modal filtration, and thus we obtain the finite model property and hence decidability. We also give a translation of our largest language into PDL, thereby obtaining a second proof of decidability. The paper closes with some results on expressive power. These are mostly concerned with comparing the action-iteration-free language with modal logic augmented by transitive closure operators. We answer a natural question about the languages we obtain by varying the action signature: we prove that a logical language with operators for private announcements is more expressive than one for public announcements.
△ Less
Submitted 13 March, 2022;
originally announced March 2022.
-
Presenting the Sierpinski Gasket in Various Categories of Metric Spaces
Authors:
Jayampathy Ratnayake,
Annanthakrishna Manokaran,
Romaine Jayewardene,
Victoria Noquez,
Lawrence S. Moss
Abstract:
This paper studies presentations of the Sierpinski gasket as a final coalgebra for functors on several categories of metric spaces with additional designated points. The three categories which we study differ on their morphisms: one uses short (non-expanding) maps, a second uses Lipschitz maps, and a third uses continuous maps. The functor in all cases is very similar to what we find in the standa…
▽ More
This paper studies presentations of the Sierpinski gasket as a final coalgebra for functors on several categories of metric spaces with additional designated points. The three categories which we study differ on their morphisms: one uses short (non-expanding) maps, a second uses Lipschitz maps, and a third uses continuous maps. The functor in all cases is very similar to what we find in the standard presentation of the gasket as an attractor. We prove that the Sierpinski gasket itself is the final coalgebra of a naturally-occurring functor in the continuous setting. In the short setting, the final coalgebra exists but it is better described as the completion of the initial algebra, and this is not isomorphic to the Sierpinski gasket. In the Lipschitz setting, the final coalgebra does not exist. We determine the initial algebras in all three settings as well.
△ Less
Submitted 17 October, 2021; v1 submitted 13 October, 2021;
originally announced October 2021.
-
The Sierpinski Carpet as a Final Coalgebra
Authors:
Victoria Noquez,
Lawrence S. Moss
Abstract:
We advance the program of connections between final coalgebras as sources of circularity in mathematics and fractal sets of real numbers. In particular, we are interested in the Sierpinski carpet, taking it as a fractal subset of the unit square. We construct a category of square sets and an endofunctor on it which corresponds to the operation of gluing copies of a square set along segments. We sh…
▽ More
We advance the program of connections between final coalgebras as sources of circularity in mathematics and fractal sets of real numbers. In particular, we are interested in the Sierpinski carpet, taking it as a fractal subset of the unit square. We construct a category of square sets and an endofunctor on it which corresponds to the operation of gluing copies of a square set along segments. We show that the initial algebra and final coalgebra exist for our functor, and that the final coalgebra is bi-Lipschitz equivalent to the Sierpinski carpet. Along the way, we make connections to topics such as the iterative construction of initial algebras as colimits, corecursive algebras, and the classic treatment of fractal sets due to Hutchinson.
△ Less
Submitted 3 November, 2022; v1 submitted 12 October, 2021;
originally announced October 2021.
-
An Initial Algebra Theorem Without Iteration
Authors:
Jiří Adámek,
Stefan Milius,
Lawrence S. Moss
Abstract:
The Initial Algebra Theorem by Trnková et al.~states, under mild assumptions, that an endofunctor has an initial algebra provided it has a pre-fixed point. The proof crucially depends on transfinitely iterating the functor and in fact shows that, equivalently, the (transfinite) initial-algebra chain stops. We give a constructive proof of the Initial Algebra Theorem that avoids transfinite iteratio…
▽ More
The Initial Algebra Theorem by Trnková et al.~states, under mild assumptions, that an endofunctor has an initial algebra provided it has a pre-fixed point. The proof crucially depends on transfinitely iterating the functor and in fact shows that, equivalently, the (transfinite) initial-algebra chain stops. We give a constructive proof of the Initial Algebra Theorem that avoids transfinite iteration of the functor. For a given pre-fixed point $A$ of the functor, it uses Pataraia's theorem to obtain the least fixed point of a monotone function on the partial order formed by all subobjects of $A$. Thanks to properties of recursive coalgebras, this least fixed point yields an initial algebra. We obtain new results on fixed points and initial algebras in categories enriched over directed-complete partial orders, again without iteration. Using transfinite iteration we equivalently obtain convergence of the initial-algebra chain as an equivalent condition, overall yielding a streamlined version of the original proof.
△ Less
Submitted 14 February, 2022; v1 submitted 20 April, 2021;
originally announced April 2021.
-
Exploring the Landscape of Relational Syllogistic Logics
Authors:
Alex Kruckman,
Lawrence S. Moss
Abstract:
This paper explores relational syllogistic logics, a family of logical systems related to reasoning about relations in extensions of the classical syllogistic. These are all decidable logical systems. We prove completeness theorems and complexity results for a natural subfamily of relational syllogistic logics, parametrized by constructors for terms and for sentences.
This paper explores relational syllogistic logics, a family of logical systems related to reasoning about relations in extensions of the classical syllogistic. These are all decidable logical systems. We prove completeness theorems and complexity results for a natural subfamily of relational syllogistic logics, parametrized by constructors for terms and for sentences.
△ Less
Submitted 3 November, 2021; v1 submitted 3 September, 2018;
originally announced September 2018.
-
Syllogistic Logic with Cardinality Comparisons, On Infinite Sets
Authors:
Lawrence S. Moss,
Selçuk Topal
Abstract:
This paper enlarges classical syllogistic logic with assertions having to do with comparisons between the sizes of sets. So it concerns a logical system whose sentences are of the following forms: {\sf All $x$ are $y$} and {\sf Some $x$ are $y$}, {\sf There are at least as many $x$ as $y$}, and {\sf There are more $x$ than $y$}. Here $x$ and $y$ range over subsets (not elements) of a given \emph{i…
▽ More
This paper enlarges classical syllogistic logic with assertions having to do with comparisons between the sizes of sets. So it concerns a logical system whose sentences are of the following forms: {\sf All $x$ are $y$} and {\sf Some $x$ are $y$}, {\sf There are at least as many $x$ as $y$}, and {\sf There are more $x$ than $y$}. Here $x$ and $y$ range over subsets (not elements) of a given \emph{infinite} set. Moreover, $x$ and $y$ may appear complemented (i.e., as $\overset{-}{x}$ and $\overset{-}{y}$), with the natural meaning. We formulate a logic for our language that is based on the classical syllogistic. The main result is a soundness/completeness theorem. There are efficient algorithms for proof search and model construction.
△ Less
Submitted 8 May, 2017;
originally announced May 2017.
-
Majority Digraphs
Authors:
Tri Lai,
Jörg Endrullis,
Lawrence S. Moss
Abstract:
A majority digraph is a finite simple digraph $G=(V,\to)$ such that there exist finite sets $A_v$ for the vertices $v\in V$ with the following property: $u\to v$ if and only if "more than half of the $A_u$ are $A_v$". That is, $u\to v$ if and only if $ |A_u \cap A_v | > \frac{1}{2} \cdot |A_u|$. We characterize the majority digraphs as the digraphs with the property that every directed cycle has a…
▽ More
A majority digraph is a finite simple digraph $G=(V,\to)$ such that there exist finite sets $A_v$ for the vertices $v\in V$ with the following property: $u\to v$ if and only if "more than half of the $A_u$ are $A_v$". That is, $u\to v$ if and only if $ |A_u \cap A_v | > \frac{1}{2} \cdot |A_u|$. We characterize the majority digraphs as the digraphs with the property that every directed cycle has a reversal. If we change $\frac{1}{2}$ to any real number $α\in (0,1)$, we obtain the same class of digraphs. We apply the characterization result to obtain a result on the logic of assertions "most $X$ are $Y$" and the standard connectives of propositional logic.
△ Less
Submitted 24 September, 2015;
originally announced September 2015.
-
Abstract GSOS Rules and a Modular Treatment of Recursive Definitions
Authors:
Stefan Milius,
Lawrence S Moss,
Daniel Schwencke
Abstract:
Terminal coalgebras for a functor serve as semantic domains for state-based systems of various types. For example, behaviors of CCS processes, streams, infinite trees, formal languages and non-well-founded sets form terminal coalgebras. We present a uniform account of the semantics of recursive definitions in terminal coalgebras by combining two ideas: (1) abstract GSOS rules l specify additional…
▽ More
Terminal coalgebras for a functor serve as semantic domains for state-based systems of various types. For example, behaviors of CCS processes, streams, infinite trees, formal languages and non-well-founded sets form terminal coalgebras. We present a uniform account of the semantics of recursive definitions in terminal coalgebras by combining two ideas: (1) abstract GSOS rules l specify additional algebraic operations on a terminal coalgebra; (2) terminal coalgebras are also initial completely iterative algebras (cias). We also show that an abstract GSOS rule leads to new extended cia structures on the terminal coalgebra. Then we formalize recursive function definitions involving given operations specified by l as recursive program schemes for l, and we prove that unique solutions exist in the extended cias. From our results it follows that the solutions of recursive (function) definitions in terminal coalgebras may be used in subsequent recursive definitions which still have unique solutions. We call this principle modularity. We illustrate our results by the five concrete terminal coalgebras mentioned above, e.\,g., a finite stream circuit defines a unique stream function.
△ Less
Submitted 27 September, 2013; v1 submitted 9 July, 2013;
originally announced July 2013.
-
Well-Pointed Coalgebras
Authors:
Jiří Adámek,
Stefan Milius,
Lawrence S Moss,
Lurdes Sousa
Abstract:
For endofunctors of varieties preserving intersections, a new description of the final coalgebra and the initial algebra is presented: the former consists of all well-pointed coalgebras. These are the pointed coalgebras having no proper subobject and no proper quotient. The initial algebra consists of all well-pointed coalgebras that are well-founded in the sense of Osius and Taylor. And initial a…
▽ More
For endofunctors of varieties preserving intersections, a new description of the final coalgebra and the initial algebra is presented: the former consists of all well-pointed coalgebras. These are the pointed coalgebras having no proper subobject and no proper quotient. The initial algebra consists of all well-pointed coalgebras that are well-founded in the sense of Osius and Taylor. And initial algebras are precisely the final well-founded coalgebras. Finally, the initial iterative algebra consists of all finite well-pointed coalgebras. Numerous examples are discussed e.g. automata, graphs, and labeled transition systems.
△ Less
Submitted 13 August, 2013; v1 submitted 2 May, 2013;
originally announced May 2013.
-
The Third Life of Quantum Logic: Quantum Logic Inspired by Quantum Computing
Authors:
J. Michael Dunn,
Lawrence S. Moss,
Zhenghan Wang
Abstract:
We begin by discussing the history of quantum logic, dividing it into three eras or lives. The first life has to do with Birkhoff and von Neumann's algebraic approach in the 1930's. The second life has to do with attempt to understand quantum logic as logic that began in the late 1950's and blossomed in the 1970's. And the third life has to do with recent developments in quantum logic coming from…
▽ More
We begin by discussing the history of quantum logic, dividing it into three eras or lives. The first life has to do with Birkhoff and von Neumann's algebraic approach in the 1930's. The second life has to do with attempt to understand quantum logic as logic that began in the late 1950's and blossomed in the 1970's. And the third life has to do with recent developments in quantum logic coming from its connections to quantum computation. We discuss our own work connecting quantum logic to quantum computation (viewing quantum logic as the logic of quantum registers storing qubits), and make some speculations about mathematics based on quantum principles.
△ Less
Submitted 14 February, 2013;
originally announced February 2013.
-
The Category Theoretic Solution of Recursive Program Schemes
Authors:
Stefan Milius,
Lawrence S. Moss
Abstract:
This paper provides a general account of the notion of recursive program schemes, studying both uninterpreted and interpreted solutions. It can be regarded as the category-theoretic version of the classical area of algebraic semantics. The overall assumptions needed are small indeed: working only in categories with "enough final coalgebras" we show how to formulate, solve, and study recursive pr…
▽ More
This paper provides a general account of the notion of recursive program schemes, studying both uninterpreted and interpreted solutions. It can be regarded as the category-theoretic version of the classical area of algebraic semantics. The overall assumptions needed are small indeed: working only in categories with "enough final coalgebras" we show how to formulate, solve, and study recursive program schemes. Our general theory is algebraic and so avoids using ordered, or metric structures. Our work generalizes the previous approaches which do use this extra structure by isolating the key concepts needed to study substitution in infinite trees, including second-order substitution. As special cases of our interpreted solutions we obtain the usual denotational semantics using complete partial orders, and the one using complete metric spaces. Our theory also encompasses implicitly defined objects which are not usually taken to be related to recursive program schemes. For example, the classical Cantor two-thirds set falls out as an interpreted solution (in our sense) of a recursive program scheme.
△ Less
Submitted 15 April, 2009; v1 submitted 15 April, 2009;
originally announced April 2009.
-
Quantum logic as motivated by quantum computing
Authors:
J. Michael Dunn,
Tobias J. Hagge,
Lawrence S. Moss,
Zhenghan Wang
Abstract:
We explore a connection between quantum logic and quantum computing.
We explore a connection between quantum logic and quantum computing.
△ Less
Submitted 7 December, 2004;
originally announced December 2004.