Details

Time bar (total: 8.9s)

analyze1.0s (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)

sample77.0ms (0.9%)

Algorithm
intervals
Results
41.0ms99×body1024valid
12.0ms55×body512valid
6.0msbody2048valid
5.0ms74×body128valid
3.0ms20×body256valid
Compiler

Compiled 19 to 20 computations (-5.3% saved)

simplify164.0ms (1.8%)

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: 15.4b

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

rewrite21.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:

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

series313.0ms (3.5%)

Counts
3 → 9
Calls

3 calls:

228.0ms
(/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 a b)))
55.0ms
(*.f64 r (sin.f64 b))
29.0ms
(cos.f64 (+.f64 a b))

simplify79.0ms (0.9%)

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
04866692
14866692

prune53.0ms (0.6%)

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 812 to 224 computations (72.4% saved)

localize15.0ms (0.2%)

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

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
sin-mult_binary64_566
associate-/r/_binary64_362 cos-mult_binary64_565
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 → 75
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))))
6.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))

series788.0ms (8.9%)

Counts
4 → 12
Calls

4 calls:

506.0ms
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
145.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
75.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
62.0ms
(*.f64 r (sin.f64 b))

simplify77.0ms (0.9%)

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
062831553

prune98.0ms (1.1%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New78987
Fresh606
Picked101
Done000
Total85994

Merged error: 0b

Counts
94 → 9
Compiler

Compiled 2091 to 430 computations (79.4% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite36.0ms (0.4%)

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:

10.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))

series841.0ms (9.5%)

Counts
4 → 12
Calls

4 calls:

438.0ms
(/.f64 r (-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (sin.f64 a)))
190.0ms
(-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (sin.f64 a))
152.0ms
(/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b))
61.0ms
(*.f64 (cos.f64 a) (cos.f64 b))

simplify106.0ms (1.2%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (81.0ms)

IterNodesCost
049172329
149172329

prune98.0ms (1.1%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1012103
Fresh268
Picked011
Done000
Total1039112

Merged error: 0b

Counts
112 → 9
Compiler

Compiled 2333 to 495 computations (78.8% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite46.0ms (0.5%)

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

4 calls:

14.0ms
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a)))))
11.0ms
(/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a))))
6.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a)))
5.0ms
(*.f64 (sin.f64 b) (sin.f64 a))

series983.0ms (11.1%)

Counts
4 → 12
Calls

4 calls:

500.0ms
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a)))))
274.0ms
(/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a))))
141.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a)))
69.0ms
(*.f64 (sin.f64 b) (sin.f64 a))

simplify81.0ms (0.9%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
060132846

prune89.0ms (1%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1110111
Fresh077
Picked011
Done011
Total1119120

Merged error: 0b

Counts
120 → 9
Compiler

Compiled 2734 to 446 computations (83.7% saved)

regimes552.0ms (6.2%)

Compiler

Compiled 4348 to 2854 computations (34.4% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02321
12321

end0.0ms (0%)

sample3.3s (37%)

Algorithm
intervals
Results
1.3s3508×body1024valid
308.0ms1383×body512valid
173.0ms200×body2048valid
171.0ms2312×body128valid
95.0ms597×body256valid
Compiler

Compiled 1104 to 728 computations (34.1% saved)

Profiling

Loading profile data...