Details

Time bar (total: 13.3s)

analyze1.1s (8.4%)

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)

sample71.0ms (0.5%)

Algorithm
intervals
Results
31.0ms110×body1024valid
10.0msbody2048valid
9.0ms47×body512valid
5.0ms70×body128valid
3.0ms20×body256valid
Compiler

Compiled 19 to 20 computations (-5.3% saved)

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02114
12114

prune2.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 18 to 16 computations (11.1% saved)

localize8.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.2b
(*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))
0.3b
(/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))
3.9b
(cos.f64 (+.f64 a b))

rewrite85.0ms (0.6%)

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

3 calls:

7.0ms
(*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))
4.0ms
(/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))
4.0ms
(cos.f64 (+.f64 a b))
Compiler

Compiled 1186 to 235 computations (80.2% saved)

series513.0ms (3.9%)

Error
13.7b
Counts
3 → 39
Calls

3 calls:

278.0ms
(*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))
142.0ms
(/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))
46.0ms
(cos.f64 (+.f64 a b))
Compiler

Compiled 1877 to 1144 computations (39.1% saved)

simplify50.0ms (0.4%)

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
049862320
149862320

prune118.0ms (0.9%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New9511106
Fresh000
Picked101
Done000
Total9611107
Error
0.2b
Counts
107 → 11
Compiler

Compiled 2085 to 657 computations (68.5% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite164.0ms (1.2%)

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

4 calls:

13.0ms
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))))
9.0ms
(/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))
5.0ms
(-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))
5.0ms
(*.f64 (sin.f64 b) (sin.f64 a))
Compiler

Compiled 2890 to 436 computations (84.9% saved)

series1.1s (8.6%)

Error
0.1b
Counts
4 → 49
Calls

4 calls:

544.0ms
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))))
294.0ms
(/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))
152.0ms
(-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))
97.0ms
(*.f64 (sin.f64 b) (sin.f64 a))
Compiler

Compiled 2723 to 1560 computations (42.7% saved)

simplify86.0ms (0.6%)

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
050044000

prune162.0ms (1.2%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New13811149
Fresh10010
Picked101
Done000
Total14911160
Error
0.0b
Counts
160 → 11
Compiler

Compiled 3958 to 1035 computations (73.9% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite96.0ms (0.7%)

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

4 calls:

9.0ms
(/.f64 (*.f64 (sin.f64 b) r) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))
5.0ms
(-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))
5.0ms
(*.f64 (sin.f64 b) (sin.f64 a))
4.0ms
(*.f64 (sin.f64 b) r)
Compiler

Compiled 1946 to 307 computations (84.2% saved)

series887.0ms (6.7%)

Error
0.0b
Counts
4 → 45
Calls

4 calls:

535.0ms
(/.f64 (*.f64 (sin.f64 b) r) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))
144.0ms
(-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))
101.0ms
(*.f64 (sin.f64 b) (sin.f64 a))
71.0ms
(*.f64 (sin.f64 b) r)
Compiler

Compiled 2388 to 1323 computations (44.6% saved)

simplify73.0ms (0.5%)

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049762577
149762577

prune113.0ms (0.9%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1183121
Fresh3710
Picked101
Done000
Total12210132
Error
0.0b
Counts
132 → 10
Compiler

Compiled 2952 to 718 computations (75.7% saved)

localize12.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.2b
(*.f64 (sin.f64 a) (sin.f64 b))
0.2b
(*.f64 (sin.f64 b) (/.f64 r (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
0.2b
(/.f64 r (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))

rewrite126.0ms (1%)

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

4 calls:

13.0ms
(*.f64 (sin.f64 b) (/.f64 r (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
7.0ms
(/.f64 r (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
5.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
5.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
Compiler

Compiled 2862 to 437 computations (84.7% saved)

series1.3s (9.9%)

Error
0.0b
Counts
4 → 52
Calls

4 calls:

547.0ms
(*.f64 (sin.f64 b) (/.f64 r (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
477.0ms
(/.f64 r (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
151.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
91.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
Compiler

Compiled 2907 to 1633 computations (43.8% saved)

simplify86.0ms (0.6%)

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049554145
149554145

prune128.0ms (1%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1502152
Fresh279
Picked011
Done000
Total15210162
Error
0.0b
Counts
162 → 10
Compiler

Compiled 3754 to 779 computations (79.2% saved)

regimes1.8s (13.6%)

Accuracy

Total 0.3b remaining (95.5%)

Threshold costs 0.3b (95.5%)

Compiler

Compiled 21560 to 12222 computations (43.3% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04226
14226

end0.0ms (0%)

sample5.1s (38.3%)

Algorithm
intervals
Results
1.0s3567×body1024valid
266.0ms1313×body512valid
175.0ms2313×body128valid
124.0ms209×body2048valid
82.0ms598×body256valid
0.0msbody512invalid
Compiler

Compiled 4270 to 2424 computations (43.2% saved)

Profiling

Loading profile data...