Details

Time bar (total: 7.8s)

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)

sample85.0ms (1.1%)

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

Compiled 19 to 20 computations (-5.3% saved)

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

localize10.0ms (0.1%)

Local error

Found 3 expressions with local error:

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

rewrite29.0ms (0.4%)

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

3 calls:

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

series351.0ms (4.5%)

Counts
3 → 9
Calls

3 calls:

230.0ms
(*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))
92.0ms
(/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))
28.0ms
(cos.f64 (+.f64 a b))

simplify73.0ms (0.9%)

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
048871258
148871258

prune70.0ms (0.9%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New68876
Fresh000
Picked101
Done000
Total69877

Merged error: 0.1b

Counts
77 → 8
Compiler

Compiled 1283 to 306 computations (76.1% saved)

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

rewrite48.0ms (0.6%)

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

series980.0ms (12.6%)

Counts
4 → 12
Calls

4 calls:

495.0ms
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))))
286.0ms
(/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
130.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
69.0ms
(*.f64 (sin.f64 a) (sin.f64 b))

simplify79.0ms (1%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049152742
149152742

prune123.0ms (1.6%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1029111
Fresh617
Picked101
Done000
Total10910119

Merged error: 0.0b

Counts
119 → 10
Compiler

Compiled 2890 to 555 computations (80.8% 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 (sin.f64 b) r) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))

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

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

series799.0ms (10.3%)

Counts
4 → 12
Calls

4 calls:

535.0ms
(/.f64 (*.f64 (sin.f64 b) r) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
135.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
67.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
61.0ms
(*.f64 (cos.f64 a) (cos.f64 b))

simplify87.0ms (1.1%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
049301653
149301653

prune83.0ms (1.1%)

Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New87188
Fresh189
Picked011
Done000
Total881098

Merged error: 0.0b

Counts
98 → 10
Compiler

Compiled 2065 to 446 computations (78.4% saved)

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

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

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

series874.0ms (11.2%)

Counts
4 → 12
Calls

4 calls:

468.0ms
(/.f64 r (-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (sin.f64 a)))
184.0ms
(-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (sin.f64 a))
158.0ms
(/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b))
64.0ms
(*.f64 (cos.f64 a) (cos.f64 b))

simplify103.0ms (1.3%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
049172329
149172329

prune84.0ms (1.1%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1030103
Fresh088
Picked011
Done011
Total10310113

Merged error: 0.0b

Counts
113 → 10
Compiler

Compiled 2100 to 373 computations (82.2% saved)

regimes71.0ms (0.9%)

Compiler

Compiled 597 to 420 computations (29.6% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04226
14226

end0.0ms (0%)

sample2.5s (32%)

Algorithm
intervals
Results
1.3s3542×body1024valid
296.0ms1334×body512valid
168.0ms2364×body128valid
159.0ms189×body2048valid
90.0ms571×body256valid
1.0msbody1024invalid
Compiler

Compiled 223 to 158 computations (29.1% saved)

Profiling

Loading profile data...