**Intelligent Control and Automation**

Vol.08 No.01(2017), Article ID:74324,22 pages

10.4236/ica.2017.81004

Cognitive Supervisor for an Autonomous Swarm of Robots

Vladimir G. Ivancevic, Darryn J. Reid^{ }

Decision Sciences, Joint and Operations Analysis Division, Defence Science & Technology Group, Canberra, Australia

Copyright © 2017 by authors and Scientific Research Publishing Inc.

This work is licensed under the Creative Commons Attribution International License (CC BY 4.0).

http://creativecommons.org/licenses/by/4.0/

Received: January 16, 2017; Accepted: February 21, 2017; Published: February 24, 2017

ABSTRACT

As a sequel to our recent work [1] , in which a control framework was developed for large-scale joint swarms of unmanned ground (UGV) and aerial (UAV) vehicles, the present paper proposes cognitive and meta-cognitive supervisor models for this kind of distributed robotic system. The cognitive supervisor model is a formalization of the recently Nobel-awarded research in brain science on mammalian and human path integration and navigation, performed by the hippocampus. This is formalized here as an adaptive Hamiltonian path integral, and efficiently simulated for implementation on robotic vehicles as a pair of coupled nonlinear Schrödinger equations. The meta-cognitive supervisor model is a modal logic of actions and plans that hinges on a weak causality relation that specifies when atoms may change their values without specifying that they must change. This relatively simple logic is decidable yet sufficiently expressive to support the level of inference needed in our application. The atoms and action primitives of the logic framework also provide a straightforward way of connecting the meta-cognitive supervisor with the cognitive supervisor, with other modules, and to the meta-cognitive supervisors of other robotic platforms in the swarm.

**Keywords:**

Autonomous Robotic Swarm, Cognitive Supervisor, Hippocampus Path Integration and Navigation, Hamiltonian Path Integral, Modal Logic, Nonlinear Schrödinger Equation, Reasoning about Actions and Plans

1. Introduction

Recently, we have proposed in [1] a rigorous model for prediction and control of a large-scale joint swarm of unmanned ground vehicles (UGVs) and unmanned aerial vehicles (UAVs), performing an autonomous land-air operation. In that paper, we have also introduced a need for a cognitive supervisor for the high- dimensional distributed multi-robotic system. Its primary task is to have a birds- eye view of the situation across the joint land-air operation, and based on the GPS locations of both the target and all included robots, to provide them with good 2D and 3D attractor fields so that they can reach the proximity of the target in the shortest possible time. The purpose of the present paper is to develop a rigorous model for this cognitive supervisor, based on recent discoveries in brain science that show us how humans navigate in 2D environments and how bats navigate in 3D environments, and to couple this with a meta-cognitive supervisor model that allows vehicles to reason about actions and construct simple plans.

The 2014 Nobel Prize in Physiology or Medicine was awarded jointly to John O’Keefe, May-Britt Moser and Edvard I. Moser “for their discoveries of cells that constitute a positioning system in the brain’’, in other words, for the hippo- campus path integration and navigation system.

Briefly, there is a part of a mammal brain, called the hippocampal formation, which in humans is mostly developed in taxi drivers, grows in size with their experience and can be also trained (like a muscle) using fast-action video games. The hippocampal formation provides a cognitive map of a familiar environment which can be used to identify one’s current location and to navigate from one place to another. This mapping system provides two independent strategies for locating places, one based on environmental landmarks and the other on a path integration system (see [2] [3] and the references therein), which uses information about distances traveled in particular directions. This brain navigation system exists in all mammals, while in humans it additionally provides the basis for the so-called episodic memory [4] .^{1}

Two main components of the hippocampal formation (discovered by O’Keefe) are: (i) hippocampal place cells, and (ii) grid cells from the entorhinal cortex (discovered by Mosers). In particular, according to Edvard Moser, “All network models for grid cells involve continuous attractors ...”―which is similar to our attractor Hamiltonian dynamics of UGVs and UAVs, given by Equations (1)-(2) in the next section.

As inspired by this discovery in brain science, the present paper proposes a novel probabilistic spatio-temporal model for mammalian path integration and navigation, formulated as an adaptive Hamiltonian path integral. The model combines: (i) a cognitive map
$p\left(t\right)$
performed by hippocampal place cells, (ii) an entorhinal map
$q\left(t\right)$
performed by grid cells, (iii) a current of sensory (extra-hippocampal) stimuli
$J\left(t\right)$
, and (iv) Hebbian learning in hippocampal synaptic weights
$w\left(t\right)$
. This model represents an infinite-dimensional neural network, which can be simulated (using 10^{6} - 10^{7} neurons) on IBM’s TrueNorth chip.

We also propose to couple this cognitive supervisor to a meta-cognitive supervisor, supporting dynamic mission planning, using on an established pro- positional multimodal logic framework. This approach gives robotic vehicles the ability to construct and execute simple plans on the fly against goals, given local sensor information, state information communicated locally between vehicles, and aspects of the state of the robot itself. The coupling to the cognitive supervisor and to the outside world is through the truth value of logical atoms and using multimodal actions.

2. Affine Hamiltonian Control for a Joint (UGV + UAV) Swarm

The affine Hamiltonian control model with many degrees-of-freedom has been presented in the form of 2n-dimensional (2ND) Langevin-type attractor matrix equations with nearest-neighbor couplings, which represent two recurrent neural networks:

UGV-swarm:

$\begin{array}{c}{\dot{q}}_{jk}={\phi}^{2D}\left({q}_{A}^{2D}-{q}_{jk}-{\omega}_{jk}\text{\hspace{0.05em}}{q}_{jk}^{2}{p}_{jk}\right)-{\displaystyle \sum _{j,k}}{\partial}_{{p}_{jk}}{H}_{jk}\text{\hspace{0.05em}}{u}_{jk}+{\eta}_{q}\left(t\right),\\ {\dot{p}}_{jk}={\phi}^{2D}\left({p}_{A}^{2D}-{p}_{jk}-{\omega}_{jk}\text{\hspace{0.05em}}{p}_{jk}^{2}{q}_{jk}\right)+{\displaystyle \sum _{j,k}}{\partial}_{{q}_{jk}}{H}_{jk}\text{\hspace{0.05em}}{u}_{jk}+{\eta}_{p}\left(t\right).\end{array}$ (1)

UAV-swarm:

$\begin{array}{c}{\dot{q}}_{jkl}={\phi}^{3D}\left({q}_{A}^{3D}-{q}_{jkl}-{\omega}_{jkl}\text{\hspace{0.05em}}{q}_{jkl}^{2}{p}_{jkl}\right)-{\displaystyle \sum _{j,k,l}}{\partial}_{{p}_{jkl}}{H}_{jkl}\text{\hspace{0.05em}}{u}_{jkl}+{\eta}_{q}\left(t\right),\\ {\dot{p}}_{jkl}={\phi}^{3D}\left({p}_{A}^{3D}-{p}_{jkl}-{\omega}_{jkl}\text{\hspace{0.05em}}{p}_{jkl}^{2}{q}_{jkl}\right)+{\displaystyle \sum _{j,k,l}}{\partial}_{{q}_{jkl}}{H}_{jkl}\text{\hspace{0.05em}}{u}_{jkl}+{\eta}_{p}\left(t\right).\end{array}$ (2)

The following terms are used in Equations (1) and (2): ${q}_{jk}={q}_{jk}\left(t\right)$ and ${p}_{jk}={p}_{jk}\left(t\right)$ are time-evolving matrices defining coordinates and momenta of the UGV-swarm, respectively, with initial conditions: ${q}_{jk}\left(0\right)$ and ${p}_{jk}\left(0\right)$ . Similarly, ${q}_{jkl}={q}_{jkl}\left(t\right)$ and ${p}_{jkl}={p}_{jkl}\left(t\right)$ are time-evolving tensors defining coordinates and momenta of the UAV-swarm, respectively, with initial conditions: ${q}_{jkl}\left(0\right)$ and ${p}_{jkl}\left(0\right)$ . ${q}_{A}^{2D}$ and ${p}_{A}^{2D}$ are the 2D attractors for the UGV swarm, while ${q}_{A}^{3D}$ and ${p}_{A}^{3D}$ are the 3D attractors for the UGV swarm. ${\phi}^{2D}$ and ${\phi}^{3D}$ are the attractor field strengths for the UGV and UAV swarms, respectively; ${\omega}_{jk}$ and ${\omega}_{jkl}$ are corresponding adaptive weights of both swarms which can be trained by Hebbian learning, $\left({q}_{jk}\mathrm{,}{p}_{jk}\right)$ and $\left({q}_{jkl}\mathrm{,}{p}_{jkl}\right)$ are the initial formations of both swarms, ${u}_{jk}$ and ${u}_{jkl}$ are Lie-derivative controllers for both swarms, ${H}_{jk}$ and ${H}_{jkl}$ are affine Hamiltonians of both swarms, while ${\eta}_{q}\left(t\right)$ and ${\eta}_{p}\left(t\right)$ are zero-mean, delta-correlated, Gaussian white noises added to $q$ and $p$ variables in both swarms. For more technical details on affine Hamiltonian (or, similar, port-Hamiltonian) control of large-scale dynamical systems, see [1] and the references therein.

The purpose of the cognitive supervisor is to provide the 2D and 3D inputs to the recurrent neural nets (1)-(2), or specifically, 2D attractors $\left({q}_{A}^{2D}\mathrm{,}{p}_{A}^{2D}\right)$ for the UGV-swarm and 3D attractors $\left({q}_{A}^{3D}\mathrm{,}{p}_{A}^{3D}\right)$ for the UAV-swarm (see, e.g. [5] ).

3. Adaptive Hamiltonian Path Integral

In his recent Nobel lecture, John O’Keefe referred to his pioneering 1976-paper [6] [7] , describing the function of the hippocampal place cells performing Tolman’s cognitive mapping: “When an animal had located itself in an environment (using environmental stimuli) the hippocampus could calculate subsequent positions in that environment on the basis of how far and in what direction the animal had moved in the interim ...” This quotation was accompanied by a commutative diagram depicting the vector addition and a suggestion that an animal moves in a sequence of vectors.

This extract from O’Keefe’s lecture is the motivation for the present mathematical model. Basically, any two-dimensional (2D) vector is equivalent to a complex number: $z=x+\text{i}y\mathrm{,}$ where ( $x\mathrm{,}y$ ) are Cartesian coordinates and $\text{i}=\sqrt{-1}\mathrm{.}$ The same complex number $z$ can be also given in the polar form as: $z=r{\text{e}}^{\text{i}\theta}$ , where $r$ is the radius vector and $\theta $ is the heading. The sequence of $N$ vectors is the sum of complex numbers:

$\text{particle}-\text{likeanimalmotion}={\displaystyle \sum _{k=1}^{N}}{z}_{k}={\displaystyle \sum _{k=1}^{N}}{x}_{k}+\text{i}{y}_{k}={\displaystyle \sum _{k=1}^{N}}{r}_{k}{\text{e}}^{\text{i}{\theta}_{k}}\mathrm{.}$ (3)

In this way, we can describe a particle-like animal motion in the complex plane
$\u2102\mathrm{,}$
from some initial point
$A$
to the final point
$B\mathrm{,}$
performed in
$N$
steps, as an integral complex number (3). This basic idea describes an animal’s motion in purely static and deterministic terms; it can be generalized into a more realistic, probabilistic dynamics, as follows.^{2}

Now, instead of the complex plane $\u2102$ , consider a particle-like animal motion in the phase plane (p-q), where $p=p\left(t,x\right)$ represents the action of the hippocampal place cells and $q=q\left(t,x\right)$ defines the action of the entorhinal grid cells. The animal moves from some initial point $A$ given by canonical coordinates ( ${q}_{0}\mathrm{,}\text{}{p}_{0}$ ) at initial time ${t}_{0}$ , to the final point $B$ given by canonical coordinate ( ${q}_{1}\mathrm{,}\text{}{p}_{1}\text{\hspace{0.17em}}$ ) at final time ${t}_{1}$ , via all possible paths, each path having an equal probability (so that the sum of all path-probabilities is = 1). This most general 2D motion is properly defined by the transition amplitude:

$\langle B|A\rangle \equiv \langle {q}_{1}\mathrm{,}{p}_{1}\mathrm{,}{t}_{1}|{q}_{0}\mathrm{,}{p}_{0}\mathrm{,}{t}_{0}\rangle $

whose absolute square represents the transition probability density function: $PDF={\left|\langle B|A\rangle \right|}^{2}\equiv {\left|\langle {q}_{1},{p}_{1},{t}_{1}|{q}_{0},{p}_{0},{t}_{0}\rangle \right|}^{2}.$

The transition amplitude
$\langle B|A\rangle $
can be calculated via the following Hamiltonian path integral^{3}

$\begin{array}{l}\langle {q}_{1},{p}_{1},{t}_{1}|{q}_{0},{p}_{0},{t}_{0}\rangle ={\displaystyle \int}\mathcal{D}\left[q\right]\mathcal{D}\left[p\right]exp\left\{\text{i}{\displaystyle {\int}_{{t}_{0}}^{{t}_{1}}}\left[p\left(\tau \right)\dot{q}\left(\tau \right)-H\left(p\mathrm{,}q\right)\right]\text{\hspace{0.05em}}\text{d}\tau \right\}\mathrm{,}\\ \text{with}\text{\hspace{1em}}{\displaystyle \int}\mathcal{D}\left[q\right]\mathcal{D}\left[p\right]\equiv \frac{1}{2\text{\pi}}{\displaystyle \int}{\displaystyle \prod _{\tau}}\text{d}q\left(\tau \right)\text{d}p\left(\tau \right)\mathrm{,}\end{array}$ (4)

where the integration is performed over the $p\left(\tau \right)$ and $q\left(\tau \right)$ values at every time $\tau \mathrm{,}$ with the time-step $\text{d}\tau \equiv {t}_{j}-{t}_{j-1}$ and the velocity $\dot{q}\left(\tau \right)\equiv \frac{q\left({t}_{j}\right)-q\left({t}_{j-1}\right)}{{t}_{j}-{t}_{j-1}}\mathrm{.}$

For technical details of the derivation of the Hamiltonian path integral (4), see e.g. [8] [9] and the references therein.

Next, the sources from various extra-hippocampal stimuli can be incorporated into the basic transition amplitude (4) by adding some form of a bio-electric current $J$ , as:

$Z\left[J\right]={\displaystyle \int}\mathcal{D}\left[q\right]\mathcal{D}\left[p\right]exp\left\{\text{i}{\displaystyle {\int}_{{t}_{0}}^{{t}_{1}}}\left[p\left(\tau \right)\dot{q}\left(\tau \right)-H\left(p\mathrm{,}q\right)+J\left(\tau \right)q\left(\tau \right)\right]\text{d}\tau \right\}\mathrm{,}$ (5)

where $Z\left[J\right]=\langle {q}_{1}\mathrm{,}{p}_{1}\mathrm{,}{t}_{1}|{q}_{0}\mathrm{,}{p}_{0}\mathrm{,}{t}_{0}\rangle $ is the system’s partition function dependent on the current $J$ and obeying the normalization condition: $Z\left[J=0\right]=1$ .

A generalization from a single particle Hamiltonian path integral (4) to the probabilistic dynamics of an N-particle system is straightforward. The phase-

space functional integral that defines the transition amplitude $\langle {q}_{1}^{1}\cdots {q}_{1}^{N},{p}_{1}^{1}\cdots {p}_{N}^{1},{t}_{1}|{q}_{0}^{1}\cdots {q}_{0}^{N},{p}_{1}^{0}\cdots {p}_{N}^{0},{t}_{0}\rangle $ , from the initial ND point $\left({q}_{0}^{1}\cdots {q}_{0}^{N}\right)$ at time ${t}_{0}$ to the final ND point $\left({q}_{1}^{1}\cdots {q}_{1}^{N}\right)$ at time ${t}_{1}$ is given by:

$\begin{array}{c}\langle {q}_{1}^{1}\cdots {q}_{1}^{N}\mathrm{,}{p}_{1}^{1}\cdots {p}_{N}^{1}\mathrm{,}{t}_{1}|{q}_{0}^{1}\cdots {q}_{0}^{N}\mathrm{,}{p}_{1}^{0}\cdots {p}_{N}^{0}\mathrm{,}{t}_{0}\rangle \\ ={\displaystyle \int}\mathcal{D}\left[q\right]\mathcal{D}\left[p\right]exp\left\{\text{i}{\displaystyle {\int}_{{t}_{0}}^{{t}_{1}}}\left[{\displaystyle \sum _{k=1}^{N}}{p}_{k}\left(\tau \right){\dot{q}}^{k}\left(\tau \right)-H\left({p}_{k}\mathrm{,}{q}^{k}\right)\right]\text{d}\tau \right\}\mathrm{,}\\ \text{with}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}{\displaystyle \int}\mathcal{D}\left[q\right]\mathcal{D}\left[p\right]=\frac{1}{2\text{\pi}}{\displaystyle \int}{\displaystyle \prod _{\tau}}{\displaystyle \prod _{k=1}^{N}}\text{d}{q}^{k}\text{d}{p}_{k}\mathrm{,}\end{array}$

where we are allowing for the full Hamiltonian of the system $H\left({p}_{k}\mathrm{,}{q}^{k}\right)$ to depend upon all the $N$ coordinates ${q}^{k}\left(\tau \right)$ and momenta ${p}_{k}\left(\tau \right)$ collectively.

Again, we can add various sources as incoming bio-currents ${J}_{k}$ as a straightforward generalization of the single-particle partition function (5) to the system of $N$ particles:

${Z}_{N}\left[{J}_{k}\right]={\displaystyle \int}\mathcal{D}\left[p\right]\mathcal{D}\left[q\right]exp\left\{\text{i}{\displaystyle {\int}_{{t}_{0}}^{{t}_{1}}}\left[{\displaystyle \sum _{k=1}^{N}}{p}_{k}\left(\tau \right){\dot{q}}^{k}\left(\tau \right)-H\left({p}_{k}\mathrm{,}{q}^{k}\right)+{J}_{k}\left(\tau \right){q}^{k}\left(\tau \right)\right]\text{d}\tau \right\}\mathrm{,}$

where ${Z}_{N}\left[{J}_{k}\right]=\langle {q}_{1}^{1}\cdots {q}_{1}^{N}\mathrm{,}{p}_{1}^{1}\cdots {p}_{N}^{1}\mathrm{,}{t}_{1}|{q}_{0}^{1}\cdots {q}_{0}^{N}\mathrm{,}{p}_{1}^{0}\cdots {p}_{N}^{0}\mathrm{,}{t}_{0}\rangle $ is the system’s partition function dependent on all the incoming currents ${J}_{k}$ and obeying the normalization condition: ${Z}_{N}\left[{J}_{k}=0\right]=1,$ for $k=1,\cdots ,N.$

Our final step is to transform the N-particle partition function ${Z}_{N}\left[{J}_{k}\right]$ into an infinite-dimensional recurrent neural network (of a generalized Hopfield type) by including the hippocampal synaptic weights ${w}_{k}\left(\tau \right)$ into it (compare with [12] ), as:

$\begin{array}{l}{Z}_{N}\left[{w}_{k}\mathrm{,}{J}_{k}\right]\\ ={\displaystyle \int}\mathcal{D}\left[w\right]\mathcal{D}\left[q\right]\mathcal{D}\left[p\right]exp\left\{\text{i}{\displaystyle {\int}_{{t}_{0}}^{{t}_{1}}}\left[{\displaystyle \sum _{k=1}^{N}}{p}_{k}\left(\tau \right){\dot{q}}^{k}\left(\tau \right)-H\left({p}_{k}\mathrm{,}{q}^{k}\right)+{J}_{k}\left(\tau \right){q}^{k}\left(\tau \right)\right]\text{d}\tau \right\}\mathrm{,}\\ \text{with}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}{\displaystyle \int}\mathcal{D}\left[w\right]\mathcal{D}\left[q\right]\mathcal{D}\left[p\right]=\frac{1}{2\pi}{\displaystyle \int}{\displaystyle \prod _{\tau}}{\displaystyle \prod _{k=1}^{N}}\text{d}{w}_{k}\text{d}{q}^{k}\text{d}{p}_{k}\mathrm{,}\end{array}$ (6)

where the weights ${w}_{k}\left(\tau \right)$ are adapted (in a discrete time) by Hebbian-type learning:

${w}_{k}\left(\tau +1\right)={w}_{k}\left(\tau \right)+\frac{q}{\eta}\left[{w}_{k}^{D}\left(\tau \right)-{w}_{k}^{A}\left(\tau \right)\right],$ (7)

where $q=q\left(\tau \right),\text{\hspace{0.05em}}\text{}\eta =\eta \left(\tau \right)$ represent local signal and noise amplitudes, respectively, while superscripts $D$ and $A$ denote desired and achieved system states, respectively.

The system (6-7) defines the proposed adaptive Hamiltonian path integral model for a generic mammalian path integration and navigation. Both the sequential (Ising spin) Hopfield network [13] with its Galuber dynamics and the graded-response Hopfield network [14] with its Fokker-Planck dynamics can be considered as special cases of this general Hamiltonian neural system.

Direct computer simulations of the adaptive Hamiltonian path integral system (6-7) can be performed on the IBM TrueNorth chip (see [15] and the references therein) as a Markov-chain Monte Carlo simulation over a grid of Hopfield nets (which are already implemented in the TrueNorth chip, using 10^{6}-10^{7} artificial neurons).

In the next section we propose a more efficient approach to simulate the path integral system (6-7).

4. A Pair of Coupled Nonlinear Schrödinger Equations

In this section, instead of the direct computer simulations on a supercomputer, we will present an indirect approach of simulating the path integral system (6-7) on an ordinary PC, represented as a pair of coupled nonlinear Schrödinger (NLS) equations. In his first paper [11] , Feynman showed that his Lagrangian q-path integral was equivalent to the standard linear Schrödinger equation from quantum mechanics, given here for the case of a free particle (in natural physical units: $\hslash =1,\mathrm{}\text{}m=1$ ):

$\text{i}{\partial}_{t}\psi \left(t\mathrm{,}x\right)=-\frac{1}{2}{\partial}_{xx}\psi \left(t\mathrm{,}x\right)\mathrm{,}\text{\hspace{1em}}\text{\hspace{1em}}\left(\text{i}=\sqrt{-1}\mathrm{;}\text{\hspace{1em}}\text{with}\text{\hspace{0.17em}}{\partial}_{z}\psi =\frac{\partial \psi}{\partial z}\right)\mathrm{,}$ (8)

which defines the complex-valued microscopic wave function $\psi =\psi \left(t,x\right)$ , whose absolute square ${\left|\psi \left(x\mathrm{,}t\right)\right|}^{2}$ defines the probability density function (PDF).

In the last decade it was shown (see [16] and the references therein) that if the linear Schrödinger Equation (8) is put into an adaptive (iterative) feedback loop, it adds a cubic nonlinearity with a potential field $V=V\left(x\right)$ and becomes the NLS equation:

$\text{i}{\partial}_{t}\psi =-\frac{1}{2}{\partial}_{xx}\psi +V{\left|\psi \right|}^{2}\psi \mathrm{,}$ (9)

which now defines the macroscopic wave function $\psi =\psi \left(t,x\right)$ whose absolute square ${\left|\psi \left(x\mathrm{,}t\right)\right|}^{2}$ still defines the PDF [17] . A variety of analytical solutions for the NLS Equation (9) have been reported in [18] [19] .

Finally, to represent the Hamiltonian $\left(q\mathrm{,}p\right)$ -path integral, we can use the $\left(q\mathrm{,}p\right)$ -pair of NLS equations, as follows.

4.1. Special Case: Analytical Soliton

We start with a simple
$\left(q\mathrm{,}p\right)$
-NLS pair representation for the path integral system (6-7), which admits the analytical closed-form solution, given by the so-called Manakov system (with the constant potential
$V$
):^{4}

$\text{i}{\partial}_{t}q=-\frac{1}{2}{\partial}_{xx}q+V\left({\left|q\right|}^{2}+{\left|p\right|}^{2}\right)q,$ (10)

$\text{i}{\partial}_{t}p=-\frac{1}{2}{\partial}_{xx}p+V\left({\left|q\right|}^{2}+{\left|p\right|}^{2}\right)p\mathrm{,}$ (11)

which was proven in [20] , using the Lax pair representation [21] , to be completely integrable Hamiltonian system, by the existence of infinite number of involutive integrals of motion.

The $\left(q\mathrm{,}p\right)$ -NLS pair (10)-(11) admits both “bright” and “dark” soliton as solutions, of which the simplest one is the so-called Manakov bright 2-soliton given by:

$\left[\begin{array}{c}q\left(t\mathrm{,}x\right)\\ p\left(t\mathrm{,}x\right)\end{array}\right]=2b\text{\hspace{0.05em}}\left[\begin{array}{c}{c}_{1}\\ {c}_{2}\end{array}\right]\text{sech}\left[2b\left(x+4at\right)\right]\text{\hspace{0.05em}}{\text{e}}^{-2\text{i}\left(2{a}^{2}t+ax-2{b}^{2}t\right)}\mathrm{,}$ (12)

where $a$ and $b$ are real-valued parameters and ${\left|{c}_{1}\right|}^{2}+{\left|{c}_{2}\right|}^{2}=1.$

4.2. General Case: Numerical Simulation

Now that we have introduced the simple $\left(q\mathrm{,}p\right)$ -NLS pair, we can define our real representation for the path integral system (6-7), as the following more general $\left(q\mathrm{,}p\right)$ -NLS pair:

$\text{i}\text{\hspace{0.05em}}{\partial}_{t}q\left(t\mathrm{,}x\right)=-\frac{1}{2}\text{\hspace{0.05em}}{w}_{k}\text{\hspace{0.05em}}I\left(t\mathrm{,}x\right)\text{\hspace{0.05em}}{\partial}_{xx}q\left(t\mathrm{,}x\right)+V\left(t\mathrm{,}x\right){\left|q\left(t\mathrm{,}x\right)\right|}^{2}p\left(t\mathrm{,}x\right)\mathrm{,}$ (13)

$\text{i}\text{\hspace{0.05em}}{\partial}_{t}p\left(t\mathrm{,}x\right)=-\frac{1}{2}\text{\hspace{0.05em}}{w}_{k}\text{\hspace{0.05em}}J\left(t\mathrm{,}x\right)\text{\hspace{0.05em}}{\partial}_{xx}p\left(t\mathrm{,}x\right)+U\left(t\mathrm{,}x\right){\left|p\left(t\mathrm{,}x\right)\right|}^{2}q\left(t\mathrm{,}x\right)\mathrm{,}$ (14)

including the bell-shaped (sech) spatiotemporal potentials:

$V\left(t\mathrm{,}x\right)=\frac{1}{2}\text{\hspace{0.05em}}\text{sech}\left({a}_{1}\text{\hspace{0.05em}}t\text{\hspace{0.05em}}{x}^{3}\right)\mathrm{,}\text{\hspace{1em}}\text{\hspace{1em}}U\left(t\mathrm{,}x\right)=\frac{1}{2}\text{\hspace{0.05em}}\text{sech}\left({a}_{2}\text{\hspace{0.05em}}{t}^{3}\text{\hspace{0.05em}}x\right)\mathrm{,}$

and the soft-step shaped (tanh) spatiotemporal input currents:

$I\left(t,x\right)={a}_{3}\text{\hspace{0.05em}}\mathrm{tanh}\left({a}_{4}\text{\hspace{0.05em}}{t}^{3}\text{\hspace{0.05em}}x\right),\text{\hspace{1em}}\text{\hspace{1em}}J\left(t,x\right)={a}_{5}\text{\hspace{0.05em}}\mathrm{tanh}\left({a}_{6}\text{\hspace{0.05em}}t\text{\hspace{0.05em}}{x}^{3}\right),$

together with the common initial condition:

$\chi \left(x\right)=\frac{1}{2}exp\left(\text{i}\text{\hspace{0.05em}}x\right)\text{\hspace{0.05em}}\text{sech}\left(\frac{1}{2}\text{\hspace{0.05em}}x\right)\mathrm{,}$

the set of parameters:

$\left(\text{i}\text{\hspace{0.05em}}=\sqrt{-1},{a}_{1}=0.4,{a}_{2}=0.6,{a}_{3}=0.3,{a}_{4}=0.8,{a}_{5}=0.7,{a}_{6}=0.2\right)$

and the set of adaptive synaptic weights ${w}_{k}\mathrm{.}\text{\hspace{0.17em}}$

The $\left(q\mathrm{,}p\right)$ -NLS pair (13)-(14) has been numerically simulated in mathema- tica®, producing 3D plots of real and imaginary parts of the $\left(q\mathrm{,}p\right)$ -wave functions (see Figure 1) and density plots of attractor fields for robotic swarms (see Figure 2), using the following code:

Figure 1. Simulation of the
$\left(q\mathrm{,}p\right)$
-NLS pair (13)-(14) in mathematica^{®}, showing the adaptation of the
$\left(q\mathrm{,}p\right)$
-waves with the change of the synaptic weights
${w}_{k}\in \left[\mathrm{0,1}\right]$
. Each 3D plot shows the following two surfaces (real and imaginary values of the wave function): (a-q) is the q-wave plot at
${w}_{1}=0.1$
, (a-p) is the p-wave plot at
${w}_{1}=0.1$
; (b-q) is the q-wave plot at
${w}_{2}=0.3$
, (b-p) is the p-wave plot at
${w}_{2}=0.3$
; (c-q) is the q-wave plot at
${w}_{3}=0.5$
, (c-p) is the p-wave plot at
${w}_{3}=0.5$
; (d-q) is the q-wave plot at
${w}_{4}=0.7$
, (d-p) is the p-wave plot at
${w}_{4}=0.7$
.

Figure 2. Density plots corresponding to 3D plots in Figure 1, representing hypothetical attractor fields for robotic swarms.

Defining potentials:

$\begin{array}{l}\text{V}\left[\text{t}\_,\text{x}\_\right]\text{:}=\frac{1}{2}\text{Sech}\left[0.4t{x}^{3}\right]\mathrm{;}U\left[\text{t}\_,\text{x}\_\right]:=\frac{1}{2}\text{Sech}\left[0.6{t}^{3}x\right];\\ I\left[\text{t}\_,\text{x}\_\right]\text{:}=0.3\text{Tanh}\left[0.8{t}^{3}x\right]\mathrm{;}\text{}J\left[\text{t}\_,\text{x}\_\right]\text{:}=0.7\text{Tanh}\left[0.2t{x}^{3}\right]\mathrm{;}\\ \text{IC}\left[\text{x}\_\right]\text{:}=\frac{1}{2}\text{Exp}\left[\text{i}x\right]\text{Sech}\left[\frac{1}{2}x\right]\mathrm{;}\text{Tfin}=50;L=10;w=0.9;\end{array}$

Defining NLS-equations:

$\begin{array}{l}\text{NLS2}=\{i{\partial}_{t}q\left[t\mathrm{,}x\right]==-\frac{w}{2}I\left[t\mathrm{,}x\right]{\partial}_{x\mathrm{,}x}q\left[t\mathrm{,}x\right]+\text{Vq}\left[t\mathrm{,}x\right]\text{Abs}{\left[q\left[t\mathrm{,}x\right]\right]}^{2}p\left[t\mathrm{,}x\right]\mathrm{,}\\ \text{\hspace{1em}}\text{\hspace{1em}}\text{\hspace{1em}}\text{\hspace{1em}}i{\partial}_{t}p\left[t\mathrm{,}x\right]==-\frac{w}{2}J\left[t\mathrm{,}x\right]{\partial}_{x\mathrm{,}x}p\left[t\mathrm{,}x\right]+\text{Vp}\left[t\mathrm{,}x\right]\text{Abs}{\left[p\left[t\mathrm{,}x\right]\right]}^{2}q\left[t\mathrm{,}x\right]\}\mathrm{;}\end{array}$

Numerical solution:

$\begin{array}{l}\text{sol}=\text{NDSolve}[\{\text{NLS2}\mathrm{,}q\left[\mathrm{0,}x\right]==\text{IC}\left[x\right]\mathrm{,}q\left[t\mathrm{,}-L\right]==q\left[t\mathrm{,}L\right]\mathrm{,}\\ p\left[\mathrm{0,}x\right]==\text{IC}\left[x\right]\mathrm{,}p\left[t\mathrm{,}-L\right]==p\left[t\mathrm{,}L\right]\}\mathrm{,}\left\{q\mathrm{,}p\right\}\mathrm{,}\left\{t\mathrm{,0,}\text{Tfin}\right\}\mathrm{,}\left\{x\mathrm{,}-L\mathrm{,}L\right\}\mathrm{,}\\ \text{Method}\to \{\u201c\text{MethodOfLines}\u201d\mathrm{,}\u201c\text{SpatialDiscretization}\u201d\to \\ \{\u201c\text{TensorProductGrid}\u201d\mathrm{,}\u201c\text{DifferenceOrder}\u201d\to \u201c\text{Pseudospectral}\u201d\}\}]\mathrm{;}\end{array}$

3D Plots:

$\begin{array}{l}\text{Qplot}=\text{Plot3D}[\left\{\text{Evaluate}\left[\text{Re}\left[q\left[t\mathrm{,}x\right]/\text{.First}\left[\text{sol}\right]\right]\right]\mathrm{,}\text{Evaluate}\left[\text{Im}\left[q\left[t\mathrm{,}x\right]/\text{.First}\left[\text{sol}\right]\right]\right]\right\}\mathrm{,}\\ \left\{x\mathrm{,}-L\mathrm{,}L\right\}\mathrm{,}\left\{t\mathrm{,0,}\text{Tfin}\right\}\mathrm{,}\text{PlotRange}\to \text{All}\mathrm{,}\text{ColorFunction}\to \left(\text{Hue}\left[\mathrm{\#}\right]\mathrm{\&}\right)\mathrm{,}\\ \text{AxesLabel}\to \left\{\u201dx\u201d\mathrm{,}\u201dt\u201d,\u201c\mathrm{Re}/\mathrm{Im}\left[\text{q}\right]\u201d\right\}\mathrm{,}\text{ImageSize}\to 400]\\ \text{Pplot}=\text{Plot3D}[\left\{\text{Evaluate}\left[\text{Re}\left[p\left[t\mathrm{,}x\right]/\text{.First}\left[\text{sol}\right]\right]\right]\mathrm{,}\text{Evaluate}\left[\text{Im}\left[p\left[t\mathrm{,}x\right]/\text{.First}\left[\text{sol}\right]\right]\right]\right\}\mathrm{,}\\ \left\{x\mathrm{,}-L\mathrm{,}L\right\}\mathrm{,}\left\{t\mathrm{,0,}\text{Tfin}\right\}\mathrm{,}\text{PlotRange}\to \text{All}\mathrm{,}\text{ColorFunction}\to \left(\text{Hue}\left[\mathrm{\#}\right]\mathrm{\&}\right)\mathrm{,}\\ \text{AxesLabel}\to \left\{\u201dx\u201d\mathrm{,}\u201dt\u201d,\u201c\mathrm{Re}/\mathrm{Im}\left[\text{p}\right]\u201d\right\}\mathrm{,}\text{ImageSize}\to 400]\end{array}$

The bidirectional associative memory, given by the NLS-pair (13)-(14) effectively performs quantum neural computation, by giving a spatiotemporal generalization of Hopfield, Grossberg and Kosko BAM family of recurrent neural networks (see [16] and the references therein). In addition, the shock- wave and solitary-wave nature of the coupled NLS equations may describe brain-like effects: propagation, reflection and collision of shock and solitary waves (see [24] ).

5. Meta-Cognitive Supervisor

The meta-cognitive supervisor model is concerned with equipping the elements of the robotic swarm with a limited capability for higher reasoning about potential consequences of its actions, using logical constraints that attempt to rule out actions leading to states that we wish to avoid. That is not to say that such states will never occur, so we also require considerable flexibility in our formulation, in the sense that it should maintain the potential to continue to operate under adverse conditions including partial system failure. Yet we require a formalism for capturing this that is as simple as possible, decidable, and computationally feasible in practice on small platforms; in this sense, we regard the Situation Calculus as too rich for our present purpose, since it is inherently first-order and consequently undecidable.

Our starting point is with the logic of actions and plans $\mathcal{L}\mathcal{A}\mathcal{P}$ , which is broadly similar to the propositional dynamic logic $\mathcal{P}\mathcal{D}\mathcal{L}$ [25] [26] , with the difference being that the necessity operator $\square $ in $\mathcal{L}\mathcal{A}\mathcal{P}$ is slightly less expressive (and hence less expensive) than the iteration operator $\ast $ in $\mathcal{P}\mathcal{D}\mathcal{L}$ . This loss of expressivity does not currently appear to be a limiting factor in our application, while the compactness and strong completeness of $\mathcal{L}\mathcal{A}\mathcal{P}$ -which is not shared by $\mathcal{P}\mathcal{D}\mathcal{L}$ -represent a distinct advantage in the demanding highly dynamic context of our application and the limited resources of our envisaged platforms.

The logic of necessity $\square $ in $\mathcal{L}\mathcal{A}\mathcal{P}$ is S4 [27] , and $\square $ has a dual possibility operator $\diamond $ , which is used to express goals. The logic of each modal operator $\left[\upsilon \right]$ , where $\upsilon \in V$ is a countable set of verbs designating distinct actions, is the basic modal logic K [27] . We also include a null action $\varnothing \in V$ . There is also a countable set $A$ of atoms, which designate relevant state conditions in the environment (including within robotic system itself). The set of literals $\overline{A}$ consists of all atoms $a\in A$ and their negations $\neg a$ . We symbolize the canonical tautology as $\top $ , which evaluates to true in all interpretations, and the canonical contradiction as $\perp $ , which evaluates to false in all interpretations.

Formulae are then defined in the usual manner: $\top $ and $\perp $ are formulae, all literals $a$ and $\neg a$ for $a\in A$ are formulae, and conjunctions $f\wedge g$ , disjunctions $f\vee g$ , and material implications $f\to g$ are formulae if $f$ and $g$ are formulae, and $\left[\upsilon \right]f$ is a formula if $f$ is a formula and $\upsilon \in V$ is a verb. Nothing else is a formula.

For our application, we utilize a message passing approach for distributed communication, so actions for local broadcast of meta-cognitive supervisor messages are represented logically in meta-cognition as verbs and any messages received appear as atoms. Note also that this framework admits interaction with the cognitive supervisor, in both directions; specifically, some actions define initial conditions for the determination of the 2D $\left({q}_{A}^{2D},{p}_{A}^{2D}\right)$ and 3D $\left({q}_{A}^{3D},{p}_{A}^{3D}\right)$ attractors. Actions for attractor determination are relative to platform position rather than absolute. A formula that does not contain any of the modal operators $\square $ , $\diamond $ , or $\left[\upsilon \right]$ for $\upsilon \in V$ is described as classical.

Possibility and necessity are related as $\diamond f\equiv \neg \square \neg f$ , and we write $\langle \upsilon \rangle f$ to mean $\neg \left[\upsilon \right]\neg f$ . Goals are formulas having the form $\diamond f$ , where $f$ is classical. For every verb $\upsilon \in V$ and formula $f$ , we have $\square f\to \left[\upsilon \right]f$ , which means that the formula $f$ is invariant; formulae of the form $\square f$ constitute integrity constraints. When $f$ in $\square f$ is classical, the constraint is a static constraint, while $\square f$ where $f$ contains $\left[\upsilon \right]$ for some $\upsilon \in V$ is a dynamic constraint that describes some action law. We are especially concerned with effect con-

straints, which have the form $\square \left(f\to \left[\upsilon \right]g\right)$ , and describe the consequences of performing actions. For instance, $\square \left(Carrying\to \left[release\right]Delivered\right)$ states

that if Carrying is true and the action release is executed, then Delivered will be made true.

Frame axioms are effect constraints of the form $\square \left(f\to \left[\upsilon \right]f\right)$ , which specifies that action $\left[\upsilon \right]$ cannot cause the condition $\neg f$ . For example, $\square \left(Carrying\to \left[travel\right]Carrying\right)$ specifies that Carrying will remain true after action travel is executed if it was true before. Formulae of the form $\left[\upsilon \right]f$ mean that after performing action $\upsilon $ , condition $f$ will be true, so $\square \left[release\right]\neg Carrying$ says that Carrying is false after executing release, for instance. We can also relate alternate actions $\upsilon $ and $\psi $ depending on the truth or falsity of a current condition $f$ to yield an outcome $g$ using $\left(\left(f\to \left[\upsilon \right]g\right)\wedge \left(\neg f\to \left[\psi \right]g\right)\right)$ , which we abbreviate as $\left[f?\upsilon :\psi \right]g$ . A formula $\neg \left[\upsilon \right]\perp $ means that action $\upsilon $ is executable, while $\left[\upsilon \right]\perp $ means that $\upsilon $ is not executable.

The major weakness with using $\mathcal{L}\mathcal{A}\mathcal{P}$ directly lies in the large number of frame axioms required; these axioms in bulk means that any action changes the truth value of relatively few formulae, which bogs down the inference procedure. Even though our current meta-cognitive definitions are small, these frame axioms would likely still be sufficiently numerous to cause problems for the limited computational resources we typically expect on the currently available small and cheap platforms our research is targeting. Consequently, our choice of logic of action and plans is a variant of $\mathcal{L}\mathcal{A}\mathcal{P}$ , namely $\mathcal{L}\mathcal{A}\mathcal{P}\mathcal{D}$ [28] , which employs a weak ternary causal dependence relation involving atoms, actions and conditions to overcome the frame problem. This logic also means that our meta-cognitive supervisor is able to derive indirect effects of actions, which we expect will be very important in terms of being able to reason about exposure to unacceptable failure.

The logic $\mathcal{L}\mathcal{A}\mathcal{P}\mathcal{D}$ is a variant of the earlier $\mathcal{L}\mathcal{A}\mathcal{P}\u21dd$ [29] , which also solves the frame problem using a notion of weak causal dependence. The attraction for our problem of $\mathcal{L}\mathcal{A}\mathcal{P}\mathcal{D}$ over $\mathcal{L}\mathcal{A}\mathcal{P}\u21dd$ is that the former supports more compact domain descriptions without decreasing expressibility, increasing complexity or sacrificing decidability; using the latter would force us to still have to explicitly state conditional frame axioms, which have the form $\square \left(\left(f\wedge g\right)\to \left[\upsilon \right]g\right)$ . In $\mathcal{L}\mathcal{A}\mathcal{P}\mathcal{D}$ . In either system we still have to state indirect dependencies.

In contrast to the ternary dependence relation provided by our choice of $\mathcal{L}\mathcal{A}\mathcal{P}\mathcal{D}$ , the dependence relation in $\mathcal{L}\mathcal{A}\mathcal{P}\u21dd$ is a binary relation $\u21dd$ between actions and literals; it is actually the complementary independence relation $\nrightarrow $

that is used here to encode frame axioms, according to $\upsilon \nrightarrow a\equiv \square \left(\neg a\to \left[\upsilon \right]\neg a\right)$ .

We use the logic $\mathcal{L}\mathcal{A}\mathcal{P}\mathcal{D}$ because it includes an extra parameter in the dependence relation to capture the conditions under which actions may impact on atoms, thereby avoiding the need to state conditional frame axioms in defining the problem domain. We write the ternary contextual dependence relation as $f\text{\hspace{0.17em}}|\upsilon \u21dda$ , where $f$ is a classical formula, $\upsilon \in V$ is a verb and $a\in A$ is an atom, to mean that if $f$ is true then action $\upsilon $ may change the truth value of $a$ . Note that weak contextual dependence does not mean that the action in the context causes a change in truth value of the atom, only that the change might happen. For instance, $Carrying\wedge \neg Delivered\text{\hspace{0.17em}}|release\u21ddDelivered$ states that executing release when Carrying is true and Delivered is false may effect the value of Delivered; the conditional frame axiom $\square (\left(\neg Carrying\wedge \neg Delivered\right)\to \left[release\right]\neg Delivered$ is not needed in the domain description. In our case, the conditions $f$ in $f|\text{\hspace{0.17em}}\upsilon \u21dda$ are always conjunctions of literals, because disjunctions can be simply split into separate dependence statements. Figure 3 contains a small example of a robot meta- cognition scenario in $\mathcal{L}\mathcal{A}\mathcal{P}\mathcal{D}$ .

The logic $\mathcal{L}\mathcal{A}\mathcal{P}\mathcal{D}$ is decidable, with the satisfiability problem being EXPTIME-complete, which is the same decidability and complexity as the base system $\mathcal{L}\mathcal{A}\mathcal{P}$ . A tableau method for $\mathcal{L}\mathcal{A}\mathcal{P}$ is simply a combination of the tableau rules for the logics S4 and K, while $\mathcal{L}\mathcal{A}\mathcal{P}\u21dd$ and $\mathcal{L}\mathcal{A}\mathcal{P}\mathcal{D}$ require additional rules to handle their dependency relations. We use a notational variant of the definitions from [29] for tableau rules for $\mathcal{L}\mathcal{A}\mathcal{P}\u21dd$ , with the different rules from [28] for the ternary weak dependence relation $\cdot \mathrm{|}\cdot \u21dd$ in place of those for $\cdot \u21dd\cdot $ to describe the tableau calculus.

A labeled formula is a pair $\left(n\mathrm{,}f\right)$ where $f$ is a formula and $n$ is from a countable set of labels for possible worlds; we just use the non-negative integers $\mathbb{N}$ . A Skeleton is a ternary relation $\Sigma \subseteq \left(V\cup \left\{\mathbb{N}\right\}\right)\times \mathbb{N}\times \mathbb{N}$ , which represents the accessibility relations between possible worlds under actions; we write $n{\Rightarrow}_{\upsilon}m$ for $\left(\upsilon \mathrm{,}n\mathrm{,}m\right)\in \Sigma $ . A Tree, which corresponds to a $\mathcal{L}\mathcal{A}\mathcal{P}\mathcal{D}$ -model, is a pair $\left(L\mathrm{,}\Sigma \right)$ consisting of a set $L$ of labeled formulae and a skeleton $\Sigma $ . A tableau for $f$ is then the limit of a sequence ${T}^{n}$ for $k=0,1,\cdots $ of sets of trees, where ${T}^{0}=\left\{\left(\left\{\left(0,f\right)\right\},\left\{\right\}\right)\right\}$ and each ${T}^{k+1}$ is obtained from ${T}^{k}$ by the application of a tableau rule (see Figure 4). We also use additional rules for other connectives in practice, but they amount to simple combinations of the basic rules shown here.

$\begin{array}{l}W=\{\square \langle travel\rangle \top \mathrm{,}\\ \text{}\square \left(\neg Carrying\to \langle pickup\rangle \top \right)\mathrm{,}\\ \text{}\square \langle release\rangle \top \mathrm{,}\\ \text{}\square \mathrm{[}pickup\mathrm{]}Carrying\mathrm{,}\\ \text{}\square \mathrm{[}release\mathrm{]}\neg Carrying\mathrm{,}\\ \text{}\square \left(Carrying\to \left[release\right]Delivered\right)\mathrm{,}\\ \text{}\neg Carrying|\text{\hspace{0.17em}}pickup\u21ddCarrying\mathrm{,}\\ \text{}Carrying|\text{\hspace{0.17em}}release\u21ddCarrying\mathrm{,}\\ \text{}Carrying\wedge \neg Delivered|\text{\hspace{0.17em}}release\u21ddDelivered\}\\ K=\left\{\neg Carrying\mathrm{,}\neg Delivered\right\}\end{array}$

Figure 3. A simple theory in $\mathcal{L}\mathcal{A}\mathcal{P}\mathcal{D}$ . Note the absence of frame axioms, which we would have in $\mathcal{L}\mathcal{A}\mathcal{P}$ , and conditional frame axioms we would still need in $\mathcal{L}\mathcal{A}\mathcal{P}\u21dd$ . We have ${\models}_{\mathcal{L}\mathcal{A}\mathcal{P}\mathcal{D}}\left(S\cup K\right)\to \left[pickup\right]\left[travel\right]\left[release\right]\left(\neg Carrying\wedge Delivered\right)$ .

$\begin{array}{l}(\perp )\text{:if}\left(n\mathrm{,}f\right)\in L\text{and}\left(n\mathrm{,}\neg f\right)\in L\text{thenadd}\left(n\mathrm{,}\perp \right)\text{to}L\\ (\neg )\text{:if}\left(n\mathrm{,}\neg \neg f\right)\in L\text{thenadd}\left(n\mathrm{,}f\right)\text{to}L\\ (\wedge )\text{:if}\left(n\mathrm{,}f\wedge g\right)\in L\text{thenadd}\left(n\mathrm{,}f\right)\text{and}\left(n\mathrm{,}g\right)\text{to}L\\ (\vee )\text{:if}\left(n\mathrm{,}\neg \left(f\wedge g\right)\right)\in L\text{thenadd}\left(n\mathrm{,}f\right)\\ \text{\hspace{1em}}\text{\hspace{1em}}\text{andadd}\left(L\cup \left\{\left(n\mathrm{,}\neg g\right)\right\}\mathrm{,}\Sigma \right)\text{to}{T}^{i+1}\\ \left({T}_{\square}\right)\text{:if}\left(n\mathrm{,}\square f\right)\in L\text{thenadd}\left(n\mathrm{,}f\right)\text{to}L\\ \left({4}_{\square}\right)\text{:if}\left(n\mathrm{,}\square f\right)\in L\text{and}n{\Rightarrow}_{\upsilon}m\text{forsome}\upsilon \in V\text{or}n{\Rightarrow}_{\square}m\\ \text{\hspace{1em}}\text{\hspace{1em}}\text{thenadd}\left(m\mathrm{,}\square f\right)\text{to}L\\ \left({K}_{V}\right)\text{:if}\left(n\mathrm{,}\left[\upsilon \right]f\right)\in L\text{and}n{\Rightarrow}_{\upsilon}m\text{thenadd}\left(m\mathrm{,}f\right)\text{to}L\\ \left(\langle \rangle \right)\text{:if}\left(n\mathrm{,}\neg \left[\upsilon \right]f\right)\in L\text{thenadd}\left(m\mathrm{,}\neg f\right)\text{to}L\text{and}n{\Rightarrow}_{\upsilon}m\text{to}\Sigma \mathrm{,}\\ \text{\hspace{1em}}\text{\hspace{1em}}\text{where}m\in \mathbb{N}\text{isnew}\\ (\diamond )\text{:if}\left(n\mathrm{,}\neg \square f\mathrm{)}\right)\in L\text{thenadd}\left(m\mathrm{,}\neg f\right)\text{to}L\text{and}n{\Rightarrow}_{\square}m\text{to}\Sigma \mathrm{,}\\ \text{\hspace{1em}}\text{\hspace{1em}}\text{where}m\in \mathbb{N}\text{isnew}\\ \left(RP\right)\text{:if}\left(n\mathrm{,}f\right)\in L\mathrm{,}\text{where}f\text{isaliteral}\mathrm{,}n{\Rightarrow}_{\upsilon}m\mathrm{,}\text{and}L\u22ad\left(n\mathrm{,}g\right)\text{forall}g|\upsilon \u21ddf\\ \text{\hspace{1em}}\text{\hspace{1em}}\text{thenadd}\left(m\mathrm{,}f\right)\text{to}L\\ \left(RB\right)\text{:if}\left(m\mathrm{,}f\right)\in L\mathrm{,}\text{where}f\text{isaliteral}\mathrm{,}n{\Rightarrow}_{\upsilon}m\mathrm{,}\text{and}L\u22ad\left(n\mathrm{,}g\right)\text{forall}g|\upsilon \u21ddf\\ \text{\hspace{1em}}\text{\hspace{1em}}\text{thenadd}\left(n\mathrm{,}f\right)\text{to}L\end{array}$

Figure 4. Tableau rules for $\mathcal{L}\mathcal{A}\mathcal{P}\mathcal{D}$ , as a modification of the tableau rules for $\mathcal{L}\mathcal{A}\mathcal{P}\u21dd$ , with the final two rules substituted for new rules for handling the ternary dependence relation. The notation $L\models \left(n\mathrm{,}a\right)$ means that the literal $a$ cannot be verified in world $n$ from the formulae in $L$ .

The rule $\left(RP\right)$ states that all literals that depend on an action in a context that does not verify have to be propagated following the execution of that action. Rule $\left(RB\right)$ is a back-propagation rule, which is required for completeness of the tableau method, and it states that literals that are true but whose truth value was not changed from the parent node in the tree must also have been true in the parent node. See [29] and [28] for further details.

Space precludes a full account of our test implementation; our system is in the pure functional language Haskell. We use a straightforward algebraic type for representing formulas, and labeled formulas are represented using a simple type synonym. The ordering of the clauses is important: formulas causing tableau branching are lower in the definition, which means that the ordering on formulas that the compiler generates by declaring the type to be an instance of “Ord” is used to prioritize reduction rule application to push branching towards the lower part of the tableau.

data LAPFormula = F|T|Atom String|Not LAPFormula And Formula

|Necessary LAPFormula|Possible LAPformula

|Cause String Formula...

deriving (Eq, Ord)

type Formula = (Int, Formula)

Space precludes a complete account of our test implementation, so we offer an abbreviated description focussing on the core components. In addition to the tableau evaluation module, we also have parser modules, and a number of supporting data structures particularly for representing skeleton relations and dependency relations. The tableau is implemented in operational semantics style, using an algebraic data type to represent a set of abstract operations on tableau branches. As a sample: “Fail” represents an error condition, ‘Result’ carries a return value, “Get” retrieves a formula for reduction, “Put” adds a labeled formula to the branch where it will be subject to further reduction, “Fresh” generates a new possible world index, “Claim” asserts accessibility between possible worlds under actions, “Close” closes the tableau branch by asserting a contradiction for a given world index, and “Split” forks the tableau into two tableau.

data Tableau u = Fail

|Result u

|Get (Formula -> Tableau u)

|Put Formula (Tableau u)

|Fresh (Int -> Tableau u)

|Claim (Int, String, Int) (Tableau u)

|Close Int (Tableau u)

|Split (Tableau u) (Tableau u)

...

There are also constructors for other operations such as those for adding labeled literals to a separate list where they will not be subject to further reduction steps, for searching the skeleton relation, and for searching the dependency relations (our implementation actually supports $\mathcal{L}\mathcal{A}\mathcal{P}\u21dd$ as well as $\mathcal{L}\mathcal{A}\mathcal{P}$ ). These operations all follow the same basic pattern as those shown, so we have omitted them for brevity.

instance Monad Tableau where

return = Result

Fail >>= f = Fail

(Result u) >>= f = f u

(Get g) >>= f = Get $ \x -> g x >>= f

(Put x t) >>= f = Put x (t >>= f)

(Fresh g) >>= f = Fresh $ \n -> g n >>= f

(Close n t) >>= f = Close n (t >>= f)

(Split t t’) >>= f = Split (t >>= f) (t’ >>= f)

...

It is easy to verify that this obeys the left unit, right unit and associativity monad laws. For convenience, we use some simple wrapper functions around the constructors, rather than using them directly. For instance:

get :: Tableau Formula

get = Get Result

put :: Formula -> Tableau ()

put x = (Put x . Result) ()

close :: Int -> Tableau ()

close n = (Close n . Result) ()

The instantiation of the abstract machine uses a data type that has separate structures for holding labeled formulas that will be subject to further reduction, those that will not be further used to fire rules, the skeleton relation of accessibility between possible worlds, and the ternary dependency relation. Here “BBTree” is an ordered tree type that implements the priority relation on formulas, so that non-branching formulas are preferred for reduction over those that cause branching. “Skeleton” is an indexed tree structure supporting the various kinds of searches needed on accessibility relation instances, and “Dependency” represents the ternary dependency relation and similarly allows the necessary searches on its instances.

data Branch = Branch {

todo :: BBTree Formula

, lits :: BBTree Formula

, rho :: Skeleton

, index :: Int

, deps :: Dependency

} deriving (Eq, Ord)

The central function is the “runTab” function that defines the how the abstract operations should be applied to branch structures. The rest of the cases (not shown) follow the same basic pattern.

runTab:: (Ord u) => Tableau u -> Branch -> BBTree (u, Branch)

runTab Fail _ = nil

runTab (Result y) b = singleton (y, b)

runTab (Get g) b = case delmin (todo b) of

Nothing -> nil

(Just x, xs) -> run (g x) (b { todo = xs})

runTab (Put f t) b = let b’ = into b f

in runTab t b’

runTab (Fresh g) b = let n = 1 + ()index b)

b’ = b {index = n}

in runTab (g n) b’

runTab (Close n t) b = let b’ = b { todo = nil, lits = single (n, F) }

in runTab t b’

runTab (Split t t’) b = (runTab t b) ‘mplus’ (runTab t’ b)

...

The functions “nil” and “singleton” build trees with zero and one element, respectively. The case for ‘Put’ uses an auxiliary function ‘into’ that checks first to see if the branch already contains the negation of the formula to be inserted into the branch and, if so, inserts a formula containing contradiction “F” instead. This approach provides us with a very compact and natural definition for the tableau reduction rules, as illustrated below.

reduce :: Formula -> Tableau ()

reduce (n, F) = close n

reduce (n, T) = return ()

reduce (n, And x y) = put (n,x) >> put(n,y)

reduce (n, Or x y) = put (n, x) ‘mplus’ put (n,y)

reduce (n, Not (Necessary x)) = fresh >>= \n -> put (n’, neg x)

>> claim (n, “[]”, n’)

reduce (n, Necessary x) = put (n, x) >> fromN w

>>= mapM_ (\(_, m) -> put (m, Necessary x)))

...

The second to last case implements rule $(\diamond )$ The last case in the snippet implements rules $\left({T}_{\square}\right)$ and $\left({4}_{\square}\right)$ . It uses a function “fromN” that returns a list of verbs and world indexes accessible from a given world index, and the standard library “mapM” to map each of these to actions that insert each resulting formula into the branch. A program for the abstract tableau machine for completely expanding a branch is also very simple.

expand :: Tableau ()

expand = isComplete >>= \c -> if c then return ()

else get >>= reduce >> reduction

Given an initial branch, the tableau can be applied to an initial branch, say b, with runTab expand b. We also have a number of convenience functions for producing an initial branch data structure from a list of formulas and dependency relation instances, and for extracting the results from the resulting tree of closed and saturated branches. Their implementation is straightforward though somewhat tedious.

6. Conclusions

In this paper, we have presented sophisticated cognitive and meta-cognitive supervisor models for joint swarms of robotic aerial and ground vehicles. Based on the research of the recent Nobel prize in Physiology on path integration and navigation in the mammalian and human hippocampus (briefly reviewed in the appendix), this paper develops a Hamiltonian path integral cognitive supervisor model. This model emulates an $\infty $ -dimensional neural recurrent neural network, yielding attractor fields for robotic swarms. While direct simulation of this Hamiltonian path integral can be done using IBMs’s TrueNorth chip, for the purpose of its immediate evaluation on common hardware, we have transformed this into a coupled pair of NLS equations and simulated this in Mathematica.

The central point of our meta-cognitive model is that we are not utilising inference in modal logic systems to determine low-level movement, but rather to simulate a kind of high-level awareness in light of descriptive goals, general conditions and broad actions to make sense of sensor data and guide overall vehicle behaviour. Our representation of meta-cognitive communication using simple atoms and verbs reflects this choice. By effectively delegating details, the relatively simple models are supported by the propositional multi-modal logic $\mathcal{L}\mathcal{A}\mathcal{P}\mathcal{D}$ suffice, with decidability of inference and, in practice, reasonable computation costs and fairly compact meta-cognitive behavioural definitions. We plan to supplant our current use of a tableau method for meta-cognitive inference using the multimodal logic $\mathcal{L}\mathcal{A}\mathcal{P}\mathcal{D}$ with a new path integral representation; that is, to eventually fully integrate meta-cognition and affine Hamiltonian control into what would amount to a single coherent generalized Hopfield type recurrent neural network.

Acknowledgements

The authors are grateful to Dr Yi Yue and Dr Martin Oxenham, Decision Sciences, Joint and Operations Analysis Division, DST Group, Australia―for their constructive comments which have improved the quality of this paper. This work is a part of the DSTG TAS SRI (Tyche) project.

Cite this paper

Ivancevic, V.G. and Reid, D.J. (2017) Cognitive Supervisor for an Autonomous Swarm of Robots. Intelligent Control and Automation, 8, 44- 65. https://doi.org/10.4236/ica.2017.81004

References

- 1. Ivancevic, V. and Yue, Y. (2016) Hamiltonian Dynamics and Control of a Joint Autonomous Land-Air Operation. Nonlinear Dynamics, 84, 1853-1865. https://doi.org/10.1007/s11071-016-2610-y
- 2. McNaughton, B.L., Battaglia, F.P., Jensen, O., Moser, E.I. and Moser, M.-B. (2006) Path Integration and the Neural Basis of the Cognitive Map. Nature Reviews Neuroscience, 7, 663-678. https://doi.org/10.1038/nrn1932
- 3. Moser, E.I., Kropff, E. and Moser, M.-B. (2008) Place Cells, Grid Cells, and the Brain’s Spatial Representation System. Annual Review of Neuroscience, 31, 69-89. https://doi.org/10.1146/annurev.neuro.31.061307.090723
- 4. O’Keefe, J., Burgess, N., Donnett, J.G., Jeffery, K.J. and Maguire, E.A. (1998) Place Cells, Navigational Accuracy, and the Human Hippocampus. Philosophical Transactions of the Royal Society of London A, 353, 1333-1340. https://doi.org/10.1098/rstb.1998.0287
- 5. Monteiro, S., Vaz, M. and Bicho, E. (2004) Attractor Dynamics Generates Robot Formation, from Theory to Implementation. International Conference on Robotics and Automation, Vol. 3, New Orleans, 26 April-1 May 2004, 2582-2586. https://doi.org/10.1109/robot.2004.1307450
- 6. O’Keefe, J. (1976) Place Units in the Hippocampus of the Freely Moving Rat. Experimental Neurology, 51, 78-109. https://doi.org/10.1016/0014-4886(76)90055-8
- 7. O’Keefe, J. and Nadel, L. (1978) The Hippocampus as a Cognitive Map. Clarendon Press, Oxford.
- 8. Ivancevic, V. and Ivancevic, T. (2008) Complex Nonlinearity, Chaos, Phase Transitions, Topology Change and Path Integrals. Springer, New York.
- 9. Ivancevic, V. and Reid, D. (2015) Complexity and Control, towards a Rigorous Behavioral Theory of Complex Dynamical Systems. World Scientific, Singapore.
- 10. Feynman, R.P. (1951) An Operator Calculus Having Applications in Quantum Electrodynamics. Physical Review, 84, 108-128. https://doi.org/10.1103/PhysRev.84.108
- 11. Feynman, R.P. (1948) Space-Time Approach to Non-Relativistic Quantum Mechanics. Reviews of Modern Physics, 20, 267. https://doi.org/10.1103/RevModPhys.20.367
- 12. Ivancevic, V., Reid, D. and Scholz, J. (2014) Action-Amplitude Approach to Controlled Entropic Self-Organization. Entropy, 16, 2699-2712. https://doi.org/10.3390/e16052699
- 13. Hopfield, J.J. (1982) Neural Networks and Physical Systems with Emergent Collective Computational Abilities. Proceedings of the National Academy of Sciences, 79, 2554-2558. https://doi.org/10.1073/pnas.79.8.2554
- 14. Hopfield, J.J. (1984) Neurons with Graded Response Have Collective Computational Properties Like Those of Two-State Neurons. Proceedings of the National Academy of Sciences, 81, 3088-3092. https://doi.org/10.1073/pnas.81.10.3088
- 15. Service, R.F. (2014) The Brain Chip. Science, 345, 614-668. https://doi.org/10.1126/science.345.6197.614
- 16. Ivancevic, V. and Ivancevic, T. (2009) Quantum Neural Computation. Springer, Berlin.
- 17. Ivancevic, V. and Reid, D. (2012) Turbulence and Shock-Waves in Crowd Dynamics. Nonlinear Dynamics, 68, 285-304. https://doi.org/10.1007/s11071-011-0227-8
- 18. Ivancevic, V. (2010) Adaptive-Wave Alternative for the Black-Scholes Option Pricing Model. Cognitive Computation, 2, 17-30. https://doi.org/10.1007/s12559-009-9031-x
- 19. Ivancevic, V. (2011) Adaptive Wave Models for Sophisticated Option Pricing. Journal of Mathematical Finance, 1, 41-49. https://doi.org/10.4236/jmf.2011.13006
- 20. Manakov, S.V. (1974) On the Theory of Two-Dimensional Stationary Self-Focusing of Electromagnetic Waves. Soviet Physics, 38, 248-253. (In Russian)
- 21. Lax, P. (1968) Integrals of Nonlinear Equations of Evolution and Solitary Waves. Communications on Pure and Applied Mathematics, 21, 467-490. https://doi.org/10.1002/cpa.3160210503
- 22. Haelterman, M. and Sheppard, A.P. (1994) Bifurcation Phenomena and Multiple Soliton Bound States in Isotropic Kerr Media. Physical Review E, 49, 3376-3381. https://doi.org/10.1103/PhysRevE.49.3376
- 23. Yang, J. (1997) Classification of the Solitary Wave in Coupled Nonlinear Schrödinger Equations. Physica D, 108, 92-112. https://doi.org/10.1016/S0167-2789(97)82007-6
- 24. Hanm, S.-H. and Koh, I.G. (1999) Stability of Neural Networks and Solitons of Field Theory. Physical Review E, 60, 7608-7611. https://doi.org/10.1103/PhysRevE.60.7608
- 25. Fisher, M.J. and Ladner, R.E. (1979) Propositional Dynamic Logic of Regular Programs. Journal of Computer and System Sciences, 18, 194-211. https://doi.org/10.1016/0022-0000(79)90046-1
- 26. Zhang, D. and Foo, N.Y. (2001) EPDL, a Logic for Causal Reasoning. Proceedings of the IJCAI 2001, Seattle, 4-10 August 2001, 131-138.
- 27. Hughes, G.E. and Cresswell, M.J. (1996) A New Introduction to Modal Logic. Routledge, Abingdon-on-Thames. https://doi.org/10.4324/9780203290644
- 28. Castilho, M.A., Herzig, A. and Varzinczak, I. (2002) It Depends on the Context! A Decidable Logic of Actions and Plans Based on a Ternary Dependence Relation. NMR’02, Toulouse, 19-21 April 2002, 343-348.
- 29. Castilho, M.A., Gasquet, O. and Herzig, A. (1999) Formalizing Action and Change in Modal Logic 1, the Frame Problem. Journal of Logic and Computation, 9, 701-735. https://doi.org/10.1093/logcom/9.5.701
- 30. Hebb, D.O. (1949) The Organization of Behavior. Wiley, New York.
- 31. O’Keefe, J. and Dostrovsky, J. (1971) The Hippocampus as a Spatial Map, Preliminary Evidence from Unit Activity in the Freely Moving Rat. Brain Research, 34, 171-175. https://doi.org/10.1016/0006-8993(71)90358-1
- 32. Mittelstaedt, M.L. and Mittelstaedt, H. (1980) Homing by Path Integration in a Mammal. Naturwissenschaften, 67, 566-567. (In German) https://doi.org/10.1007/BF00450672
- 33. Ranck, J.B. (1985) Electrical Activity of the Archicortex. Akademiai Kiado, Budapest, 217-220.
- 34. Bostock, E., Muller, R.U. and Kubie, J.L. (1991) Experience-Dependent Modifications of Hippocampal Place Cell Firing. Hippocampus, 1, 193-205. https://doi.org/10.1002/hipo.450010207
- 35. McNaughton, B.L., Chen, L.L. and Markus, E.J. (1991) “Dead Reckoning”, Landmark Learning, and the Sense of Direction, a Neurophysiological and Computational Hypothesis. Journal of Cognitive Neuroscience, 3, 190-202. https://doi.org/10.1162/jocn.1991.3.2.190
- 36. Wilson, M.A. and McNaughton, B.L. (1993) Dynamics of the Hippocampal Ensemble Code for Space. Science, 261, 1055-1058. https://doi.org/10.1126/science.8351520
- 37. O’Keefe, J. and Recce, M.L. (1993) Phase Relationship between Hippocampal Place Units and the EEG Theta Rhythm. Hippocampus, 3, 317-330. https://doi.org/10.1002/hipo.450030307
- 38. McNaughton, B.L., et al. (1996) Deciphering the Hippocampal Polyglot, the Hippocampus as a Path Integration System. Journal of Experimental Biology, 199, 173-185.
- 39. Tsodyks, M. and Sejnowski, T. (1995) Associative Memory and Hippocampal Place Cells. International Journal of Neural Systems, 6, S81-S86.
- 40. Zhang, K. (1996) Representation of Spatial Orientation by the Intrinsic Dynamics of the Head-Direction Cell Ensemble, a Theory. Journal of Neuroscience, 16, 2112-2126.
- 41. Samsonovich, A. and McNaughton, B.L. (1997) Path Integration and Cognitive Mapping in a Continuous Attractor Neural Network Model. Journal of Neuroscience, 17, 5900-5920.
- 42. O’Keefe, J. (1999) Do Hippocampal Pyramidal Cells Signal Non-Spatial as Well as Spatial Information? Hippocampus, 9, 352-364. https://doi.org/10.1002/(SICI)1098-1063(1999)9:4<352::AID-HIPO3>3.0.CO;2-1
- 43. Fyhn, M., Molden, S., Witter, M.P., Moser, E.I. and Moser, M.-B. (2004) Spatial Representation in the Entorhinal Cortex. Science, 305, 1258-1264. https://doi.org/10.1126/science.1099901
- 44. Hafting, T., Fyhn, M., Molden, S., Moser, M.-B. and Moser, E.I. (2005) Microstructure of a Spatial Map in the Entorhinal Cortex. Nature, 436, 801-806. https://doi.org/10.1038/nature03721
- 45. Witter, M.P. and Moser, E.I. (2006) Spatial Representation and the Architecture of the Entorhinal Cortex. Trends in Neurosciences, 29, 671-678. https://doi.org/10.1016/j.tins.2006.10.003
- 46. O’Keefe, J. and Burgess, N. (2005) Dual Phase and Rate Coding in Hippocampal Place Cells, Theoretical Significance and Relationship to Entorhinal Grid Cells. Hippocampus, 15, 853-866. https://doi.org/10.1002/hipo.20115
- 47. Solstad, T., Moser, E.I. and Einevoll, G.T. (2006) From Grid Cells to Place Cells, a Mathematical Model. Hippocampus, 16, 1026-1031. https://doi.org/10.1002/hipo.20244
- 48. Burgess, N., Barry, C. and O’Keefe, J. (2007) An Oscillatory Interference Model of Grid Cell Firing. Hippocampus, 17, 801-812. https://doi.org/10.1002/hipo.20327
- 49. Yartsev, M.M. and Ulanovsky, N. (2013) Representation of Three-Dimensional Space in the Hippocampus of Flying Bats. Science, 340, 367-372. https://doi.org/10.1126/science.1235338
- 50. Yartsev, M.M. (2013) Space Bats, Multidimensional Spatial Representation in the Bat. Science, 342, 573-574. https://doi.org/10.1126/science.1245809
- 51. Turing A.M. (1990) The Chemical Basis of Morphogenesis. Philosophical Transactions of the Royal Society B, 237, 37-72. https://doi.org/10.1007/BF02459572

Appendix

Hippocampal Path Integration and Navigation in Mammals and Humans

We start with a brief history of hippocampal navigation, from O’Keefe’s pioneering work to the discovery of grid cells by Mosers.

While most of neural network theory (including the concepts of associative synaptic plasticity, cell assemblies and phase sequences) is founded on Hebb’s seminal work [30] , and hippocampus as a spatial cognitive map was proposed in [7] [31] , the pioneering paper on hippocampal navigation was [6] , in which O’Keefe proposed a theoretical suggestion of a landmark-independent navigational system upstream of the hippocampus. A few years later, path integration in mammals was reported in [32] , followed by a quantitative description of head direction-sensitive cells in the brain by [33] , a report of remapping in hippo- campal place cells in [34] , and an early version of the head-direction path-inte- grator model in [35] , which formed the conceptual basis of subsequent continuous attractor models for path integration.

A landmark paper [36] introduced empirical understanding of hippocampal neurodynamics, by the ability to record simultaneously from many neurons in the freely behaving animal. The phase relationship between hippocampal place units and the EEG theta rhythm was shown in [37] , and the hippocampus as a path-integration system was proposed in [38] .

A series of continuous attractor papers started with [39] , followed by an attractor model of head direction cell by angular velocity integration in [40] and the introduction of the concept of periodic boundaries and an early introduction of medial entorhinal grid cells in mammals by [41] .

Next two papers by O’Keefe, [4] [42] , consider human hippocampus place cells, which are signaling both spatial and non-spatial information.

The pioneering study [43] reports that spatial position is represented accurately among ensembles of principal neurons in superficial layers of the medial entorhinal cortex (MEC), while the scale of representation increases along the MEC’s dorsoventral axis. It is followed by [44] that reports the discovery of grid cells, which are suggested as a foundation for a universal path integration-based neuronal map of the spatial environment. Spatial representation and the architecture of the entorhinal cortex was presented in [45] .

Next, we give a current brief overview of hippocampal formation: place cells and grid cells.

The review paper [2] shows that the hippocampal formation is able to encode relative spatial location of mammals and humans (without any reference to external cues) by the integration of translational and rotational self-motion, which is called the path integration.

Both theoretical and empirical studies show that the synaptic matrix of the MEC-grid cells of young mammals perform heavy self-organizing path-integra- tion computations, similar to Turing’s symmetry-breaking operation^{5}, while the scale at which space is represented increases systematically along the dorsoventral axis in both the hippocampus and the MEC. Spatially periodic inputs (at multiple scales) converging from the MEC-grid cells, result in non-periodic spatial firing of the hippocampal place cells.

The paper [3] reviews how place cells and grid cells form the entorhinal-hip- pocampal representations, initially observed in [46] and mathematically modeled in [47] [48] , for quantitative spatio-temporal representation of places, routes, and associated experiences during behavior and in memory.

It has been observed that place cells perform both pattern completion and pattern separation, while hippocampal representations cannot always be discon- tinuous as in a sequential Hopfield network [13] , but rather similar to the graded-response Hopfield network [14] .

Finally, while all the research mentioned so far was dealing with 2D hippocampal path integration and navigation, which is relevant for our UGVs, in recent years this research has been generalized to 3D navigation of bats in [49] [50] .

NOTES

^{1}For technical details on the Nobel awarded work of John O’Keefe, May-Britt Moser and Edvard I. Moser, see Appendix and the references therein.

^{2}For For simplicity reasons, we are using the same Hamiltonian symbols,
$q$
and
$p$
, for the cognitive representation of robotic coordinates and momenta, to emphasize the one-to-one correspondence between the physical robotic level and the mental supervisor level. However, while at the physical robotic level,
$q=q\left(t\right)$
and
$p=p\left(t\right)$
are only temporal variables, at the cognitive level,
$q=q\left(t,x\right)$
and
$p=p\left(t,x\right)$
represent spatiotemporal wave functions.

^{3}The path integral (4) was formulated by R. Feynman in [10] . It has been widely appreciated that the phase-space (i.e., Hamiltonian) path integral is more generally applicable, or more robust, than the original, Lagrangian version of the path integral, introduced in Feynman’s first paper [11] . For example, the original Lagrangian path integral is satisfactory for Lagrangians of the form:
$L\left(x\right)=\frac{1}{2}\text{\hspace{0.05em}}m{\dot{x}}^{2}+A\left(x\right)\text{\hspace{0.05em}}\dot{x}-V\left(x\right)\mathrm{,}$
but it is unsuitable, e.g., for the case of a particle with the Lagrangian (in normal units):
$L\left(x\right)=-m\text{\hspace{0.05em}}qrt1-{\dot{x}}^{2}.$
For such a system (as well as many more general expressions) the Hamiltonian path integral is more robust; e.g., the Hamiltonian path integral for the free particle:
$\int}\mathcal{D}\left[p\right]\text{\hspace{0.05em}}\mathcal{D}\left[q\right]\mathrm{exp}\left\{\text{i}{\displaystyle \int}\text{\hspace{0.05em}}\left[p\text{\hspace{0.05em}}\dot{q}-\text{\hspace{0.05em}}qrt{p}^{2}+{m}^{2}\right]\text{\hspace{0.05em}}\text{d}t\right\$
is readily evaluated.

^{4}The Manakov system has been used to describe the interaction between wave packets in dispersive conservative media, and also the interaction between orthogonally polarized components in nonlinear optical fibres (see, e.g. [22] [23] and the references therein).

^{5}A landmark Turing’s paper [51] demonstrating that symmetry breaking can occur in the simple reaction-diffusion system, that results in spatially periodic structures can account for pattern formation in nature.