Details

Time bar (total: 11.9s)

analyze1.8s (15%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
0%100%0%4
0%100%0%5
0%100%0%6
0%100%0%7
0%100%0%8
0%100%0%9
0%100%0%10
0%100%0%11
0%100%0%12
0%100%0%13
0.1%99.9%0%14
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample9.1s (76.1%)

Results
5.6s2036×body2048valid
2.2s3145×body1024valid
548.0ms1501×body512valid
336.0ms817×body256valid
153.0ms100×body4096valid
106.0ms657×body128valid
Compiler

Compiled 32 to 20 computations (37.5% saved)

simplify85.0ms (0.7%)

Algorithm
egg-herbie
Rules
583×fma-neg_binary64
430×div-sub_binary64
430×fma-def_binary64
335×times-frac_binary64
160×sub-neg_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0714
11414
22414
34114
46714
511514
621214
741614
869914
9117614
10155514
11162114
12165214
13167914
14168914
15169314
16169314
17159214

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
31.7b
Counts
2 → 1
Alt Table
StatusErrorProgram
31.7b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
Compiler

Compiled 30 to 18 computations (40% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
1.3b
(-.f64 x (tan.f64 x))
1.4b
(-.f64 x (sin.f64 x))

series21.0ms (0.2%)

Counts
3 → 30
Calls

3 calls:

11.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
8.0ms
(-.f64 x (tan.f64 x))
2.0ms
(-.f64 x (sin.f64 x))

rewrite22.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
59×*-un-lft-identity_binary64
59×add-sqr-sqrt_binary64
31×add-cube-cbrt_binary64
25×times-frac_binary64
18×prod-diff_binary64
Counts
3 → 114
Calls

3 calls:

9.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
3.0ms
(-.f64 x (sin.f64 x))
3.0ms
(-.f64 x (tan.f64 x))

simplify105.0ms (0.9%)

Algorithm
egg-herbie
Rules
815×fma-def_binary64
368×fma-neg_binary64
252×associate-/l/_binary64
250×cancel-sign-sub-inv_binary64
202×distribute-rgt-in_binary64
Counts
144 → 152
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02573004
15942580
219932458
347342458
448682458

prune68.0ms (0.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1502152
Fresh000
Picked011
Done000
Total1503153
Error
0b
Counts
153 → 3
Alt Table
StatusErrorProgram
31.9b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
31.5b
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
31.7b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
Compiler

Compiled 3148 to 893 computations (71.6% saved)

localize11.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(*.f64 27/112000 (pow.f64 x 6))
0.1b
(fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6)))
0.2b
(fma.f64 27/2800 (pow.f64 x 4) 1/2)
19.1b
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))

series14.0ms (0.1%)

Counts
4 → 36
Calls

4 calls:

4.0ms
(fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6)))
4.0ms
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
3.0ms
(*.f64 27/112000 (pow.f64 x 6))
3.0ms
(fma.f64 27/2800 (pow.f64 x 4) 1/2)

rewrite13.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64
17×*-un-lft-identity_binary64
15×add-cube-cbrt_binary64
add-exp-log_binary64
prod-diff_binary64
Counts
4 → 79
Calls

4 calls:

6.0ms
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
4.0ms
(*.f64 27/112000 (pow.f64 x 6))
0.0ms
(fma.f64 27/2800 (pow.f64 x 4) 1/2)
0.0ms
(fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6)))

simplify120.0ms (1%)

Algorithm
egg-herbie
Rules
445×fma-neg_binary64
370×fma-def_binary64
341×distribute-rgt-in_binary64
340×distribute-lft-in_binary64
292×exp-prod_binary64
Counts
115 → 125
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01432086
12601929
27991728
328101715
443771706
549971706
647541706

prune100.0ms (0.8%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1250125
Fresh011
Picked011
Done011
Total1253128
Error
0b
Counts
128 → 3
Alt Table
StatusErrorProgram
31.9b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
31.5b
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
31.7b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
Compiler

Compiled 3427 to 2571 computations (25% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(/.f64 1 (cos.f64 x))
0.2b
(/.f64 (sin.f64 x) x)
0.2b
(*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1))
1.8b
(+.f64 (/.f64 1 (cos.f64 x)) -1)

series29.0ms (0.2%)

Counts
4 → 32
Calls

4 calls:

10.0ms
(*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1))
8.0ms
(+.f64 (/.f64 1 (cos.f64 x)) -1)
7.0ms
(/.f64 1 (cos.f64 x))
3.0ms
(/.f64 (sin.f64 x) x)

rewrite28.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt_binary64
43×*-un-lft-identity_binary64
41×times-frac_binary64
35×add-cube-cbrt_binary64
15×add-exp-log_binary64
Counts
4 → 138
Calls

4 calls:

11.0ms
(*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1))
5.0ms
(+.f64 (/.f64 1 (cos.f64 x)) -1)
2.0ms
(/.f64 (sin.f64 x) x)
2.0ms
(/.f64 1 (cos.f64 x))

simplify97.0ms (0.8%)

Algorithm
egg-herbie
Rules
443×fma-def_binary64
410×associate-*l/_binary64
341×associate-/l*_binary64
334×distribute-rgt-in_binary64
312×associate-*r/_binary64
Counts
170 → 215
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02092417
15732236
214852213
343912213
449802213

prune119.0ms (1%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2150215
Fresh000
Picked011
Done022
Total2153218
Error
0b
Counts
218 → 3
Alt Table
StatusErrorProgram
31.9b
(+.f64 1 (*.f64 (/.f64 (sin.f64 x) x) (+.f64 (/.f64 1 (cos.f64 x)) -1)))
31.5b
(-.f64 (fma.f64 9/40 (*.f64 x x) (*.f64 27/112000 (pow.f64 x 6))) (fma.f64 27/2800 (pow.f64 x 4) 1/2))
31.7b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
Compiler

Compiled 4443 to 2426 computations (45.4% saved)

regimes74.0ms (0.6%)

Accuracy

Total 0.0b remaining (21.7%)

Threshold costs 0.0b (21.7%)

Counts
23 → 3
Compiler

Compiled 710 to 538 computations (24.2% saved)

bsearch50.0ms (0.4%)

Steps
ItersRangePoint
10
5.5246575259987277e-14
195002.517381923
0.10015501263761316
8
-128.94964516157012
-0.02919319809264242
-0.08512733689796546
Compiler

Compiled 2 to 1 computations (50% saved)

simplify3.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02650
13350
24150
34550
44750
54750

end83.0ms (0.7%)

Compiler

Compiled 112 to 81 computations (27.7% saved)

Profiling

Loading profile data...