# Patterns of Cognition: Cognitive Algorithms as Galois Connections Fulfilled by Chronomorphisms On Probabilistically Typed Metagraphs

arXiv: https://arxiv.org/abs/2102.10581 · HTML: https://mlsanity.com/paper/2102.10581/

## Key facts

- Cited by 2 papers in the map (data through 14 Oct 2026).
- Builds on 6 of its 41 references that are in the map.
- First posted on arXiv 21 Feb 2021.

## Builds on (most cited first, 6 of 6)

- [Folding and Unfolding on Metagraphs](https://mlsanity.com/paper/2012.01759/) (2020)
- [Paraconsistent Foundations for Probabilistic Reasoning, Programming and Concept Formation](https://mlsanity.com/paper/2012.14474/) (2020)
- [Grounding Occam's Razor in a Formal Theory of Simplicity](https://mlsanity.com/paper/2004.05269/) (2020)
- [Distinction Graphs and Graphtropy: A Formalized Phenomenological Layer Underlying Classical and Quantum Entropy, Observational Semantics and Cognitive Computation](https://mlsanity.com/paper/1902.00741/) (2019)
- [Info-Evo: Using Information Geometry to Guide Evolutionary Program Learning](https://mlsanity.com/paper/2103.04747/) (2021)
- [What Kind of Programming Language Best Suits Integrative AGI?](https://mlsanity.com/paper/2004.05267/) (2020)

## Built on by (most cited first, 2 of 2)

- [OpenCog Hyperon: A Framework for AGI at the Human Level and Beyond](https://mlsanity.com/paper/2310.18318/) (2023)
- [The General Theory of General Intelligence: A Pragmatic Patternist Perspective](https://mlsanity.com/paper/2103.15100/) (2021)

## Abstract (arXiv)

It is argued that a broad class of AGI-relevant algorithms can be expressed in a common formal framework, via specifying Galois connections linking search and optimization processes on directed metagraphs whose edge targets are labeled with probabilistic dependent types, and then showing these connections are fulfilled by processes involving metagraph chronomorphisms. Examples are drawn from the core cognitive algorithms used in the OpenCog AGI framework: Probabilistic logical inference, evolutionary program learning, pattern mining, agglomerative clustering, pattern mining and nonlinear-dynamical attention allocation. The analysis presented involves representing these cognitive algorithms as recursive discrete decision processes involving optimizing functions defined over metagraphs, in which the key decisions involve sampling from probability distributions over metagraphs and enacting sets of combinatory operations on selected sub-metagraphs. The mutual associativity of the combinatory operations involved in a cognitive process is shown to often play a key role in enabling the decomposition of the process into folding and unfolding operations; a conclusion that has some practical implications for the particulars of cognitive processes, e.g. militating toward use of reversible logic and reversible program execution. It is also observed that where this mutual associativity holds, there is an alignment between the hierarchy of subgoals used in recursive decision process execution and a hierarchy of subpatterns definable in terms of formal pattern theory.
