Testsuite Failures in Today's CVS



Subject line says it all.  (I always wanted to know what testsuite
failures whould look like with the new interfact to the testsuite.
Now I know) Here's the log:


Maxima 5.9.0.1cvs http://maxima.sourceforge.net
Using Lisp CLISP 2.32 (2003-12-29)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.
(%i1) 			        RUN_TESTSUITE()

Running tests in rtest1.mac: 28/28 tests passed.
Running tests in rtest1a.mac: 23/23 tests passed.
Running tests in rtest2.mac: 47/47 tests passed.
Running tests in rtest4.mac: 82/82 tests passed.
Running tests in rtest5.mac: 51/51 tests passed.
Running tests in rtest6.mac: 4/4 tests passed.
Running tests in rtest6a.mac: 56/56 tests passed.
Running tests in rtest6b.mac: 16/16 tests passed.
Running tests in rtest7.mac: 41/41 tests passed.
Running tests in rtest9.mac: 77/77 tests passed.
Running tests in rtest9a.mac: 18/18 tests passed.
Running tests in rtest10.mac: 38/38 tests passed.
Running tests in rtest11.mac: 86/86 tests passed.
Running tests in rtest13.mac: 24/24 tests passed.
Running tests in rtest13s.mac: 16/16 tests passed.
Running tests in rtest14.mac: 
********************** Problem 46 ***************
Input:
				2    - p t
RADCAN(SPECINT(SIN(A t) COSH(b t ) %E	  , t))


Result:
		 2		 2		  2
		p  + 2 %I A p + A     2 %I A p + A
	      - ------------------    -------------
		       4 b		   2 b	        %I p + A
- SQRT(%PI) %E			   (%E		    ERF(---------)
							2 SQRT(b)

      2			        2
     A			       p  + 2 %I A p
     ---		       -------------
     2 b     %I p - A		    2 b		 p + %I A
 - %E    ERF(---------) + %I %E		     ERF(---------)
	     2 SQRT(b)				 2 SQRT(b)

	 2					   2		      2
	p			        %I A p	  p	  2 %I A p + A
	---			        ------	  ---	  -------------
	2 b     p - %I A		  b	  2 b	       2 b
 - %I %E    ERF(---------) + (%I - %I %E      ) %E    - %E
		2 SQRT(b)

      2
     A
     ---
     2 b
 + %E   )/(8 SQRT(b))

This differed from the expected result:
	2	        2	        2		  2
       A  + 2 %i A p + p	       A		 A  + 2 %i A p
     - ------------------	       ---		 -------------
	      4 b		       2 b		      2 b
(- %E			  (SQRT(%PI) %E	   - SQRT(%PI) %E

					     2
				  %i A p    p
				  ------    ---
				    b	    2 b
 + (SQRT(%PI) %i - SQRT(%PI) %i %E      ) %E

		   2						  2
		  p				      2 %i A p + p
		  ---				      -------------
		  2 b	  p - %i A			   2 b
 - SQRT(%PI) %i %E    ERF(---------) + SQRT(%PI) %i %E
			  2 SQRT(b)

			       2
			      A
			      ---
     %i A + p		      2 b     %i p - A
 ERF(---------) - SQRT(%PI) %E	  ERF(---------)
     2 SQRT(b)			      2 SQRT(b)

		2
	       A  + 2 %i A p
	       -------------
		    2 b		 A + %i p
 + SQRT(%PI) %E		     ERF(---------)))/(8 SQRT(b))
				 2 SQRT(b)

********************** Problem 50 ***************
Input:
		3/2	      1/2    - p t
RADCAN(SPECINT(t    HSTRUVE (t	 ) %E	  , t))
			   1


Result:
     1				 1
  - ---			        ---
    4 p			        4 p
%E      (SQRT(p) (140 p + 10) %E    + SQRT(%PI)

		%I	 2		  %I			  %I
 (140 %I ERF(---------) p  + 20 %I ERF(---------) p + 5 %I ERF(---------)))
	     2 SQRT(p)		       2 SQRT(p)	       2 SQRT(p)

	 4
/(8 %PI p )

This differed from the expected result:
     1
  - ---
    4 p			       %i			        %i
%E      (5 SQRT(%PI) %i ERF(---------) + 20 SQRT(%PI) %i ERF(---------) p
			    2 SQRT(p)			     2 SQRT(p)

								   1
								  ---
			   %i	    2			   3/2	  4 p
 + 140 SQRT(%PI) %i ERF(---------) p  + (10 SQRT(p) + 140 p   ) %E   )
			2 SQRT(p)

	 4
/(8 %PI p )

********************** Problem 52 ***************
Input:
	 3/4			 - p t
SPECINT(t    %J	  (t) %J   (t) %E     , t)
	       1/2      1/4


Result:
	    1		    1
2 %I (------------- - -------------)
       2 %I     3/4	   2 %I 3/4
      (---- + 1)      (1 - ----)
	p		    p
------------------------------------
	  3/4	    1   3/2
	 2    GAMMA(-) p
		    4

This differed from the expected result:
	    1		    1
2 %i (------------- - -------------)
	   2 %i 3/4	   2 %i 3/4
      (1 + ----)      (1 - ----)
	    p		    p
------------------------------------
	  3/4	    1   3/2
	 2    GAMMA(-) p
		    4

********************** Problem 53 ***************
Input:
	 5/2   2    1/2	   - p t
SPECINT(t    %Y	  (t   ) %E     , t)
	       1/2


Result:
			      %I      5/2   - 1/p
	 3 SQRT(%PI) %I ERF(-------) p	  %E
			    SQRT(p)
- 12 ((- ----------------------------------------
			    8

		      %I      3/2   - 1/p
   SQRT(%PI) %I ERF(-------) p	  %E
		    SQRT(p)
 - --------------------------------------
		     2

		      %I	       - 1/p
   SQRT(%PI) %I ERF(-------) SQRT(p) %E		  2
		    SQRT(p)		       3 p    p	  2
 - ----------------------------------------- - ---- - -)/p
		       2		        4     2

			 %I	 3/2   - 1/p
      SQRT(%PI) %I ERF(-------) p    %E
		       SQRT(p)
 + 2 (--------------------------------------
			4

		      %I	       - 1/p
   SQRT(%PI) %I ERF(-------) SQRT(p) %E
		    SQRT(p)		       p
 + ----------------------------------------- + -)/p
		       2		       2

		      %I	       - 1/p
   SQRT(%PI) %I ERF(-------) SQRT(p) %E
		    SQRT(p)			    4
 - -----------------------------------------)/(%PI p )
		       2

This differed from the expected result:
			    %i		     - 1/p
       - SQRT(%PI) %i ERF(-------) SQRT(p) %E
			  SQRT(p)
(- 12 (-------------------------------------------
			    2

			     %i		      - 1/p
	  SQRT(%PI) %i ERF(-------) SQRT(p) %E
      p			   SQRT(p)
 + 2 (- + -----------------------------------------
      2			      2

		      %i      3/2   - 1/p
   SQRT(%PI) %i ERF(-------) p	  %E
		    SQRT(p)
 + --------------------------------------)/p
		     4

					%i		 - 1/p
	       2   - SQRT(%PI) %i ERF(-------) SQRT(p) %E
    - p	  - 3 p			      SQRT(p)
 + (--- + ------ + -------------------------------------------
     2	    4			        2

		      %i      3/2   - 1/p
   SQRT(%PI) %i ERF(-------) p	  %E
		    SQRT(p)
 - --------------------------------------
		     2

			  %i	  5/2   - 1/p
   - 3 SQRT(%PI) %i ERF(-------) p    %E
			SQRT(p)		        2	  4
 + ------------------------------------------)/p ))/(%PI p )
		       8

********************** Problem 54 ***************
Input:
	 1/2   2    1/2	   - p t
SPECINT(t    %J	  (t   ) %E     , t)
	       1/2


Result:
	   %I	    - 1/p
  %I ERF(-------) %E
	 SQRT(p)
- -----------------------
		 3/2
      SQRT(%PI) p

This differed from the expected result:
	   %i	    - 1/p
- %i ERF(-------) %E
	 SQRT(p)
-------------------------
		3/2
     SQRT(%PI) p

********************** Problem 56 ***************
Input:
		    1/2	   - p t
SPECINT(t %H	  (t   ) %E     , t)
	    2/3, 1


Result:
					 1
				      - ---
	     1		        1       8 p
  4 %I GAMMA(-) %M	    (- ---) %E
	     3	  - 3/2, 1/3   4 p
- -----------------------------------------
	     5/6	       2   3/2
      3 (- 1)    SQRT(3) GAMMA(-) p
			       3

				       1
				    - ---
	   1		      1	      8 p
   4 GAMMA(-) %M	  (- ---) %E
	   3    - 3/2, 1/3   4 p
 + --------------------------------------
		 5/6	   2   3/2
	  3 (- 1)    GAMMA(-) p
			   3

					    1
					 - ---
	      2			   1	   8 p
   8 %I GAMMA(-) %M	       (- ---) %E
	      3	   - 3/2, - 1/3	  4 p
 - -------------------------------------------
	       1/6		 1   3/2
	3 (- 1)	   SQRT(3) GAMMA(-) p
				 3

This differed from the expected result:
				     1					  1
				  - ---				       - ---
	     2		   - 1	    8 p		  1	        - 1	 8 p
- 8 %i GAMMA(-) %M	  (---) %E	  4 GAMMA(-) %M	       (---) %E
	     3	  - 3  - 1 4 p			  3    - 3      4 p
		  ---, ---			       ---, 1/3
		   2    3			        2
--------------------------------------- + ----------------------------------
	  1/6		    1   3/2		      5/6       2   3/2
   3 (- 1)    SQRT(3) GAMMA(-) p	       3 (- 1)	  GAMMA(-) p
			    3				        3

									     1
									  - ---
						     1		   - 1	    8 p
					- 4 %i GAMMA(-) %M	  (---) %E
						     3	  - 3	   4 p
							  ---, 1/3
							   2
				      + ---------------------------------------
						  5/6		    2   3/2
					   3 (- 1)    SQRT(3) GAMMA(-) p
								    3

********************** Problem 57 ***************
Input:
	 1/2		   - p t
SPECINT(t    %H	     (t) %E     , t)
	       3/4, 2


Result:
	   1			  1	    1	   3/8  9/4
5 %I GAMMA(-) %P	    (------------) (-- - 1)    p
	   4    - 3/2, - 3/4	  1	     4
			     SQRT(-- + 1)   p
				   2
				  p
-----------------------------------------------------------
		       1/4	        2 3
	       18 (- 1)	   SQRT(2) GAMMA (-)
					  4

	   1			  1	    1	   3/8  9/4
   5 GAMMA(-) %P	    (------------) (-- - 1)    p
	   4    - 3/2, - 3/4	  1	     4
			     SQRT(-- + 1)   p
				   2
				  p
 + --------------------------------------------------------
			1/4		 2 3
		18 (- 1)    SQRT(2) GAMMA (-)
					   4

	      3			   1	     3/4
   4 %I GAMMA(-) %P	     (------------) p
	      4	   - 3/2, 3/4	   1
			      SQRT(-- + 1)
				    2
				   p
 + ---------------------------------------------
	       3/4      2 1   1	     3/8
	  (- 1)	   GAMMA (-) (-- - 1)
			  4    4
			      p

This differed from the expected result:
	   3		      1	        3/4
4 %i GAMMA(-) %P        (------------) p
	   4    - 3		  1
		---, 3/4 SQRT(1 + --)
		 2		   2
				  p
-------------------------------------------
	   3/4	    2 1	  1	 3/8
      (- 1)    GAMMA (-) (-- - 1)
		      4	   4
			  p

	   1		      1	        1      3/8  9/4
   5 GAMMA(-) %P        (------------) (-- - 1)	   p
	   4    - 3  - 3	  1	 4
		---, --- SQRT(1 + --)   p
		 2    4		   2
				  p
 + ----------------------------------------------------
		      1/4	       2 3
	      18 (- 1)	  SQRT(2) GAMMA (-)
					 4

	      1			 1	   1	  3/8  9/4
   5 %i GAMMA(-) %P	   (------------) (-- - 1)    p
	      4	   - 3  - 3	     1	    4
		   ---, --- SQRT(1 + --)   p
		    2	 4	      2
				     p
 + -------------------------------------------------------
			1/4		 2 3
		18 (- 1)    SQRT(2) GAMMA (-)
					   4

********************** Problem 58 ***************
Input:
	 3/2		   - p t
SPECINT(t    %H	     (t) %E     , t)
	       1/2, 1


Result:
					       1	   1
				 SQRT(2) %I (------ - ------------)
					     1	       1      2	 2
					     -- + 1   (-- + 1)  p
					      2	        2
	      4				     p	       p
------------------------------ - ----------------------------------
		   1	  2  3			       2
SQRT(2) SQRT(%PI) (-- + 1)  p		    SQRT(%PI) p
		    2
		   p

This differed from the expected result:
					       1	   1
				 SQRT(2) %i (------ - ------------)
						 1	   1  2	 2
					     1 + --   (1 + --)  p
						  2	    2
	      4					 p	   p
------------------------------ - ----------------------------------
		       1  2  3			       2
SQRT(2) SQRT(%PI) (1 + --)  p		    SQRT(%PI) p
			2
		       p

********************** Problem 59 ***************
Input:
	 3/2	        - t
SPECINT(t    %Y (A t) %E   , t)
	       1


Result:
	 1	  3/4		 1			 1
15 %I (------ - 1)    (--------------------- + ---------------------)
	2		      2		 3/2		  2	 3/2
       A  + 1	       (SQRT(A  + 1) + 1)      (1 - SQRT(A  + 1))
---------------------------------------------------------------------
				    2
			   16 SQRT(A  + 1)

This differed from the expected result:
	 1	  3/4		 1			 1
15 %i (------ - 1)    (--------------------- + ---------------------)
	    2			      2	 3/2		      2	 3/2
       1 + A	       (1 - SQRT(1 + A ))      (1 + SQRT(1 + A ))
---------------------------------------------------------------------
					2
			   16 SQRT(1 + A )

55/64 tests passed.
The following 9 problems failed: (59 58 57 56 54 53 52 50 46)
Running tests in rtest15.mac: 
********************** Problem 94 ***************
Input:
SIN(%i z)


Result:
SIN(%i z)

This differed from the expected result:
%i SINH(z)

********************** Problem 95 ***************
Input:
COS(%i z)


Result:
COS(%i z)

This differed from the expected result:
COSH(z)

********************** Problem 96 ***************
Input:
TAN(%i z)


Result:
TAN(%i z)

This differed from the expected result:
%i TANH(z)

********************** Problem 97 ***************
Input:
CSC(%i z)


Result:
CSC(%i z)

This differed from the expected result:
- %i CSCH(z)

********************** Problem 98 ***************
Input:
SEC(%i z)


Result:
SEC(%i z)

This differed from the expected result:
SECH(z)

********************** Problem 99 ***************
Input:
COT(%i z)


Result:
COT(%i z)

This differed from the expected result:
- %i COTH(z)

********************** Problem 100 ***************
Input:
SINH(%i z)


Result:
SINH(%i z)

This differed from the expected result:
%i SIN(z)

********************** Problem 101 ***************
Input:
COSH(%i z)


Result:
COSH(%i z)

This differed from the expected result:
COS(z)

********************** Problem 102 ***************
Input:
TANH(%i z)


Result:
TANH(%i z)

This differed from the expected result:
%i TAN(z)

********************** Problem 103 ***************
Input:
CSCH(%i z)


Result:
CSCH(%i z)

This differed from the expected result:
- %i CSC(z)

********************** Problem 104 ***************
Input:
SECH(%i z)


Result:
SECH(%i z)

This differed from the expected result:
SEC(z)

********************** Problem 105 ***************
Input:
COTH(%i z)


Result:
COTH(%i z)

This differed from the expected result:
- %i COT(z)

********************** Problem 122 ***************
Input:
					     2
EXPAND(TRIGREDUCE(EXPAND((%i SIN(x) + COS(x)) )))


Result:
		2			  2
	      %i  COS(2 x)   COS(2 x)   %i    1
%i SIN(2 x) - ------------ + -------- + --- + -
		   2	        2	 2    2

This differed from the expected result:
COS(2 x) + %i SIN(2 x)

********************** Problem 123 ***************
Input:
					     3
EXPAND(TRIGREDUCE(EXPAND((%i SIN(x) + COS(x)) )))


Result:
    3				     2				 3
  %i  SIN(3 x)	 3 %i SIN(3 x)	 3 %i  COS(3 x)	  COS(3 x)   3 %i  SIN(x)
- ------------ + ------------- - -------------- + -------- + ------------
       4	       4	       4	     4		  4

							    2
					  3 %i SIN(x)   3 %i  COS(x)   3 COS(x)
				        + ----------- + ------------ + --------
					       4	     4		  4

This differed from the expected result:
COS(3 x) + %i SIN(3 x)

********************** Problem 124 ***************
Input:
					     4
EXPAND(TRIGREDUCE(EXPAND((%i SIN(x) + COS(x)) )))


Result:
    3				 4		  2
  %i  SIN(4 x)	 %i SIN(4 x)   %i  COS(4 x)   3 %i  COS(4 x)   COS(4 x)
- ------------ + ----------- + ------------ - -------------- + --------
       2	      2		    8		    4		  8

				      4				  4	  2
	 3			    %i  COS(2 x)   COS(2 x)   3 %i    3 %i    3
     + %i  SIN(2 x) + %i SIN(2 x) - ------------ + -------- + ----- + ----- + -
					 2	      2	        8       4     8

This differed from the expected result:
COS(4 x) + %i SIN(4 x)

********************** Problem 125 ***************
Input:
					     5
EXPAND(TRIGREDUCE(EXPAND((%i SIN(x) + COS(x)) )))


Result:
  5		   3				    4		     2
%i  SIN(5 x)   5 %i  SIN(5 x)   5 %i SIN(5 x)   5 %i  COS(5 x)	 5 %i  COS(5 x)
------------ - -------------- + ------------- + -------------- - --------------
     16		     8		     16		      16	       8

		  5		   3
   COS(5 x)   5 %i  SIN(3 x)   5 %i  SIN(3 x)   15 %i SIN(3 x)
 + -------- - -------------- + -------------- + --------------
      16	    16		     8		      16

	4		 2			       5	      3
   15 %i  COS(3 x)   5 %i  COS(3 x)   5 COS(3 x)   5 %i  SIN(x)	  5 %i  SIN(x)
 - --------------- - -------------- + ---------- + ------------ + ------------
	 16		   8		  16	        8	       4

		     4		    2
   5 %i SIN(x)	 5 %i  COS(x)   5 %i  COS(x)   5 COS(x)
 + ----------- + ------------ + ------------ + --------
	8	      8		     4		  8

This differed from the expected result:
COS(5 x) + %i SIN(5 x)

********************** Problem 126 ***************
Input:
					     6
EXPAND(TRIGREDUCE(EXPAND((%i SIN(x) + COS(x)) )))


Result:
    5		     3				    6
3 %i  SIN(6 x)	 5 %i  SIN(6 x)	  3 %i SIN(6 x)	  %i  COS(6 x)
-------------- - -------------- + ------------- - ------------
      16	       8	       16	       32

	4		  2			      5
   15 %i  COS(6 x)   15 %i  COS(6 x)   COS(6 x)	  3 %i  SIN(4 x)
 + --------------- - --------------- + -------- - --------------
	 32		   32		  32	        4

		       6		 4		   2
   3 %i SIN(4 x)   3 %i  COS(4 x)   15 %i  COS(4 x)   15 %i  COS(4 x)
 + ------------- + -------------- - --------------- - ---------------
	 4		 16		  16		    16

		     5		       3
   3 COS(4 x)   15 %i  SIN(2 x)	  15 %i  SIN(2 x)   15 %i SIN(2 x)
 + ---------- + --------------- + --------------- + --------------
       16	      16		 8		  16

	6		  4		    2				   6
   15 %i  COS(2 x)   15 %i  COS(2 x)   15 %i  COS(2 x)	 15 COS(2 x)   5 %i
 - --------------- - --------------- + --------------- + ----------- + -----
	 32		   32		     32		     32	        16

	4	 2
   15 %i    15 %i    5
 + ------ + ------ + --
     16	      16     16

This differed from the expected result:
COS(6 x) + %i SIN(6 x)

********************** Problem 127 ***************
Input:
					     7
EXPAND(TRIGREDUCE(EXPAND((%i SIN(x) + COS(x)) )))


Result:
    7		      5		        3
  %i  SIN(7 x)	 21 %i  SIN(7 x)   35 %i  SIN(7 x)   7 %i SIN(7 x)
- ------------ + --------------- - --------------- + -------------
       64	       64		 64		  64

       6		 4		   2
   7 %i  COS(7 x)   35 %i  COS(7 x)   21 %i  COS(7 x)   COS(7 x)
 - -------------- + --------------- - --------------- + --------
	 64		  64		    64		   64

       7		 5		   3
   7 %i  SIN(5 x)   63 %i  SIN(5 x)   35 %i  SIN(5 x)   35 %i SIN(5 x)
 + -------------- - --------------- - --------------- + --------------
	 64		  64		    64		      64

	6		  4		    2
   35 %i  COS(5 x)   35 %i  COS(5 x)   63 %i  COS(5 x)	 7 COS(5 x)
 + --------------- - --------------- - --------------- + ----------
	 64		   64		     64		     64

	7		  5		     3
   21 %i  SIN(3 x)   21 %i  SIN(3 x)   105 %i  SIN(3 x)	  63 %i SIN(3 x)
 - --------------- + --------------- + ---------------- + --------------
	 64		   64		      64	        64

	6		   4		     2
   63 %i  COS(3 x)   105 %i  COS(3 x)   21 %i  COS(3 x)	  21 COS(3 x)
 - --------------- - ---------------- - --------------- + -----------
	 64		    64		      64	      64

	7		 5		  3
   35 %i  SIN(x)   105 %i  SIN(x)   105 %i  SIN(x)   35 %i SIN(x)
 + ------------- + -------------- + -------------- + ------------
	64		 64		  64		  64

	6		 4		  2
   35 %i  COS(x)   105 %i  COS(x)   105 %i  COS(x)   35 COS(x)
 + ------------- + -------------- + -------------- + ---------
	64		 64		  64	        64

This differed from the expected result:
COS(7 x) + %i SIN(7 x)

********************** Problem 128 ***************
Input:
					     8
EXPAND(TRIGREDUCE(EXPAND((%i SIN(x) + COS(x)) )))


Result:
    7		     5		      3				   8
  %i  SIN(8 x)	 7 %i  SIN(8 x)	  7 %i  SIN(8 x)   %i SIN(8 x)	 %i  COS(8 x)
- ------------ + -------------- - -------------- + ----------- + ------------
       16	       16	        16	       16	     128

       6		 4		  2
   7 %i  COS(8 x)   35 %i  COS(8 x)   7 %i  COS(8 x)   COS(8 x)
 - -------------- + --------------- - -------------- + --------
	 32		  64		    32		 128

       7	        5		 3
   3 %i  SIN(6 x)   7 %i  SIN(6 x)   7 %i  SIN(6 x)   3 %i SIN(6 x)
 + -------------- - -------------- - -------------- + -------------
	 8		  8		   8		    8

     8		      6		       2			   7
   %i  COS(6 x)	  7 %i  COS(6 x)   7 %i  COS(6 x)   COS(6 x)   7 %i  SIN(4 x)
 - ------------ + -------------- - -------------- + -------- - --------------
	16	        8		 8	       16	     8

       5	        3				 8
   7 %i  SIN(4 x)   7 %i  SIN(4 x)   7 %i SIN(4 x)   7 %i  COS(4 x)
 - -------------- + -------------- + ------------- + --------------
	 8		  8		   8		   32

       6		 4		  2
   7 %i  COS(4 x)   35 %i  COS(4 x)   7 %i  COS(4 x)   7 COS(4 x)
 - -------------- - --------------- - -------------- + ----------
	 8		  16		    8		   32

       7		 5		   3
   7 %i  SIN(2 x)   21 %i  SIN(2 x)   21 %i  SIN(2 x)   7 %i SIN(2 x)
 + -------------- + --------------- + --------------- + -------------
	 8		   8		     8		      8

       8	        6		 2			        8
   7 %i  COS(2 x)   7 %i  COS(2 x)   7 %i  COS(2 x)   7 COS(2 x)   35 %i
 - -------------- - -------------- + -------------- + ---------- + ------
	 16		  8		   8		  16	    128

	6	  4	   2
   35 %i    105 %i    35 %i    35
 + ------ + ------- + ------ + ---
     32	      64        32     128

This differed from the expected result:
COS(8 x) + %i SIN(8 x)

********************** Problem 129 ***************
Input:
					     9
EXPAND(TRIGREDUCE(EXPAND((%i SIN(x) + COS(x)) )))


Result:
  9		   7		     5		       3
%i  SIN(9 x)   9 %i  SIN(9 x)   63 %i  SIN(9 x)	  21 %i  SIN(9 x)
------------ - -------------- + --------------- - ---------------
    256		     64		      128	        64

		       8		 6		   4
   9 %i SIN(9 x)   9 %i  COS(9 x)   21 %i  COS(9 x)   63 %i  COS(9 x)
 + ------------- + -------------- - --------------- + ---------------
	256	        256		  64		    128

       2			   9		     7
   9 %i  COS(9 x)   COS(9 x)   9 %i  SIN(7 x)   45 %i  SIN(7 x)
 - -------------- + -------- - -------------- + ---------------
	 64	      256	    256		      64

	5		  3				     8
   63 %i  SIN(7 x)   63 %i  SIN(7 x)   63 %i SIN(7 x)   63 %i  COS(7 x)
 - --------------- - --------------- + -------------- - ---------------
	 128		   64		    256		      256

	6		  4		    2
   63 %i  COS(7 x)   63 %i  COS(7 x)   45 %i  COS(7 x)	 9 COS(7 x)
 + --------------- + --------------- - --------------- + ----------
	 64		   128		     64		    256

       9	        7		  5
   9 %i  SIN(5 x)   9 %i  SIN(5 x)   63 %i  SIN(5 x)   45 %i SIN(5 x)
 + -------------- - -------------- - --------------- + --------------
	 64		  8		   32		     64

	8		  4		   2
   45 %i  COS(5 x)   63 %i  COS(5 x)   9 %i  COS(5 x)   9 COS(5 x)
 + --------------- - --------------- - -------------- + ----------
	 64		   32		     8		    64

	9		  5		    3
   21 %i  SIN(3 x)   63 %i  SIN(3 x)   21 %i  SIN(3 x)	 63 %i SIN(3 x)
 - --------------- + --------------- + --------------- + --------------
	 64		   32		      8		       64

	8		  6		    4
   63 %i  COS(3 x)   21 %i  COS(3 x)   63 %i  COS(3 x)	 21 COS(3 x)
 - --------------- - --------------- - --------------- + -----------
	 64		    8		     32		     64

	9	        7		 5		 3
   63 %i  SIN(x)   63 %i  SIN(x)   189 %i  SIN(x)   63 %i  SIN(x)
 + ------------- + ------------- + -------------- + -------------
	128	        32		 64		 32

		       8	       6	        4
   63 %i SIN(x)	  63 %i  COS(x)	  63 %i  COS(x)	  189 %i  COS(x)
 + ------------ + ------------- + ------------- + --------------
       128	       128	       32	        64

	2
   63 %i  COS(x)   63 COS(x)
 + ------------- + ---------
	32	      128

This differed from the expected result:
COS(9 x) + %i SIN(9 x)

118/138 tests passed.
The following 20 problems failed: (129 128 127 126 125 124 123 122 105 104 103 102 101 100 99 98 97 96 95 94)
Running tests in rtestode.mac: 64/64 tests passed.
Running tests in rtestode_zp.mac: 30/30 tests passed.
Running tests in rtestflatten.mac: 32/32 tests passed.
Running tests in rtest3.mac: 94/94 tests passed.
Running tests in rtest8.mac: 50/50 tests passed.
Running tests in rtest12.mac: 74/74 tests passed.
Running tests in rexamples.mac: 136/136 tests passed.
Error summary:
Errors found in /home/ronis/Project/notar/maxima/tests/rtest14.mac, problems: (46 50 52 53 54 56 57 58 59)
Errors found in /home/ronis/Project/notar/maxima/tests/rtest15.mac, problems: (94 95 96 97 98 99 100 101 102 103 104 105 122 123 124 125 126 127 128 129)

Real time: 45.934087 sec.
Run time: 36.81 sec.
Space: 78452220 Bytes
GC: 74, GC time: 2.22 sec.

David