\part{GROBNER BASES AND SIMILARITY OF SYSTEMS}
\section{A THEORETICAL VENTURE}

%\noindent
%{\bf  PART II GROBNER BASES AND SIMILARITY OF SYSTEMS}

%\noindent
%{\bf  \S 5. A THEORETICAL VENTURE}

A basic theorem of system theory says that two controllable and observable 
systems with identical frequency response function $T$
are ``similar" meaning there is a map m satisfying

$$
m^{-1} A m = a
\leqno{(5.1)}
$$
$$
c m^{-1} = C
\leqno{(5.2)}
$$
$$
m b = B
\leqno{(5.3)}
$$
%(1)          inv[m]**A**m =a
%
%(2)          c**inv[m] = C
%
%(3)               m**b  = B
%\end{verbatim}

Let us suppose that (5.1), (5.2) and (5.3) hold and see what we can conclude
from automatic symbol manipulation. 
For example, can we obtain  the obvious fact that the two systems 
have the same frequency response function and can we obtain the famous Youla Tissi formula
for m?
We ran the Mora algorithm  on symbols $a$, $b$, $c$, $A$, $B$ and $C$
with starting relations (5.1), (5.2), (5.3)
and ordering on monomials 
by graded lexicographical order induced by
$a<b<c<A<B<C<m<Inv[m]$.
%highest degree 
%and 
%   
%\noindent
%{\bf MARK?? fill in}


Mora's algorithm as expected produced an infinite 
list. 
So the first order of business for understanding
what is happening is to try to produced an
elegant description of the list.
This we did by ad hoc methods

\baselineskip=12pt
\begin{verbatim}
Starting relations

Rel[0] =  + Inv[m] ** m - 1  ;
Rel[1] =  + m ** Inv[m] - 1  ;
Rel[2] =  + Inv[m] ** A ** m - a ; // changed -- RERUN !!!!
Rel[3] =  + c ** Inv[m] - C ;
Rel[4] =  + m ** b - B ;

Reduced Grobner basis

     Special Rules
            Inv[m] ** m - 1  ;
            m ** Inv[m] - 1  ;
            m ** b - B ;
            m ** A - a ** m ;
            Inv[m] ** a - A ** Inv[m] ;
            Inv[m] ** B - b ;

     General Rules
             C ** a^k ** m  - c ** A^k
             C ** a^k ** B  - c ** A^k ** b
             c ** A^k ** Inv[m] - C ** a^k
\end{verbatim}

\baselineskip=18pt
\noindent
for all $k \ge 0$.

While this is a very simple situation, it does show that 
the relationships which the computer automatically (after 
interpretation) generates amount to the Youla Tissi formula 
when the systems are observable.

{\bf Is there an order which produces a controllability operator
formula ??? 
}


One can also address the the harder problem
assuming the two systems have the same frequency response function
$$
1+b(s-a)^{-1}c= 1+B(s-A)^{-1}C 
$$
and deriving the GB for the the relations produced
by that together with
$$
(s-a)^{-1} (s-a)=1  \ \ \ \ \ 
(s-A)^{-1} (s-A)=1 \,.
$$
We did this and found as expected  that the Mora 
algorithm generated an infinite list of increasingly complicated expressions. 
Naturally, the 
algorithm is incapable of creating a new variable $m$
which when used correctly in the formulas makes them much less complicated.
This illustrates what might ultimately be one of the
main limitations of GB for engineering computations. One needs to know all of the objects you are going to use initially. The computer is not going to 
construct one.

Now that we have completed an example of purely
pedagogical interest where the GB is essentially
already known and amounts to a standard fact in systems theory.
The rest of the article deals with system similarity
where the GB is are not already known.

