FWIW :
sage: reset() sage:
expr=(1-x)^3+(-x^2+x)^3+(x^2-1)^3-3*(1-x)*(-x^2+x)*(x^2-1) sage:
expr.is_zero() True
full_simplify may not be necessary…
HTH,
Le samedi 24 juin 2023 à 06:38:35 UTC+2, Nasser M. Abbasi a écrit :
> " yes, simplification (particularly full simplification) can invol
Similarly :
sage: expr.expand() 0 sage: expr.factor() 0
HTH,
Le samedi 24 juin 2023 à 09:40:16 UTC+2, Emmanuel Charpentier a écrit :
> FWIW :
> sage: reset() sage:
> expr=(1-x)^3+(-x^2+x)^3+(x^2-1)^3-3*(1-x)*(-x^2+x)*(x^2-1) sage:
> expr.is_zero() True
>
> full_simplify may not be necessa
On Saturday, 24 June 2023 at 05:38:35 UTC+1 Nasser M. Abbasi wrote:
I think simplify should have been able to do it? in Mathematica Simplify
can and no need to use its FullSimplify which also uses more resources than
Simplify. But I understand, simplification is not an easy problem and
differen
https://sagecell.sagemath.org/
Graph([(0,1)]).vertices()
/tmp/ipykernel_1853928/1298164553.py:1: DeprecationWarning: parameter
'sort' will be set to False by default in the future
See https://github.com/sagemath/sage/issues/22349 for details.
Graph([(Integer(0),Integer(1))]).vertices()
[0, 1]