Details

Time bar (total: 9.0s)

analyze100.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)

sample87.0ms (1%)

Algorithm
intervals
Results
34.0ms121×body1024valid
33.0ms68×body2048valid
7.0ms40×body512valid
2.0ms21×body256valid
0.0msbody128valid
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
38.7b
Counts
2 → 1
Compiler

Compiled 14 to 12 computations (14.3% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

1.2b
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
2.1b
(cos.f64 (+.f64 x eps))

rewrite43.0ms (0.5%)

Algorithm
rewrite-expression-head
Error
18.4b
Rules
add-sqr-sqrt_binary64_441 *-un-lft-identity_binary64_419
add-log-exp_binary64_458
add-cube-cbrt_binary64_454 cancel-sign-sub-inv_binary64_385
cos-sum_binary64_553 pow1_binary64_480 add-exp-log_binary64_457 add-cbrt-cube_binary64_455
diff-cos_binary64_570 diff-log_binary64_511 flip3--_binary64_423 sub-neg_binary64_412 flip--_binary64_394 difference-of-squares_binary64_388 distribute-lft-out--_binary64_371 associate--l-_binary64_357
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)

series146.0ms (1.6%)

Error
13.1b
Counts
2 → 23
Calls

2 calls:

78.0ms
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
41.0ms
(cos.f64 (+.f64 x eps))
Compiler

Compiled 674 to 426 computations (36.8% saved)

simplify62.0ms (0.7%)

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
04917732
14917732

prune57.0ms (0.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

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

Compiled 712 to 272 computations (61.8% saved)

localize12.0ms (0.1%)

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)))
2.1b
(sin.f64 (/.f64 (+.f64 x (+.f64 eps x)) 2))

rewrite122.0ms (1.4%)

Algorithm
rewrite-expression-head
Error
0.2b
Rules
12×*-un-lft-identity_binary64_419
11×pow1_binary64_480 add-exp-log_binary64_457 add-cbrt-cube_binary64_455
add-log-exp_binary64_458 add-sqr-sqrt_binary64_441
add-cube-cbrt_binary64_454
associate-*l*_binary64_360
pow-prod-down_binary64_490 prod-exp_binary64_468 cbrt-unprod_binary64_452 associate-*r*_binary64_359
sum-log_binary64_510 distribute-lft-out_binary64_370
sin-mult_binary64_574 *-commutative_binary64_350
unswap-sqr_binary64_387 flip3-+_binary64_422 flip-+_binary64_393 associate-+r+_binary64_351 +-commutative_binary64_349 associate-*r/_binary64_361
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))))
11.0ms
(*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 eps x)) 2)))
10.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)

series434.0ms (4.8%)

Error
0.2b
Counts
4 → 48
Calls

4 calls:

147.0ms
(*.f64 -2 (*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 eps x)) 2))))
121.0ms
(*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 eps x)) 2)))
59.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 eps x)) 2))
56.0ms
(+.f64 x (+.f64 eps x))
Compiler

Compiled 2082 to 1744 computations (16.2% saved)

simplify79.0ms (0.9%)

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049122057
149122057

prune133.0ms (1.5%)

Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New9711108
Fresh437
Picked101
Done000
Total10214116
Error
0.2b
Counts
116 → 14
Compiler

Compiled 2410 to 1627 computations (32.5% saved)

localize22.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite91.0ms (1%)

Algorithm
rewrite-expression-head
Error
0.2b
Rules
add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441 *-un-lft-identity_binary64_419
pow1_binary64_480 add-log-exp_binary64_458 add-exp-log_binary64_457 add-cbrt-cube_binary64_455
cbrt-prod_binary64_450
pow1/3_binary64_501
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))
7.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 eps x)) 2))
6.0ms
(cbrt.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 eps x)) 2)))
Compiler

Compiled 1431 to 810 computations (43.4% saved)

series620.0ms (6.9%)

Error
0.2b
Counts
4 → 46
Calls

4 calls:

321.0ms
(cbrt.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 eps x)) 2)))
70.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 eps x)) 2))
70.0ms
(sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2))
70.0ms
(sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2))
Compiler

Compiled 4756 to 3426 computations (28% saved)

simplify50.0ms (0.6%)

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
051771478

prune163.0ms (1.8%)

Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New78078
Fresh01313
Picked011
Done000
Total781492
Error
0.2b
Counts
92 → 14
Compiler

Compiled 3549 to 2180 computations (38.6% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

2.1b
(sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2))
6.1b
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2)) (sin.f64 (/.f64 eps 2))))
6.1b
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2)) (sin.f64 (/.f64 eps 2))))
6.1b
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2)) (sin.f64 (/.f64 eps 2))))

rewrite136.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
0.2b
Rules
pow1_binary64_480 add-log-exp_binary64_458 add-exp-log_binary64_457 add-cbrt-cube_binary64_455 add-cube-cbrt_binary64_454 add-sqr-sqrt_binary64_441 *-un-lft-identity_binary64_419
pow1/3_binary64_501 sin-mult_binary64_574 cbrt-div_binary64_451 cbrt-prod_binary64_450
Counts
4 → 37
Calls

4 calls:

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

Compiled 2079 to 1284 computations (38.2% saved)

series1.5s (16.2%)

Error
0.2b
Counts
4 → 42
Calls

4 calls:

436.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2)) (sin.f64 (/.f64 eps 2))))
428.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2)) (sin.f64 (/.f64 eps 2))))
425.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2)) (sin.f64 (/.f64 eps 2))))
71.0ms
(sin.f64 (/.f64 (+.f64 eps (+.f64 x x)) 2))
Compiler

Compiled 6500 to 4751 computations (26.9% saved)

simplify59.0ms (0.7%)

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
054682188

prune200.0ms (2.2%)

Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New76379
Fresh21012
Picked101
Done011
Total791493
Error
0.2b
Counts
93 → 14
Compiler

Compiled 4216 to 2688 computations (36.2% saved)

regimes683.0ms (7.6%)

Accuracy

Total 0.3b remaining (58.9%)

Threshold costs 0.3b (58.9%)

Compiler

Compiled 4983 to 3700 computations (25.7% saved)

bsearch86.0ms (0.9%)

Steps
ItersRangePoint
10
4.882282480559376e-22
0.0029060785001664598
0.0026088415052572663
10
-27.42946591198322
-1.8830078121915895e-09
-0.002800293132587222
Compiler

Compiled 1 to 2 computations (-100% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
014585
114585

end0.0ms (0%)

sample4.2s (45.9%)

Algorithm
intervals
Results
1.0s2025×body2048valid
973.0ms3953×body1024valid
225.0ms1282×body512valid
56.0ms504×body256valid
14.0ms234×body128valid
2.0msbody4096valid
Compiler

Compiled 1707 to 1263 computations (26% saved)

Profiling

Loading profile data...