Details

Time bar (total: 7.4s)

analyze1.0s (13.5%)

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)

sample83.0ms (1.1%)

Algorithm
intervals
Results
49.0ms125×body1024valid
8.0ms38×body512valid
8.0msbody2048valid
4.0ms65×body128valid
3.0ms19×body256valid
0.0msbody1024invalid
Compiler

Compiled 19 to 20 computations (-5.3% saved)

simplify158.0ms (2.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

Merged error: 17.3b

Counts
2 → 1
Compiler

Compiled 18 to 16 computations (11.1% saved)

localize13.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite17.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
10×add-exp-log_binary64_449 add-cbrt-cube_binary64_447
add-sqr-sqrt_binary64_435
add-cube-cbrt_binary64_446 *-un-lft-identity_binary64_414
pow1_binary64_472
times-frac_binary64_420 associate-*l*_binary64_357 add-log-exp_binary64_450 associate-*r*_binary64_356 associate-/r*_binary64_360
cbrt-undiv_binary64_445 prod-exp_binary64_460 cbrt-unprod_binary64_444 div-exp_binary64_462
clear-num_binary64_413 div-inv_binary64_411 *-commutative_binary64_347 cos-sum_binary64_545 pow-prod-down_binary64_482 frac-2neg_binary64_425 unswap-sqr_binary64_382 associate-/l*_binary64_361
Counts
3 → 47
Calls

3 calls:

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

series315.0ms (4.2%)

Counts
3 → 9
Calls

3 calls:

232.0ms
(/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 a b)))
54.0ms
(*.f64 r (sin.f64 b))
29.0ms
(cos.f64 (+.f64 a b))

simplify78.0ms (1.1%)

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
04866692
14866692

prune50.0ms (0.7%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New49756
Fresh000
Picked101
Done000
Total50757

Merged error: 0.2b

Counts
57 → 7
Compiler

Compiled 836 to 225 computations (73.1% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite32.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64_435
13×add-exp-log_binary64_449 add-cbrt-cube_binary64_447
10×add-cube-cbrt_binary64_446 *-un-lft-identity_binary64_414
pow1_binary64_472
associate-*l*_binary64_357 add-log-exp_binary64_450 associate-*r*_binary64_356
cos-mult_binary64_565 sin-mult_binary64_566
associate-/r/_binary64_362
times-frac_binary64_420 prod-exp_binary64_460 cbrt-unprod_binary64_444 associate-/r*_binary64_360
flip3--_binary64_418 *-commutative_binary64_347 frac-sub_binary64_423 cbrt-undiv_binary64_445 pow-prod-down_binary64_482 flip--_binary64_389 unswap-sqr_binary64_382 sub-div_binary64_421 div-exp_binary64_462
clear-num_binary64_413 diff-log_binary64_503 div-inv_binary64_411 sub-neg_binary64_407 frac-2neg_binary64_425 associate-/l*_binary64_361
Counts
4 → 76
Calls

4 calls:

10.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 (cos.f64 a) (cos.f64 b))

series796.0ms (10.7%)

Counts
4 → 12
Calls

4 calls:

507.0ms
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
148.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
74.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
66.0ms
(*.f64 (cos.f64 a) (cos.f64 b))

simplify69.0ms (0.9%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049181621
149181621

prune90.0ms (1.2%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New81788
Fresh516
Picked011
Done000
Total86995

Merged error: 0.0b

Counts
95 → 9
Compiler

Compiled 2061 to 436 computations (78.8% saved)

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite36.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt_binary64_435
28×*-un-lft-identity_binary64_414
18×times-frac_binary64_420 add-cube-cbrt_binary64_446
13×add-exp-log_binary64_449 add-cbrt-cube_binary64_447
associate-/r*_binary64_360
pow1_binary64_472 add-log-exp_binary64_450
distribute-lft-out--_binary64_368 difference-of-squares_binary64_383
associate-/l*_binary64_361
cbrt-undiv_binary64_445 associate-*l*_binary64_357 associate-*r*_binary64_356 div-exp_binary64_462
associate-/r/_binary64_362 flip3--_binary64_418 clear-num_binary64_413 cos-mult_binary64_565 div-inv_binary64_411 prod-exp_binary64_460 frac-2neg_binary64_425 flip--_binary64_389 cbrt-unprod_binary64_444
diff-log_binary64_503 *-commutative_binary64_347 pow-prod-down_binary64_482 sub-neg_binary64_407 unswap-sqr_binary64_382 associate-/l/_binary64_363
Counts
4 → 91
Calls

4 calls:

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

series809.0ms (10.9%)

Counts
4 → 12
Calls

4 calls:

439.0ms
(/.f64 r (-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (sin.f64 a)))
178.0ms
(-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (sin.f64 a))
132.0ms
(/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b))
61.0ms
(*.f64 (cos.f64 a) (cos.f64 b))

simplify104.0ms (1.4%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (78.0ms)

IterNodesCost
049172329
149172329

prune95.0ms (1.3%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1021103
Fresh167
Picked011
Done011
Total1039112

Merged error: 0.0b

Counts
112 → 9
Compiler

Compiled 2284 to 475 computations (79.2% saved)

localize18.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (sin.f64 a) (sin.f64 b))
0.3b
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (cbrt.f64 (pow.f64 (*.f64 (cos.f64 a) (cos.f64 b)) 3)) (*.f64 (sin.f64 a) (sin.f64 b))))
0.5b
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 a) (cos.f64 b)) 3))
0.5b
(pow.f64 (*.f64 (cos.f64 a) (cos.f64 b)) 3)

rewrite34.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
14×add-exp-log_binary64_449 add-cbrt-cube_binary64_447
12×add-sqr-sqrt_binary64_435
10×add-cube-cbrt_binary64_446 *-un-lft-identity_binary64_414
pow1_binary64_472
cbrt-prod_binary64_442
add-log-exp_binary64_450
associate-/r/_binary64_362 times-frac_binary64_420 cos-mult_binary64_565 pow-unpow_binary64_488 prod-exp_binary64_460 associate-*l*_binary64_357 associate-*r*_binary64_356 cbrt-unprod_binary64_444 cube-div_binary64_440 associate-/r*_binary64_360
cbrt-div_binary64_443 cube-prod_binary64_439 cube-mult_binary64_441 sqr-pow_binary64_386 cbrt-undiv_binary64_445 pow-pow_binary64_483 pow-exp_binary64_479 pow-prod-down_binary64_482 unpow3_binary64_477 unpow-prod-down_binary64_490 rem-cube-cbrt_binary64_436 sin-mult_binary64_566 div-exp_binary64_462
flip3--_binary64_418 clear-num_binary64_413 div-inv_binary64_411 *-commutative_binary64_347 frac-sub_binary64_423 rem-cbrt-cube_binary64_437 pow-to-exp_binary64_480 frac-2neg_binary64_425 flip--_binary64_389 pow1/3_binary64_493 unswap-sqr_binary64_382 associate-/l*_binary64_361
Counts
4 → 84
Calls

4 calls:

14.0ms
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (cbrt.f64 (pow.f64 (*.f64 (cos.f64 a) (cos.f64 b)) 3)) (*.f64 (sin.f64 a) (sin.f64 b))))
5.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
5.0ms
(pow.f64 (*.f64 (cos.f64 a) (cos.f64 b)) 3)
3.0ms
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 a) (cos.f64 b)) 3))

series735.0ms (9.9%)

Counts
4 → 12
Calls

4 calls:

475.0ms
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (cbrt.f64 (pow.f64 (*.f64 (cos.f64 a) (cos.f64 b)) 3)) (*.f64 (sin.f64 a) (sin.f64 b))))
128.0ms
(pow.f64 (*.f64 (cos.f64 a) (cos.f64 b)) 3)
66.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
65.0ms
(cbrt.f64 (pow.f64 (*.f64 (cos.f64 a) (cos.f64 b)) 3))

simplify72.0ms (1%)

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049451563
149451563

prune83.0ms (1.1%)

Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New95196
Fresh156
Picked011
Done022
Total969105

Merged error: 0.0b

Counts
105 → 9
Compiler

Compiled 2196 to 570 computations (74% saved)

regimes67.0ms (0.9%)

Compiler

Compiled 591 to 402 computations (32% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04226
14226

end0.0ms (0%)

sample2.6s (35.5%)

Algorithm
intervals
Results
1.4s3542×body1024valid
300.0ms1334×body512valid
171.0ms2364×body128valid
160.0ms189×body2048valid
94.0ms571×body256valid
1.0msbody1024invalid
Compiler

Compiled 221 to 152 computations (31.2% saved)

Profiling

Loading profile data...