Details

Time bar (total: 9.3s)

analyze1.5s (16.1%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0100514
1100514
011
111
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 10 to 7 computations (30% saved)

sample207.0ms (2.2%)

Algorithm
intervals
Results
150.0ms77×body2048valid
27.0ms86×body1024valid
10.0ms54×body512valid
2.0ms17×body256valid
2.0msbody4096valid
1.0ms20×body128valid
Compiler

Compiled 19 to 14 computations (26.3% saved)

simplify77.0ms (0.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
0100514
1100514

prune4.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
33.3b
Counts
2 → 1
Compiler

Compiled 18 to 12 computations (33.3% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
0.6b
(-.f64 x (tan.f64 x))
0.7b
(-.f64 x (sin.f64 x))

rewrite90.0ms (1%)

Algorithm
rewrite-expression-head
Error
32.4b
Rules
45×add-sqr-sqrt_binary64 *-un-lft-identity_binary64
25×times-frac_binary64
17×add-cube-cbrt_binary64
14×difference-of-squares_binary64 distribute-lft-out--_binary64
add-log-exp_binary64
cancel-sign-sub-inv_binary64
add-exp-log_binary64 add-cbrt-cube_binary64 associate-/l*_binary64 associate-/r*_binary64
flip3--_binary64 flip--_binary64
pow1_binary64
diff-log_binary64 sub-neg_binary64 associate-/l/_binary64 associate-/r/_binary64
div-exp_binary64 cbrt-undiv_binary64 frac-2neg_binary64 div-sub_binary64 clear-num_binary64 div-inv_binary64
Counts
3 → 84
Calls

3 calls:

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

Compiled 1513 to 300 computations (80.2% saved)

series228.0ms (2.5%)

Error
0b
Counts
3 → 23
Calls

3 calls:

112.0ms
(/.f64 (-.f64 x (sin.f64 x)) (-.f64 x (tan.f64 x)))
49.0ms
(-.f64 x (tan.f64 x))
42.0ms
(-.f64 x (sin.f64 x))
Compiler

Compiled 878 to 528 computations (39.9% saved)

simplify71.0ms (0.8%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049572110
149572110

prune78.0ms (0.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1052107
Fresh000
Picked011
Done000
Total1053108
Error
0b
Counts
108 → 3
Compiler

Compiled 1796 to 396 computations (78% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 1/2 (*.f64 27/2800 (pow.f64 x 4)))
0.1b
(*.f64 27/2800 (pow.f64 x 4))
0.1b
(*.f64 9/40 (*.f64 x x))
14.6b
(-.f64 (*.f64 9/40 (*.f64 x x)) (+.f64 1/2 (*.f64 27/2800 (pow.f64 x 4))))

rewrite106.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
0b
Rules
15×add-sqr-sqrt_binary64
14×add-exp-log_binary64
11×add-log-exp_binary64 add-cbrt-cube_binary64
pow1_binary64 add-cube-cbrt_binary64 *-un-lft-identity_binary64
associate-*r*_binary64
prod-exp_binary64 associate-*l*_binary64
cbrt-unprod_binary64 unswap-sqr_binary64 unpow-prod-down_binary64
cancel-sign-sub-inv_binary64 pow-prod-down_binary64
sum-log_binary64 diff-log_binary64 *-commutative_binary64 sqr-pow_binary64
flip3--_binary64 sub-neg_binary64 flip--_binary64 associate--r+_binary64 pow-to-exp_binary64 pow-exp_binary64 flip3-+_binary64 flip-+_binary64 +-commutative_binary64
Counts
4 → 71
Calls

4 calls:

8.0ms
(-.f64 (*.f64 9/40 (*.f64 x x)) (+.f64 1/2 (*.f64 27/2800 (pow.f64 x 4))))
5.0ms
(*.f64 27/2800 (pow.f64 x 4))
5.0ms
(*.f64 9/40 (*.f64 x x))
3.0ms
(+.f64 1/2 (*.f64 27/2800 (pow.f64 x 4)))
Compiler

Compiled 1479 to 1095 computations (26% saved)

series189.0ms (2%)

Error
0b
Counts
4 → 17
Calls

4 calls:

74.0ms
(+.f64 1/2 (*.f64 27/2800 (pow.f64 x 4)))
42.0ms
(-.f64 (*.f64 9/40 (*.f64 x x)) (+.f64 1/2 (*.f64 27/2800 (pow.f64 x 4))))
34.0ms
(*.f64 27/2800 (pow.f64 x 4))
27.0ms
(*.f64 9/40 (*.f64 x x))
Compiler

Compiled 506 to 424 computations (16.2% saved)

simplify43.0ms (0.5%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
048331063
148331063

prune84.0ms (0.9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New88088
Fresh011
Picked011
Done011
Total88391
Error
0b
Counts
91 → 3
Compiler

Compiled 1461 to 1067 computations (27% saved)

localize9.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (+.f64 1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x)))) (/.f64 (sin.f64 x) x))
0.1b
(*.f64 x (cos.f64 x))
0.1b
(/.f64 (sin.f64 x) x)
0.1b
(/.f64 (sin.f64 x) (*.f64 x (cos.f64 x)))

rewrite119.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
0b
Rules
30×add-sqr-sqrt_binary64
28×*-un-lft-identity_binary64
23×add-cube-cbrt_binary64
22×times-frac_binary64
13×add-exp-log_binary64 add-cbrt-cube_binary64 cancel-sign-sub-inv_binary64
add-log-exp_binary64
pow1_binary64 associate-/l*_binary64
associate-/r*_binary64
div-exp_binary64 cbrt-undiv_binary64 div-inv_binary64 associate-*l*_binary64 associate-*r*_binary64
prod-exp_binary64 cbrt-unprod_binary64 frac-2neg_binary64 clear-num_binary64 diff-log_binary64 frac-sub_binary64 difference-of-squares_binary64 distribute-lft-out--_binary64
pow-prod-down_binary64 unswap-sqr_binary64 *-commutative_binary64 sum-log_binary64 flip3-+_binary64 flip-+_binary64 flip3--_binary64 sub-neg_binary64 flip--_binary64 distribute-lft-out_binary64 associate--l+_binary64
Counts
4 → 98
Calls

4 calls:

16.0ms
(-.f64 (+.f64 1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x)))) (/.f64 (sin.f64 x) x))
5.0ms
(/.f64 (sin.f64 x) (*.f64 x (cos.f64 x)))
4.0ms
(*.f64 x (cos.f64 x))
3.0ms
(/.f64 (sin.f64 x) x)
Compiler

Compiled 2215 to 642 computations (71% saved)

series172.0ms (1.9%)

Error
0b
Counts
4 → 15
Calls

4 calls:

65.0ms
(-.f64 (+.f64 1 (/.f64 (sin.f64 x) (*.f64 x (cos.f64 x)))) (/.f64 (sin.f64 x) x))
46.0ms
(/.f64 (sin.f64 x) (*.f64 x (cos.f64 x)))
29.0ms
(/.f64 (sin.f64 x) x)
24.0ms
(*.f64 x (cos.f64 x))
Compiler

Compiled 497 to 289 computations (41.9% saved)

simplify63.0ms (0.7%)

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
051811675

prune85.0ms (0.9%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1130113
Fresh000
Picked011
Done022
Total1133116
Error
0b
Counts
116 → 3
Compiler

Compiled 2093 to 684 computations (67.3% saved)

regimes105.0ms (1.1%)

Accuracy

Total 0.0b remaining (37.9%)

Threshold costs 0.0b (37.9%)

Compiler

Compiled 599 to 408 computations (31.9% saved)

bsearch53.0ms (0.6%)

Steps
ItersRangePoint
9
0.0006765776903062166
40910.18263319211
0.03654414618884699
10
-15662.117769301418
-4.445190464558156e-09
-0.033413605152308526
Compiler

Compiled 1 to 1 computations (0% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
011163
111163

end0.0ms (0%)

sample6.0s (64.4%)

Algorithm
intervals
Results
3.8s1969×body2048valid
1.0s2946×body1024valid
280.0ms1540×body512valid
106.0ms110×body4096valid
92.0ms757×body256valid
53.0ms678×body128valid
Compiler

Compiled 325 to 221 computations (32% saved)

Profiling

Loading profile data...