tanhf (example 3.4)

Time bar (total: 5.8s)

analyze190.0ms (3.3%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
25%25%75%0%0%0%0%3
37.5%37.5%62.5%0%0%0%0%4
43.8%43.7%56.2%0%0%0%0%5
46.9%46.9%53.1%0%0%0%0%6
48.4%48.4%51.5%0%0%0%0%7
49.2%49.2%50.8%0%0%0%0%8
49.6%49.6%50.4%0%0%0%0%9
49.8%49.8%50.2%0%0%0%0%10
49.9%49.9%50.1%0%0%0%0%11
50%49.9%50%0%0%0%0%12
Compiler

Compiled 16 to 11 computations (31.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 88.0ms
Operation ival-<=, time spent: 20.0ms, 23.0% of total-time
Operation ival-sub, time spent: 14.0ms, 16.0% of total-time
Operation ival-cos, time spent: 14.0ms, 16.0% of total-time
Operation ival-sin, time spent: 13.0ms, 15.0% of total-time
Operation ival-neg, time spent: 10.0ms, 11.0% of total-time
Operation ...c/syntax/syntax.rkt:185:8, time spent: 8.0ms, 9.0% of total-time
Operation ival-div, time spent: 7.0ms, 8.0% of total-time
Operation ival-and, time spent: 3.0ms, 3.0% of total-time
Operation const, time spent: 1.0ms, 1.0% of total-time

sample4.5s (76.7%)

Results
928.0ms4538×256valid
2.6s2064×2048valid
543.0ms1069×1024valid
125.0ms524×512valid
49.0ms60×4096valid
0.0ms256valid
Precisions
Click to see histograms. Total time spent on operations: 3.4s
Operation ival-sin, time spent: 1.7s, 50.0% of total-time
Operation ival-cos, time spent: 1.0s, 31.0% of total-time
Operation ival-<=, time spent: 166.0ms, 5.0% of total-time
Operation ival-div, time spent: 154.0ms, 5.0% of total-time
Operation ival-sub, time spent: 122.0ms, 4.0% of total-time
Operation ival-neg, time spent: 101.0ms, 3.0% of total-time
Operation ...c/syntax/syntax.rkt:185:8, time spent: 68.0ms, 2.0% of total-time
Operation ival-and, time spent: 24.0ms, 1.0% of total-time
Operation const, time spent: 10.0ms, 0.0% of total-time
Bogosity

preprocess448.0ms (7.7%)

Algorithm
egg-herbie
Rules
398×fma-define
166×fma-neg
94×times-frac
94×div-sub
74×distribute-rgt-in
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
812(5.199254509354526e-162)0-(-.f64 1 (cos.f64 x))
580-4(1.3811045536644182e-160)(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
00-0-x
00-0-(sin.f64 x)
00-0-(cos.f64 x)
00-0-1
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
/.f64(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))u/n54
(-.f64 1 (cos.f64 x))underflow54
-.f64(-.f64 1 (cos.f64 x))cancellation83
Confusion
Predicted +Predicted -
+1350
-2119
Precision
0.9854014598540146
Recall
1.0
FPDebug
Click to see full error table
ptexpls
(5.153746229862544e+105)(cancellation)
(1.4404136179840646e+80)(cancellation)
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01760
14660
28556
319156
447056
581556
698156
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
(/.f64 (-.f64 1 (cos.f64 (neg.f64 x))) (sin.f64 (neg.f64 x)))
(neg.f64 (/.f64 (-.f64 1 (cos.f64 (neg.f64 x))) (sin.f64 (neg.f64 x))))
Outputs
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
(tan.f64 (/.f64 x 2))
(tan.f64 (*.f64 x 1/2))
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
(tan.f64 (/.f64 x 2))
(tan.f64 (*.f64 x 1/2))
(/.f64 (-.f64 1 (cos.f64 (neg.f64 x))) (sin.f64 (neg.f64 x)))
(tan.f64 (/.f64 (neg.f64 x) 2))
(neg.f64 (tan.f64 (/.f64 x 2)))
(tan.f64 (*.f64 x -1/2))
(neg.f64 (/.f64 (-.f64 1 (cos.f64 (neg.f64 x))) (sin.f64 (neg.f64 x))))
(tan.f64 (/.f64 x 2))
(tan.f64 (*.f64 x 1/2))
Symmetry

(negabs x)

Compiler

Compiled 54 to 32 computations (40.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 206.0ms
Operation ival-cos, time spent: 115.0ms, 56.0% of total-time
Operation ival-sin, time spent: 68.0ms, 33.0% of total-time
Operation ival-sub, time spent: 12.0ms, 6.0% of total-time
Operation ival-div, time spent: 9.0ms, 4.0% of total-time
Operation const, time spent: 3.0ms, 1.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 9 to 7 computations (22.2% saved)

prune1.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(tan.f64 (/.f64 x 2))
Compiler

Compiled 5 to 4 computations (20% saved)

localize33.0ms (0.6%)

Localize:

Found 1 expressions with local error:

NewAccuracyProgram
100.0%
(tan.f64 (/.f64 x 2))
Compiler

Compiled 11 to 8 computations (27.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 14.0ms
Operation ival-div, time spent: 7.0ms, 50.0% of total-time
Operation ival-tan, time spent: 6.0ms, 43.0% of total-time
Operation const, time spent: 1.0ms, 7.0% of total-time

series5.0ms (0.1%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
3.0ms
x
@-inf
(tan.f64 (/.f64 x 2))
1.0ms
x
@inf
(tan.f64 (/.f64 x 2))
1.0ms
x
@0
(tan.f64 (/.f64 x 2))

rewrite172.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
1098×frac-times
502×unpow-prod-down
332×cbrt-prod
328×log-prod
314×log1p-expm1-u
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
17614
287414
Stop Event
node limit
Counts
1 → 46
Calls
Call 1
Inputs
(tan.f64 (/.f64 x 2))
Outputs
(+.f64 0 (tan.f64 (*.f64 x 1/2)))
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))) (log.f64 (sqrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))))
(-.f64 (+.f64 1 (tan.f64 (*.f64 x 1/2))) 1)
(*.f64 (tan.f64 (*.f64 x 1/2)) 1)
(*.f64 (tan.f64 (*.f64 x 1/2)) (log.f64 (E.f64)))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))
(*.f64 1 (tan.f64 (*.f64 x 1/2)))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 1/4) (sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3/2)))
(*.f64 (pow.f64 1 1/3) (tan.f64 (*.f64 x 1/2)))
(*.f64 (pow.f64 (pow.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 2) 1/3) (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))))
(*.f64 (pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 5/2) 1/3) (pow.f64 (tan.f64 (*.f64 x 1/2)) 1/6))
(*.f64 (cbrt.f64 (pow.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 2)) (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))))
(*.f64 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 5/2)) (pow.f64 (tan.f64 (*.f64 x 1/2)) 1/6))
(*.f64 (sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3/2)) (pow.f64 (tan.f64 (*.f64 x 1/2)) 1/4))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 5)) (pow.f64 (tan.f64 (*.f64 x 1/2)) 1/6))
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))
(/.f64 (sin.f64 (*.f64 x 1/2)) (neg.f64 (cos.f64 (*.f64 x 1/2))))
(/.f64 1 (/.f64 (cos.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2))))
(/.f64 (-.f64 (sin.f64 (+.f64 1 x)) (sin.f64 1)) (+.f64 (cos.f64 (+.f64 1 x)) (cos.f64 1)))
(/.f64 (cbrt.f64 (*.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2) (sin.f64 (*.f64 x 1/2)))) (cbrt.f64 (cos.f64 (*.f64 x 1/2))))
(/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2)))) (sqrt.f64 (cos.f64 (*.f64 x 1/2))))
(/.f64 (sqrt.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (tan.f64 (*.f64 x 1/2)))) (sqrt.f64 (cos.f64 (*.f64 x 1/2))))
(pow.f64 (tan.f64 (*.f64 x 1/2)) 1)
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3)
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2) 1/2)
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3)
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2)
(pow.f64 (E.f64) (log.f64 (tan.f64 (*.f64 x 1/2))))
(pow.f64 (/.f64 (cos.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2))) -1)
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))) 2)) (cbrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))) (sqrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))))
(neg.f64 (tan.f64 (*.f64 x 1/2)))
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))
(fabs.f64 (tan.f64 (*.f64 x 1/2)))
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/2))))
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 3))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (tan.f64 (*.f64 x 1/2)))) 1/3))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2)))) 2))

simplify63.0ms (1.1%)

Algorithm
egg-herbie
Rules
940×associate-*r*
802×associate-*l*
752×associate-+r+
744×associate-+l+
672×log-prod
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01471671
13011608
28441586
344131586
Stop Event
node limit
Counts
58 → 78
Calls
Call 1
Inputs
(*.f64 1/2 x)
(+.f64 (*.f64 1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 1/24 (pow.f64 x 3)) (*.f64 1/2 x)))
(+.f64 (*.f64 17/40320 (pow.f64 x 7)) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 1/24 (pow.f64 x 3)) (*.f64 1/2 x))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(+.f64 0 (tan.f64 (*.f64 x 1/2)))
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))) (log.f64 (sqrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))))
(-.f64 (+.f64 1 (tan.f64 (*.f64 x 1/2))) 1)
(*.f64 (tan.f64 (*.f64 x 1/2)) 1)
(*.f64 (tan.f64 (*.f64 x 1/2)) (log.f64 (E.f64)))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))
(*.f64 1 (tan.f64 (*.f64 x 1/2)))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 1/4) (sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3/2)))
(*.f64 (pow.f64 1 1/3) (tan.f64 (*.f64 x 1/2)))
(*.f64 (pow.f64 (pow.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 2) 1/3) (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))))
(*.f64 (pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 5/2) 1/3) (pow.f64 (tan.f64 (*.f64 x 1/2)) 1/6))
(*.f64 (cbrt.f64 (pow.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 2)) (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))))
(*.f64 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 5/2)) (pow.f64 (tan.f64 (*.f64 x 1/2)) 1/6))
(*.f64 (sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3/2)) (pow.f64 (tan.f64 (*.f64 x 1/2)) 1/4))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 5)) (pow.f64 (tan.f64 (*.f64 x 1/2)) 1/6))
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))
(/.f64 (sin.f64 (*.f64 x 1/2)) (neg.f64 (cos.f64 (*.f64 x 1/2))))
(/.f64 1 (/.f64 (cos.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2))))
(/.f64 (-.f64 (sin.f64 (+.f64 1 x)) (sin.f64 1)) (+.f64 (cos.f64 (+.f64 1 x)) (cos.f64 1)))
(/.f64 (cbrt.f64 (*.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2) (sin.f64 (*.f64 x 1/2)))) (cbrt.f64 (cos.f64 (*.f64 x 1/2))))
(/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2)))) (sqrt.f64 (cos.f64 (*.f64 x 1/2))))
(/.f64 (sqrt.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (tan.f64 (*.f64 x 1/2)))) (sqrt.f64 (cos.f64 (*.f64 x 1/2))))
(pow.f64 (tan.f64 (*.f64 x 1/2)) 1)
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3)
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2) 1/2)
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3)
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2)
(pow.f64 (E.f64) (log.f64 (tan.f64 (*.f64 x 1/2))))
(pow.f64 (/.f64 (cos.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2))) -1)
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))) 2)) (cbrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))) (sqrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))))
(neg.f64 (tan.f64 (*.f64 x 1/2)))
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))
(fabs.f64 (tan.f64 (*.f64 x 1/2)))
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/2))))
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 3))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (tan.f64 (*.f64 x 1/2)))) 1/3))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2)))) 2))
Outputs
(*.f64 1/2 x)
(+.f64 (*.f64 1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(fma.f64 1/24 (pow.f64 x 3) (*.f64 1/2 x))
(fma.f64 1/2 x (*.f64 1/24 (pow.f64 x 3)))
(+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 1/24 (pow.f64 x 3)) (*.f64 1/2 x)))
(fma.f64 1/240 (pow.f64 x 5) (fma.f64 1/24 (pow.f64 x 3) (*.f64 1/2 x)))
(fma.f64 1/240 (pow.f64 x 5) (fma.f64 1/2 x (*.f64 1/24 (pow.f64 x 3))))
(fma.f64 1/24 (pow.f64 x 3) (fma.f64 1/240 (pow.f64 x 5) (*.f64 1/2 x)))
(+.f64 (*.f64 17/40320 (pow.f64 x 7)) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 1/24 (pow.f64 x 3)) (*.f64 1/2 x))))
(fma.f64 17/40320 (pow.f64 x 7) (fma.f64 1/240 (pow.f64 x 5) (fma.f64 1/24 (pow.f64 x 3) (*.f64 1/2 x))))
(fma.f64 17/40320 (pow.f64 x 7) (fma.f64 1/240 (pow.f64 x 5) (fma.f64 1/2 x (*.f64 1/24 (pow.f64 x 3)))))
(fma.f64 1/240 (pow.f64 x 5) (fma.f64 17/40320 (pow.f64 x 7) (fma.f64 1/2 x (*.f64 1/24 (pow.f64 x 3)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(+.f64 0 (tan.f64 (*.f64 x 1/2)))
(tan.f64 (*.f64 1/2 x))
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))))
(+.f64 (*.f64 2 (log.f64 (cbrt.f64 (exp.f64 (tan.f64 (*.f64 1/2 x)))))) (log.f64 (cbrt.f64 (exp.f64 (tan.f64 (*.f64 1/2 x))))))
(*.f64 3 (log.f64 (cbrt.f64 (exp.f64 (tan.f64 (*.f64 1/2 x))))))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))) (log.f64 (sqrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))))
(tan.f64 (*.f64 1/2 x))
(-.f64 (+.f64 1 (tan.f64 (*.f64 x 1/2))) 1)
(tan.f64 (*.f64 1/2 x))
(*.f64 (tan.f64 (*.f64 x 1/2)) 1)
(tan.f64 (*.f64 1/2 x))
(*.f64 (tan.f64 (*.f64 x 1/2)) (log.f64 (E.f64)))
(tan.f64 (*.f64 1/2 x))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 1 (tan.f64 (*.f64 x 1/2)))
(tan.f64 (*.f64 1/2 x))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))
(tan.f64 (*.f64 1/2 x))
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(*.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 1/4) (sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3/2)))
(tan.f64 (*.f64 1/2 x))
(*.f64 (pow.f64 1 1/3) (tan.f64 (*.f64 x 1/2)))
(tan.f64 (*.f64 1/2 x))
(*.f64 (pow.f64 (pow.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 2) 1/3) (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))))
(*.f64 (cbrt.f64 (pow.f64 (*.f64 (tan.f64 (*.f64 1/2 x)) (cbrt.f64 (tan.f64 (*.f64 1/2 x)))) 2)) (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x)))))
(*.f64 (cbrt.f64 (pow.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) 4) 2)) (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x)))))
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) 8)) (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x)))))
(*.f64 (pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 5/2) 1/3) (pow.f64 (tan.f64 (*.f64 x 1/2)) 1/6))
(*.f64 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) 5/2)) (pow.f64 (tan.f64 (*.f64 1/2 x)) 1/6))
(*.f64 (cbrt.f64 (pow.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 2)) (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))))
(*.f64 (cbrt.f64 (pow.f64 (*.f64 (tan.f64 (*.f64 1/2 x)) (cbrt.f64 (tan.f64 (*.f64 1/2 x)))) 2)) (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x)))))
(*.f64 (cbrt.f64 (pow.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) 4) 2)) (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x)))))
(*.f64 (cbrt.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) 8)) (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x)))))
(*.f64 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 5/2)) (pow.f64 (tan.f64 (*.f64 x 1/2)) 1/6))
(*.f64 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) 5/2)) (pow.f64 (tan.f64 (*.f64 1/2 x)) 1/6))
(*.f64 (sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3/2)) (pow.f64 (tan.f64 (*.f64 x 1/2)) 1/4))
(tan.f64 (*.f64 1/2 x))
(*.f64 (sqrt.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 5)) (pow.f64 (tan.f64 (*.f64 x 1/2)) 1/6))
(*.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) 1/6) (sqrt.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) 5)))
(*.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) 1/6) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) 5/2))
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 x 1/2)) (neg.f64 (cos.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (neg.f64 (cos.f64 (*.f64 1/2 x))))
(/.f64 (neg.f64 (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x)))
(/.f64 1 (/.f64 (cos.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (-.f64 (sin.f64 (+.f64 1 x)) (sin.f64 1)) (+.f64 (cos.f64 (+.f64 1 x)) (cos.f64 1)))
(tan.f64 (/.f64 (-.f64 (+.f64 x 1) 1) 2))
(tan.f64 (/.f64 (+.f64 x 0) 2))
(tan.f64 (/.f64 x 2))
(/.f64 (cbrt.f64 (*.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2) (sin.f64 (*.f64 x 1/2)))) (cbrt.f64 (cos.f64 (*.f64 x 1/2))))
(/.f64 (cbrt.f64 (*.f64 (sin.f64 (*.f64 1/2 x)) (pow.f64 (tan.f64 (*.f64 1/2 x)) 2))) (cbrt.f64 (cos.f64 (*.f64 1/2 x))))
(/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2)))) (sqrt.f64 (cos.f64 (*.f64 x 1/2))))
(/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))) (sqrt.f64 (cos.f64 (*.f64 1/2 x))))
(/.f64 (sqrt.f64 (*.f64 (sin.f64 (*.f64 x 1/2)) (tan.f64 (*.f64 x 1/2)))) (sqrt.f64 (cos.f64 (*.f64 x 1/2))))
(/.f64 (sqrt.f64 (*.f64 (tan.f64 (*.f64 1/2 x)) (sin.f64 (*.f64 1/2 x)))) (sqrt.f64 (cos.f64 (*.f64 1/2 x))))
(pow.f64 (tan.f64 (*.f64 x 1/2)) 1)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2) 1/2)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (E.f64) (log.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(pow.f64 (/.f64 (cos.f64 (*.f64 x 1/2)) (sin.f64 (*.f64 x 1/2))) -1)
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))) 2)) (cbrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (tan.f64 (*.f64 1/2 x)))) 2)) (cbrt.f64 (log.f64 (tan.f64 (*.f64 1/2 x)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))) (sqrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (tan.f64 (*.f64 1/2 x))))) (sqrt.f64 (log.f64 (tan.f64 (*.f64 1/2 x)))))
(neg.f64 (tan.f64 (*.f64 x 1/2)))
(neg.f64 (tan.f64 (*.f64 1/2 x)))
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))
(tan.f64 (*.f64 1/2 x))
(fabs.f64 (tan.f64 (*.f64 x 1/2)))
(tan.f64 (*.f64 1/2 x))
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))
(tan.f64 (*.f64 1/2 x))
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 3))
(tan.f64 (*.f64 1/2 x))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (tan.f64 (*.f64 x 1/2)))) 1/3))
(tan.f64 (*.f64 1/2 x))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2)))) 2))
(tan.f64 (*.f64 1/2 x))

eval24.0ms (0.4%)

Compiler

Compiled 888 to 741 computations (16.6% saved)

prune12.0ms (0.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New76278
Fresh000
Picked011
Done000
Total76379
Accuracy
100.0%
Counts
79 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.7%
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))
53.4%
(*.f64 1/2 x)
100.0%
(tan.f64 (/.f64 x 2))
Compiler

Compiled 19 to 15 computations (21.1% saved)

localize82.0ms (1.4%)

Localize:

Found 1 expressions with local error:

NewAccuracyProgram
99.7%
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))
Compiler

Compiled 29 to 21 computations (27.6% saved)

Precisions
Click to see histograms. Total time spent on operations: 36.0ms
Operation ival-sin, time spent: 12.0ms, 33.0% of total-time
Operation ival-cos, time spent: 11.0ms, 30.0% of total-time
Operation ival-mult, time spent: 10.0ms, 27.0% of total-time
Operation ival-div, time spent: 2.0ms, 5.0% of total-time
Operation const, time spent: 1.0ms, 3.0% of total-time

series2.0ms (0%)

Counts
1 → 12
Calls

3 calls:

TimeVariablePointExpression
1.0ms
x
@0
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))
1.0ms
x
@inf
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))
1.0ms
x
@-inf
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))

rewrite77.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
986×unpow-prod-down
584×log-prod
520×log1p-expm1-u
520×expm1-log1p-u
468×pow1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01114
111114
2139214
Stop Event
node limit
Counts
1 → 68
Calls
Call 1
Inputs
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))
Outputs
(+.f64 0 (tan.f64 (*.f64 x 1/2)))
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))) (log.f64 (sqrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))))
(-.f64 (+.f64 1 (tan.f64 (*.f64 x 1/2))) 1)
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))
(*.f64 (tan.f64 (*.f64 x 1/2)) 1)
(*.f64 (tan.f64 (*.f64 x 1/2)) (log.f64 (E.f64)))
(*.f64 1 (tan.f64 (*.f64 x 1/2)))
(*.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (/.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))
(*.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (*.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))
(*.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (neg.f64 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 1 (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2)))
(*.f64 (/.f64 1 (cos.f64 (*.f64 x 1/2))) (pow.f64 (/.f64 1 (sin.f64 (*.f64 x 1/2))) -1))
(*.f64 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) -2) (/.f64 (sin.f64 (*.f64 x 1/2)) (cbrt.f64 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) -2) (pow.f64 (/.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2))) -1))
(*.f64 (pow.f64 (cos.f64 (*.f64 x 1/2)) -1/2) (/.f64 (sin.f64 (*.f64 x 1/2)) (sqrt.f64 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (pow.f64 (cos.f64 (*.f64 x 1/2)) -1/2) (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2))) -1))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) 1) (/.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (sqrt.f64 (cos.f64 (*.f64 x 1/2)))) (/.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (sqrt.f64 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) 1) (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))
(*.f64 (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (cbrt.f64 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (pow.f64 1 1/3) (tan.f64 (*.f64 x 1/2)))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 2) 3) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 3))
(*.f64 (pow.f64 (sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3)) 1/3))
(*.f64 (pow.f64 (*.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2) (sin.f64 (*.f64 x 1/2))) 1/3) (cbrt.f64 (/.f64 1 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (pow.f64 (pow.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 2) 1/3) (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))))
(*.f64 (pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2)))))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2)))) 2) -1) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) -2) -1) (pow.f64 (/.f64 (cos.f64 (*.f64 x 1/2)) (cbrt.f64 (sin.f64 (*.f64 x 1/2)))) -1))
(*.f64 (pow.f64 (pow.f64 (sin.f64 (*.f64 x 1/2)) -1/2) -1) (pow.f64 (/.f64 (cos.f64 (*.f64 x 1/2)) (sqrt.f64 (sin.f64 (*.f64 x 1/2)))) -1))
(*.f64 (pow.f64 (/.f64 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2) 1) -1) (pow.f64 (/.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2))) -1))
(*.f64 (pow.f64 (/.f64 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2) (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2)) -1) (pow.f64 (/.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) (cbrt.f64 (sin.f64 (*.f64 x 1/2)))) -1))
(*.f64 (pow.f64 (/.f64 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2) (sqrt.f64 (sin.f64 (*.f64 x 1/2)))) -1) (pow.f64 (/.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) (sqrt.f64 (sin.f64 (*.f64 x 1/2)))) -1))
(*.f64 (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) 1) -1) (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2))) -1))
(*.f64 (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2)) -1) (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) (cbrt.f64 (sin.f64 (*.f64 x 1/2)))) -1))
(*.f64 (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) (sqrt.f64 (sin.f64 (*.f64 x 1/2)))) -1) (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) (sqrt.f64 (sin.f64 (*.f64 x 1/2)))) -1))
(pow.f64 (tan.f64 (*.f64 x 1/2)) 1)
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3)
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2) 1/2)
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3)
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2)
(pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) -1)
(pow.f64 (E.f64) (log.f64 (tan.f64 (*.f64 x 1/2))))
(pow.f64 (/.f64 (pow.f64 (sin.f64 (*.f64 x 1/2)) 3) (pow.f64 (cos.f64 (*.f64 x 1/2)) 3)) 1/3)
(pow.f64 (/.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) 1) -1)
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))) 2)) (cbrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))) (sqrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))))
(neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (neg.f64 (cos.f64 (*.f64 x 1/2)))))
(neg.f64 (/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))
(cbrt.f64 (/.f64 (pow.f64 (sin.f64 (*.f64 x 1/2)) 3) (pow.f64 (cos.f64 (*.f64 x 1/2)) 3)))
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/2))))
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 3))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (tan.f64 (*.f64 x 1/2)))) 1/3))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2)))) 2))
(exp.f64 (*.f64 (neg.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))) -1))
(tan.f64 (*.f64 x 1/2))

simplify83.0ms (1.4%)

Algorithm
egg-herbie
Rules
790×unswap-sqr
608×sqr-pow
568×fma-define
526×times-frac
508×log-prod
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02202508
15462458
215252428
354342354
Stop Event
node limit
Counts
80 → 107
Calls
Call 1
Inputs
(*.f64 1/2 x)
(+.f64 (*.f64 1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 1/24 (pow.f64 x 3)) (*.f64 1/2 x)))
(+.f64 (*.f64 17/40320 (pow.f64 x 7)) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 1/24 (pow.f64 x 3)) (*.f64 1/2 x))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(+.f64 0 (tan.f64 (*.f64 x 1/2)))
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))) (log.f64 (sqrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))))
(-.f64 (+.f64 1 (tan.f64 (*.f64 x 1/2))) 1)
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))
(*.f64 (tan.f64 (*.f64 x 1/2)) 1)
(*.f64 (tan.f64 (*.f64 x 1/2)) (log.f64 (E.f64)))
(*.f64 1 (tan.f64 (*.f64 x 1/2)))
(*.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (/.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))
(*.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (*.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))
(*.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (neg.f64 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 1 (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2)))
(*.f64 (/.f64 1 (cos.f64 (*.f64 x 1/2))) (pow.f64 (/.f64 1 (sin.f64 (*.f64 x 1/2))) -1))
(*.f64 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) -2) (/.f64 (sin.f64 (*.f64 x 1/2)) (cbrt.f64 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) -2) (pow.f64 (/.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2))) -1))
(*.f64 (pow.f64 (cos.f64 (*.f64 x 1/2)) -1/2) (/.f64 (sin.f64 (*.f64 x 1/2)) (sqrt.f64 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (pow.f64 (cos.f64 (*.f64 x 1/2)) -1/2) (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2))) -1))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) 1) (/.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (sqrt.f64 (cos.f64 (*.f64 x 1/2)))) (/.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (sqrt.f64 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) 1) (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))
(*.f64 (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (cbrt.f64 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (pow.f64 1 1/3) (tan.f64 (*.f64 x 1/2)))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 2) 3) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 3))
(*.f64 (pow.f64 (sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3)) 1/3))
(*.f64 (pow.f64 (*.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2) (sin.f64 (*.f64 x 1/2))) 1/3) (cbrt.f64 (/.f64 1 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (pow.f64 (pow.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 2) 1/3) (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))))
(*.f64 (pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2)))))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2)))) 2) -1) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) -2) -1) (pow.f64 (/.f64 (cos.f64 (*.f64 x 1/2)) (cbrt.f64 (sin.f64 (*.f64 x 1/2)))) -1))
(*.f64 (pow.f64 (pow.f64 (sin.f64 (*.f64 x 1/2)) -1/2) -1) (pow.f64 (/.f64 (cos.f64 (*.f64 x 1/2)) (sqrt.f64 (sin.f64 (*.f64 x 1/2)))) -1))
(*.f64 (pow.f64 (/.f64 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2) 1) -1) (pow.f64 (/.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2))) -1))
(*.f64 (pow.f64 (/.f64 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2) (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2)) -1) (pow.f64 (/.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) (cbrt.f64 (sin.f64 (*.f64 x 1/2)))) -1))
(*.f64 (pow.f64 (/.f64 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2) (sqrt.f64 (sin.f64 (*.f64 x 1/2)))) -1) (pow.f64 (/.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) (sqrt.f64 (sin.f64 (*.f64 x 1/2)))) -1))
(*.f64 (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) 1) -1) (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2))) -1))
(*.f64 (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2)) -1) (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) (cbrt.f64 (sin.f64 (*.f64 x 1/2)))) -1))
(*.f64 (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) (sqrt.f64 (sin.f64 (*.f64 x 1/2)))) -1) (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) (sqrt.f64 (sin.f64 (*.f64 x 1/2)))) -1))
(pow.f64 (tan.f64 (*.f64 x 1/2)) 1)
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3)
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2) 1/2)
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3)
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2)
(pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) -1)
(pow.f64 (E.f64) (log.f64 (tan.f64 (*.f64 x 1/2))))
(pow.f64 (/.f64 (pow.f64 (sin.f64 (*.f64 x 1/2)) 3) (pow.f64 (cos.f64 (*.f64 x 1/2)) 3)) 1/3)
(pow.f64 (/.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) 1) -1)
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))) 2)) (cbrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))) (sqrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))))
(neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (neg.f64 (cos.f64 (*.f64 x 1/2)))))
(neg.f64 (/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))
(cbrt.f64 (/.f64 (pow.f64 (sin.f64 (*.f64 x 1/2)) 3) (pow.f64 (cos.f64 (*.f64 x 1/2)) 3)))
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/2))))
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 3))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (tan.f64 (*.f64 x 1/2)))) 1/3))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2)))) 2))
(exp.f64 (*.f64 (neg.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))) -1))
(tan.f64 (*.f64 x 1/2))
Outputs
(*.f64 1/2 x)
(+.f64 (*.f64 1/24 (pow.f64 x 3)) (*.f64 1/2 x))
(fma.f64 1/24 (pow.f64 x 3) (*.f64 1/2 x))
(+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 1/24 (pow.f64 x 3)) (*.f64 1/2 x)))
(fma.f64 1/240 (pow.f64 x 5) (fma.f64 1/24 (pow.f64 x 3) (*.f64 1/2 x)))
(fma.f64 1/24 (pow.f64 x 3) (fma.f64 1/240 (pow.f64 x 5) (*.f64 1/2 x)))
(+.f64 (*.f64 17/40320 (pow.f64 x 7)) (+.f64 (*.f64 1/240 (pow.f64 x 5)) (+.f64 (*.f64 1/24 (pow.f64 x 3)) (*.f64 1/2 x))))
(fma.f64 17/40320 (pow.f64 x 7) (fma.f64 1/240 (pow.f64 x 5) (fma.f64 1/24 (pow.f64 x 3) (*.f64 1/2 x))))
(fma.f64 1/240 (pow.f64 x 5) (fma.f64 17/40320 (pow.f64 x 7) (fma.f64 1/24 (pow.f64 x 3) (*.f64 1/2 x))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(+.f64 0 (tan.f64 (*.f64 x 1/2)))
(tan.f64 (*.f64 1/2 x))
(+.f64 (log.f64 (pow.f64 (cbrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2)))) 2)) (log.f64 (cbrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))))
(+.f64 (*.f64 2 (log.f64 (cbrt.f64 (exp.f64 (tan.f64 (*.f64 1/2 x)))))) (log.f64 (cbrt.f64 (exp.f64 (tan.f64 (*.f64 1/2 x))))))
(*.f64 3 (log.f64 (cbrt.f64 (exp.f64 (tan.f64 (*.f64 1/2 x))))))
(+.f64 (log.f64 (sqrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))) (log.f64 (sqrt.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))))
(tan.f64 (*.f64 1/2 x))
(-.f64 (+.f64 1 (tan.f64 (*.f64 x 1/2))) 1)
(tan.f64 (*.f64 1/2 x))
(*.f64 (sin.f64 (*.f64 x 1/2)) (/.f64 1 (cos.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (tan.f64 (*.f64 x 1/2)) 1)
(tan.f64 (*.f64 1/2 x))
(*.f64 (tan.f64 (*.f64 x 1/2)) (log.f64 (E.f64)))
(tan.f64 (*.f64 1/2 x))
(*.f64 1 (tan.f64 (*.f64 x 1/2)))
(tan.f64 (*.f64 1/2 x))
(*.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (/.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (*.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (cos.f64 (*.f64 x 1/2)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2))
(tan.f64 (*.f64 1/2 x))
(*.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 2) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(*.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (*.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (cos.f64 (*.f64 x 1/2)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) (sqrt.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(*.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (/.f64 1 (neg.f64 (cos.f64 (*.f64 x 1/2)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (/.f64 1 (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2)))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (/.f64 1 (cos.f64 (*.f64 x 1/2))) (pow.f64 (/.f64 1 (sin.f64 (*.f64 x 1/2))) -1))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) -2) (/.f64 (sin.f64 (*.f64 x 1/2)) (cbrt.f64 (cos.f64 (*.f64 x 1/2)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) -2) (pow.f64 (/.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2))) -1))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (pow.f64 (cos.f64 (*.f64 x 1/2)) -1/2) (/.f64 (sin.f64 (*.f64 x 1/2)) (sqrt.f64 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (pow.f64 (cos.f64 (*.f64 1/2 x)) -1/2) (/.f64 (sin.f64 (*.f64 1/2 x)) (sqrt.f64 (cos.f64 (*.f64 1/2 x)))))
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (pow.f64 (cos.f64 (*.f64 1/2 x)) -1/2) (sqrt.f64 (cos.f64 (*.f64 1/2 x)))))
(*.f64 (pow.f64 (cos.f64 (*.f64 x 1/2)) -1/2) (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2))) -1))
(*.f64 (pow.f64 (cos.f64 (*.f64 1/2 x)) -1/2) (/.f64 (sin.f64 (*.f64 1/2 x)) (sqrt.f64 (cos.f64 (*.f64 1/2 x)))))
(*.f64 (sin.f64 (*.f64 1/2 x)) (/.f64 (pow.f64 (cos.f64 (*.f64 1/2 x)) -1/2) (sqrt.f64 (cos.f64 (*.f64 1/2 x)))))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) 1) (/.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 1/2 x))) 2) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 1/2 x))) 2)))
(*.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 1/2 x))) 2) (/.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 1/2 x))) 2)))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) (pow.f64 (/.f64 (cbrt.f64 (cos.f64 (*.f64 1/2 x))) (cbrt.f64 (sin.f64 (*.f64 1/2 x)))) -2))
(*.f64 (/.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2) (sqrt.f64 (cos.f64 (*.f64 x 1/2)))) (/.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) (sqrt.f64 (cos.f64 (*.f64 x 1/2)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) 1) (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2)) (/.f64 (sqrt.f64 (sin.f64 (*.f64 x 1/2))) (cbrt.f64 (cos.f64 (*.f64 x 1/2)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (pow.f64 1 1/3) (tan.f64 (*.f64 x 1/2)))
(tan.f64 (*.f64 1/2 x))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 2) 3) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(*.f64 (pow.f64 (sqrt.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 3) (pow.f64 (sqrt.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 3))
(tan.f64 (*.f64 1/2 x))
(*.f64 (pow.f64 (sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3)) 1/3) (pow.f64 (sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3)) 1/3))
(tan.f64 (*.f64 1/2 x))
(*.f64 (pow.f64 (*.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2) (sin.f64 (*.f64 x 1/2))) 1/3) (cbrt.f64 (/.f64 1 (cos.f64 (*.f64 x 1/2)))))
(*.f64 (cbrt.f64 (*.f64 (sin.f64 (*.f64 1/2 x)) (pow.f64 (tan.f64 (*.f64 1/2 x)) 2))) (cbrt.f64 (/.f64 1 (cos.f64 (*.f64 1/2 x)))))
(*.f64 (pow.f64 (pow.f64 (*.f64 (tan.f64 (*.f64 x 1/2)) (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 2) 1/3) (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))))
(*.f64 (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x)))) (cbrt.f64 (pow.f64 (*.f64 (tan.f64 (*.f64 1/2 x)) (cbrt.f64 (tan.f64 (*.f64 1/2 x)))) 2)))
(*.f64 (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x)))) (cbrt.f64 (pow.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) 4) 2)))
(*.f64 (cbrt.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x)))) (cbrt.f64 (pow.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) 8)))
(*.f64 (pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 5/2) 1/3) (cbrt.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2)))))
(*.f64 (cbrt.f64 (pow.f64 (tan.f64 (*.f64 1/2 x)) 5/2)) (cbrt.f64 (sqrt.f64 (tan.f64 (*.f64 1/2 x)))))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2)))) 2) -1) (cbrt.f64 (tan.f64 (*.f64 x 1/2))))
(*.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) (/.f64 1 (pow.f64 (cbrt.f64 (/.f64 1 (tan.f64 (*.f64 1/2 x)))) 2)))
(/.f64 (*.f64 1 (cbrt.f64 (tan.f64 (*.f64 1/2 x)))) (pow.f64 (cbrt.f64 (/.f64 1 (tan.f64 (*.f64 1/2 x)))) 2))
(/.f64 (cbrt.f64 (tan.f64 (*.f64 1/2 x))) (pow.f64 (cbrt.f64 (/.f64 1 (tan.f64 (*.f64 1/2 x)))) 2))
(*.f64 (pow.f64 (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) -2) -1) (pow.f64 (/.f64 (cos.f64 (*.f64 x 1/2)) (cbrt.f64 (sin.f64 (*.f64 x 1/2)))) -1))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (pow.f64 (pow.f64 (sin.f64 (*.f64 x 1/2)) -1/2) -1) (pow.f64 (/.f64 (cos.f64 (*.f64 x 1/2)) (sqrt.f64 (sin.f64 (*.f64 x 1/2)))) -1))
(*.f64 (/.f64 1 (pow.f64 (sin.f64 (*.f64 1/2 x)) -1/2)) (/.f64 1 (/.f64 (cos.f64 (*.f64 1/2 x)) (sqrt.f64 (sin.f64 (*.f64 1/2 x))))))
(/.f64 (*.f64 (/.f64 (sqrt.f64 (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) 1) (pow.f64 (sin.f64 (*.f64 1/2 x)) -1/2))
(/.f64 (/.f64 (sqrt.f64 (sin.f64 (*.f64 1/2 x))) (cos.f64 (*.f64 1/2 x))) (pow.f64 (sin.f64 (*.f64 1/2 x)) -1/2))
(*.f64 (pow.f64 (/.f64 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2) 1) -1) (pow.f64 (/.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2))) -1))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (pow.f64 (/.f64 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2) (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2)) -1) (pow.f64 (/.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) (cbrt.f64 (sin.f64 (*.f64 x 1/2)))) -1))
(*.f64 (/.f64 1 (/.f64 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 1/2 x))) 2) (pow.f64 (cbrt.f64 (sin.f64 (*.f64 1/2 x))) 2))) (/.f64 1 (/.f64 (cbrt.f64 (cos.f64 (*.f64 1/2 x))) (cbrt.f64 (sin.f64 (*.f64 1/2 x))))))
(/.f64 (*.f64 (*.f64 (/.f64 1 (cbrt.f64 (cos.f64 (*.f64 1/2 x)))) (cbrt.f64 (sin.f64 (*.f64 1/2 x)))) 1) (/.f64 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 1/2 x))) 2) (pow.f64 (cbrt.f64 (sin.f64 (*.f64 1/2 x))) 2)))
(*.f64 (/.f64 (/.f64 (cbrt.f64 (sin.f64 (*.f64 1/2 x))) (cbrt.f64 (cos.f64 (*.f64 1/2 x)))) (pow.f64 (cbrt.f64 (cos.f64 (*.f64 1/2 x))) 2)) (pow.f64 (cbrt.f64 (sin.f64 (*.f64 1/2 x))) 2))
(pow.f64 (/.f64 (cbrt.f64 (sin.f64 (*.f64 1/2 x))) (cbrt.f64 (cos.f64 (*.f64 1/2 x)))) 3)
(*.f64 (pow.f64 (/.f64 (pow.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) 2) (sqrt.f64 (sin.f64 (*.f64 x 1/2)))) -1) (pow.f64 (/.f64 (cbrt.f64 (cos.f64 (*.f64 x 1/2))) (sqrt.f64 (sin.f64 (*.f64 x 1/2)))) -1))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) 1) -1) (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) (sin.f64 (*.f64 x 1/2))) -1))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) (pow.f64 (cbrt.f64 (sin.f64 (*.f64 x 1/2))) 2)) -1) (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) (cbrt.f64 (sin.f64 (*.f64 x 1/2)))) -1))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(*.f64 (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) (sqrt.f64 (sin.f64 (*.f64 x 1/2)))) -1) (pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 x 1/2))) (sqrt.f64 (sin.f64 (*.f64 x 1/2)))) -1))
(pow.f64 (/.f64 (sqrt.f64 (cos.f64 (*.f64 1/2 x))) (sqrt.f64 (sin.f64 (*.f64 1/2 x)))) -2)
(*.f64 (sin.f64 (*.f64 1/2 x)) (pow.f64 (sqrt.f64 (cos.f64 (*.f64 1/2 x))) -2))
(pow.f64 (tan.f64 (*.f64 x 1/2)) 1)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2))) 3)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2) 1/2)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3) 1/3)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2))) 2)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) -1)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (E.f64) (log.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(pow.f64 (/.f64 (pow.f64 (sin.f64 (*.f64 x 1/2)) 3) (pow.f64 (cos.f64 (*.f64 x 1/2)) 3)) 1/3)
(cbrt.f64 (/.f64 (pow.f64 (sin.f64 (*.f64 1/2 x)) 3) (pow.f64 (cos.f64 (*.f64 1/2 x)) 3)))
(cbrt.f64 (pow.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) 3))
(pow.f64 (/.f64 (/.f64 1 (tan.f64 (*.f64 x 1/2))) 1) -1)
(tan.f64 (*.f64 1/2 x))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))) 2)) (cbrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))))
(pow.f64 (exp.f64 (pow.f64 (cbrt.f64 (log.f64 (tan.f64 (*.f64 1/2 x)))) 2)) (cbrt.f64 (log.f64 (tan.f64 (*.f64 1/2 x)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))) (sqrt.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))))
(pow.f64 (exp.f64 (sqrt.f64 (log.f64 (tan.f64 (*.f64 1/2 x))))) (sqrt.f64 (log.f64 (tan.f64 (*.f64 1/2 x)))))
(neg.f64 (/.f64 (sin.f64 (*.f64 x 1/2)) (neg.f64 (cos.f64 (*.f64 x 1/2)))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(neg.f64 (/.f64 (neg.f64 (sin.f64 (*.f64 x 1/2))) (cos.f64 (*.f64 x 1/2))))
(/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x)))
(sqrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 2))
(tan.f64 (*.f64 1/2 x))
(log.f64 (exp.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(cbrt.f64 (pow.f64 (tan.f64 (*.f64 x 1/2)) 3))
(tan.f64 (*.f64 1/2 x))
(cbrt.f64 (/.f64 (pow.f64 (sin.f64 (*.f64 x 1/2)) 3) (pow.f64 (cos.f64 (*.f64 x 1/2)) 3)))
(cbrt.f64 (/.f64 (pow.f64 (sin.f64 (*.f64 1/2 x)) 3) (pow.f64 (cos.f64 (*.f64 1/2 x)) 3)))
(cbrt.f64 (pow.f64 (/.f64 (sin.f64 (*.f64 1/2 x)) (cos.f64 (*.f64 1/2 x))) 3))
(expm1.f64 (log1p.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(log1p.f64 (expm1.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(exp.f64 (log.f64 (tan.f64 (*.f64 x 1/2))))
(tan.f64 (*.f64 1/2 x))
(exp.f64 (*.f64 (log.f64 (cbrt.f64 (tan.f64 (*.f64 x 1/2)))) 3))
(tan.f64 (*.f64 1/2 x))
(exp.f64 (*.f64 (*.f64 3 (log.f64 (tan.f64 (*.f64 x 1/2)))) 1/3))
(tan.f64 (*.f64 1/2 x))
(exp.f64 (*.f64 (log.f64 (sqrt.f64 (tan.f64 (*.f64 x 1/2)))) 2))
(tan.f64 (*.f64 1/2 x))
(exp.f64 (*.f64 (neg.f64 (log.f64 (tan.f64 (*.f64 x 1/2)))) -1))
(tan.f64 (*.f64 1/2 x))
(tan.f64 (*.f64 x 1/2))
(tan.f64 (*.f64 1/2 x))

eval51.0ms (0.9%)

Compiler

Compiled 1595 to 1354 computations (15.1% saved)

prune16.0ms (0.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1070107
Fresh000
Picked022
Done011
Total1073110
Accuracy
100.0%
Counts
110 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
99.7%
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))
53.4%
(*.f64 1/2 x)
100.0%
(tan.f64 (/.f64 x 2))
Compiler

Compiled 43 to 33 computations (23.3% saved)

regimes8.0ms (0.1%)

Counts
4 → 1
Calls
Call 1
Inputs
(*.f64 1/2 x)
(tan.f64 (/.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
(/.f64 (sin.f64 (*.f64 x 1/2)) (cos.f64 (*.f64 x 1/2)))
Outputs
(tan.f64 (/.f64 x 2))
Calls

2 calls:

5.0ms
x
3.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
Compiler

Compiled 10 to 7 computations (30% saved)

regimes3.0ms (0%)

Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
(*.f64 1/2 x)
Outputs
(*.f64 1/2 x)
Calls

1 calls:

2.0ms
x
Results
AccuracySegmentsBranch
53.4%1x
Compiler

Compiled 2 to 1 computations (50% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01124
11224
Stop Event
done
saturated
Calls
Call 1
Inputs
(tan.f64 (/.f64 x 2))
(*.f64 1/2 x)
Outputs
(tan.f64 (/.f64 x 2))
(*.f64 1/2 x)
(*.f64 x 1/2)
Compiler

Compiled 9 to 7 computations (22.2% saved)

soundness44.0ms (0.7%)

Rules
398×fma-define
166×fma-neg
94×times-frac
94×div-sub
74×distribute-rgt-in
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01760
14660
28556
319156
447056
581556
698156
Stop Event
saturated
Compiler

Compiled 12 to 9 computations (25% saved)

end0.0ms (0%)

preprocess38.0ms (0.6%)

Remove

(negabs x)

Compiler

Compiled 72 to 56 computations (22.2% saved)

Profiling

Loading profile data...