Details

Time bar (total: 18.7s)

analyze2.0s (10.8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06656
16656
033
133
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
6.2%93.6%0.1%7
9.4%90.5%0.1%8
14%85.8%0.1%9
19.5%80.4%0.1%10
20.7%79.2%0.1%11
22%77.8%0.1%12
23.5%76.4%0.1%13
23.8%76%0.1%14
Compiler

Compiled 10 to 9 computations (10% saved)

sample121.0ms (0.6%)

Algorithm
intervals
Results
66.0ms113×body1024valid
15.0ms43×body512valid
9.0ms76×body128valid
9.0msbody2048valid
4.0ms19×body256valid
Compiler

Compiled 19 to 20 computations (-5.3% saved)

simplify12.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
02114
12114

prune4.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
12.8b
Counts
2 → 1
Compiler

Compiled 18 to 16 computations (11.1% saved)

localize16.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.1b
(*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))
0.2b
(/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))
2.3b
(cos.f64 (+.f64 a b))

rewrite40.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt_binary64_441
19×*-un-lft-identity_binary64_419 times-frac_binary64_425 add-cube-cbrt_binary64_454
13×associate-*r*_binary64_359
10×add-cbrt-cube_binary64_455 add-exp-log_binary64_457
pow1_binary64_480
add-log-exp_binary64_458 associate-*l*_binary64_360 associate-/r*_binary64_363 associate-/l*_binary64_364
div-inv_binary64_416 unswap-sqr_binary64_387 prod-exp_binary64_468 cbrt-unprod_binary64_452 div-exp_binary64_470 cbrt-undiv_binary64_453
pow-prod-down_binary64_490 clear-num_binary64_418 cos-sum_binary64_553 associate-*r/_binary64_361 *-commutative_binary64_350 frac-2neg_binary64_430
Counts
3 → 67
Calls

3 calls:

14.0ms
(*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))
8.0ms
(cos.f64 (+.f64 a b))
8.0ms
(/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))

series829.0ms (4.4%)

Counts
3 → 36
Calls

3 calls:

476.0ms
(*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))
263.0ms
(/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))
90.0ms
(cos.f64 (+.f64 a b))
Compiler

Compiled 1006 to 759 computations (24.6% saved)

simplify159.0ms (0.9%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (119.0ms)

IterNodesCost
050212073

prune190.0ms (1%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New9013103
Fresh000
Picked101
Done000
Total9113104
Error
0.1b
Counts
104 → 13
Compiler

Compiled 1961 to 562 computations (71.3% saved)

localize26.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
0.1b
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
0.2b
(*.f64 (sin.f64 a) (sin.f64 b))
0.2b
(/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))

rewrite76.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt_binary64_441
22×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454
20×associate-*r*_binary64_359
19×times-frac_binary64_425
13×add-cbrt-cube_binary64_455 add-exp-log_binary64_457
associate-/r/_binary64_365 pow1_binary64_480
sin-mult_binary64_574
add-log-exp_binary64_458 cos-mult_binary64_573 associate-*l*_binary64_360
unswap-sqr_binary64_387 prod-exp_binary64_468 cbrt-unprod_binary64_452 flip3--_binary64_423 flip--_binary64_394 associate-/r*_binary64_363 sub-div_binary64_426 frac-sub_binary64_428 associate-/l*_binary64_364
pow-prod-down_binary64_490 div-inv_binary64_416 *-commutative_binary64_350 div-exp_binary64_470 cbrt-undiv_binary64_453
clear-num_binary64_418 sub-neg_binary64_412 associate-*r/_binary64_361 frac-2neg_binary64_430 diff-log_binary64_511 cancel-sign-sub-inv_binary64_385
Counts
4 → 100
Calls

4 calls:

23.0ms
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
16.0ms
(/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
10.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
9.0ms
(*.f64 (sin.f64 a) (sin.f64 b))

series1.9s (9.9%)

Counts
4 → 46
Calls

4 calls:

931.0ms
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
506.0ms
(/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
251.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
162.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
Compiler

Compiled 1530 to 1109 computations (27.5% saved)

simplify128.0ms (0.7%)

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 0 (61.0ms)

IterNodesCost
050203795

prune285.0ms (1.5%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New13610146
Fresh11112
Picked101
Done000
Total14811159
Error
0b
Counts
159 → 11
Compiler

Compiled 3831 to 874 computations (77.2% saved)

localize25.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.1b
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
0.1b
(*.f64 (sin.f64 b) r)
0.2b
(*.f64 (sin.f64 a) (sin.f64 b))
0.2b
(/.f64 (*.f64 (sin.f64 b) r) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))

rewrite53.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64_441
13×add-cbrt-cube_binary64_455 add-exp-log_binary64_457
10×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454
pow1_binary64_480
add-log-exp_binary64_458 associate-*r*_binary64_359 associate-*l*_binary64_360
sin-mult_binary64_574
associate-/r/_binary64_365 cos-mult_binary64_573
times-frac_binary64_425 prod-exp_binary64_468 cbrt-unprod_binary64_452 associate-/r*_binary64_363
pow-prod-down_binary64_490 unswap-sqr_binary64_387 flip3--_binary64_423 *-commutative_binary64_350 flip--_binary64_394 sub-div_binary64_426 div-exp_binary64_470 frac-sub_binary64_428 cbrt-undiv_binary64_453
clear-num_binary64_418 sub-neg_binary64_412 div-inv_binary64_416 frac-2neg_binary64_430 diff-log_binary64_511 cancel-sign-sub-inv_binary64_385 associate-/l*_binary64_364
Counts
4 → 76
Calls

4 calls:

17.0ms
(/.f64 (*.f64 (sin.f64 b) r) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
9.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
9.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
8.0ms
(*.f64 (sin.f64 b) r)

series1.5s (7.9%)

Counts
4 → 43
Calls

4 calls:

906.0ms
(/.f64 (*.f64 (sin.f64 b) r) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
275.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
161.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
134.0ms
(*.f64 (sin.f64 b) r)
Compiler

Compiled 1390 to 1020 computations (26.6% saved)

simplify140.0ms (0.7%)

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 0 (95.0ms)

IterNodesCost
049932429
149932429

prune202.0ms (1.1%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1172119
Fresh2810
Picked011
Done000
Total11911130
Error
0b
Counts
130 → 11
Compiler

Compiled 2874 to 657 computations (77.1% saved)

localize29.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 r (*.f64 (sin.f64 b) (/.f64 1 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a))))))
0.1b
(/.f64 1 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a))))
0.2b
(*.f64 (sin.f64 b) (sin.f64 a))
0.3b
(*.f64 (sin.f64 b) (/.f64 1 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a)))))

rewrite93.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
34×add-exp-log_binary64_457
32×add-sqr-sqrt_binary64_441
24×*-un-lft-identity_binary64_419
23×add-cube-cbrt_binary64_454
22×add-cbrt-cube_binary64_455
21×associate-*r*_binary64_359
20×times-frac_binary64_425
14×prod-exp_binary64_468 pow1_binary64_480
associate-*l*_binary64_360
cbrt-unprod_binary64_452 associate-/r/_binary64_365
div-exp_binary64_470
pow-prod-down_binary64_490 sin-mult_binary64_574
add-log-exp_binary64_458 unswap-sqr_binary64_387 associate-*r/_binary64_361 cos-mult_binary64_573
1-exp_binary64_463 rec-exp_binary64_469 *-commutative_binary64_350 associate-/r*_binary64_363 associate-/l*_binary64_364 cbrt-undiv_binary64_453
div-inv_binary64_416 flip3--_binary64_423 un-div-inv_binary64_417 flip--_binary64_394 sub-div_binary64_426 frac-sub_binary64_428
clear-num_binary64_418 inv-pow_binary64_504 frac-2neg_binary64_430 pow-flip_binary64_493
Counts
4 → 118
Calls

4 calls:

25.0ms
(*.f64 (sin.f64 b) (/.f64 1 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a)))))
23.0ms
(*.f64 r (*.f64 (sin.f64 b) (/.f64 1 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a))))))
15.0ms
(/.f64 1 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a))))
9.0ms
(*.f64 (sin.f64 b) (sin.f64 a))

series2.1s (11.4%)

Counts
4 → 46
Calls

4 calls:

994.0ms
(*.f64 r (*.f64 (sin.f64 b) (/.f64 1 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a))))))
520.0ms
(*.f64 (sin.f64 b) (/.f64 1 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a)))))
447.0ms
(/.f64 1 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a))))
161.0ms
(*.f64 (sin.f64 b) (sin.f64 a))
Compiler

Compiled 1716 to 1249 computations (27.2% saved)

simplify132.0ms (0.7%)

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
050014361

prune262.0ms (1.4%)

Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1640164
Fresh099
Picked011
Done011
Total16411175
Error
0b
Counts
175 → 11
Compiler

Compiled 4117 to 1029 computations (75% saved)

regimes1.9s (10.2%)

Accuracy

Total 0.3b remaining (92%)

Threshold costs 0.3b (92%)

Compiler

Compiled 7936 to 4825 computations (39.2% saved)

bsearch0.0ms (0%)

simplify6.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
04226
14226

end0.0ms (0%)

sample6.5s (34.6%)

Algorithm
intervals
Results
2.0s3482×body1024valid
507.0ms1344×body512valid
324.0ms2352×body128valid
266.0ms216×body2048valid
165.0ms606×body256valid
0.0msbody512invalid
Compiler

Compiled 1567 to 956 computations (39% saved)

Profiling

Loading profile data...