Details

Time bar (total: 14.6s)

analyze1.5s (9.9%)

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)

sample95.0ms (0.7%)

Algorithm
intervals
Results
47.0ms106×body1024valid
16.0ms52×body512valid
7.0ms71×body128valid
5.0ms23×body256valid
3.0msbody2048valid
0.0msbody1024invalid
Compiler

Compiled 19 to 20 computations (-5.3% saved)

simplify9.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
02114
12114

prune5.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
14.2b
Counts
2 → 1
Compiler

Compiled 18 to 16 computations (11.1% saved)

localize17.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))))
3.0b
(cos.f64 (+.f64 a b))

rewrite106.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_360 associate-/l*_binary64_364 associate-/r*_binary64_363
div-exp_binary64_470 prod-exp_binary64_468 cbrt-unprod_binary64_452 cbrt-undiv_binary64_453 unswap-sqr_binary64_387 div-inv_binary64_416
cos-sum_binary64_553 pow-prod-down_binary64_490 associate-*r/_binary64_361 *-commutative_binary64_350 frac-2neg_binary64_430 clear-num_binary64_418
Counts
3 → 67
Calls

3 calls:

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

Compiled 1186 to 235 computations (80.2% saved)

series554.0ms (3.8%)

Error
13.1b
Counts
3 → 34
Calls

3 calls:

298.0ms
(*.f64 r (/.f64 (sin.f64 b) (cos.f64 (+.f64 a b))))
175.0ms
(/.f64 (sin.f64 b) (cos.f64 (+.f64 a b)))
44.0ms
(cos.f64 (+.f64 a b))
Compiler

Compiled 1539 to 952 computations (38.1% saved)

simplify105.0ms (0.7%)

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 0 (71.0ms)

IterNodesCost
051161812

prune147.0ms (1%)

Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New929101
Fresh000
Picked101
Done000
Total939102
Error
0.2b
Counts
102 → 9
Compiler

Compiled 1740 to 494 computations (71.6% saved)

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

rewrite182.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
0.1b
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 *-commutative_binary64_350 div-exp_binary64_470 cbrt-undiv_binary64_453 div-inv_binary64_416
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:

16.0ms
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))))
12.0ms
(/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))
6.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.4s (9.4%)

Error
0.2b
Counts
4 → 44
Calls

4 calls:

659.0ms
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))))
341.0ms
(/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))
175.0ms
(-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))
147.0ms
(*.f64 (sin.f64 b) (sin.f64 a))
Compiler

Compiled 2385 to 1369 computations (42.6% saved)

simplify105.0ms (0.7%)

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
049763517
149763517

prune195.0ms (1.3%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New13410144
Fresh628
Picked101
Done000
Total14112153
Error
0.1b
Counts
153 → 12
Compiler

Compiled 3596 to 865 computations (75.9% saved)

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

rewrite114.0ms (0.8%)

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

4 calls:

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

Compiled 1946 to 307 computations (84.2% saved)

series1.1s (7.3%)

Error
0.1b
Counts
4 → 43
Calls

4 calls:

663.0ms
(/.f64 (*.f64 (sin.f64 b) r) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a))))
184.0ms
(-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (*.f64 (sin.f64 b) (sin.f64 a)))
101.0ms
(*.f64 (sin.f64 b) (sin.f64 a))
81.0ms
(*.f64 (sin.f64 b) r)
Compiler

Compiled 2233 to 1237 computations (44.6% saved)

simplify93.0ms (0.6%)

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
050542330

prune119.0ms (0.8%)

Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1181119
Fresh01111
Picked011
Done000
Total11813131
Error
0.1b
Counts
131 → 13
Compiler

Compiled 2818 to 666 computations (76.4% saved)

localize22.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite168.0ms (1.2%)

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

4 calls:

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

Compiled 2834 to 1016 computations (64.1% saved)

series1.3s (8.6%)

Error
0.1b
Counts
4 → 41
Calls

4 calls:

734.0ms
(*.f64 r (/.f64 (sin.f64 b) (-.f64 (*.f64 (cos.f64 b) (cos.f64 a)) (cbrt.f64 (pow.f64 (*.f64 (sin.f64 a) (sin.f64 b)) 3)))))
236.0ms
(pow.f64 (*.f64 (sin.f64 a) (sin.f64 b)) 3)
127.0ms
(*.f64 (sin.f64 a) (sin.f64 b))
119.0ms
(cbrt.f64 (pow.f64 (*.f64 (sin.f64 a) (sin.f64 b)) 3))
Compiler

Compiled 2481 to 1514 computations (39% saved)

simplify88.0ms (0.6%)

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
049662630
149662630

prune155.0ms (1.1%)

Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New1342136
Fresh2911
Picked011
Done011
Total13613149
Error
0.0b
Counts
149 → 13
Compiler

Compiled 3333 to 977 computations (70.7% saved)

regimes1.8s (12.3%)

Accuracy

Total 0.3b remaining (95.2%)

Threshold costs 0.3b (95.2%)

Compiler

Compiled 15045 to 9199 computations (38.9% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04226
14226

end0.0ms (0%)

sample5.3s (36.6%)

Algorithm
intervals
Results
1.2s3497×body1024valid
326.0ms1329×body512valid
189.0ms2339×body128valid
155.0ms209×body2048valid
116.0ms626×body256valid
1.0msbody512invalid
1.0msbody1024invalid
Compiler

Compiled 2954 to 1815 computations (38.6% saved)

Profiling

Loading profile data...