= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 E X P - 0 0 0 9   E M P I R I C A L   P R O T O T Y P E :   A L G E B R A I C   &   T R O P I C A L   V A R I E T I E S 
 
 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
 - - -   E X P E R I M E N T   1 :   F l o a t i n g - P o i n t   C a n c e l l a t i o n   S u i c i d e   v s .   E x a c t   F i e l d   - - - 
 
 C a s e   A   ( I E E E - 7 5 4   r o u n d i n g   r e s i d u a l ,   t o l = 0 . 0 ) : 
 
     E x a c t   Q   G r o e b n e r   b a s i s :   [ { ( 1 ,   0 ) :   F r a c t i o n ( 1 ,   1 ) ,   ( 0 ,   1 ) :   F r a c t i o n ( 2 ,   3 ) ,   ( 0 ,   0 ) :   F r a c t i o n ( - 5 ,   3 ) } ,   { ( 0 ,   2 ) :   F r a c t i o n ( 1 ,   1 ) ,   ( 0 ,   1 ) :   F r a c t i o n ( - 2 0 ,   1 3 ) ,   ( 0 ,   0 ) :   F r a c t i o n ( 7 ,   1 3 ) } ]     ( 2   p o i n t s :   ( 1 , 1 ) ,   ( 1 9 / 1 3 ,   4 / 1 3 ) ) 
 
     N a i v e   f l o a t 6 4   G B :               [ { ( 0 ,   0 ) :   1 . 0 } ]     ( F A L S E   U N I T   I D E A L   = >   V ( I )   =   E M P T Y ! ) 
 
 C a s e   B   ( G e n u i n e   1 e - 1 4   c o e f f i c i e n t ,   t o l = 1 e - 1 2 ) : 
 
     E x a c t   Q   G r o e b n e r   b a s i s :   [ { ( 1 ,   0 ) :   F r a c t i o n ( 1 ,   1 ) } ,   { ( 0 ,   2 ) :   F r a c t i o n ( 1 ,   1 ) ,   ( 0 ,   0 ) :   F r a c t i o n ( - 1 ,   1 ) } ]     ( 0 - d i m :   x = 0 ,   y ^ 2 - 1 = 0 ) 
 
     F l o a t 6 4   ( t o l = 1 e - 1 2 )   G B :   [ { ( 2 ,   0 ) :   1 . 0 ,   ( 0 ,   2 ) :   1 . 0 ,   ( 0 ,   0 ) :   - 1 . 0 } ]     ( L O S T   x = 0 ,   i n f l a t e d   t o   1 - d i m   c i r c l e ! ) 
 
 
 
 - - -   E X P E R I M E N T   2 :   B u c h b e r g e r   v s .   F 4 - S p a r s e - R R E F   &   S y m P y   O r a c l e   - - - 
 
 T w i s t e d C u b i c   ( Q ,   l e x )             |   B u c h b e r g e r :         0 . 3 8   m s   ( S =     5 )   |   F 4 - R R E F :         1 . 0 4   m s   ( r o u n d s =   6 ,   r o w s =   2 8 )   |   S y m P y :       3 3 . 4 8   m s   |   O r a c l e M a t c h = ( T r u e ,   T r u e ) 
 
 C y c l i c - 3   ( Q ,   g r e v l e x )             |   B u c h b e r g e r :         0 . 7 5   m s   ( S =     2 )   |   F 4 - R R E F :         1 . 7 0   m s   ( r o u n d s =   4 ,   r o w s =   3 2 )   |   S y m P y :         1 . 6 0   m s   |   O r a c l e M a t c h = ( T r u e ,   T r u e ) 
 
 C y c l i c - 3   ( F _ 1 0 1 ,   g r e v l e x )     |   B u c h b e r g e r :         0 . 4 4   m s   ( S =     2 )   |   F 4 - R R E F :         1 . 4 2   m s   ( r o u n d s =   4 ,   r o w s =   3 2 )   |   S y m P y :         1 . 4 6   m s   |   O r a c l e M a t c h = ( T r u e ,   T r u e ) 
 
 C y c l i c - 4   ( F _ 1 0 1 ,   g r e v l e x )     |   B u c h b e r g e r :         3 . 8 7   m s   ( S =   1 1 )   |   F 4 - R R E F :       1 1 . 1 1   m s   ( r o u n d s =   7 ,   r o w s = 1 6 9 )   |   S y m P y :       1 0 . 4 8   m s   |   O r a c l e M a t c h = ( T r u e ,   T r u e ) 
 
 2 R - R o b o t - I K   ( Q ,   g r e v l e x )       |   B u c h b e r g e r :       1 6 . 5 6   m s   ( S =   2 2 )   |   F 4 - R R E F :         3 . 2 0   m s   ( r o u n d s =   5 ,   r o w s =   4 9 )   |   S y m P y :       1 4 . 1 2   m s   |   O r a c l e M a t c h = ( T r u e ,   T r u e ) 
 
 
 
 - - -   E X P E R I M E N T   3 :   Q u o t i e n t R i n g   k [ V ]   &   S t i c k e l b e r g e r   C o m p a n i o n   M a t r i c e s   - - - 
 
 i s i n s t a n c e ( i d e a l ,   I d e a l ) :                       T r u e 
 
 i s i n s t a n c e ( c o o r d _ r i n g ,   C o m m R i n g ) :       T r u e 
 
 Q u o t i e n t   b a s i s   d i m _ Q ( Q [ V ] ) :                   4   - >   [ ( 0 ,   0 ) ,   ( 0 ,   1 ) ,   ( 1 ,   0 ) ,   ( 0 ,   2 ) ] 
 
 C o m p a n i o n   [ M _ x ,   M _ y ]   = =   0 :                     T r u e 
 
 I n   Q [ V ] ,   [ x ^ 2   +   y ^ 2 ]   = =   { ( 0 ,   0 ) :   F r a c t i o n ( 5 ,   1 ) }   ( e x p e c t e d   5 ) 
 
 I n   Q [ V ] ,   [ ( x * y ) ^ 3 ]       = =   { ( 0 ,   0 ) :   F r a c t i o n ( 8 ,   1 ) }   ( e x p e c t e d   8 ) 
 
 S t i c k e l b e r g e r   e x t r a c t e d   V ( I ) :               [ ( - 2 . 0 ,   - 1 . 0 ) ,   ( - 1 . 0 ,   - 2 . 0 ) ,   ( 1 . 0 ,   2 . 0 ) ,   ( 2 . 0 ,   1 . 0 ) ] 
 
 M a x   p o l y n o m i a l   r e s i d u a l   o n   V ( I ) :         0 . 0 0 e + 0 0 
 
 2 R   R o b o t   I K   q u o t i e n t   d i m _ Q ( Q [ V ] ) :       2   ( 2   e l b o w - u p / d o w n   p o s e s ! ) 
 
 2 R   R o b o t   I K   p o s e s   ( c 1 , s 1 , c 2 , s 2 ) :         [ ( 0 . 6 ,   0 . 8 ,   0 . 0 ,   - 1 . 0 ) ,   ( 1 . 0 ,   0 . 0 ,   0 . 0 ,   1 . 0 ) ] 
 
 
 
 - - -   E X P E R I M E N T   4 :   F i n i t e - F i e l d   V a r i e t i e s   ( E l l i p t i c   C u r v e   &   F _ 2   S A T )   - - - 
 
 E l l i p t i c   C u r v e   y ^ 2 = x ^ 3 + x + 1   o v e r   F _ 7 :   a f f i n e   p t s = 4 ,   # E ( F _ 7 ) = 5   ( H a s s e   | 5 - 8 | = 3   < =   5 . 2 9 ) 
 
 F _ 2   3 - S A T   G r o e b n e r   b a s i s :   [ { ( 1 ,   0 ,   0 ) :   1 ,   ( 0 ,   0 ,   1 ) :   1 } ,   { ( 0 ,   1 ,   0 ) :   1 ,   ( 0 ,   0 ,   1 ) :   1 ,   ( 0 ,   0 ,   0 ) :   1 } ,   { ( 0 ,   0 ,   2 ) :   1 ,   ( 0 ,   0 ,   1 ) :   1 } ] 
 
 F _ 2   q u o t i e n t   d i m   =   2   v s   b r u t e - f o r c e   s a t i s f y i n g   a s s i g n m e n t s   =   [ ( 0 ,   1 ,   0 ) ,   ( 1 ,   0 ,   1 ) ] 
 
 
 
 - - -   E X P E R I M E N T   5 :   T r o p i c a l   V a r i e t i e s   o v e r   T r o p i c a l S e m i r i n g   - - - 
 
 T r o p i c a l   C o n i c   v e r t i c e s :                     [ ( - 1 . 0 ,   1 . 0 ) ,   ( 1 . 0 ,   - 1 . 0 ) ,   ( 1 . 0 ,   1 . 0 ) ,   ( 2 . 0 ,   2 . 0 ) ] 
 
 N o e t h e r   v e r t e x   b a l a n c e   r e s i d u a l s :   [ ( 0 ,   0 ) ,   ( 0 ,   0 ) ,   ( 0 ,   0 ) ,   ( 0 ,   0 ) ] 
 
     V e r t e x   ( - 1 . 0 ,   1 . 0 ) :   t r o p i c a l _ e v a l = 0 . 0 ,   a c t i v e   m o n o m i a l s = 3 
 
     V e r t e x   ( 1 . 0 ,   - 1 . 0 ) :   t r o p i c a l _ e v a l = 0 . 0 ,   a c t i v e   m o n o m i a l s = 3 
 
     V e r t e x   ( 1 . 0 ,   1 . 0 ) :   t r o p i c a l _ e v a l = 2 . 0 ,   a c t i v e   m o n o m i a l s = 3 
 
     V e r t e x   ( 2 . 0 ,   2 . 0 ) :   t r o p i c a l _ e v a l = 3 . 0 ,   a c t i v e   m o n o m i a l s = 3 
 
 