Details

Time bar (total: 12.2s)

analyze1.1s (9.2%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06656
16656
033
133
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)

sample67.0ms (0.5%)

Algorithm
intervals
Results
35.0ms105×body1024valid
9.0ms46×body512valid
5.0ms75×body128valid
3.0ms26×body256valid
2.0msbody2048valid
Compiler

Compiled 19 to 20 computations (-5.3% saved)

simplify7.0ms (0.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
Error
15.4b
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.2b
(*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))
0.2b
(/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))
4.0b
(cos.f64 (+.f64 a b))

rewrite87.0ms (0.7%)

Algorithm
rewrite-expression-head
Error
0.2b
Rules
24×add-sqr-sqrt_binary64_441
19×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419 times-frac_binary64_425
13×associate-*r*_binary64_359
10×add-exp-log_binary64_457 add-cbrt-cube_binary64_455
pow1_binary64_480
add-log-exp_binary64_458 associate-/l*_binary64_364 associate-/r*_binary64_363 associate-*l*_binary64_360
div-exp_binary64_470 cbrt-undiv_binary64_453 div-inv_binary64_416 prod-exp_binary64_468 cbrt-unprod_binary64_452 unswap-sqr_binary64_387
cos-sum_binary64_553 frac-2neg_binary64_430 clear-num_binary64_418 pow-prod-down_binary64_490 associate-*r/_binary64_361 *-commutative_binary64_350
Counts
3 → 67
Calls

3 calls:

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

Compiled 1186 to 235 computations (80.2% saved)

series506.0ms (4.2%)

Error
13.9b
Counts
3 → 39
Calls

3 calls:

274.0ms
(*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))
141.0ms
(/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))
43.0ms
(cos.f64 (+.f64 a b))
Compiler

Compiled 1877 to 1144 computations (39.1% saved)

simplify48.0ms (0.4%)

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
049862320
149862320

prune114.0ms (0.9%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New9511106
Fresh000
Picked101
Done000
Total9611107
Error
0.2b
Counts
107 → 11
Compiler

Compiled 2079 to 642 computations (69.1% saved)

localize12.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite154.0ms (1.3%)

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

4 calls:

12.0ms
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))))
11.0ms
(/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))
5.0ms
(-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))
5.0ms
(*.f64 (sin.f64 b) (sin.f64 a))
Compiler

Compiled 2890 to 436 computations (84.9% saved)

series1.2s (9.5%)

Error
0.2b
Counts
4 → 51
Calls

4 calls:

550.0ms
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))))
305.0ms
(/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))
147.0ms
(-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))
102.0ms
(*.f64 (sin.f64 b) (sin.f64 a))
Compiler

Compiled 2840 to 1626 computations (42.7% saved)

simplify86.0ms (0.7%)

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
050164067

prune164.0ms (1.3%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New13813151
Fresh10010
Picked101
Done000
Total14913162
Error
0.0b
Counts
162 → 13
Compiler

Compiled 4047 to 1072 computations (73.5% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

rewrite144.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
32×add-exp-log_binary64_457
23×add-sqr-sqrt_binary64_441
21×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
20×add-cbrt-cube_binary64_455 associate-*r*_binary64_359
18×times-frac_binary64_425
13×prod-exp_binary64_468
12×pow1_binary64_480
associate-/r/_binary64_365
cbrt-unprod_binary64_452 sin-mult_binary64_574
div-exp_binary64_470 add-log-exp_binary64_458 cos-mult_binary64_573
pow-prod-down_binary64_490 associate-*l*_binary64_360
1-exp_binary64_463 rec-exp_binary64_469 cbrt-undiv_binary64_453 frac-sub_binary64_428 sub-div_binary64_426 flip3--_binary64_423 flip--_binary64_394 associate-/l*_binary64_364 associate-/r*_binary64_363
div-inv_binary64_416 *-commutative_binary64_350
un-div-inv_binary64_417 associate-*r/_binary64_361 unswap-sqr_binary64_387 inv-pow_binary64_504 pow-flip_binary64_493 frac-2neg_binary64_430 clear-num_binary64_418 diff-log_binary64_511 sub-neg_binary64_412 cancel-sign-sub-inv_binary64_385
Counts
4 → 110
Calls

4 calls:

13.0ms
(*.f64 (*.f64 (sin.f64 b) r) (/.f64 1 (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))))
7.0ms
(/.f64 1 (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))
5.0ms
(-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))
5.0ms
(*.f64 (sin.f64 b) (sin.f64 a))
Compiler

Compiled 3303 to 761 computations (77% saved)

series1.1s (9.1%)

Error
0.0b
Counts
4 → 51
Calls

4 calls:

540.0ms
(*.f64 (*.f64 (sin.f64 b) r) (/.f64 1 (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))))
262.0ms
(/.f64 1 (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))
147.0ms
(-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))
113.0ms
(*.f64 (sin.f64 b) (sin.f64 a))
Compiler

Compiled 2976 to 1752 computations (41.1% saved)

simplify87.0ms (0.7%)

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
049874225
149874225

prune158.0ms (1.3%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1610161
Fresh01212
Picked011
Done000
Total16113174
Error
0.0b
Counts
174 → 13
Compiler

Compiled 4429 to 1247 computations (71.8% saved)

localize17.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.5b
(*.f64 (cbrt.f64 (sin.f64 a)) (cbrt.f64 (sin.f64 a)))
0.6b
(cbrt.f64 (sin.f64 a))
0.6b
(cbrt.f64 (sin.f64 a))
0.6b
(cbrt.f64 (sin.f64 a))

rewrite94.0ms (0.8%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
25×cbrt-prod_binary64_450
23×add-sqr-sqrt_binary64_441
15×add-cube-cbrt_binary64_454 *-un-lft-identity_binary64_419
11×pow1_binary64_480
pow1/3_binary64_501
add-exp-log_binary64_457 swap-sqr_binary64_386 associate-*l*_binary64_360 associate-*r*_binary64_359
add-log-exp_binary64_458 add-cbrt-cube_binary64_455 unswap-sqr_binary64_387
pow-prod-down_binary64_490 pow-prod-up_binary64_489 pow-sqr_binary64_392
pow2_binary64_500 pow-plus_binary64_482 prod-exp_binary64_468 cbrt-unprod_binary64_452 *-commutative_binary64_350
Counts
4 → 73
Calls

4 calls:

7.0ms
(*.f64 (cbrt.f64 (sin.f64 a)) (cbrt.f64 (sin.f64 a)))
2.0ms
(cbrt.f64 (sin.f64 a))
1.0ms
(cbrt.f64 (sin.f64 a))
1.0ms
(cbrt.f64 (sin.f64 a))
Compiler

Compiled 2241 to 510 computations (77.2% saved)

series348.0ms (2.9%)

Error
0.0b
Counts
4 → 18
Calls

4 calls:

108.0ms
(*.f64 (cbrt.f64 (sin.f64 a)) (cbrt.f64 (sin.f64 a)))
73.0ms
(cbrt.f64 (sin.f64 a))
73.0ms
(cbrt.f64 (sin.f64 a))
72.0ms
(cbrt.f64 (sin.f64 a))
Compiler

Compiled 1363 to 822 computations (39.7% saved)

simplify63.0ms (0.5%)

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
05013837

prune91.0ms (0.7%)

Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New91091
Fresh01111
Picked011
Done011
Total9113104
Error
0.0b
Counts
104 → 13
Compiler

Compiled 2523 to 641 computations (74.6% saved)

regimes1.7s (13.8%)

Accuracy

Total 0.3b remaining (95.7%)

Threshold costs 0.3b (95.7%)

Compiler

Compiled 18920 to 11195 computations (40.8% saved)

bsearch0.0ms (0%)

simplify3.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04226
14226

end0.0ms (0%)

sample4.8s (39.7%)

Algorithm
intervals
Results
1.0s3507×body1024valid
272.0ms1365×body512valid
153.0ms2300×body128valid
111.0ms192×body2048valid
85.0ms636×body256valid
0.0msbody1024invalid
Compiler

Compiled 3725 to 2214 computations (40.6% saved)

Profiling

Loading profile data...