Details

Time bar (total: 11.3s)

analyze1.3s (11.1%)

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
Symmetry
Compiler

Compiled 10 to 9 computations (10% saved)

sample66.0ms (0.6%)

Algorithm
intervals
Results
30.0ms109×body1024valid
9.0ms46×body512valid
5.0msbody2048valid
5.0ms74×body128valid
3.0ms18×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.1b
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.1b
(*.f64 r (sin.f64 b))
0.3b
(/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 a b)))
3.7b
(cos.f64 (+.f64 a b))

rewrite77.0ms (0.7%)

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

3 calls:

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

Compiled 725 to 158 computations (78.2% saved)

series428.0ms (3.8%)

Error
13.5b
Counts
3 → 34
Calls

3 calls:

282.0ms
(/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 a b)))
67.0ms
(*.f64 r (sin.f64 b))
43.0ms
(cos.f64 (+.f64 a b))
Compiler

Compiled 1416 to 851 computations (39.9% saved)

simplify55.0ms (0.5%)

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
050281388

prune88.0ms (0.8%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New701181
Fresh000
Picked101
Done000
Total711182
Error
0.2b
Counts
82 → 11
Compiler

Compiled 1433 to 465 computations (67.6% 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.1b
(*.f64 r (sin.f64 b))
0.2b
(*.f64 (sin.f64 b) (sin.f64 a))
0.3b
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))

rewrite112.0ms (1%)

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 r (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))
4.0ms
(*.f64 r (sin.f64 b))
Compiler

Compiled 1946 to 307 computations (84.2% saved)

series929.0ms (8.2%)

Error
0.1b
Counts
4 → 47
Calls

4 calls:

567.0ms
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))
142.0ms
(-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))
112.0ms
(*.f64 (sin.f64 b) (sin.f64 a))
70.0ms
(*.f64 r (sin.f64 b))
Compiler

Compiled 2502 to 1389 computations (44.5% saved)

simplify72.0ms (0.6%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
049752535
149752535

prune127.0ms (1.1%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1149123
Fresh8210
Picked011
Done000
Total12212134
Error
0.0b
Counts
134 → 12
Compiler

Compiled 2936 to 731 computations (75.1% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite116.0ms (1%)

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

4 calls:

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

Compiled 2167 to 410 computations (81.1% saved)

series1.0s (8.8%)

Error
0.0b
Counts
4 → 51
Calls

4 calls:

520.0ms
(/.f64 r (-.f64 (/.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (sin.f64 b)) (sin.f64 a)))
171.0ms
(/.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (sin.f64 b))
162.0ms
(-.f64 (/.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (sin.f64 b)) (sin.f64 a))
103.0ms
(*.f64 (cos.f64 b) (cos.f64 a))
Compiler

Compiled 2381 to 1409 computations (40.8% saved)

simplify95.0ms (0.8%)

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049543459
149543459

prune135.0ms (1.2%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1414145
Fresh4610
Picked101
Done011
Total14611157
Error
0.0b
Counts
157 → 11
Compiler

Compiled 3230 to 829 computations (74.3% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite201.0ms (1.8%)

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
diff-log_binary64_511 sub-neg_binary64_412
Counts
4 → 160
Calls

4 calls:

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

Compiled 4003 to 778 computations (80.6% saved)

series1.0s (8.9%)

Error
0.0b
Counts
4 → 51
Calls

4 calls:

505.0ms
(/.f64 r (-.f64 (/.f64 (cos.f64 b) (/.f64 (sin.f64 b) (cos.f64 a))) (sin.f64 a)))
173.0ms
(-.f64 (/.f64 (cos.f64 b) (/.f64 (sin.f64 b) (cos.f64 a))) (sin.f64 a))
171.0ms
(/.f64 (cos.f64 b) (/.f64 (sin.f64 b) (cos.f64 a)))
124.0ms
(/.f64 (sin.f64 b) (cos.f64 a))
Compiler

Compiled 2397 to 1418 computations (40.8% saved)

simplify83.0ms (0.7%)

Algorithm
egg-herbie
Counts
211 → 211
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
052245683

prune156.0ms (1.4%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New2101211
Fresh099
Picked101
Done011
Total21111222
Error
0.0b
Counts
222 → 11
Compiler

Compiled 4763 to 981 computations (79.4% saved)

regimes939.0ms (8.3%)

Accuracy

Total 0.3b remaining (95.8%)

Threshold costs 0.3b (95.8%)

Compiler

Compiled 11010 to 6678 computations (39.3% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04426
14426
Removed

()

end0.0ms (0%)

sample4.3s (38.2%)

Algorithm
intervals
Results
1.0s3517×body1024valid
291.0ms1381×body512valid
168.0ms2349×body128valid
129.0ms205×body2048valid
78.0ms548×body256valid
0.0msbody1024invalid
0.0msbody512invalid
Compiler

Compiled 2745 to 1671 computations (39.1% saved)

Profiling

Loading profile data...