#NEWLINE# def _minpoly_add( x , dom , * a ) : #NEWLINE# #INDENT# '\n    returns ``minpoly(Add(*a), dom, x)``\n    ' #NEWLINE# mp = _minpoly_op_algebraic_element ( Add , a [ 0 ] , a [ 1 ] , dom , dom ) #NEWLINE# p = ( a [ 0 ] + a [ 1 ] ) #NEWLINE# for px in a [ 2 : ] : #NEWLINE# #INDENT# mp = _minpoly_op_algebraic_element ( Add , p , px , x , dom , mp1 = mp ) #NEWLINE# p = ( p + px ) #NEWLINE# #UNINDENT# return mp