Details

Time bar (total: 8.9s)

analyze98.0ms (1.1%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
011722
111722
022
122
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1
Compiler

Compiled 8 to 7 computations (12.5% saved)

sample83.0ms (0.9%)

Algorithm
intervals
Results
29.0ms59×body2048valid
29.0ms120×body1024valid
12.0ms50×body512valid
2.0ms14×body256valid
1.0ms13×body128valid
Compiler

Compiled 15 to 15 computations (0% saved)

simplify10.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
07211
17211

prune2.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 14 to 12 computations (14.3% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.9b
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
3.1b
(cos.f64 (+.f64 x eps))

rewrite41.0ms (0.5%)

Algorithm
rewrite-expression-head
Error
18.3b
Rules
add-sqr-sqrt_binary64_100 *-un-lft-identity_binary64_78
add-log-exp_binary64_117
add-cube-cbrt_binary64_113 cancel-sign-sub-inv_binary64_44
cos-sum_binary64_212 pow1_binary64_139 add-exp-log_binary64_116 add-cbrt-cube_binary64_114
diff-cos_binary64_229 diff-log_binary64_170 flip3--_binary64_82 sub-neg_binary64_71 flip--_binary64_53 difference-of-squares_binary64_47 distribute-lft-out--_binary64_30 associate--l-_binary64_16
Counts
2 → 26
Calls

2 calls:

7.0ms
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
4.0ms
(cos.f64 (+.f64 x eps))
Compiler

Compiled 382 to 101 computations (73.6% saved)

series148.0ms (1.7%)

Error
14.2b
Counts
2 → 23
Calls

2 calls:

79.0ms
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
42.0ms
(cos.f64 (+.f64 x eps))
Compiler

Compiled 674 to 426 computations (36.8% saved)

simplify60.0ms (0.7%)

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04917732
14917732

prune58.0ms (0.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New41849
Fresh000
Picked101
Done000
Total42850
Error
0.2b
Counts
50 → 8
Compiler

Compiled 740 to 279 computations (62.3% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 -2 (*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 eps x)) 2))))
0.0b
(+.f64 x (+.f64 eps x))
0.3b
(*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 eps x)) 2)))
3.3b
(sin.f64 (/.f64 (+.f64 x (+.f64 eps x)) 2))

rewrite118.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
0.2b
Rules
12×*-un-lft-identity_binary64_78
11×pow1_binary64_139 add-exp-log_binary64_116 add-cbrt-cube_binary64_114
add-log-exp_binary64_117 add-sqr-sqrt_binary64_100
add-cube-cbrt_binary64_113
associate-*l*_binary64_19
pow-prod-down_binary64_149 prod-exp_binary64_127 cbrt-unprod_binary64_111 associate-*r*_binary64_18
sum-log_binary64_169 distribute-lft-out_binary64_29
sin-mult_binary64_233 *-commutative_binary64_9
unswap-sqr_binary64_46 flip3-+_binary64_81 flip-+_binary64_52 associate-+r+_binary64_10 +-commutative_binary64_8 associate-*r/_binary64_20
Counts
4 → 60
Calls

4 calls:

12.0ms
(*.f64 -2 (*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 eps x)) 2))))
12.0ms
(*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 eps x)) 2)))
8.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 eps x)) 2))
6.0ms
(+.f64 x (+.f64 eps x))
Compiler

Compiled 1452 to 895 computations (38.4% saved)

series428.0ms (4.8%)

Error
0.2b
Counts
4 → 48
Calls

4 calls:

144.0ms
(*.f64 -2 (*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 eps x)) 2))))
114.0ms
(*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 eps x)) 2)))
65.0ms
(+.f64 x (+.f64 eps x))
56.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 eps x)) 2))
Compiler

Compiled 2082 to 1744 computations (16.2% saved)

simplify76.0ms (0.9%)

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049122057
149122057

prune135.0ms (1.5%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1008108
Fresh257
Picked101
Done000
Total10313116
Error
0.2b
Counts
116 → 13
Compiler

Compiled 2350 to 1581 computations (32.7% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.6b
(cbrt.f64 (sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2)))
3.2b
(sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2))
3.2b
(sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2))
3.2b
(sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2))

rewrite101.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
0.2b
Rules
add-cube-cbrt_binary64_113 add-sqr-sqrt_binary64_100 *-un-lft-identity_binary64_78
pow1_binary64_139 add-log-exp_binary64_117 add-exp-log_binary64_116 add-cbrt-cube_binary64_114
cbrt-prod_binary64_109
pow1/3_binary64_160
Counts
4 → 32
Calls

4 calls:

9.0ms
(sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2))
9.0ms
(sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2))
9.0ms
(sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2))
8.0ms
(cbrt.f64 (sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2)))
Compiler

Compiled 1431 to 808 computations (43.5% saved)

series604.0ms (6.8%)

Error
0.2b
Counts
4 → 46
Calls

4 calls:

318.0ms
(cbrt.f64 (sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2)))
67.0ms
(sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2))
67.0ms
(sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2))
66.0ms
(sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2))
Compiler

Compiled 4756 to 3360 computations (29.4% saved)

simplify49.0ms (0.6%)

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
051771478

prune159.0ms (1.8%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New78078
Fresh01212
Picked011
Done000
Total781391
Error
0.2b
Counts
91 → 13
Compiler

Compiled 3489 to 2134 computations (38.8% saved)

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

3.2b
(sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2))
4.4b
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2)) (sin.f64 (/.f64 eps 2))))
4.4b
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2)) (sin.f64 (/.f64 eps 2))))
4.4b
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2)) (sin.f64 (/.f64 eps 2))))

rewrite135.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
0.2b
Rules
pow1_binary64_139 add-log-exp_binary64_117 add-exp-log_binary64_116 add-cbrt-cube_binary64_114 add-cube-cbrt_binary64_113 add-sqr-sqrt_binary64_100 *-un-lft-identity_binary64_78
pow1/3_binary64_160 sin-mult_binary64_233 cbrt-div_binary64_110 cbrt-prod_binary64_109
Counts
4 → 37
Calls

4 calls:

11.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2)) (sin.f64 (/.f64 eps 2))))
11.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2)) (sin.f64 (/.f64 eps 2))))
11.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2)) (sin.f64 (/.f64 eps 2))))
9.0ms
(sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2))
Compiler

Compiled 2079 to 1284 computations (38.2% saved)

series1.4s (15.2%)

Error
0.2b
Counts
4 → 39
Calls

4 calls:

400.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2)) (sin.f64 (/.f64 eps 2))))
397.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2)) (sin.f64 (/.f64 eps 2))))
388.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2)) (sin.f64 (/.f64 eps 2))))
74.0ms
(sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2))
Compiler

Compiled 5678 to 4199 computations (26% saved)

simplify87.0ms (1%)

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
049521873
149521873

prune176.0ms (2%)

Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New76076
Fresh01111
Picked011
Done011
Total761389
Error
0.2b
Counts
89 → 13
Compiler

Compiled 3923 to 2513 computations (35.9% saved)

regimes728.0ms (8.2%)

Accuracy

Total 0.3b remaining (56.9%)

Threshold costs 0.3b (56.9%)

Compiler

Compiled 4664 to 3388 computations (27.4% saved)

bsearch75.0ms (0.8%)

Steps
ItersRangePoint
11
4.762190031467391e-05
23543123987427464.0
0.0034251863869845934
8
-0.012454799193269714
-1.3215902250932261e-06
-0.0025355825843680958
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
011375
111375

end0.0ms (0%)

sample4.1s (46.4%)

Algorithm
intervals
Results
1.1s2133×body2048valid
982.0ms3799×body1024valid
213.0ms1295×body512valid
60.0ms526×body256valid
15.0ms244×body128valid
3.0msbody4096valid
Compiler

Compiled 1586 to 1153 computations (27.3% saved)

Profiling

Loading profile data...