<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">AM</journal-id><journal-title-group><journal-title>Applied Mathematics</journal-title></journal-title-group><issn pub-type="epub">2152-7385</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/am.2014.54059</article-id><article-id pub-id-type="publisher-id">AM-43568</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Causal Groupoid Symmetries
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>ergio</surname><given-names>Pissanetzky</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>School of Science, University of Houston, Clear Lake, USA</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>Sergio@SciControls.com</email></corresp></author-notes><pub-date pub-type="epub"><day>10</day><month>03</month><year>2014</year></pub-date><volume>05</volume><issue>04</issue><fpage>628</fpage><lpage>641</lpage><history><date date-type="received"><day>15</day>	<month>October</month>	<year>2013</year></date><date date-type="rev-recd"><day>15</day>	<month>November</month>	<year>2013</year>	</date><date date-type="accepted"><day>23</day>	<month>November</month>	<year>2013</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
   Proposed here is a new framework for the analysis of complex systems as a non-explicitly programmed mathematical hierarchy of subsystems using only the fundamental principle of causality, the mathematics of groupoid symmetries, and a basic causal metric needed to support measurement in Physics. The complex system is described as a discrete set S of state variables. Causality is described by an acyclic partial order w on S, and is considered as a constraint on the set of allowed state transitions. Causal set (<em>S</em>, <em>w</em>) is the mathematical model of the system. The dynamics it describes is uncertain. Consequently, we focus on invariants, particularly group-theoretical block systems. The symmetry of S by itself is characterized by its symmetric group, which generates a trivial block system over S. The constraint of causality breaks this symmetry and degrades it to that of a groupoid, which may yield a non-trivial block system on S. In addition, partial order w determines a partial order for the blocks, and the set of blocks becomes a causal set with its own, smaller block system. Recursion yields a multilevel hierarchy of invariant blocks over S with the properties of a scale-free mathematical fractal. This is the invariant being sought. The finding hints at a deep connection between the principle of causality and a class of poorly understood phenomena characterized by the formation of hierarchies of patterns, such as emergence, selforganization, adaptation, intelligence, and semantics. The theory and a thought experiment are discussed and previous evidence is referenced. Several predictions in the human brain are confirmed with wide experimental bases. Applications are anticipated in many disciplines, including Biology, Neuroscience, Computation, Artificial Intelligence, and areas of Engineering such as system autonomy, robotics, systems integration, and image and voice recognition. 
 
</p></abstract><kwd-group><kwd>Hierarchies; Groupoids; Symmetry; Causality; Intelligence; Adaptation; Emergence</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Groups and groupoids are very similar, but a critically important case where they behave very differently appears to have remained unnoticed or under-reported. We introduce this case first, and then we review its considerable physical meaning in the context of complex systems. For the present purposes, we are only interested in finite groups and groupoids.</p><p>A group is a finite set with a binary function to itself. A groupoid is a finite set with a partial binary function to itself. A block system over some finite set <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\cd4f3935-c519-44cb-b055-d2d3a14814b7.png" xlink:type="simple"/></inline-formula> is a partition of <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\58ae8611-a95b-4d65-bdf4-3ff27bbf086f.png" xlink:type="simple"/></inline-formula> that remains invariant under the action of the group or groupoid. Two trivial partitions of <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\e73eea34-ab11-4665-abf6-96eb36709531.png" xlink:type="simple"/></inline-formula> that satisfy the invariance requirement always exist, one with <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\039855a9-25f7-48de-adb7-e5daad4299b9.png" xlink:type="simple"/></inline-formula> blocks of size 1, the other with 1 block of size<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\9be555aa-3ade-4d82-ac85-84c114fec690.png" xlink:type="simple"/></inline-formula>, where<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\d7079eb9-1aa9-4aed-bff7-03c65b06ed9d.png" xlink:type="simple"/></inline-formula>. Here, we are interested in non-trivial partitions. Computational experiments [<xref ref-type="bibr" rid="scirp.43568-ref1">1</xref>] suggest that non-trivial partitions arise frequently.</p><p>The action of the group or groupoid on <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\4552b7d8-c7ec-4a7f-9897-cba0cc4d7914.png" xlink:type="simple"/></inline-formula> also determines their action on the block system. However, no further structures are generated. The block system is a single-level decomposition of<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\48b7b777-bcb8-4311-afc6-a941a9a1fca4.png" xlink:type="simple"/></inline-formula>. It does not generate any hierarchies on<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\20165598-d7b5-4488-9ffe-dad2ff0dbf36.png" xlink:type="simple"/></inline-formula>.</p><p>The case of interest arises when set <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\293492db-39c6-44d7-bca0-2f8b64ad0dae.png" xlink:type="simple"/></inline-formula> is enriched with an acyclic partial order<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\c121ef02-c607-4dd5-877b-21066ee1578d.png" xlink:type="simple"/></inline-formula>, and a permutation groupoid <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\4f138b87-714e-4314-baa8-652c69b0806a.png" xlink:type="simple"/></inline-formula> is defined to represent the symmetry of the resulting mathematical object<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\cf22147b-d5fa-434c-b6d5-80310cbcffc4.png" xlink:type="simple"/></inline-formula>. Groupoid <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\7588df22-4435-490d-b1b6-5850dfcd14c4.png" xlink:type="simple"/></inline-formula> partitions <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\bb65e392-3c73-4065-9aad-9d7fb9d9922b.png" xlink:type="simple"/></inline-formula> into a block system, as before, but now partial order <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\626f729e-84d8-42e8-8852-59d6f5bba90a.png" xlink:type="simple"/></inline-formula> determines a partial order for the blocks themselves. This provides the condition for recurrence: we started from partially ordered set<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\ea456a17-282f-41dc-a810-eb3da843f4e2.png" xlink:type="simple"/></inline-formula>, and arrived to a new, smaller partially ordered set—the set of blocks. A new permutation groupoid can now be defined, and the entire procedure can be repeated recurrently until a trivial block system is obtained. The result is a hierarchy of invariant block systems on set <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\1308c243-42d9-47ef-8782-4fedae03caeb.png" xlink:type="simple"/></inline-formula> that depends only on <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\71cd15a1-6e81-4df4-88b4-a2dc755f5d63.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\90c9fd31-e754-4cc5-abc6-83d5a57e1bb5.png" xlink:type="simple"/></inline-formula>.</p><p>Without the partial order, the procedure immediately breaks down. The initial permutation groupoid contains all <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\4063bcc8-0751-4a64-a7d5-699d26e602de.png" xlink:type="simple"/></inline-formula> permutations of<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\0722776f-d440-41fe-86a0-63c16e0d599e.png" xlink:type="simple"/></inline-formula>, and is actually the symmetric group of<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\3c3cfb82-9816-439a-b9c9-894c7f1ab12f.png" xlink:type="simple"/></inline-formula>. It generates only a trivial block system over<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\b3bdf74f-7e42-42fd-a548-2afdbd85a46d.png" xlink:type="simple"/></inline-formula>, and there is no recursion. Recall that a permutation of a set <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\86391c65-3a9b-4ee3-a109-8dd8e5fe2add.png" xlink:type="simple"/></inline-formula> is a bijective map<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\98d438f9-94ae-4b97-bfb7-180b7f52a099.png" xlink:type="simple"/></inline-formula>.</p><p>In summary, given<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\d6f3a9b9-cb97-494b-8699-460d16e0444a.png" xlink:type="simple"/></inline-formula>, there exists a function <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\ccf147ba-4711-488d-a4ec-f8732656be91.png" xlink:type="simple"/></inline-formula> that maps directly from <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\d480f6ae-b3a7-49ef-9ded-338b74953635.png" xlink:type="simple"/></inline-formula> to a fractal hierarchy of invariant blocks on set<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\2f486d6d-8065-43ef-a6bb-0e5af683878e.png" xlink:type="simple"/></inline-formula>:</p><disp-formula id="scirp.43568-formula113042"><label>(1)</label><graphic position="anchor" xlink:href="htmlimages\5-7401908x\2564c6a4-808b-4431-b34f-24283a893bc4.png"  xlink:type="simple"/></disp-formula><p>The partial order is what makes the difference. Function <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\d474c2c4-d6af-4157-9d8c-b945589299ed.png" xlink:type="simple"/></inline-formula> was introduced in [<xref ref-type="bibr" rid="scirp.43568-ref2">2</xref>] . Small examples of non-trivial hierarchies with 5 - 7 levels are published in [<xref ref-type="bibr" rid="scirp.43568-ref1">1</xref>] -[<xref ref-type="bibr" rid="scirp.43568-ref3">3</xref>] .</p><p>So far, we have discussed only pure Mathematics with no physical content. In Mathematics, the groupoid symmetries will work with any partial order, whether it has a physical meaning or not, and the resulting hierarchies will be correct but not necessarily related to the natural hierarchies.</p><p>In Physics, instead, we recognize the fundamental principle of causality as the common entity that underlies all complex systems. We choose the partial order to be causal, as dictated by the principle, and we expect the resulting structures to have a physical meaning, to be observable and measurable, and to show a quantitative agreement with those observed. When the partial order is chosen to be causal, the mathematical object <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\acb28f39-7663-49b5-b4fd-36831a48eb93.png" xlink:type="simple"/></inline-formula> is called a causal set, and the resulting groupoid symmetries are called causal groupoid symmetries.</p><p>Causal set <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\ba5a4d2b-b496-4467-bfca-d6ea10d229a3.png" xlink:type="simple"/></inline-formula> is the mathematical model of the complex system. The complex system is described as a discrete set <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\043cc27f-80bc-4f33-b0dd-4bcd25e12a7b.png" xlink:type="simple"/></inline-formula> of state variables with only two possible values: past, or future. Initially, most variables are in the future, but some are initialized to past. A state transition takes place every time a variable changes its value from future to past. State transitions can happen in any order that does not violate the partial order. The path followed by the evolution of the system is thus described by any legal permutation of the state variables. There are many possible paths, but the system follows only one, and the principle does not specify which. This is the dynamics of the system, and it is an uncertain dynamics. Hence, we focus on invariants, because invariants are certain and will allow us to make predictions. Function <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\12bc4273-a201-4355-8508-0c01e0de21ed.png" xlink:type="simple"/></inline-formula> in Equation (1) allows us to calculate the invariants.</p><p>A basic metric for causal sets is introduced to support measurement. The metric is not needed in Mathematics, but is necessary in Physics because it makes the invariants observable and therefore measurable. A new theory grounded on the principle of causality naturally emerges for a discrete causal space where a dynamics is defined as a process of graph search and invariants with a semantic value are derived directly from the groupoid symmetries without any intervening dynamic law. The findings hint at a deep connection between the principle of causality and a class of little understood phenomena characterized by the formation of hierarchical patterns, including emergence, self-organization, adaptation, intelligence, and semantics. The causal groupoid symmetries of the complex system, described by function<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\79eaf6b8-d87b-4ff3-83dc-5cf1bcac71fb.png" xlink:type="simple"/></inline-formula>, formalize the connection.</p><p>The link between symmetry and invariance is well known in Mathematics and Physics. The theory formalizes this link. Set<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\4637a8ff-52c2-4dd5-b667-0b4141e5d40b.png" xlink:type="simple"/></inline-formula>, the set of state variables, has no order when considered by itself. Its symmetry is described by its symmetric group, which induces in it only a trivial block system. Hence, there is a full symmetry, no order, and no structure. When the causal order is introduced, it acts as a constraint, breaks the initial full symmetry, and degrades it to that of the causal permutation groupoid<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\8a273b4e-af06-4086-89f8-8fc11f4dfbae.png" xlink:type="simple"/></inline-formula>. The invariants are calculated directly from the groupoid, and take the form of a hierarchy of block systems. Hence, a deep connection is revealed between causality and the ubiquitous presence of fractal hierarchies in nature.</p><p>From the point of view of Mathematical Logic, function <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\f05d1cd3-65ac-447e-afb4-e79c9db8e34f.png" xlink:type="simple"/></inline-formula> can be regarded as the definition of a process of inference, where meaningful facts are derived directly from observation based on a representation of the world as a collection of cause-effect pairs. This has been examined in more detail in [<xref ref-type="bibr" rid="scirp.43568-ref2">2</xref>] .</p><p>Causal groupoid symmetries were considered in [<xref ref-type="bibr" rid="scirp.43568-ref1">1</xref>] and applied to the analysis of phenomena of emergence and self-organization, including high cognitive function. A computational study of function <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\d5ef644f-45fa-4229-a288-0e5afde003ae.png" xlink:type="simple"/></inline-formula> is included. In that work, the terms “groupoid” and “causal set” were not used, but all partially ordered sets reported are causal sets, and all symmetries considered are causal groupoid symmetries. A simple causal model of the brain was proposed, where hierarchies of block systems arise in-situ. The model was used to formulate a prediction for the brain, which was later independently confirmed. Applications to self-programming and object-oriented programming were considered in [<xref ref-type="bibr" rid="scirp.43568-ref2">2</xref>] .</p><p>Studies of symmetry, structure and invariance are traditionally carried in the context of groups, but a generalization to groupoids was proposed [<xref ref-type="bibr" rid="scirp.43568-ref4">4</xref>] because groupoids are far less restrictive than groups and can account for many other types of symmetries and invariance observed in nature, even in the absence of geometric automorphisms. However, the critical connection of groupoids with the principle of causality was not made in that work, and, as a consequence, recursion and structural hierarchies were not considered. The notion of symmetry was further extended to directed graphs, and defined as the set of node permutations that preserve the topology of the graph [<xref ref-type="bibr" rid="scirp.43568-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.43568-ref6">6</xref>] , reporting rhythmic, periodic motion that follows from groupoid symmetries underlying the dynamics. This led to studies of synchrony, phase lock, multirythms, synchronized chaos, and bifurcation, including mammal gait and other examples of repetitive dynamics usually considered as adaptive behavior. In that work, causality was implicitly used, but not formally connected with the principle of causality, and the groupoid formalism was not generalized to all causal dynamical systems.</p><p>Studies of adaptive dynamics resulting from the constraint of causality were also conducted in a very different context, that of Cosmology [<xref ref-type="bibr" rid="scirp.43568-ref7">7</xref>] , also reporting periodic behaviors that resemble the human cognitive niche. Several examples were considered, including collaborative behavior, the use of tools, and the evolution of the stock market. An explicit connection with causality was made, and the presence of structures was attributed to the breaking of translational symmetry when a region of space is excluded (see <xref ref-type="fig" rid="fig1">Figure 1</xref>(b) ibidem). A deep connection between intelligence and entropy and a general thermodynamic model for adaptive behavior were proposed and illustrated with the examples, but not formalized. No connection with the groupoid symmetry formalism was attempted, no suggestion was made that such basic formalism may underly the much more complex cosmological formalism, and no formal connection with the principle of causality was noted. The formalization remained specific to Cosmology and was not generalized to all complex systems.</p><p>In yet another very different context, similar results were derived from Price’s equation of evolutionary biology, suggesting that emergence is a property of causal information [<xref ref-type="bibr" rid="scirp.43568-ref8">8</xref>] . In Computer Science, hierarchies of objects and classes created by human analysts have been used for decades to organize code, but can now be created without human intervention by using causal groupoid symmetries [<xref ref-type="bibr" rid="scirp.43568-ref2">2</xref>] . A quantitative information space as a base for semantics, where life and thought appear as new problems of Mathematics and Physics was proposed [<xref ref-type="bibr" rid="scirp.43568-ref9">9</xref>] . Hierarchies in the brain and mind were extensively discussed [<xref ref-type="bibr" rid="scirp.43568-ref10">10</xref>] .</p><p>Our work did not follow any of the paths just reported. It was prompted by the experimental discovery, around 2005, that certain canonical matrices had extraordinary self-organizing properties [<xref ref-type="bibr" rid="scirp.43568-ref1">1</xref>] . Later, the canonical matrices were found to be equivalent to causal sets, and the self-organized patterns were identified as causal groupoid symmetries. The formalization presented here is the result of several years of work that followed the initial discovery.</p><p>This is a bottom-up theory that follows directly from the principle of causality and an abstract metric for causal sets that is necessary to support measurement in Physics, and nothing else. There are no heuristics, no arbitrary constants. As such, the theory should be expected to have considerable impact, scope, and unifying power across disciplines.</p><p>The next two sections cover the theory. The abstract algebraic aspects of the theory are discussed in Section 2. Physics is discussed on Section 3, where the basic metric and an action functional are introduced. We show that groupoids arise naturally from causal models of complex systems. We also show that fractals and scale invariance are a direct consequence of causality. Block systems and conditions for them to be non-trivial are discussed in Section 4. A thought experiment that serves as a simple example of application of the theory is covered in Section 5. Practical details for constructing causal models of physical systems are covered in Section 6. Practical implementations and predictions are discussed in Sections 7 and 8, respectively.</p><p>Supplementary material included with this publication consists of two MS Word files. Other published studies include a study of randomly generated small systems [<xref ref-type="bibr" rid="scirp.43568-ref1">1</xref>] ; an exploratory experiment on Newtonian mechanics intended to discover the fundamentals of CML rather than to be observer-independent or reproducible [<xref ref-type="bibr" rid="scirp.43568-ref1">1</xref>] ; a case study on object-oriented analysis and refactoring of code, based on a published Java program, and another on image recognition, which has not yet been completed due to lack of resources and is still ongoing (see Supplementary material); and the thought experiment reported below in Section 5. The supplementary material is available from  http://www.scicontrols.com.</p></sec><sec id="s2"><title>2. Mathematics</title><p>In this section, we examine the Mathematics of causal groupoid symmetries in more detail. Let <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\8eb6f5a5-b320-43a5-ac49-1a9258eb503c.png" xlink:type="simple"/></inline-formula> be a causal set, where <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\2eba0c69-8f15-45ad-8b4b-0247a30b4538.png" xlink:type="simple"/></inline-formula> is a finite set and <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\55d06411-c875-4a8b-90a6-9526c45d12a3.png" xlink:type="simple"/></inline-formula> is a partial order on<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\8a4a4063-f4e9-4cc1-8a8b-6e8297fb13fe.png" xlink:type="simple"/></inline-formula>, defined as a collection of ordered pairs of elements of <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\581308db-8743-433b-81a4-d19da4ed74d5.png" xlink:type="simple"/></inline-formula> that is:</p><p>  irreflexive: <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\66e52d26-3caa-4ec6-8f11-07f1f3a44c08.png" xlink:type="simple"/></inline-formula></p><p>  acyclic if <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\ec796e8a-cfeb-432d-b33e-e3374639ed32.png" xlink:type="simple"/></inline-formula> then:<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\2f2580e7-a01e-4193-8440-369825c74bd2.png" xlink:type="simple"/></inline-formula>, and</p><p>  transitive if <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\f590f114-9f68-4aec-9dc3-2ed4b21ea16a.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\a1a67b07-fd9e-4e04-b59e-0b86a9e702cb.png" xlink:type="simple"/></inline-formula> then<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\399b3cae-c842-49b5-a0bd-b699f15a5441.png" xlink:type="simple"/></inline-formula>where <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\fac9c34d-f555-46bd-a691-3cb0a73f9174.png" xlink:type="simple"/></inline-formula> means “precedes” and <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\e139973f-db89-4329-8fe0-16b3ec777a8a.png" xlink:type="simple"/></inline-formula> are distinct elements of<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\aaac8985-481a-4ebe-94bc-b8700227f1fb.png" xlink:type="simple"/></inline-formula>. The nature of the elements of <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\b39644f8-4429-49bb-a064-43a289807d5c.png" xlink:type="simple"/></inline-formula> is irrelevant. They have no value and no meaning.</p><p>Define now <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\a3e540ec-b09a-41e0-90ea-3050ce58e866.png" xlink:type="simple"/></inline-formula> as the causal space of<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\22712ca7-c56c-4554-88ac-ef48a9907e50.png" xlink:type="simple"/></inline-formula>, where <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\584b0a53-4478-492f-8f90-0a5feb977073.png" xlink:type="simple"/></inline-formula> is a trajectory in causal space defined as a total order on <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\a6af7cbb-2a13-4b55-a7ac-41d2e53480a0.png" xlink:type="simple"/></inline-formula> compatible with <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\28f97618-10ab-41ec-af8b-088e9b21a44f.png" xlink:type="simple"/></inline-formula> (a linear extension of<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\6b0db6f3-6fad-452c-898a-67d210396ae2.png" xlink:type="simple"/></inline-formula>). Causal space <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\8b65861c-b339-4e58-8ea6-67c1b38742d0.png" xlink:type="simple"/></inline-formula> represents the symmetry of<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\950fd7a2-4e9e-49d4-bef6-f1b813941cb3.png" xlink:type="simple"/></inline-formula>. A dynamics in <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\70314a28-798e-492a-a5cb-46b6946f09f2.png" xlink:type="simple"/></inline-formula> is defined as a graph search process that visits elements of <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\988b1243-8e8c-4da5-a47a-fb17de50990f.png" xlink:type="simple"/></inline-formula> and assigns sequential numbers to them in a causal but otherwise random order. All elements are initially unvisited, and an element can be visited only once. At any step of the search, the past is the set of visited elements, and the future is the set of those unvisited. This dynamics is uncertain. The uncertainty motivates our interest in dynamical invariants.</p><p>To begin our study of dynamical invariants, let now <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\53825658-2168-42dd-a608-a0ad0649ee8d.png" xlink:type="simple"/></inline-formula> be any subset of <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\02f6a400-26fa-4b17-af49-f8a6b77112d8.png" xlink:type="simple"/></inline-formula> of size 2 or more. We will now show that a groupoid <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\35b02457-3606-48bb-9b93-ccd5a0a7f0d1.png" xlink:type="simple"/></inline-formula> and a block system<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\c51d2ebb-47f9-455c-93ee-bc72779f79dd.png" xlink:type="simple"/></inline-formula>, possibly trivial, can be associated with<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\293828dc-cfbc-49ca-844d-f71e4ff80b7e.png" xlink:type="simple"/></inline-formula>, and hence with the symmetry of<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\7d832dbb-afef-417f-9d8a-7f636c1b222a.png" xlink:type="simple"/></inline-formula>. We are interested in block systems because they are invariant under the action of the groupoid. To define the groupoid, recall that a permutation <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\0b08b647-f715-43b2-898f-cddd92d497eb.png" xlink:type="simple"/></inline-formula> of <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\acb72ed7-f62b-4040-9053-767aabeac3b6.png" xlink:type="simple"/></inline-formula> is a map<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\29fcb85e-88f3-4fd4-ac2e-9831f955fc26.png" xlink:type="simple"/></inline-formula>. Arbitrarily choose some reference order <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\c92b8878-b1fd-4415-a07c-d3922775056c.png" xlink:type="simple"/></inline-formula> and define the following set of permutations on<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\027a5344-3a7b-4a09-a4af-4600025e0d27.png" xlink:type="simple"/></inline-formula>:</p><disp-formula id="scirp.43568-formula113043"><label>(2)</label><graphic position="anchor" xlink:href="htmlimages\5-7401908x\a9c7b5d8-75ef-4ae3-81b7-f7dc3b85b912.png"  xlink:type="simple"/></disp-formula><p>where permutations are represented in two-line notation, and <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\ee944bc1-1c1c-40ee-8a50-3213eb6d7722.png" xlink:type="simple"/></inline-formula> designates <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\9b90bea4-041a-4b06-ba22-079714aeec45.png" xlink:type="simple"/></inline-formula> as the top line and <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\d5bca9e4-6735-4422-96e1-3dbe831662bc.png" xlink:type="simple"/></inline-formula> as the bottom line. Then,</p><disp-formula id="scirp.43568-formula113044"><label>(3)</label><graphic position="anchor" xlink:href="htmlimages\5-7401908x\b2a57e19-26e6-467c-b4f6-62a8a99856c1.png"  xlink:type="simple"/></disp-formula><p>is a groupoid, where <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\29cd60bd-fd3c-44b3-bf1d-bc289bd36b14.png" xlink:type="simple"/></inline-formula> is the set, <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\19654803-3d90-47e6-93f3-1b89e7e82300.png" xlink:type="simple"/></inline-formula>is the partial function, and <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\6ba5ef15-00b5-44b9-a907-4a336fd86134.png" xlink:type="simple"/></inline-formula> is the identity. A block system <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\31f134bf-b54d-4c91-bf14-1d86c59844c8.png" xlink:type="simple"/></inline-formula> on set <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\890edd7f-12a0-40da-bb59-ed776d9ecd7c.png" xlink:type="simple"/></inline-formula> is a partition of <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\15832f92-1468-4e90-932a-31f7cc777443.png" xlink:type="simple"/></inline-formula> into disjoint subsets called blocks, some or all of which can be trivial, that remains invariant under the action of the groupoid operations<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\72026e43-3253-4497-82a0-5a2a274c4ecb.png" xlink:type="simple"/></inline-formula>. Block systems are standard in group theory, and procedures for calculating them are readily available.</p><p>A block system is, in turn, a causal set where the blocks are the elements. When blocks are constructed, some of the original ordered pairs become encapsulated in the blocks, and the remaining ones are induced in the block system and form new ordered pairs linking blocks. The new causal set has its own smaller causal space, groupoid, and block system. Repeating the construction, a fractal hierarchy of invariant blocks is obtained, all determined by the original causal set<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\fba9757e-ff84-48fd-b4f9-90e59f60e685.png" xlink:type="simple"/></inline-formula>.</p></sec><sec id="s3"><title>3. Physics</title><p>To study dynamical invariants, we introduce a partial metric and a functional. Both were experimentally observed by the author [<xref ref-type="bibr" rid="scirp.43568-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.43568-ref2">2</xref>] . For the purpose of the theory, they are introduced by postulate. A metric on a set is a function that defines a distance between elements. A metric is said to be partial if not all distances are defined. For each<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\56e5feab-fee2-46f9-8ad0-3817165a6c8c.png" xlink:type="simple"/></inline-formula>, define partial metric <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\366eeb42-1e14-403e-96dc-a412ec8b2939.png" xlink:type="simple"/></inline-formula> on <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\a57ffe61-2bfc-4410-ba7a-590a66be69da.png" xlink:type="simple"/></inline-formula> as follows:</p><disp-formula id="scirp.43568-formula113045"><label>(4)</label><graphic position="anchor" xlink:href="htmlimages\5-7401908x\15165855-e67b-422d-b804-9d54f26cb38b.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\b0d8fa9a-f6ed-4892-a1be-385c0b7c5fab.png" xlink:type="simple"/></inline-formula> is the ordinal assigned by <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\b3ef8bcc-d237-409d-bdbc-a9a2f5b1090c.png" xlink:type="simple"/></inline-formula> to element <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\b02ccf58-bc91-4642-b800-70df7fccbb3d.png" xlink:type="simple"/></inline-formula> of<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\2310dc03-0e78-431e-8182-f8f0b8ccd771.png" xlink:type="simple"/></inline-formula>. This is the fundamental metric for the causal space<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\fb68aebe-3535-49ce-b3e6-62a423cf6349.png" xlink:type="simple"/></inline-formula>. Since<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\54a1d1f2-1379-4325-8b9b-99ad486a4cb4.png" xlink:type="simple"/></inline-formula>, then<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\2a75b93f-0155-4aa0-a356-7f4c9bcd3c1d.png" xlink:type="simple"/></inline-formula>.</p><p>Functional <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\3a098553-cdf3-49f1-8852-e3883bc4ccd0.png" xlink:type="simple"/></inline-formula> is now defined as twice the sum of the distances of all pairs:</p><disp-formula id="scirp.43568-formula113046"><label>(5)</label><graphic position="anchor" xlink:href="htmlimages\5-7401908x\d6118929-d6bc-414e-af9f-b966c6396912.png"  xlink:type="simple"/></disp-formula><p>where the factor 2 is included for back-compatibility. This functional is called the action of trajectory <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\ebfe1509-d01b-4f54-85bd-d4d8c23638ff.png" xlink:type="simple"/></inline-formula> in<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\c3eed8b3-9eb7-44b3-975b-440d10bb2b38.png" xlink:type="simple"/></inline-formula>. It is positive definite, and it is the simplest non-constant functional, as it should be by Lee Smolin’s parsimony principle (Occam’s razor). The positive definiteness is key to explain emergent phenomena. It allows a collection of local agents to minimize their respective contributions locally and independently, without any external direction or sense of purpose, and yet achieve an unexpected global effect.</p><p>Functional <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\67a36e61-f2a0-40f0-86a0-18fae118e1e9.png" xlink:type="simple"/></inline-formula> maps the set of trajectories <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\5977dc08-87f8-4695-8641-e8d5d226123f.png" xlink:type="simple"/></inline-formula> injectively onto a subset of positive integers. By doing so, it partitions <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\19199f8a-19bc-459b-bc5b-d6a9f2800c89.png" xlink:type="simple"/></inline-formula> into a collection of disjoint subsets, or macrostates, each containing one or more trajectories with the same value of the action. <xref ref-type="fig" rid="fig1">Figure 1</xref> shows an example of a typical distribution of population per macrostate. Three macrostates are marked on the plot because they are determined by optimization and not by parameter. We want to keep the theory parameter-free. They are: the least-action macrostate<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\fc3336ae-dfa7-4859-bf14-19f1e75d4830.png" xlink:type="simple"/></inline-formula>, the most-action macrostate<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\824c0a32-786e-419c-9aea-89f5e1649170.png" xlink:type="simple"/></inline-formula>, and the maximum entropy macrostate<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\6de48b6a-46d8-4bff-977e-270847eaed4a.png" xlink:type="simple"/></inline-formula>. Both <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\bfa6208d-b511-43f9-bd5e-00b5e8024877.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\4479857a-54ea-40fd-a528-e22ae4dc9ed7.png" xlink:type="simple"/></inline-formula> are found near stationary entropy points, suggesting a reversible physics, but <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\17ec45c1-b31f-409e-8ed2-5cb488a1d163.png" xlink:type="simple"/></inline-formula> is not.</p></sec><sec id="s4"><title>4. Analysis</title><p>We now return to our original goal of finding groupoids with non-trivial block systems, while at the same time avoiding introducing any heuristics or adjustable parameters into the theory. We have, however, intentionally left one open parameter: set<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\ce521fe6-da77-4251-81f8-462ad0b8838f.png" xlink:type="simple"/></inline-formula>. It is now time to discuss non-heuristic options for<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\e1f373ad-8f00-4ce1-ae12-29386080c569.png" xlink:type="simple"/></inline-formula>. The preceding analysis is limited to trajectories that connect a given initial state <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\0bf9b3bb-4871-4414-8a41-de4efa8b5028.png" xlink:type="simple"/></inline-formula> with a given final state<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\96de1e05-a6e8-4bdf-a9f6-c8300a2e897b.png" xlink:type="simple"/></inline-formula>.</p><p>For example, in the thought experiment of Section 5, the 10 input variables <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\d5c8d2b0-d2de-41c0-96c8-b5f5e051fa4c.png" xlink:type="simple"/></inline-formula> are the initial past, and the 3 output variables<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\c3074b9c-465e-4863-96f3-66f79e6d373c.png" xlink:type="simple"/></inline-formula>, as well as all the intermediate variables, are the initial future. In the final state<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\d6ed8888-b0f1-49ac-9f1d-81005c6d2551.png" xlink:type="simple"/></inline-formula>, all variables are past. But this happens only because of the particular way the example causal set <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\f5445bc8-fab2-4ceb-b065-f7492fd9fa66.png" xlink:type="simple"/></inline-formula> is chosen. In a general case, usually only a few of the future variables are visited and become part of the past.</p><p>Given a causal set <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\d2179205-61dc-444f-b0ce-78ba8c338c42.png" xlink:type="simple"/></inline-formula> in an initial state<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\0d44fec5-b285-4b14-bfc2-a2506cc5c561.png" xlink:type="simple"/></inline-formula>, the selection of a final state is arbitrary. Indeed, any state reachable by the graph search can be considered as the final state, and then used to select a subset of trajectories that lead there, as we did above. Hence, it is reasonable to consider <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\9c001c80-6ec0-4047-8ddd-7ebaf47cc194.png" xlink:type="simple"/></inline-formula> as a goal. Let <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\763cac77-a334-4e60-b6ce-6d62eaa7d7ef.png" xlink:type="simple"/></inline-formula> be the set of all</p><p>reachable goals for a given<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\c7f5840a-2606-498b-83ce-668b1445ca99.png" xlink:type="simple"/></inline-formula>.</p><p>When a complex system evolves from state <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\6fa9d8da-71ae-4afa-ae2a-9bfefaa021c5.png" xlink:type="simple"/></inline-formula> and reaches state<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\30e025cd-68ed-404e-b467-1afc095ab0e9.png" xlink:type="simple"/></inline-formula>, then <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\470585ba-1d65-4521-9f89-1ff6561bd6d4.png" xlink:type="simple"/></inline-formula> becomes the new initial state <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\bc5d5ac4-0b98-4d09-bca6-70da2bf2af14.png" xlink:type="simple"/></inline-formula> and the system continues evolving. It can, in principle, evolve towards any of the goals in<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\1718684f-8205-437b-9c8f-87664cc3be0a.png" xlink:type="simple"/></inline-formula>. This is, once more, an uncertain dynamics. Since we are looking for certainty, we raise the following interesting question: Are there any natural processes that favor the selection of some subset of goals from<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\60dd81d6-ab59-4a5c-b650-33f32413b6a0.png" xlink:type="simple"/></inline-formula>?</p><p>From the two most fundamental principles of Physics, we know of two cases where such processes exist. From the Second Law we know that isolated systems spontaneously evolve towards a state of maximum uncertainty, and from the Principle of Least-Action we know that a system that evolves between two states follows a stationary-action trajectory. Are these two processes appropriately accounted for by the causal theory? Is our assumption that the functional of Equation (5) represents action, justified? Are there or could there be any other processes that favor some form of selection of goals? And if so, what is the connection with emergent phenomena?</p><p>The plot in <xref ref-type="fig" rid="fig1">Figure 1</xref> may help us to draw some conjectures directly from the causal theory. Limited evidence indicates that plots with similar features apply to many systems, not just the example case in the figure. If a system evolves in a direction that optimizes some physical quantity, then it has to evolve in that direction until the quantity stabilizes.</p><p>We know that any <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\90821d17-9d2f-4542-a8bb-6dc1cea13066.png" xlink:type="simple"/></inline-formula> has a block system, possibly non-trivial, and that<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\f7fd432f-55d1-43b9-add3-f303c22e0e0a.png" xlink:type="simple"/></inline-formula>, and <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\74ab21a3-d1c2-43de-b4f9-d5d248fa57b5.png" xlink:type="simple"/></inline-formula> are candidates for a parameter-free theory. A study of many small systems [<xref ref-type="bibr" rid="scirp.43568-ref1">1</xref>] has suggested that non-trivial blocks are more likely to exist in a small<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\1e42c4d0-77e3-48d9-bda8-e9d84b9359c0.png" xlink:type="simple"/></inline-formula>, and that<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\9cab593d-193d-4d2e-84b2-a20fe6660f20.png" xlink:type="simple"/></inline-formula>. Systems can now be loosely classified into three classes, designated as<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\ba072f1c-b7e9-455a-b623-cdd39994bb16.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\2e75000f-fec8-4625-b1f9-bccffefdef41.png" xlink:type="simple"/></inline-formula>, and<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\0b87996b-83cc-40b7-9967-11b4e910ca72.png" xlink:type="simple"/></inline-formula>, depending on which one of<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\eec0231f-10bd-4e6d-bbc3-fb68fca34ac6.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\e6258978-cd0e-4ef6-8cea-e767d1a1d3ff.png" xlink:type="simple"/></inline-formula>, or <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\0ca2d3ca-5c2b-449a-aa5c-293668b1f778.png" xlink:type="simple"/></inline-formula> falls in the favorable range and/or has a non-trivial block system.</p><p>The <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\d03b7d99-cd74-4532-9911-4d5fd0ec00bd.png" xlink:type="simple"/></inline-formula>-class is for relatively unsophisticated systems that spontaneously maximize their entropy by yielding to causal entropic forces, and are causally small enough for <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\480300bf-f0a8-492a-b905-b3be1811b7cd.png" xlink:type="simple"/></inline-formula> to have invariants. They will exhibit simple, repetitive behavior and support basic adaptive tasks with simple goals, such as gaining an immediate advantage, but their ability for higher cognitive tasks will be limited. These properties are consistent with those anticipated in [<xref ref-type="bibr" rid="scirp.43568-ref6">6</xref>] [<xref ref-type="bibr" rid="scirp.43568-ref7">7</xref>] .</p><p>The <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\5ad83871-f033-404d-b924-fda0e94fc587.png" xlink:type="simple"/></inline-formula>-class is for evolved systems that have developed a mechanism for minimizing their action against causal entropic forces. Such systems can be very large and complex and support higher cognitive and adaptive tasks. In the brain, that mechanism may be provided by resource preservation. Brains grow dendritic trees to store information, and make the trees as short as possible to preserve biological resources. By doing so, as proposed in [<xref ref-type="bibr" rid="scirp.43568-ref1">1</xref>] , they also minimize the action, Equation (5), and cause intelligence to arise as a side effect. In <xref ref-type="table" rid="table1">Table 1</xref> in [<xref ref-type="bibr" rid="scirp.43568-ref1">1</xref>] , odd-numbered lines correspond to least-action <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\967fcbcf-009d-4cd0-8146-996c3ed07580.png" xlink:type="simple"/></inline-formula> systems, and the thought experiment of Section 5 and all systems discussed in the Supplementary Material are <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\ab3f17fd-3149-499f-ac1f-9d48c756b0d4.png" xlink:type="simple"/></inline-formula>-systems. Optimally short dendritic trees were later independently confirmed [<xref ref-type="bibr" rid="scirp.43568-ref11">11</xref>] . <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\89252a1f-fee6-48c4-b2be-549420606ef8.png" xlink:type="simple"/></inline-formula>-<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\dc1b780c-aae2-429c-9892-b345a266ede2.png" xlink:type="simple"/></inline-formula> combinations are possible. For example, Nematodes seem to have <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\e6c9fa98-4ed3-43d6-ba18-f7a565806225.png" xlink:type="simple"/></inline-formula> brains, but they have a connectome where neurons communicate by diffusion, which is an <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\462099e3-9d39-4c9a-ac57-6cada684124a.png" xlink:type="simple"/></inline-formula>- process.</p><p><inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\587bee52-6085-47ef-ab79-5ab2de698842.png" xlink:type="simple"/></inline-formula>-systems are not well understood. They have been studied in simulations and reported in even-numbered lines in <xref ref-type="table" rid="table1">Table 1</xref> in [<xref ref-type="bibr" rid="scirp.43568-ref1">1</xref>] . They have plenty of invariant non-trivial structures, but these differ from those at the <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\1061b3fc-e70c-438e-a09d-390fa5b23ed6.png" xlink:type="simple"/></inline-formula> point for a given causal model. They may or may not exist in nature, or may represent a different kind of intelligence.</p><p>When viewed from the graph-theoretical point of view, the behavior of <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\9e1c07e0-9539-4b55-bb74-2bb1b6d5e333.png" xlink:type="simple"/></inline-formula>-systems is vastly different from the others. Nature appears to use a three-step divide-and-conquer technique to reduce complexity and find certainty in invariants. Let <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\8099615d-5011-4122-9967-3ae927cb0300.png" xlink:type="simple"/></inline-formula> be the directed graph associated with<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\4f03dadd-4fa0-4413-b964-28aa4edcd191.png" xlink:type="simple"/></inline-formula>. In the first step, the minimization of the action functional of Equation (5) over <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\8e4a63d1-6d7d-48d5-b0d6-db6c8dfc3688.png" xlink:type="simple"/></inline-formula> partitions <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\3f130f11-deba-4211-abdd-c62aa5458a25.png" xlink:type="simple"/></inline-formula> into connected components. In step 2, the causal space of each component is partitioned into macrostates, and in step 3, each macrostate is rearranged and partitioned into blocks. The component partition is by far the most significant because the size of the causal space depends exponentially on the size of<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\f591e6a6-905d-4f77-acf9-200afc7f90f4.png" xlink:type="simple"/></inline-formula>. Component partitioning has been observed many times in <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\89f0697c-804f-41ee-88ec-0bfeed231b9d.png" xlink:type="simple"/></inline-formula>- systems and is illustrated below in Section 5, but it has not been observed in <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\a8475812-d173-46f9-bd83-937f95549a40.png" xlink:type="simple"/></inline-formula>-systems or reported at all for <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\143960d8-afb5-4868-b208-2c4fda591a9a.png" xlink:type="simple"/></inline-formula>-systems. If this were to be the case, then the conjecture could be made that <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\cd1fde35-f465-4ef1-a988-70eed2c71580.png" xlink:type="simple"/></inline-formula>-systems are the most convenient for high cognition because they can grow very complex in causality and still have non-trivial invariants, as the human brain does. Which would then explain why the human brain has evolved to be so large, even at the expense of other evolutionary disadvantages.</p><p>Causal entropic forces always point in the direction of increasing entropy. An isolated system with a fixed energy will maximize its entropy and become an <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\55b4f3df-09b5-43f2-ba8f-ba6bf5053795.png" xlink:type="simple"/></inline-formula> system. In the case of <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\b09d19b0-d09f-42f7-9196-b5328fa4530d.png" xlink:type="simple"/></inline-formula>-systems, the present work applies to open systems that: 1) can exchange energy with a reservoir; 2) possess a memory, i.e. a collection of degrees of freedom with states that can be set and “read”, meaning they can interact with other degrees of freedom without changing their states; and 3) possess a mechanism that can oppose causal entropic forces and lower the entropy <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\abe42820-5098-4dc8-a7d8-18d6092ee63c.png" xlink:type="simple"/></inline-formula> away from point <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\c9fff0e8-5621-4387-996f-464ae0e75ebe.png" xlink:type="simple"/></inline-formula> in either direction;  <xref ref-type="fig" rid="fig1">Figure 1</xref> in [<xref ref-type="bibr" rid="scirp.43568-ref12">12</xref>] , where <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\903b1f1b-a45b-4e23-9e6a-8914886b3e90.png" xlink:type="simple"/></inline-formula> when<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\bbd01cf0-821f-4342-872d-1abba93402a9.png" xlink:type="simple"/></inline-formula>, explains how this can be achieved. Brains satisfy these conditions. Computers can be made to (<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\33a58810-687c-4d1f-8a87-dd5cd1ff947e.png" xlink:type="simple"/></inline-formula>4.3 in [<xref ref-type="bibr" rid="scirp.43568-ref2">2</xref>] ).</p><p>But we still can’t predict when block systems are non-trivial. There is no known closed-form mathematical answer to that, and there is no proof for the existence of one either. For now, we must be satisfied with construction.</p></sec><sec id="s5"><title>5. Thought Experiment</title><p>An imaginary scientist who lived before Newton and knew nothing about Euler’s equations, took measurements at fixed intervals of time using mirrors attached to rotating tops that reflected light onto fixed rulers. She noticed that shorter intervals resulted in better accuracy, but other than that, the measurements had no meaning for her. She measured 10 real-valued variables, named them with generic names:<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\475364a3-b52a-4da1-a0be-490c528be477.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\76adaf42-c11b-4b31-b080-44a154563ff0.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\cf9ad83c-64af-4426-b685-586eba433c8e.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\1e946a05-91d3-443b-8e3d-8e68b7d1ffb0.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\1ff0aff0-0555-40bb-a874-04e5e537cd75.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\28537a7f-827c-49ec-9331-ed5cc8513703.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\3a93f164-de7b-40eb-ab3a-425cf7b64cf6.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\9821231e-d45d-4372-9edf-2e6aed1b8572.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\9643ddb1-f3da-4b5d-ae3a-ea513ce24c5d.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\e37d698c-8b12-4671-8c75-ea648e1c91b2.png" xlink:type="simple"/></inline-formula>, except for the time step<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\8b2d26c5-919d-4de9-929f-d15f298dd609.png" xlink:type="simple"/></inline-formula>, and obtained the following 21 relations: </p><disp-formula id="scirp.43568-formula113047"><label>(6)</label><graphic position="anchor" xlink:href="htmlimages\5-7401908x\a91e8d01-bdb5-48f1-af26-d60105f4a8fd.png"  xlink:type="simple"/></disp-formula><p>The 21 lower-case variables become the 21 elements of set<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\ac7274d6-cab4-43cd-be94-230542880154.png" xlink:type="simple"/></inline-formula>. The ordered pairs are obtained by examining dependencies among elements of <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\4eedfd3d-ea6d-460e-b9f0-b061d32fdf04.png" xlink:type="simple"/></inline-formula> in Equation (6). The resulting causal set <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\81c75582-8f57-4a55-8115-f3063eaa17ed.png" xlink:type="simple"/></inline-formula> is: </p><disp-formula id="scirp.43568-formula113048"><label>(7)</label><graphic position="anchor" xlink:href="htmlimages\5-7401908x\bfd36781-4eb8-412f-8882-ce85709c2211.png"  xlink:type="simple"/></disp-formula><p>The alphabetical order of the elements of <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\3d1be416-f0b1-4ea0-93d4-6acebd1fd054.png" xlink:type="simple"/></inline-formula> is taken as the reference order<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\94d74234-14eb-40e3-94a1-3d9aa779e9a7.png" xlink:type="simple"/></inline-formula>. <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\4d682e3b-373b-4645-bab7-58d30d2ce353.png" xlink:type="simple"/></inline-formula>is very large and has not been calculated. The least-action is 42, and <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\af4c954a-831b-453c-ab79-73fd88be9003.png" xlink:type="simple"/></inline-formula> contains 6 trajectories, showed here with their connected components and minimal non-trivial block partitions:</p><disp-formula id="scirp.43568-formula113049"><label>(8)</label><graphic position="anchor" xlink:href="htmlimages\5-7401908x\47517be7-f331-4c34-8a82-ee47b27f858e.png"  xlink:type="simple"/></disp-formula><p>There is no need to determine the groupoid explicitly. Set <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\3284ef2e-eab5-44bb-b828-f982b0fe6f9c.png" xlink:type="simple"/></inline-formula> has 3 connected components, identified with double lines, indicating 3 separate equations. Each component has 3 blocks of 2 elements each and 1 block with 1 element. Hence, all 3 components are non-trivial. Further analysis indicates that all 3 block systems are structurally identical. It is now possible to assemble the expressions from Equation (6) into the structure discovered by the group theory, and then rename the variables to make their meaning more obvious. Recall that the original variables had no recognizable meaning. For the first connected component:</p><disp-formula id="scirp.43568-formula113050"><label>(9)</label><graphic position="anchor" xlink:href="htmlimages\5-7401908x\2c59b4aa-0132-4c4e-b838-03429f116bb4.png"  xlink:type="simple"/></disp-formula><p>where we have re-inserted the algebraic signs. When the same step is completed for all 3 components, a pattern becomes apparent. To enhance the effect, we first rename the 10 input and 3 output variables as follows:&#160;</p><disp-formula id="scirp.43568-formula113051"><label>(10)</label><graphic position="anchor" xlink:href="htmlimages\5-7401908x\8c567b92-b085-4294-9eee-429c7f083020.png"  xlink:type="simple"/></disp-formula><p>After renaming, the 3 final equations are:</p><disp-formula id="scirp.43568-formula113052"><label>(11)</label><graphic position="anchor" xlink:href="htmlimages\5-7401908x\b5e83321-6066-49ff-b216-308c5dc7c24a.png"  xlink:type="simple"/></disp-formula><p>The final step is to take the mathematical limit<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\6c956ad1-21bb-4af8-b775-a2372c7c22cf.png" xlink:type="simple"/></inline-formula>. The limit itself is causal. It means that the rest of each equation becomes independent of <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\ddf556ab-33fd-4726-8a81-8ffea216c97d.png" xlink:type="simple"/></inline-formula> (causal pairs disappear) when <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\8f6cbdee-2958-47cc-ae46-8eafe1ae3624.png" xlink:type="simple"/></inline-formula> is small enough, thus defining a new function. Using the classical notation <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\1daaaaa4-7d88-41de-b0d6-2c1d06247a9c.png" xlink:type="simple"/></inline-formula> for the time derivative<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\7f80537a-1918-49f8-9985-8d35e965e33e.png" xlink:type="simple"/></inline-formula>, the Euler equations are obtained in final form:</p><disp-formula id="scirp.43568-formula113053"><label>(12)</label><graphic position="anchor" xlink:href="htmlimages\5-7401908x\0b0996f2-3fdf-4a27-ab2f-6721eb3bcc33.png"  xlink:type="simple"/></disp-formula><p>The meaning of the variables is now familiar. The scientist’s problem is now solved, and the procedure used to solve it is of a general nature and completely unrelated to the specifics of the problem. The final expressions in Equation (12) are new facts derived directly from facts given in Equation (6). The symbols now have a semantic value because they carry meaning that did not originally exist. These results were not explicitly programmed. They follow directly from the Mathematics of groupoids and the fundamental principles of nature that describe the properties of physical matter.</p><p>A person who wanted to solve this problem would need skills possibly comparable to those of a mid-level Physics student. This person would start by examining the sequences in which the variables in Equation (6) are calculated. She would notice that variable<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\d86a358c-4fa6-4adf-b527-bcef8b8ad657.png" xlink:type="simple"/></inline-formula>, calculated in the first line, is not used before the line that says<inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\0f9860f7-e1da-41c0-8a50-31cf7dfeb848.png" xlink:type="simple"/></inline-formula>, so it would seem “reasonable” that the two lines should be closer together. However, <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\ef69fe53-ee60-43cc-a74a-c3058b735338.png" xlink:type="simple"/></inline-formula>cannot be calculated unless <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\2262c3ab-2ae3-4ce1-b8a1-b568f823b156.png" xlink:type="simple"/></inline-formula> is also available. Continuing this analysis, this person will soon notice that the system splits into 3 components, and would then restart the analysis by rewriting them separately. She would then also notice that the components are identically structured, and that there is more than one way to “organize” each of them. She would soon arrive at one of the orders in Equation (8). The entire process may take a few hours to complete.</p><p>By contrast, it is possible to imagine an “intelligent machine” that would mechanize the entire process using causal sets and causal groupoid symmetries, and solve the problem without any human intervention. This machine would have no need for any of the skills expected from the Physics student. It would complete execution perhaps in microseconds instead of hours, simply because it will use far less information than the student, and because hardware runs much faster than wetware. Even the mathematical limit, needed to write the final Equation (12), is a simple causal operation in 2nd order causal logic (see Section 2.6 in [<xref ref-type="bibr" rid="scirp.43568-ref2">2</xref>] ).</p><p>Furthermore, the positive definite functional of Equation (5) can only be minimized by minimizing the positive contribution from each one of the causal pairs in the causal set. These contributions are only locally interdependent, and can be minimized locally, without the need for any information of a global nature. The property of locality naturally leads to a massively parallel computational architecture. A machine designed along these lines has been proposed in Section 4.3 of [<xref ref-type="bibr" rid="scirp.43568-ref2">2</xref>] and is further discussed in Section 7 below.</p><p>What is fascinating about such machine, is that it solves the problem without having been asked to do so. Nothing in the machine is specific to the given problem, nothing has been specifically programmed for any purpose other than minimizing the functional. The machine does not know any Physics, does not know what it is doing or why, and has not been trained with any skills other than the fundamental causal metric. The machine works only from input data containing a causal description of the topology of the problem. It simply decides to do what it does on its own, without any external direction. There is only one machine of this kind for all problems.</p><p>To the best of our knowledge, this is the first time that high cognitive behavior has been quantitatively shown to emerge from a non-explicitly programmed model.</p><p>Of course, the thought experiment is very small, and does not sufficiently represent the power of the ideas being exposed. In 1985, on page 633 of Metamagical Themas, and in his familiar style, Douglas Hofstadter asked: “The major question of AI is this: What in the world is going on to enable you to convert 100,000,000 retinal dots into one single word ‘mother’ in one tenth of a second?” Each retinal dot generates a causal pair, of which the cause is the beam of light, and the effect is the signal the dot sends to the brain. There is going to be a causal set with 100 million pairs (additional geometric information is necessary but is ignored here for simplicity). The causal set will likely partition into many components, each representing features of the image. But the question of which features and how to represent them and inter-relate them, is decided by the process itself. There is no need to prescribe any “feature vectors” specific to the problem at hand. There is also going to be a groupoid and symmetries and a hierarchy of structures for each component. Will those structures be sufficient to identify the image? Will the machine solve the recognition problem in microseconds? Will the theory scale appropriately to such a large problem? We believe it will. We know it will scale because the fractal property of the invariants guarantees a constant execution time, independent of the size of the problem. We believe it will solve the recognition problem in microseconds. But the only way to know for sure is to try. Pronouncing the word “mother” would be a little beyond scope here, but it can be reduced to groupoids as well.</p></sec><sec id="s6"><title>6. Causal Models</title><p>As usual, the first step for the analysis of a complex system is to prepare a mathematical model of it. In the causal theory, this model is a causal set. Causal set models are ubiquitous. They can be found everywhere, and are part of our daily life and of all our scientific activities. But their direct use is relatively new in Science. To dispel concerns, we open the section with the following rules of thumb:</p><p>1. If you can write a computer program about it, then you can also write a causal set about it.</p><p>2. The output of any sensor is a causal set.</p><p>3. The input to any actuator is a causal set.</p><p>In fact, a computer program is a causal set written in a condensed human-readable notation. Everything in the program is finite, even “real” numbers. Everything in the program is causal and deterministic, even “random” numbers. The principle of causality posits that effects follow their causes, but does not require that causes be known for every effect or that “all” causal pairs for a given effect be known. The typical situation is one where we know some cause-effect pairs for some effects and want to test what we know, compare with observation, and eventually seek to obtain more information and repeat the process. Conversions from software notation to causal set notation are admittedly cumbersome, but will not be once they are automated for the most important programming languages. They have been discussed in Section III in [<xref ref-type="bibr" rid="scirp.43568-ref13">13</xref>] .</p><p>The same considerations apply to algorithms, sets of equations, either algebraic or differential, theories, and many other forms of expression. This is a causal world, and causality underlies everything. The rules of thumb above provide some idea of how to go from underlying causality to a causal set model.</p><p>The entire body of Science is a constant quest for causes. We use them to create mental models that allow us to predict, and we constantly refine them by searching for more detail. We find these activities natural.</p><p>At this point, it is important to compare the causal theory with the methods of statistical physics. In statistical physics, we deal with complex systems where it would be too difficult to gather enough information to directly apply the laws of Physics to every interaction. We are forced to disregard details that appear to be irrelevant, and to apply probabilistic methods trying to approximately explain the properties of matter in aggregate. Once disregarded, we do not have a direct mechanism to evaluate the relevance of a particular detail without significant changes to the model.</p><p>In causal physics, particularly when we deal with a complex system, we may again run into a situation where information is limited and incomplete, and it may be difficult or unfeasible to gather more detail. We start with a coarse model, and we still want to test what we have and compare with observations in the hope that the test will either be satisfactory or at least tell us where more detail may be necessary. When more detail becomes available, then that detail itself is a causal set, and we simply merge it with the original causal set and re-calculate the invariants. This is the causal version of the procedure known as machine learning in Artificial Intelligence. See Sections IV and V.F in [<xref ref-type="bibr" rid="scirp.43568-ref13">13</xref>] for more detail.</p><p>The critical difference between causal analysis and statistical analysis is that statistical methods discard detail, while causal methods preserve detail, and in fact there is no limit to the degree of detail they can carry. And because adding detail is a simple merge, it can be mechanized, with the additional detail obtained either by experiments carried by human scientists or directly by sensors. Permanent causal models can be created that evolve automatically by learning from their environments.</p><p>In such sense, it can be said that the causal theory offers an alternative to Statistical Physics, with very different features.</p><p>The most interesting application of the causal theory to complex systems is expected to be the brain. It is our working hypothesis that the brain acquires causal information directly from the sensory organs and transforms it through a causal process. Other applications will include Artificial Intelligence and Computer Science.</p><p>The Supplementary Material contains examples of causal sets and of the procedures used to obtain them. Additional literature includes [<xref ref-type="bibr" rid="scirp.43568-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.43568-ref14">14</xref>] -[<xref ref-type="bibr" rid="scirp.43568-ref20">20</xref>] .</p></sec><sec id="s7"><title>7. Practical Implementation</title><p>In this Section we review some practical details for a prototype computer implementation of causal groupoid symmetries and the causal theory that needs them. The host-guest process described above is a system with various basic components. It needs an input module that can receive causal data from a variety of sources such as sensors, computer files, existing algorithms and computer programs optionally in various languages, etc., and deliver the corresponding causal set. It also needs an output module with presentation capabilities and support for the user to view and use the results. And it needs a central processing unit that can find the least-action or maximum entropy groupoid symmetries and corresponding structural hierarchies for the given causal set. The core unit consists of a linear array of simple computational units, called neurons, each of which can communicate only with its two nearest neighbors, but which are otherwise completely independent. All neurons work at the same time, each minimizing its own contribution, and resulting in massive parallelism. The execution time for a given problem is constant and independent of the size of the problem provided the number of neurons equals or exceeds the number of elements in the causal set.</p><p>This machine is not specific to any particular problem. It is general, the same machine for all problems. There is only one such machine, although many different implementations on the same or different substrates are possible. The difference will be in the kind of training it receives and in the size and computational power needed to address that kind of training. Once a machine is trained in some specific area, then copies can be made and individual machines created that specialize in subareas, as needed. Except for the “copies” part, the reader may have noticed that the present paragraph would apply to humans almost without change.</p><p>The functional in Equation (5) is positive definite, defined as the sum of positive contributions from each one of the causal pairs. It can only be minimized by minimizing each one of the contributions. The positive definiteness property connects local to global and is essential for emergence because it allows a collection of independent agents to achieve a global effect that exceeds the sum of their individual contributions. This positive definiteness is also critically necessary to allow the massively parallel implementation of the action minimization algorithm. Based on the independence of the agents, the functional is minimized when each agent locally minimizes its own contribution without the need for any global information or sense of purpose.</p><p>These elements of design have been discussed in Section 4 of [<xref ref-type="bibr" rid="scirp.43568-ref2">2</xref>] , where, particularly in subsection 4.3, a prototype has been proposed that can be implemented on an FPGA or GPGPU processor. This design can be considered as a neural network where nodes correspond to elements of the causal set, and commutation of adjacent pairs is used to systematically create permutations with progressively lower values of the action. The “differential pulls” described in that subsection correspond to (the negatives of) causal entropic forces, that try to increase the entropy of the system. By forcibly opposing these forces, the entropy and action are minimized, and a <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\9028a946-fac0-4299-8096-05d5f9c4acfa.png" xlink:type="simple"/></inline-formula>-type system is obtained.</p><p>This design uses a large number of very simple processors, each with only a tiny amount of memory. The number of processors is required to be at least as large as the number of elements of the causal set to be processed, and the total execution time is constant, independent of the number of elements, provided the condition is satisfied that each processor can minimize its local contribution in a period of time that does not exceed a certain constant value. These conditions are strongly reminiscent of the proverbial massive parallelism of the human brain and of its apparently very fast response time even to the largest of problems. In fact, they suggest an explanation for the large size of the human brain. However, the hardware prototype would be expected to run perhaps 10<sup>6</sup> times faster than the brain just because electronics is much faster than wetware. In time, we expect that microchips with millions, perhaps billions of processors will be built.</p><p>No unit of the type proposed here has yet been build, at least not in our knowledge. All computational work and examples discussed in this paper were performed on a personal computer.</p></sec><sec id="s8"><title>8. Predictions</title><p>In [<xref ref-type="bibr" rid="scirp.43568-ref1">1</xref>] , we proposed a working hypothesis that the brain is a complex system where intelligence is an emergent process, and that the internal representations that our brains make, such as the representation of a face or smell we have recognized and which needs to be invariant under transformations of many types, do indeed arise from groupoid symmetries and are to be considered invariants as rightfully as those we consider in Physics. There immediate follows from our assumption that there exists a very large number of invariants, possibly infinite, of which only a very small number has been discovered so far.</p><p>Based on the working hypothesis, a causal set model of the brain was proposed. The model is a network where nodes correspond to elements and links to relations in the causal set. The physical length of the connections corresponds to the abstract measures <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\27346c08-4379-4181-986a-5bf281856bf7.png" xlink:type="simple"/></inline-formula> in Equation (4). The model was used to formulate some predictions and obtain verifications of the theory.</p><p>One of the predictions states that, if the brain does have the ability to minimize action, then dendritic trees must be as short as possible. At that time, the belief in Neuroscience was that the total length of dendritic trees followed a 4/3 power law, which is not optimally short. Later, however, a team of neuroscientists working independently from us proposed an optimally short 2/3 power law with a wide experimental base including the human brain and even across species [<xref ref-type="bibr" rid="scirp.43568-ref11">11</xref>] , thus confirming our prediction.</p><p>Another prediction was also made in [<xref ref-type="bibr" rid="scirp.43568-ref1">1</xref>] that the theoretical study of macrostate population, an example of which is shown in   <xref ref-type="fig" rid="fig1">Figure 1</xref>, should apply to the human brain. This was independently confirmed by comparing the theoretical curve, appropriately rescaled and horizontally inverted, with the measured EEG intensities in <xref ref-type="fig" rid="fig6">Figure 6</xref> left of [<xref ref-type="bibr" rid="scirp.43568-ref21">21</xref>] , which shows the initial ascent from least-entropy up to the entropy peak followed by a slow decay towards minimum entropy as the action decreases. This prediction serves as a verification of the theory.</p><p>Still in the same working hypothesis, we predicted that the brain should operate like a host-guest dynamical system, where the host is unconscious and of a thermodynamic nature, while the guest is conscious and algorithmic. We predicted this independently, from the model, and later found out that in mid 19th century, in his studies of the visual system in humans, Physicist and Physiologist Hermann von Helmholtz had predicted that a process of inference should exist in order to complete the processing of an image. He named this process “Unconscious Inference”, because we weren’t aware it was taking place. We also learned of the Dual Process theory in Psychology, which proposes an implicit, unconscious process, which is automatic and we can’t control, and an explicit conscious process that we control. This convergence of concepts from three very different sources is remarkable, but even more in particular because the causal theory is not a theory of the brain and contains nothing indicating that brains even exist.</p><p>The European Example in the Supplemental Material is a black-box brain experiment, where the results from a task usually performed only by humans and considered as high brain function, are compared with results directly predicted by the causal theory. The task in question is object-oriented design—the design of the class and inheritance structure for the architecture of a computer program, usually done by a human analyst from a given problem statement. To do the experiment, we start from the finished product, an OO design and program developed by human analysts. We remove all structure and order, leaving only the causal relationships in the program, but no information at all about the classes. This step leaves only a causal set, nothing else. Then, we apply the usual causal theory, which has not been explicitly programmed to do OO design and knows nothing about computers or programs, and certainly not about software engineering. The result is a class structure nearly identical to the original man-made one.</p><p>Another example in the Supplementary Material, the Point Separation example, is concerned with the problem of image recognition, and corresponds to <xref ref-type="fig" rid="fig4">Figure 4</xref> of [<xref ref-type="bibr" rid="scirp.43568-ref1">1</xref>] . The size of the corresponding causal sets—1433 elements—far exceeds our current resources (about 12 to 15 elements). We carried the calculations out to the point where the 167 points are effectively separated into 3 groups, but were unable to proceed any further (such as an identification of the letter “C” in the figure). The example is temporarily paused, but even the very preliminary result that the points are separated is of value because the system does that on its own. Again, the system knows nothing about points or even about geometry, and it is certainly not aware that it is separating points or recognizing an image.</p><p>It should be noted at this point that the limitation is one of architecture, and would not be solved by a supercomputer. The correct architecture is discussed in Section 4.3 of [<xref ref-type="bibr" rid="scirp.43568-ref2">2</xref>] . This architecture is a neural network where each “neuron” is a very simple processor to which only local near-neighbor information is available. Neurons correspond to elements in the causal set, and all work simultaneously in steps. Assuming that the maximum number of steps per neuron is limited, this architecture has the property that the total execution time is constant and independent of the size of the problem, under the condition that the number of neurons equals or exceeds the number of elements. The reader should recognize the proverbial “massive parallelism” usually attributed to the brain.</p><p>Finally, the thought experiment in Section 5 starts from (imaginary) experimental information supposedly measured for a rotating top, and leads to the Euler equations for rotating bodies obtained directly from the causal theory and the notion of mathematical limit. Once more, the causal theory knows nothing about tops or theories of Physics and has not been told to derive any equations.</p><p>The value of these predictions and verifications stems from the fact that the same non explicitly-programmed system was used for all cases, without any modifications and without any programming specific to any particular problem.</p></sec><sec id="s9"><title>9. Conclusions</title><p>A causal theory of Physics is proposed where a causal set is considered as a mathematical model of a complex system and groupoid symmetries existing in the causal set are applied directly to derive a hierarchy of invariants for that system. The theory is fundamental because it follows directly from the principle of causality and a basic causal metric, and does not include any heuristics or adjustable parameters. It applies to all causal systems, even under conditions where only partial information is available, because any model can always be refined by adding more information as it becomes available. As such, it provides an alternative to traditional statistical methods.</p><p>A discrete causal space independent of traditional space and time is introduced, where states, trajectories and invariants exist, and invariance is proposed as the base for semantics. Groupoid symmetries with invariant hierarchies of block systems naturally exist in causal space as a consequence of the partial order of trajectories, and many of them may be imprimitive, meaning their invariant hierarchies are non-trivial. These hierarchies are the invariants being sought.</p><p>The metric naturally partitions the causal space first into connected components, then into macrostates, and finally into block systems that are invariant under the action of the groupoid. The partition gives rise to exactly three types of macrostates that can be specified by optimization and are therefore fundamental. Any of the other macrostates would have to be specified by parameter and would not be fundamental. In correspondence with the fundamental macrostates, three very different classes of physical systems can be identified, designated as <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\3c1f2366-94b8-4521-9e05-352c14e23dbc.png" xlink:type="simple"/></inline-formula>-, <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\584fc588-8eb2-48dc-bd98-6819644068d9.png" xlink:type="simple"/></inline-formula>-, and <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\024abb08-2b68-4923-8f49-ca370f4a74f8.png" xlink:type="simple"/></inline-formula>-systems. Limited experimental information suggests that the conditions for a system to be imprimitive depend on the class. <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\fd75bc22-0a0a-4db0-b469-8c199485dd51.png" xlink:type="simple"/></inline-formula>-systems appear to be more likely to be imprimitive when they are small and simple. They give rise to basic, repetitive behaviors with a basic goal, such as gaining an immediate advantage or increasing the number of options. These properties match the properties reported in [<xref ref-type="bibr" rid="scirp.43568-ref6">6</xref>] [<xref ref-type="bibr" rid="scirp.43568-ref7">7</xref>] . <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\ba59c55c-ae4b-43ea-9d9e-b5cdfd58bd5d.png" xlink:type="simple"/></inline-formula>-systems, instead, may be imprimitive even if they are very large. They would be evolved and sophisticated systems, possibly with a connectome, and would exhibit complex cognitive behaviors with abstract goals. The brain seems to be a <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\9a61deed-738f-4280-a72e-c673b1bf3397.png" xlink:type="simple"/></inline-formula>-system. Both <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\a90dde39-bbde-4915-84d3-0c9dfb099342.png" xlink:type="simple"/></inline-formula>-systems and <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\448bd3ae-49c6-49d2-8212-69528d26f2b2.png" xlink:type="simple"/></inline-formula>-systems exist in nature. It is not known whether <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\bab01bc0-a28c-4062-889f-797019ccf81b.png" xlink:type="simple"/></inline-formula>-systems exist in nature, but they can be created artificially. Imprimitive <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\227ec2a1-cd39-4f5b-9c60-98305dfc8340.png" xlink:type="simple"/></inline-formula>-systems would be similar but less sophisticated than <inline-formula><inline-graphic xlink:href="tmlimages\5-7401908x\46b0ca32-1e73-4cd5-9186-3fd606693941.png" xlink:type="simple"/></inline-formula>-systems. Imprimitive systems are the ones that exhibit adaptive behavior.</p><p>These considerations hint at a deep connection between causality and invariance with self-organization, emergence, semantics, and, ultimately, intelligence and adaptation. The theory is proposed as a formalization of this connection. Preliminary computational experiments and predictions made for the brain, both quantitative and qualitative, some already confirmed, suggest a correlation with observed cognitive structures.</p><p>To the best of our knowledge, this is the first time that high cognitive behavior has been quantitatively shown to emerge from a non-explicitly programmed model. The results are remarkable because the software has never been told to do what it did, and was never given any problem-specific goals. It simply decided to do it. We said in the Introduction that our focus was on groupoids with non-trivial block systems. That’s our focus, but our vision goes much farther: it is to make intelligence a problem of Physics and Applied Mathematics.</p></sec></body><back><ref-list><title>References</title><ref id="scirp.43568-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Pissanetzky, S. (2011) Emergence and Self-Organization in Partially Ordered Sets. Complexity, 17, 19-38. http://onlinelibrary.wiley.com/doi/10.1002/cplx.20389/abstracthttp://dx.doi.org/10.1002/cplx.20389</mixed-citation></ref><ref id="scirp.43568-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Pissanetzky, S. (2012) Reasoning with Computer Code: A New Mathematical Logic. Journal of Artificial General Intelligence, 3, 11-42. http://www.degruyter.com/view/j/jagi.2012.3.issue-3/issue-files/jagi.2012.3.issue-3.xml</mixed-citation></ref><ref id="scirp.43568-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Pissanetzky, S. (2011) Structural Emergence in Partially Ordered Sets Is the Key to Intelligence. Lecture Notes in Computer Science. Artificial General Intelligence, 6830, 92-101. http://dl.acm.org/citation.cfm?id=2032884</mixed-citation></ref><ref id="scirp.43568-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Weinstein, A. (1996) Groupoids: Unifying Internal and External Symmetry. Notices of the AMS, 43, 744-752. http://www.ams.org/notices/199607/weinstein.pdf</mixed-citation></ref><ref id="scirp.43568-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Stewart, I., Golubitsky, M. and Pivato, M. (2003) Symmetry Groupoids and Patterns of Synchrony in Coupled Cell Networks. SIAM Journal of Applied Dynamical Systems, 2, 609-646. http://epubs.siam.org/doi/abs/10.1137/S1111111103419896http://dx.doi.org/10.1137/S1111111103419896</mixed-citation></ref><ref id="scirp.43568-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Golubitsky, M. and Stewart, I. (2006) Nonlinear Dynamics of Networks: The Groupoid Formalism. Bulletin of the American Mathematical Society, 43, 305-364. http://www.ams.org/journals/bull/2006-43-03/S0273-0979-06-01108-6/http://dx.doi.org/10.1090/S0273-0979-06-01108-6</mixed-citation></ref><ref id="scirp.43568-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Wissner-Gross, A.D. and Freer, C.E. (2013) Causal Entropic Forces. Physical Review Letters, 110, 168702. http://link.aps.org/doi/10.1103/PhysRevLett.110.168702http://dx.doi.org/10.1103/PhysRevLett.110.168702</mixed-citation></ref><ref id="scirp.43568-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Gardner, A. and Conlon, J.P. (2013) Cosmological Natural Selection and the Purpose of the Universe. Complexity, 18, 48-56. http://onlinelibrary.wiley.com/doi/10.1002/cplx.21446/abstracthttp://dx.doi.org/10.1002/cplx.21446</mixed-citation></ref><ref id="scirp.43568-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Eigen, M. (2013) From Strange Simplicity to Complex Familiarity. Oxford University Press, New York.http://dx.doi.org/10.1093/acprof:oso/9780198570219.001.0001</mixed-citation></ref><ref id="scirp.43568-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Fuster, J.M. (2005) Cortex and Mind. Unifying Cognition. Oxford University Press, New York.http://dx.doi.org/10.1093/acprof:oso/9780195300840.001.0001</mixed-citation></ref><ref id="scirp.43568-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Cuntz, H., Mathy, A. and Hausser, M. (2012) A Scaling Law Derived from Optimal Dendritic Wiring. Proceedings of the National Academy of Sciences USA, 109, 11014. http://www.pnas.org/content/early/2012/06/19/1200430109.full.pdfhttp://dx.doi.org/10.1073/pnas.1200430109</mixed-citation></ref><ref id="scirp.43568-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Verlinde, E. (2011) On the Origin of Gravity and the Laws of Newton. Journal of High Energy Physics, 4, 1-26. http://arxiv.org/pdf/1001.0785.pdf</mixed-citation></ref><ref id="scirp.43568-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Pissanetzky, S. (2009) A New Universal Model of Computation and Its Contribution to Learning, Intelligence, Parallelism, Ontologies, Refactoring, and the Sharing of Resources. International Journal of Information and Mathematical Sciences, 5, 952-982. http://www.scicontrols.com/Publications/ANewUniversalModel.pdf</mixed-citation></ref><ref id="scirp.43568-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Bolognesi, T. (2010) Causal Sets from Simple Models of Computation. arXiv:1004.3128.http://arxiv.org/abs/1004.3128</mixed-citation></ref><ref id="scirp.43568-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Carlson, C.R. (2010) Causal Set Theory and the Origin of Mass-Ratio. viXra:1006.0070.http://vixra.org/abs/1006.0070</mixed-citation></ref><ref id="scirp.43568-ref16"><label>16</label><mixed-citation publication-type="book" xlink:type="simple">Pissanetzky, S. and Lanzalaco, F. (2013) Black-Box Brain Experiments, Causal Mathematical Logic, and the Thermodynamics of Intelligence. Koene, R., Sandberg, A. and Deca, D., Eds., Journal of Artificial General Intelligence, Special Issue on Brain Emulation and Connectomics, to be published.</mixed-citation></ref><ref id="scirp.43568-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Mason, J.W.D. (2013) Consciousness and the Structuring Property of Typical Data. Complexity, 18, 28-37. http://onlinelibrary.wiley.com/doi/10.1002/cplx.21431/fullhttp://dx.doi.org/10.1002/cplx.21431</mixed-citation></ref><ref id="scirp.43568-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Pearl, J. (2009) Causality. Models, Reasoning, and Inference. 2nd Edition, Cambridge University Press, New York.http://dx.doi.org/10.1017/CBO9780511803161</mixed-citation></ref><ref id="scirp.43568-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Neural Information Processing Foundation (2013) http://nips.cc/Conferences/2013/</mixed-citation></ref><ref id="scirp.43568-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Stephan, K.E., Penny, W.D., Moran, R.J., den Ouden, H.E., Daunizeau, J. and Friston, K.J. (2010) Ten Simple Rules for Dynamic Causal Modeling. Neuroimage, 49, 3099-3109. http://www.ncbi.nlm.nih.gov/pubmed/19914382http://dx.doi.org/10.1016/j.neuroimage.2009.11.015</mixed-citation></ref><ref id="scirp.43568-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Kawamata, M., Kirino, E., Inoue, R. and Arai, H. (2007) Event-Related Desynchronization of Frontal-Midline Theta Rhythm during Preconscious Auditory Oddball Processing. Clinical EEG and Neuroscience, 38, 193. http://www.ncbi.nlm.nih.gov/pubmed/17993201http://dx.doi.org/10.1177/155005940703800403</mixed-citation></ref></ref-list></back></article>