← suite trig

sympy-simplify

suite trig · 2026-10-12 20:21:47 · CAS sympy 1.15.0.dev, mode fork · machine pi5 · dialect sympy · case set 45d6b9056f06

By category

old report format (graded with a combined score): its nulls are shown as no verdict, because an old report cannot tell a correct decline on a contingent case from no verdict

categorynsolvedwrongdeclined correctlyno verdicttimeoutunsupported
identities5300200
inverse4000400
periodicity4100300
total13400900

Setup (run once per start, not counted in the per-query times)

measured setup time: 0.494 s

setup — not timed
from sympy import *
import sympy

SympyVersion = sympy.__version__
# warm-up: a fixed generic expression, never case content
W = Symbol('W')
Warmup = simplify(sin(W)**2 + cos(W)**2)
# every query then runs in its own forked process, starting from this state:
# the expression caches are dropped (imported and lazily loaded modules stay)
sympy.core.cache.clear_cache()
sympysympy.__version__→1.15.0.dev
warm-upsimplify(sin(W)**2 + cos(W)**2)→1

Cases

casecategoryoutcomequery (as sent)answersteps (from the trace)sdetail
trig-double-01 trueidentitiessolvedQ.complex(z) ⊢ Eq(sin((2*z)), (2*(sin(z)*cos(z))))truedifference → -2*sin(z)*cos(z) + sin(2*z) · simplify → 00.034true
code
setup — not timed
from sympy import *
import sympy

SympyVersion = sympy.__version__
# warm-up: a fixed generic expression, never case content
W = Symbol('W')
Warmup = simplify(sin(W)**2 + cos(W)**2)
# every query then runs in its own forked process, starting from this state:
# the expression caches are dropped (imported and lazily loaded modules stay)
sympy.core.cache.clear_cache()
z = Symbol('z', complex=True)
Residual = sin(2 * z) - (2 * (sin(z) * cos(z)))
Result = simplify(Residual)
# true iff the result is 0; false only if it is a definite nonzero number
Answer = True if Result == 0 else False if (Result.is_number and Result.is_finite and Result.is_zero is False) else None
print(Result, Answer, sep='\n')
differencesin(2 * z) - (2 * (sin(z) * cos(z)))→-2*sin(z)*cos(z) + sin(2*z)
simplifysimplify(Residual)→0
answertrue
trig-double-02 falseidentitiesno verdictQ.real(x) ∧ Q.positive(x) ∧ (x < 1) ⊢ Eq(sin((2*x)), (2*sin(x)))nulldifference → -2*sin(x) + sin(2*x) · simplify → 2*(cos(x) - 1)*sin(x)0.045null
code
setup — not timed
from sympy import *
import sympy

SympyVersion = sympy.__version__
# warm-up: a fixed generic expression, never case content
W = Symbol('W')
Warmup = simplify(sin(W)**2 + cos(W)**2)
# every query then runs in its own forked process, starting from this state:
# the expression caches are dropped (imported and lazily loaded modules stay)
sympy.core.cache.clear_cache()
x = Symbol('x', real=True, positive=True)
# dropped (not a unary fact about one symbol): x < 1
Residual = sin(2 * x) - (2 * sin(x))
Result = simplify(Residual)
# true iff the result is 0; false only if it is a definite nonzero number
Answer = True if Result == 0 else False if (Result.is_number and Result.is_finite and Result.is_zero is False) else None
print(Result, Answer, sep='\n')
differencesin(2 * x) - (2 * sin(x))→-2*sin(x) + sin(2*x)
simplifysimplify(Residual)→2*(cos(x) - 1)*sin(x)
answernull
trig-pyth-01 trueidentitiessolvedQ.complex(z) ⊢ Eq(((sin(z)*sin(z)) + (cos(z)*cos(z))), 1)truedifference → sin(z)**2 + cos(z)**2 - 1 · simplify → 00.036true
code
setup — not timed
from sympy import *
import sympy

SympyVersion = sympy.__version__
# warm-up: a fixed generic expression, never case content
W = Symbol('W')
Warmup = simplify(sin(W)**2 + cos(W)**2)
# every query then runs in its own forked process, starting from this state:
# the expression caches are dropped (imported and lazily loaded modules stay)
sympy.core.cache.clear_cache()
z = Symbol('z', complex=True)
Residual = sin(z) * sin(z) + cos(z) * cos(z) - 1
Result = simplify(Residual)
# true iff the result is 0; false only if it is a definite nonzero number
Answer = True if Result == 0 else False if (Result.is_number and Result.is_finite and Result.is_zero is False) else None
print(Result, Answer, sep='\n')
differencesin(z) * sin(z) + cos(z) * cos(z) - 1→sin(z)**2 + cos(z)**2 - 1
simplifysimplify(Residual)→0
answertrue
trig-sqrt-01 contingentidentitiesno verdictQ.real(x) ⊢ Eq(sqrt((1 - (sin(x)*sin(x)))), cos(x))nulldifference → sqrt(1 - sin(x)**2) - cos(x) · simplify → -cos(x) + Abs(cos(x))0.063null
code
setup — not timed
from sympy import *
import sympy

SympyVersion = sympy.__version__
# warm-up: a fixed generic expression, never case content
W = Symbol('W')
Warmup = simplify(sin(W)**2 + cos(W)**2)
# every query then runs in its own forked process, starting from this state:
# the expression caches are dropped (imported and lazily loaded modules stay)
sympy.core.cache.clear_cache()
x = Symbol('x', real=True)
Residual = sqrt(1 - sin(x) * sin(x)) - cos(x)
Result = simplify(Residual)
# true iff the result is 0; false only if it is a definite nonzero number
Answer = True if Result == 0 else False if (Result.is_number and Result.is_finite and Result.is_zero is False) else None
print(Result, Answer, sep='\n')
differencesqrt(1 - sin(x) * sin(x)) - cos(x)→sqrt(1 - sin(x)**2) - cos(x)
simplifysimplify(Residual)→-cos(x) + Abs(cos(x))
answernull
trig-tan-01 trueidentitiessolvedQ.real(x) ∧ (~Q.zero(cos(x))) ⊢ Eq(tan(x), (sin(x)/cos(x)))truedifference → -sin(x)/cos(x) + tan(x) · simplify → 00.036true
code
setup — not timed
from sympy import *
import sympy

SympyVersion = sympy.__version__
# warm-up: a fixed generic expression, never case content
W = Symbol('W')
Warmup = simplify(sin(W)**2 + cos(W)**2)
# every query then runs in its own forked process, starting from this state:
# the expression caches are dropped (imported and lazily loaded modules stay)
sympy.core.cache.clear_cache()
x = Symbol('x', real=True)
# dropped (not a unary fact about one symbol): ~Q.zero(cos(x))
Residual = tan(x) - (sin(x) / cos(x))
Result = simplify(Residual)
# true iff the result is 0; false only if it is a definite nonzero number
Answer = True if Result == 0 else False if (Result.is_number and Result.is_finite and Result.is_zero is False) else None
print(Result, Answer, sep='\n')
differencetan(x) - (sin(x) / cos(x))→-sin(x)/cos(x) + tan(x)
simplifysimplify(Residual)→0
answertrue
trig-acos-01 trueinverseno verdictQ.real(x) ∧ Q.positive(x) ∧ (x < 3) ⊢ Eq(acos(cos(x)), x)nulldifference → -x + acos(cos(x)) · simplify → -x + acos(cos(x))0.034null
code
setup — not timed
from sympy import *
import sympy

SympyVersion = sympy.__version__
# warm-up: a fixed generic expression, never case content
W = Symbol('W')
Warmup = simplify(sin(W)**2 + cos(W)**2)
# every query then runs in its own forked process, starting from this state:
# the expression caches are dropped (imported and lazily loaded modules stay)
sympy.core.cache.clear_cache()
x = Symbol('x', real=True, positive=True)
# dropped (not a unary fact about one symbol): x < 3
Residual = acos(cos(x)) - x
Result = simplify(Residual)
# true iff the result is 0; false only if it is a definite nonzero number
Answer = True if Result == 0 else False if (Result.is_number and Result.is_finite and Result.is_zero is False) else None
print(Result, Answer, sep='\n')
differenceacos(cos(x)) - x→-x + acos(cos(x))
simplifysimplify(Residual)→-x + acos(cos(x))
answernull
trig-asin-01 contingentinverseno verdictQ.real(x) ⊢ Eq(asin(sin(x)), x)nulldifference → -x + asin(sin(x)) · simplify → -x + asin(sin(x))0.04null
code
setup — not timed
from sympy import *
import sympy

SympyVersion = sympy.__version__
# warm-up: a fixed generic expression, never case content
W = Symbol('W')
Warmup = simplify(sin(W)**2 + cos(W)**2)
# every query then runs in its own forked process, starting from this state:
# the expression caches are dropped (imported and lazily loaded modules stay)
sympy.core.cache.clear_cache()
x = Symbol('x', real=True)
Residual = asin(sin(x)) - x
Result = simplify(Residual)
# true iff the result is 0; false only if it is a definite nonzero number
Answer = True if Result == 0 else False if (Result.is_number and Result.is_finite and Result.is_zero is False) else None
print(Result, Answer, sep='\n')
differenceasin(sin(x)) - x→-x + asin(sin(x))
simplifysimplify(Residual)→-x + asin(sin(x))
answernull
trig-asin-02 trueinverseno verdictQ.real(x) ∧ (x > (-1)) ∧ (x < 1) ⊢ Eq(asin(sin(x)), x)nulldifference → -x + asin(sin(x)) · simplify → -x + asin(sin(x))0.04null
code
setup — not timed
from sympy import *
import sympy

SympyVersion = sympy.__version__
# warm-up: a fixed generic expression, never case content
W = Symbol('W')
Warmup = simplify(sin(W)**2 + cos(W)**2)
# every query then runs in its own forked process, starting from this state:
# the expression caches are dropped (imported and lazily loaded modules stay)
sympy.core.cache.clear_cache()
x = Symbol('x', real=True)
# dropped (not a unary fact about one symbol): x > -1
# dropped (not a unary fact about one symbol): x < 1
Residual = asin(sin(x)) - x
Result = simplify(Residual)
# true iff the result is 0; false only if it is a definite nonzero number
Answer = True if Result == 0 else False if (Result.is_number and Result.is_finite and Result.is_zero is False) else None
print(Result, Answer, sep='\n')
differenceasin(sin(x)) - x→-x + asin(sin(x))
simplifysimplify(Residual)→-x + asin(sin(x))
answernull
trig-atan-01 trueinverseno verdictQ.real(x) ∧ (x > (-1)) ∧ (x < 1) ⊢ Eq(atan(tan(x)), x)nulldifference → -x + atan(tan(x)) · simplify → -x + atan(tan(x))0.044null
code
setup — not timed
from sympy import *
import sympy

SympyVersion = sympy.__version__
# warm-up: a fixed generic expression, never case content
W = Symbol('W')
Warmup = simplify(sin(W)**2 + cos(W)**2)
# every query then runs in its own forked process, starting from this state:
# the expression caches are dropped (imported and lazily loaded modules stay)
sympy.core.cache.clear_cache()
x = Symbol('x', real=True)
# dropped (not a unary fact about one symbol): x > -1
# dropped (not a unary fact about one symbol): x < 1
Residual = atan(tan(x)) - x
Result = simplify(Residual)
# true iff the result is 0; false only if it is a definite nonzero number
Answer = True if Result == 0 else False if (Result.is_number and Result.is_finite and Result.is_zero is False) else None
print(Result, Answer, sep='\n')
differenceatan(tan(x)) - x→-x + atan(tan(x))
simplifysimplify(Residual)→-x + atan(tan(x))
answernull
trig-period-01 trueperiodicitysolvedQ.complex(z) ⊢ Eq(sin((z + (2*pi))), sin(z))truedifference → 0 · simplify → 00.01true
code
setup — not timed
from sympy import *
import sympy

SympyVersion = sympy.__version__
# warm-up: a fixed generic expression, never case content
W = Symbol('W')
Warmup = simplify(sin(W)**2 + cos(W)**2)
# every query then runs in its own forked process, starting from this state:
# the expression caches are dropped (imported and lazily loaded modules stay)
sympy.core.cache.clear_cache()
z = Symbol('z', complex=True)
Residual = sin(z + 2 * pi) - sin(z)
Result = simplify(Residual)
# true iff the result is 0; false only if it is a definite nonzero number
Answer = True if Result == 0 else False if (Result.is_number and Result.is_finite and Result.is_zero is False) else None
print(Result, Answer, sep='\n')
differencesin(z + 2 * pi) - sin(z)→0
simplifysimplify(Residual)→0
answertrue
trig-period-02 contingentperiodicityno verdictQ.real(x) ⊢ Eq(cos((x + pi)), cos(x))nulldifference → -2*cos(x) · simplify → -2*cos(x)0.022null
code
setup — not timed
from sympy import *
import sympy

SympyVersion = sympy.__version__
# warm-up: a fixed generic expression, never case content
W = Symbol('W')
Warmup = simplify(sin(W)**2 + cos(W)**2)
# every query then runs in its own forked process, starting from this state:
# the expression caches are dropped (imported and lazily loaded modules stay)
sympy.core.cache.clear_cache()
x = Symbol('x', real=True)
Residual = cos(x + pi) - cos(x)
Result = simplify(Residual)
# true iff the result is 0; false only if it is a definite nonzero number
Answer = True if Result == 0 else False if (Result.is_number and Result.is_finite and Result.is_zero is False) else None
print(Result, Answer, sep='\n')
differencecos(x + pi) - cos(x)→-2*cos(x)
simplifysimplify(Residual)→-2*cos(x)
answernull
trig-period-03 contingentperiodicityno verdictQ.real(x) ∧ Q.positive(x) ⊢ Eq(cos((x + pi)), cos(x))nulldifference → -2*cos(x) · simplify → -2*cos(x)0.021null
code
setup — not timed
from sympy import *
import sympy

SympyVersion = sympy.__version__
# warm-up: a fixed generic expression, never case content
W = Symbol('W')
Warmup = simplify(sin(W)**2 + cos(W)**2)
# every query then runs in its own forked process, starting from this state:
# the expression caches are dropped (imported and lazily loaded modules stay)
sympy.core.cache.clear_cache()
x = Symbol('x', real=True, positive=True)
Residual = cos(x + pi) - cos(x)
Result = simplify(Residual)
# true iff the result is 0; false only if it is a definite nonzero number
Answer = True if Result == 0 else False if (Result.is_number and Result.is_finite and Result.is_zero is False) else None
print(Result, Answer, sep='\n')
differencecos(x + pi) - cos(x)→-2*cos(x)
simplifysimplify(Residual)→-2*cos(x)
answernull
trig-shift-01 contingentperiodicityno verdictQ.real(x) ⊢ Eq(sin((x + pi)), sin(x))nulldifference → -2*sin(x) · simplify → -2*sin(x)0.022null
code
setup — not timed
from sympy import *
import sympy

SympyVersion = sympy.__version__
# warm-up: a fixed generic expression, never case content
W = Symbol('W')
Warmup = simplify(sin(W)**2 + cos(W)**2)
# every query then runs in its own forked process, starting from this state:
# the expression caches are dropped (imported and lazily loaded modules stay)
sympy.core.cache.clear_cache()
x = Symbol('x', real=True)
Residual = sin(x + pi) - sin(x)
Result = simplify(Residual)
# true iff the result is 0; false only if it is a definite nonzero number
Answer = True if Result == 0 else False if (Result.is_number and Result.is_finite and Result.is_zero is False) else None
print(Result, Answer, sep='\n')
differencesin(x + pi) - sin(x)→-2*sin(x)
simplifysimplify(Residual)→-2*sin(x)
answernull