Details

Time bar (total: 8.3s)

analyze1.1s (12.8%)

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)

sample78.0ms (0.9%)

Algorithm
intervals
Results
40.0ms108×body1024valid
17.0ms50×body512valid
5.0ms75×body128valid
3.0msbody2048valid
3.0ms20×body256valid
Compiler

Compiled 19 to 20 computations (-5.3% saved)

simplify161.0ms (1.9%)

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: 16.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.1b
(*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))
0.2b
(/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))
2.0b
(cos.f64 (+.f64 a b))

rewrite29.0ms (0.3%)

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

series352.0ms (4.3%)

Counts
3 → 9
Calls

3 calls:

226.0ms
(*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))
98.0ms
(/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))
28.0ms
(cos.f64 (+.f64 a b))

simplify72.0ms (0.9%)

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
048871258
148871258

prune72.0ms (0.9%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New67976
Fresh000
Picked101
Done000
Total68977

Merged error: 0.2b

Counts
77 → 9
Compiler

Compiled 1295 to 317 computations (75.5% 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.1b
(*.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))))

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

series992.0ms (12%)

Counts
4 → 12
Calls

4 calls:

499.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))))
137.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
70.0ms
(*.f64 (sin.f64 a) (sin.f64 b))

simplify83.0ms (1%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049152742
149152742

prune125.0ms (1.5%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New10110111
Fresh718
Picked011
Done000
Total10812120

Merged error: 0.0b

Counts
120 → 12
Compiler

Compiled 2907 to 574 computations (80.3% saved)

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

rewrite55.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt_binary64_435
43×*-un-lft-identity_binary64_414
35×times-frac_binary64_420
26×add-cube-cbrt_binary64_446
22×add-exp-log_binary64_449
21×associate-*r*_binary64_356
16×add-cbrt-cube_binary64_447
distribute-lft-out--_binary64_368 difference-of-squares_binary64_383 associate-/r*_binary64_360
pow1_binary64_472
add-log-exp_binary64_450 div-exp_binary64_462
prod-exp_binary64_460
associate-/r/_binary64_362 cbrt-undiv_binary64_445 associate-/l*_binary64_361
flip3--_binary64_418 div-inv_binary64_411 associate-*l*_binary64_357 flip--_binary64_389 unswap-sqr_binary64_382 cbrt-unprod_binary64_444
1-exp_binary64_455 clear-num_binary64_413 rec-exp_binary64_461 frac-2neg_binary64_425
inv-pow_binary64_496 pow-flip_binary64_485 cos-mult_binary64_565 un-div-inv_binary64_412 diff-log_binary64_503 *-commutative_binary64_347 pow-prod-down_binary64_482 sub-neg_binary64_407 associate-/l/_binary64_363 associate-*r/_binary64_358
Counts
4 → 120
Calls

4 calls:

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

series1.1s (13%)

Counts
4 → 12
Calls

4 calls:

470.0ms
(*.f64 r (/.f64 1 (-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (sin.f64 a))))
257.0ms
(/.f64 1 (-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (sin.f64 a)))
195.0ms
(-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (sin.f64 a))
154.0ms
(/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b))

simplify78.0ms (0.9%)

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049673211
149673211

prune141.0ms (1.7%)

Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1275132
Fresh2810
Picked101
Done011
Total13014144

Merged error: 0.0b

Counts
144 → 14
Compiler

Compiled 3379 to 884 computations (73.8% 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))

rewrite39.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))
7.0ms
(*.f64 (cos.f64 a) (cos.f64 b))
6.0ms
(/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b))

series871.0ms (10.5%)

Counts
4 → 12
Calls

4 calls:

451.0ms
(/.f64 r (-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (sin.f64 a)))
189.0ms
(-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (sin.f64 a))
154.0ms
(/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b))
76.0ms
(*.f64 (cos.f64 a) (cos.f64 b))

simplify102.0ms (1.2%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (78.0ms)

IterNodesCost
049172329
149172329

prune91.0ms (1.1%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1012103
Fresh21012
Picked011
Done101
Total10413117

Merged error: 0.0b

Counts
117 → 13
Compiler

Compiled 2100 to 373 computations (82.2% saved)

regimes90.0ms (1.1%)

Compiler

Compiled 909 to 582 computations (36% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02321
12321

end0.0ms (0%)

sample2.6s (31.4%)

Algorithm
intervals
Results
1.3s3497×body1024valid
327.0ms1406×body512valid
179.0ms199×body2048valid
169.0ms2301×body128valid
94.0ms597×body256valid
Compiler

Compiled 324 to 211 computations (34.9% saved)

Profiling

Loading profile data...