title: How to minimize Sum in Maple
body: <p>I have the following problem - I need to minimize the sum in the maple. For example, suppose I have this: </p>
  
  <blockquote>
    <p>EXPESSION:=A[0]+A[1]+A[2]+A[3]+A[4]+A[5];</p>
  </blockquote>
  
  <p>And I want to use some function</p>
  
  <blockquote>
    <p>someFunction(EXPRESSION);</p>
  </blockquote>
  
  <p>which will return a symbol of the Sum (like sum(A[i], i = 0 .. 5));</p>
  
  <p>Is some function like that exists?</p>