Details

Time bar (total: 6.5s)

analyze1.0s (15.9%)

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)

sample62.0ms (1%)

Algorithm
intervals
Results
34.0ms116×body1024valid
9.0ms43×body512valid
5.0ms68×body128valid
3.0ms25×body256valid
2.0msbody2048valid
Compiler

Compiled 19 to 20 computations (-5.3% saved)

simplify103.0ms (1.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
02114
12114

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 12.5b

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

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

series158.0ms (2.4%)

Counts
3 → 9
Calls

3 calls:

111.0ms
(/.f64 (*.f64 r (sin.f64 b)) (cos.f64 (+.f64 a b)))
32.0ms
(*.f64 r (sin.f64 b))
15.0ms
(cos.f64 (+.f64 a b))

simplify82.0ms (1.3%)

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
05418692

prune52.0ms (0.8%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New48856
Fresh000
Picked101
Done000
Total49857

Merged error: 0.2b

Counts
57 → 8
Compiler

Compiled 863 to 241 computations (72.1% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite28.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt_binary64_441
15×add-cbrt-cube_binary64_455 add-exp-log_binary64_457
12×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454
10×pow1_binary64_480
associate-*r*_binary64_359 associate-*l*_binary64_360
add-log-exp_binary64_458 prod-exp_binary64_468 cbrt-unprod_binary64_452 associate-/r/_binary64_365
pow-prod-down_binary64_490 times-frac_binary64_425 unswap-sqr_binary64_387 sin-mult_binary64_574 cos-mult_binary64_573 *-commutative_binary64_350 associate-/r*_binary64_363
div-exp_binary64_470 cbrt-undiv_binary64_453
clear-num_binary64_418 div-inv_binary64_416 flip3--_binary64_423 frac-2neg_binary64_430 flip--_binary64_394 sub-div_binary64_426 frac-sub_binary64_428 associate-/l*_binary64_364
Counts
4 → 81
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))))
5.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
4.0ms
(*.f64 (cos.f64 a) (cos.f64 b))
4.0ms
(*.f64 r (sin.f64 b))

series370.0ms (5.7%)

Counts
4 → 12
Calls

4 calls:

263.0ms
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (*.f64 (sin.f64 a) (sin.f64 b))))
42.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
34.0ms
(*.f64 (cos.f64 a) (cos.f64 b))
31.0ms
(*.f64 r (sin.f64 b))

simplify55.0ms (0.8%)

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
049931420
149931420

prune96.0ms (1.5%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New84993
Fresh527
Picked101
Done000
Total9011101

Merged error: 0.0b

Counts
101 → 11
Compiler

Compiled 2175 to 476 computations (78.1% saved)

localize15.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite26.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64_441
13×add-cbrt-cube_binary64_455 add-exp-log_binary64_457
11×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454
pow1_binary64_480
associate-*r*_binary64_359 associate-*l*_binary64_360
add-log-exp_binary64_458
times-frac_binary64_425 log-prod_binary64_505 prod-exp_binary64_468 cbrt-unprod_binary64_452 log-pow_binary64_508 associate-/r*_binary64_363
pow-prod-down_binary64_490 unswap-sqr_binary64_387 associate-/r/_binary64_365 *-commutative_binary64_350 div-exp_binary64_470 cbrt-undiv_binary64_453
clear-num_binary64_418 rem-log-exp_binary64_460 div-inv_binary64_416 exp-to-pow_binary64_481 sin-mult_binary64_574 exp-prod_binary64_471 flip3--_binary64_423 frac-2neg_binary64_430 flip--_binary64_394 associate-/l*_binary64_364
Counts
4 → 74
Calls

4 calls:

9.0ms
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (log.f64 (exp.f64 (*.f64 (sin.f64 a) (sin.f64 b))))))
5.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
4.0ms
(*.f64 r (sin.f64 b))
2.0ms
(log.f64 (exp.f64 (*.f64 (sin.f64 a) (sin.f64 b))))

series457.0ms (7%)

Counts
4 → 12
Calls

4 calls:

304.0ms
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (log.f64 (exp.f64 (*.f64 (sin.f64 a) (sin.f64 b))))))
87.0ms
(log.f64 (exp.f64 (*.f64 (sin.f64 a) (sin.f64 b))))
37.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
29.0ms
(*.f64 r (sin.f64 b))

simplify69.0ms (1.1%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049541320
149541320

prune81.0ms (1.2%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New85186
Fresh1910
Picked101
Done000
Total871097

Merged error: 0.0b

Counts
97 → 10
Compiler

Compiled 2121 to 460 computations (78.3% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite33.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
14×add-cbrt-cube_binary64_455 add-exp-log_binary64_457
12×add-sqr-sqrt_binary64_441
10×*-un-lft-identity_binary64_419 add-cube-cbrt_binary64_454
pow1_binary64_480
cbrt-prod_binary64_450
add-log-exp_binary64_458 sin-mult_binary64_574
times-frac_binary64_425 associate-*r*_binary64_359 prod-exp_binary64_468 cbrt-unprod_binary64_452 cube-div_binary64_448 associate-/r/_binary64_365 associate-*l*_binary64_360 pow-unpow_binary64_496 associate-/r*_binary64_363
pow-prod-down_binary64_490 unpow-prod-down_binary64_498 cbrt-div_binary64_451 unpow3_binary64_485 cube-mult_binary64_449 rem-cube-cbrt_binary64_442 pow-exp_binary64_487 sqr-pow_binary64_391 cube-prod_binary64_447 pow-pow_binary64_491 div-exp_binary64_470 cbrt-undiv_binary64_453
clear-num_binary64_418 pow1/3_binary64_501 div-inv_binary64_416 unswap-sqr_binary64_387 flip3--_binary64_423 rem-cbrt-cube_binary64_443 cos-mult_binary64_573 pow-to-exp_binary64_488 *-commutative_binary64_350 frac-2neg_binary64_430 flip--_binary64_394 frac-sub_binary64_428 associate-/l*_binary64_364
Counts
4 → 84
Calls

4 calls:

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

series398.0ms (6.1%)

Counts
4 → 12
Calls

4 calls:

252.0ms
(/.f64 (*.f64 r (sin.f64 b)) (-.f64 (*.f64 (cos.f64 a) (cos.f64 b)) (cbrt.f64 (pow.f64 (*.f64 (sin.f64 a) (sin.f64 b)) 3))))
71.0ms
(pow.f64 (*.f64 (sin.f64 a) (sin.f64 b)) 3)
38.0ms
(cbrt.f64 (pow.f64 (*.f64 (sin.f64 a) (sin.f64 b)) 3))
37.0ms
(*.f64 (sin.f64 a) (sin.f64 b))

simplify59.0ms (0.9%)

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
053091574

prune82.0ms (1.3%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New95196
Fresh099
Picked011
Done000
Total9511106

Merged error: 0.0b

Counts
106 → 11
Compiler

Compiled 2203 to 566 computations (74.3% saved)

regimes311.0ms (4.8%)

Compiler

Compiled 3552 to 2206 computations (37.9% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02730
12730

end0.0ms (0%)

sample2.9s (44.2%)

Algorithm
intervals
Results
1.2s3472×body1024valid
291.0ms1413×body512valid
161.0ms2313×body128valid
123.0ms203×body2048valid
83.0ms599×body256valid
0.0msbody512invalid
Compiler

Compiled 910 to 569 computations (37.5% saved)

Profiling

Loading profile data...