kdrag.theories.real.sympy.summationļƒ

kdrag.theories.real.sympy.summation(e, *args)ļƒ

Sum a z3 expression. >>> x,n = smt.Reals(ā€œx nā€) >>> summation(x**2, (x, 0, 10)) 385 >>> summation(x, (x, 0, n)) n**2*1/2 + n*1/2