Details

Time bar (total: 17.1s)

analyze1.2s (6.9%)

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)

sample65.0ms (0.4%)

Algorithm
intervals
Results
34.0ms118×body1024valid
6.0ms32×body512valid
6.0ms88×body128valid
5.0msbody2048valid
1.0msbody256valid
Compiler

Compiled 19 to 20 computations (-5.3% saved)

simplify7.0ms (0%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02114
12114

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 18 to 16 computations (11.1% saved)

localize9.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.2b
(/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))
3.0b
(cos.f64 (+.f64 a b))

rewrite119.0ms (0.7%)

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:

12.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 1153 to 228 computations (80.2% saved)

series787.0ms (4.6%)

Error
14.1b
Counts
3 → 36
Calls

3 calls:

447.0ms
(*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))
234.0ms
(/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))
63.0ms
(cos.f64 (+.f64 a b))
Compiler

Compiled 1563 to 1038 computations (33.6% saved)

simplify73.0ms (0.4%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
050022050

prune141.0ms (0.8%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New9211103
Fresh000
Picked101
Done000
Total9311104
Error
0.2b
Counts
104 → 11
Compiler

Compiled 1694 to 566 computations (66.6% saved)

localize14.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) (sin.f64 a))
0.2b
(/.f64 (sin.f64 b) (-.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)))))

rewrite265.0ms (1.5%)

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 associate-*l*_binary64_360 cos-mult_binary64_573
prod-exp_binary64_468 cbrt-unprod_binary64_452 unswap-sqr_binary64_387 frac-sub_binary64_428 sub-div_binary64_426 flip3--_binary64_423 flip--_binary64_394 associate-/l*_binary64_364 associate-/r*_binary64_363
pow-prod-down_binary64_490 div-exp_binary64_470 cbrt-undiv_binary64_453 div-inv_binary64_416 *-commutative_binary64_350
associate-*r/_binary64_361 frac-2neg_binary64_430 clear-num_binary64_418 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))))
6.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 2800 to 419 computations (85% saved)

series1.9s (11%)

Error
0.1b
Counts
4 → 46
Calls

4 calls:

945.0ms
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))))
506.0ms
(/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))
237.0ms
(-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))
144.0ms
(*.f64 (sin.f64 b) (sin.f64 a))
Compiler

Compiled 2286 to 1455 computations (36.4% saved)

simplify63.0ms (0.4%)

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
051533730

prune217.0ms (1.3%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1379146
Fresh9110
Picked011
Done000
Total14611157
Error
0.0b
Counts
157 → 11
Compiler

Compiled 3218 to 866 computations (73.1% saved)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite292.0ms (1.7%)

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

4 calls:

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

Compiled 3119 to 726 computations (76.7% saved)

series1.8s (10.3%)

Error
0.0b
Counts
4 → 44
Calls

4 calls:

969.0ms
(*.f64 (*.f64 (sin.f64 b) r) (/.f64 1 (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))))
442.0ms
(/.f64 1 (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))
156.0ms
(*.f64 (sin.f64 b) (sin.f64 a))
117.0ms
(*.f64 (sin.f64 b) r)
Compiler

Compiled 2394 to 1545 computations (35.5% saved)

simplify87.0ms (0.5%)

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
049583619
149583619

prune282.0ms (1.6%)

Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1535158
Fresh369
Picked011
Done011
Total15613169
Error
0.0b
Counts
169 → 13
Compiler

Compiled 3253 to 999 computations (69.3% saved)

localize13.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite402.0ms (2.3%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
120×times-frac_binary64_425
112×add-sqr-sqrt_binary64_441
77×*-un-lft-identity_binary64_419
67×add-cube-cbrt_binary64_454
23×associate-/r*_binary64_363
15×difference-of-squares_binary64_388
13×add-exp-log_binary64_457 add-cbrt-cube_binary64_455
associate-/l*_binary64_364
div-inv_binary64_416
add-log-exp_binary64_458
div-exp_binary64_470 cbrt-undiv_binary64_453 distribute-lft-out--_binary64_371
pow1_binary64_480
frac-2neg_binary64_430 clear-num_binary64_418 associate-/r/_binary64_365 cancel-sign-sub-inv_binary64_385
flip3--_binary64_423 flip--_binary64_394
quot-tan_binary64_579 diff-log_binary64_511 sub-neg_binary64_412
Counts
4 → 161
Calls

4 calls:

19.0ms
(-.f64 (/.f64 (cos.f64 a) (/.f64 (sin.f64 b) (cos.f64 b))) (sin.f64 a))
18.0ms
(/.f64 r (-.f64 (/.f64 (cos.f64 a) (/.f64 (sin.f64 b) (cos.f64 b))) (sin.f64 a)))
7.0ms
(/.f64 (cos.f64 a) (/.f64 (sin.f64 b) (cos.f64 b)))
4.0ms
(/.f64 (sin.f64 b) (cos.f64 b))
Compiler

Compiled 3880 to 755 computations (80.5% saved)

series1.5s (9%)

Error
0.0b
Counts
4 → 41
Calls

4 calls:

872.0ms
(/.f64 r (-.f64 (/.f64 (cos.f64 a) (/.f64 (sin.f64 b) (cos.f64 b))) (sin.f64 a)))
290.0ms
(-.f64 (/.f64 (cos.f64 a) (/.f64 (sin.f64 b) (cos.f64 b))) (sin.f64 a))
265.0ms
(/.f64 (cos.f64 a) (/.f64 (sin.f64 b) (cos.f64 b)))
54.0ms
(/.f64 (sin.f64 b) (cos.f64 b))
Compiler

Compiled 1620 to 1103 computations (31.9% saved)

simplify88.0ms (0.5%)

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
050055255

prune319.0ms (1.9%)

Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1993202
Fresh3710
Picked011
Done112
Total20312215
Error
0.0b
Counts
215 → 12
Compiler

Compiled 3815 to 817 computations (78.6% saved)

regimes5.2s (30.2%)

Accuracy

Total 0.3b remaining (87.4%)

Threshold costs 0.3b (87.4%)

Compiler

Compiled 53156 to 32228 computations (39.4% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04226
14226

end1.0ms (0%)

Compiler

Compiled 16 to 12 computations (25% saved)

sample2.3s (13.6%)

Algorithm
intervals
Results
993.0ms3420×body1024valid
292.0ms1404×body512valid
169.0ms2397×body128valid
102.0ms183×body2048valid
94.0ms596×body256valid
1.0msbody1024invalid
Compiler

Compiled 385 to 241 computations (37.4% saved)

Profiling

Loading profile data...