Details

Time bar (total: 9.9s)

analyze1.1s (11.4%)

Algorithm
search
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)

sample63.0ms (0.6%)

Algorithm
intervals
Results
30.0ms102×body1024valid
10.0ms47×body512valid
6.0ms88×body128valid
4.0msbody2048valid
2.0ms13×body256valid
Compiler

Compiled 19 to 20 computations (-5.3% saved)

simplify100.0ms (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
13.9b
Counts
2 → 1
Compiler

Compiled 18 to 16 computations (11.1% saved)

localize9.0ms (0.1%)

Local error

Found 6 expressions with local error:

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

rewrite17.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×add-cbrt-cube_binary64_455 add-exp-log_binary64_457
add-sqr-sqrt_binary64_441
*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454
pow1_binary64_480
times-frac_binary64_425 add-log-exp_binary64_458 associate-*r*_binary64_359 associate-*l*_binary64_360 associate-/r*_binary64_363
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 div-inv_binary64_416 unswap-sqr_binary64_387 *-commutative_binary64_350 frac-2neg_binary64_430 associate-/l*_binary64_364
Counts
3 → 47
Calls

6 calls:

5.0ms
(/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 a b)))
4.0ms
(*.f64 r (sin.f64 b))
4.0ms
(cos.f64 (+.f64 a b))
0.0ms
(*.f64 r (sin.f64 b))
0.0ms
(/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 a b)))

series406.0ms (4.1%)

Counts
3 → 32
Calls

3 calls:

292.0ms
(/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 a b)))
68.0ms
(*.f64 r (sin.f64 b))
46.0ms
(cos.f64 (+.f64 a b))
Compiler

Compiled 792 to 617 computations (22.1% saved)

simplify83.0ms (0.8%)

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
049511221
149511221

prune98.0ms (1%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New71879
Fresh000
Picked101
Done000
Total72880
Error
0.2b
Counts
80 → 8
Compiler

Compiled 1257 to 355 computations (71.8% saved)

localize17.0ms (0.2%)

Local error

Found 8 expressions with local error:

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

rewrite30.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

8 calls:

9.0ms
(/.f64 (*.f64 r (sin.f64 b)) (-.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))
4.0ms
(*.f64 r (sin.f64 b))
0.0ms
(*.f64 (cos.f64 a) (cos.f64 b))

series937.0ms (9.5%)

Counts
4 → 40
Calls

4 calls:

609.0ms
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
164.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
92.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
72.0ms
(*.f64 r (sin.f64 b))
Compiler

Compiled 1309 to 961 computations (26.6% saved)

simplify70.0ms (0.7%)

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049782215
149782215

prune183.0ms (1.8%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1079116
Fresh527
Picked101
Done000
Total11311124
Error
0.0b
Counts
124 → 11
Compiler

Compiled 2660 to 603 computations (77.3% saved)

localize14.0ms (0.1%)

Local error

Found 8 expressions with local error:

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

rewrite44.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

8 calls:

12.0ms
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
11.0ms
(/.f64 (sin.f64 b) (-.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))
0.0ms
(*.f64 (cos.f64 a) (cos.f64 b))

series1.2s (11.8%)

Counts
4 → 44
Calls

4 calls:

607.0ms
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
315.0ms
(/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
162.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
84.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
Compiler

Compiled 1488 to 1080 computations (27.4% saved)

simplify98.0ms (1%)

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049803705
149803705

prune160.0ms (1.6%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1431144
Fresh2810
Picked011
Done000
Total14510155
Error
0.0b
Counts
155 → 10
Compiler

Compiled 3622 to 799 computations (77.9% saved)

localize19.0ms (0.2%)

Local error

Found 8 expressions with local error:

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

rewrite43.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
34×add-exp-log_binary64_457
27×add-sqr-sqrt_binary64_441
23×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454 associate-*r*_binary64_359
22×add-cbrt-cube_binary64_455
18×times-frac_binary64_425
14×prod-exp_binary64_468 pow1_binary64_480
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 *-commutative_binary64_350 associate-/r*_binary64_363 associate-/l*_binary64_364 cbrt-undiv_binary64_453
div-inv_binary64_416 unswap-sqr_binary64_387 flip3--_binary64_423 flip--_binary64_394 sub-div_binary64_426 frac-sub_binary64_428
clear-num_binary64_418 inv-pow_binary64_504 associate-*r/_binary64_361 frac-2neg_binary64_430 pow-flip_binary64_493 un-div-inv_binary64_417
Counts
4 → 114
Calls

8 calls:

14.0ms
(*.f64 (*.f64 r (sin.f64 b)) (/.f64 1 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
8.0ms
(/.f64 1 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
5.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
4.0ms
(*.f64 r (sin.f64 b))
0.0ms
(*.f64 (cos.f64 a) (cos.f64 b))

series1.1s (10.7%)

Counts
4 → 40
Calls

4 calls:

607.0ms
(*.f64 (*.f64 r (sin.f64 b)) (/.f64 1 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
284.0ms
(/.f64 1 (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
99.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
70.0ms
(*.f64 r (sin.f64 b))
Compiler

Compiled 1519 to 1125 computations (25.9% saved)

simplify63.0ms (0.6%)

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
050103495

prune140.0ms (1.4%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1540154
Fresh088
Picked011
Done011
Total15410164
Error
0.0b
Counts
164 → 10
Compiler

Compiled 3738 to 853 computations (77.2% saved)

simplify38.0ms (0.4%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (11.0ms)

IterNodesCost
06221798
16221798

regimes321.0ms (3.2%)

Compiler

Compiled 3237 to 2133 computations (34.1% saved)

bsearch0.0ms (0%)

regimes194.0ms (2%)

Compiler

Compiled 2274 to 1302 computations (42.7% saved)

bsearch0.0ms (0%)

regimes143.0ms (1.4%)

Compiler

Compiled 1791 to 921 computations (48.6% saved)

bsearch0.0ms (0%)

regimes39.0ms (0.4%)

Accuracy

Total 0.3b remaining (94.6%)

Threshold costs 0.3b (94.6%)

Compiler

Compiled 402 to 156 computations (61.2% saved)

bsearch7.0ms (0.1%)

Compiler

Compiled 159 to 83 computations (47.8% saved)

simplify5.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0106262
1106262

end0.0ms (0%)

sample3.2s (32.3%)

Algorithm
intervals
Results
1.1s3503×body1024valid
296.0ms1368×body512valid
185.0ms2322×body128valid
124.0ms204×body2048valid
96.0ms603×body256valid
1.0msbody1024invalid
0.0msbody512invalid
0.0msbody128invalid
Compiler

Compiled 1246 to 800 computations (35.8% saved)

Pareto

0.46890904007816187

Profiling

Loading profile data...