Details

Time bar (total: 7.1s)

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

sample66.0ms (0.9%)

Algorithm
intervals
Results
32.0ms107×body1024valid
10.0ms50×body512valid
7.0ms13×body2048valid
5.0ms67×body128valid
3.0ms19×body256valid
Compiler

Compiled 19 to 20 computations (-5.3% saved)

simplify100.0ms (1.4%)

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

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.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-cbrt-cube_binary64_455 add-exp-log_binary64_457
add-sqr-sqrt_binary64_441
*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454
pow1_binary64_480
times-frac_binary64_425 add-log-exp_binary64_458 associate-*r*_binary64_359 associate-*l*_binary64_360 associate-/r*_binary64_363
prod-exp_binary64_468 cbrt-unprod_binary64_452 div-exp_binary64_470 cbrt-undiv_binary64_453
pow-prod-down_binary64_490 clear-num_binary64_418 cos-sum_binary64_553 div-inv_binary64_416 unswap-sqr_binary64_387 *-commutative_binary64_350 frac-2neg_binary64_430 associate-/l*_binary64_364
Counts
3 → 47
Calls

3 calls:

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

series162.0ms (2.3%)

Counts
3 → 9
Calls

3 calls:

116.0ms
(/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 a b)))
30.0ms
(*.f64 r (sin.f64 b))
16.0ms
(cos.f64 (+.f64 a b))

simplify84.0ms (1.2%)

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
05418692

prune53.0ms (0.8%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New47956
Fresh000
Picked101
Done000
Total48957

Merged error: 0.2b

Counts
57 → 9
Compiler

Compiled 862 to 248 computations (71.2% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite31.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64_441
13×add-cbrt-cube_binary64_455 add-exp-log_binary64_457
10×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454
pow1_binary64_480
add-log-exp_binary64_458 associate-*r*_binary64_359 associate-*l*_binary64_360
sin-mult_binary64_574
associate-/r/_binary64_365 cos-mult_binary64_573
times-frac_binary64_425 prod-exp_binary64_468 cbrt-unprod_binary64_452 associate-/r*_binary64_363
pow-prod-down_binary64_490 unswap-sqr_binary64_387 flip3--_binary64_423 *-commutative_binary64_350 flip--_binary64_394 sub-div_binary64_426 div-exp_binary64_470 frac-sub_binary64_428 cbrt-undiv_binary64_453
clear-num_binary64_418 sub-neg_binary64_412 div-inv_binary64_416 frac-2neg_binary64_430 diff-log_binary64_511 cancel-sign-sub-inv_binary64_385 associate-/l*_binary64_364
Counts
4 → 76
Calls

4 calls:

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

series403.0ms (5.7%)

Counts
4 → 12
Calls

4 calls:

260.0ms
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
76.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b)))
38.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
29.0ms
(*.f64 r (sin.f64 b))

simplify74.0ms (1%)

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
049541592
149541592

prune96.0ms (1.4%)

Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New761288
Fresh628
Picked101
Done000
Total831497

Merged error: 0.0b

Counts
97 → 14
Compiler

Compiled 2230 to 492 computations (77.9% saved)

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

rewrite45.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt_binary64_441
22×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454
20×associate-*r*_binary64_359
19×times-frac_binary64_425
13×add-cbrt-cube_binary64_455 add-exp-log_binary64_457
associate-/r/_binary64_365 pow1_binary64_480
sin-mult_binary64_574
add-log-exp_binary64_458 cos-mult_binary64_573 associate-*l*_binary64_360
unswap-sqr_binary64_387 prod-exp_binary64_468 cbrt-unprod_binary64_452 flip3--_binary64_423 flip--_binary64_394 associate-/r*_binary64_363 sub-div_binary64_426 frac-sub_binary64_428 associate-/l*_binary64_364
pow-prod-down_binary64_490 div-inv_binary64_416 *-commutative_binary64_350 div-exp_binary64_470 cbrt-undiv_binary64_453
clear-num_binary64_418 sub-neg_binary64_412 associate-*r/_binary64_361 frac-2neg_binary64_430 diff-log_binary64_511 cancel-sign-sub-inv_binary64_385
Counts
4 → 100
Calls

4 calls:

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

series527.0ms (7.5%)

Counts
4 → 12
Calls

4 calls:

266.0ms
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a)))))
150.0ms
(/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a))))
74.0ms
(-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 b) (sin.f64 a)))
36.0ms
(*.f64 (sin.f64 b) (sin.f64 a))

simplify84.0ms (1.2%)

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
060882856

prune116.0ms (1.6%)

Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New1084112
Fresh21113
Picked101
Done000
Total11115126

Merged error: 0.0b

Counts
126 → 15
Compiler

Compiled 3166 to 670 computations (78.8% saved)

localize18.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.2b
(*.f64 (sin.f64 a) (sin.f64 b))
0.2b
(*.f64 (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
32×add-sqr-sqrt_binary64_441
28×*-un-lft-identity_binary64_419
20×add-cube-cbrt_binary64_454
18×times-frac_binary64_425
15×add-cbrt-cube_binary64_455 add-exp-log_binary64_457
associate-/r*_binary64_363 pow1_binary64_480
associate-*r*_binary64_359 associate-*l*_binary64_360
difference-of-squares_binary64_388 add-log-exp_binary64_458 distribute-lft-out--_binary64_371 associate-/l*_binary64_364
prod-exp_binary64_468 cbrt-unprod_binary64_452 div-exp_binary64_470 cbrt-undiv_binary64_453
pow-prod-down_binary64_490 clear-num_binary64_418 div-inv_binary64_416 unswap-sqr_binary64_387 sin-mult_binary64_574 associate-/r/_binary64_365 *-commutative_binary64_350 frac-2neg_binary64_430
flip3--_binary64_423 cos-mult_binary64_573 flip--_binary64_394 associate-/l/_binary64_366
Counts
4 → 97
Calls

4 calls:

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

series382.0ms (5.4%)

Counts
4 → 12
Calls

4 calls:

224.0ms
(/.f64 r (-.f64 (/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b)) (sin.f64 a)))
82.0ms
(/.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (sin.f64 b))
39.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
36.0ms
(*.f64 (sin.f64 b) (sin.f64 a))

simplify74.0ms (1%)

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
051652126

prune123.0ms (1.7%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1072109
Fresh31114
Picked101
Done000
Total11113124

Merged error: 0.0b

Counts
124 → 13
Compiler

Compiled 4747 to 484 computations (89.8% saved)

regimes557.0ms (7.9%)

Compiler

Compiled 4808 to 2870 computations (40.3% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04226
14226

end0.0ms (0%)

sample3.0s (41.8%)

Algorithm
intervals
Results
1.1s3537×body1024valid
285.0ms1317×body512valid
164.0ms2285×body128valid
127.0ms216×body2048valid
93.0ms645×body256valid
0.0msbody1024invalid
Compiler

Compiled 1222 to 733 computations (40% saved)

Profiling

Loading profile data...