Details

Time bar (total: 3.9s)

analyze195.0ms (5%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0492430
1492430
022
122
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1
Compiler

Compiled 11 to 12 computations (-9.1% saved)

sample32.0ms (0.8%)

Algorithm
intervals
Results
10.0ms57×body1024valid
5.0ms141×body128valid
4.0ms31×body512valid
2.0msbody2048valid
1.0ms18×body256valid
Compiler

Compiled 21 to 25 computations (-19% saved)

simplify80.0ms (2.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (74.0ms)

IterNodesCost
0475815
1475815

prune6.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
29.1b
Counts
2 → 1
Compiler

Compiled 20 to 22 computations (-10% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x))))
0.0b
(+.f64 1 (exp.f64 (*.f64 -2 x)))
3.3b
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1)

rewrite115.0ms (3%)

Algorithm
rewrite-expression-head
Error
28.5b
Rules
27×*-un-lft-identity_binary64_760
24×add-sqr-sqrt_binary64_782
15×times-frac_binary64_766
13×add-cube-cbrt_binary64_795
add-log-exp_binary64_799
add-exp-log_binary64_798 add-cbrt-cube_binary64_796 distribute-lft-out_binary64_711
difference-of-squares_binary64_729 associate-/r*_binary64_704
pow1_binary64_821 cancel-sign-sub-inv_binary64_726 associate-/l*_binary64_705
difference-of-sqr-1_binary64_730 flip3-+_binary64_763 flip-+_binary64_734 associate-/r/_binary64_706
diff-log_binary64_852 flip3--_binary64_764 sub-neg_binary64_753 flip--_binary64_735 distribute-lft-out--_binary64_712 sum-log_binary64_851 +-commutative_binary64_690 div-exp_binary64_811 cbrt-undiv_binary64_794 frac-2neg_binary64_771 clear-num_binary64_759 div-inv_binary64_757
Counts
3 → 66
Calls

3 calls:

11.0ms
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1)
5.0ms
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x))))
3.0ms
(+.f64 1 (exp.f64 (*.f64 -2 x)))
Compiler

Compiled 1302 to 1188 computations (8.8% saved)

series125.0ms (3.2%)

Error
0.0b
Counts
3 → 18
Calls

3 calls:

53.0ms
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x)))) 1)
40.0ms
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 -2 x))))
16.0ms
(+.f64 1 (exp.f64 (*.f64 -2 x)))
Compiler

Compiled 444 to 432 computations (2.7% saved)

simplify98.0ms (2.5%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (80.0ms)

IterNodesCost
048381469
148381469

prune86.0ms (2.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New82284
Fresh000
Picked101
Done000
Total83285
Error
0.0b
Counts
85 → 2
Compiler

Compiled 1347 to 1214 computations (9.9% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 1 (exp.f64 (*.f64 x -2)))
0.0b
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2))))
3.2b
(log.f64 (exp.f64 (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) 1)))
3.3b
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) 1)

rewrite165.0ms (4.3%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
39×add-sqr-sqrt_binary64_782
35×*-un-lft-identity_binary64_760
18×times-frac_binary64_766
17×add-cube-cbrt_binary64_795
11×log-pow_binary64_849
10×exp-prod_binary64_812
add-log-exp_binary64_799 difference-of-squares_binary64_729
log-prod_binary64_846
add-exp-log_binary64_798 add-cbrt-cube_binary64_796 cancel-sign-sub-inv_binary64_726
pow1_binary64_821 distribute-lft-out_binary64_711
difference-of-sqr-1_binary64_730 exp-sum_binary64_806 associate-/r*_binary64_704
associate-/l*_binary64_705
sub-neg_binary64_753 distribute-lft-out--_binary64_712 flip3-+_binary64_763 associate-/r/_binary64_706 flip-+_binary64_734
diff-log_binary64_852 flip3--_binary64_764 flip--_binary64_735 exp-diff_binary64_808 log-div_binary64_847 rem-log-exp_binary64_801 div-exp_binary64_811 cbrt-undiv_binary64_794 frac-2neg_binary64_771 clear-num_binary64_759 div-inv_binary64_757 sum-log_binary64_851 +-commutative_binary64_690
Counts
4 → 93
Calls

4 calls:

14.0ms
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) 1)
13.0ms
(log.f64 (exp.f64 (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) 1)))
5.0ms
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2))))
4.0ms
(+.f64 1 (exp.f64 (*.f64 x -2)))
Compiler

Compiled 2040 to 1882 computations (7.7% saved)

series286.0ms (7.4%)

Error
0.0b
Counts
4 → 24
Calls

4 calls:

149.0ms
(log.f64 (exp.f64 (-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) 1)))
60.0ms
(-.f64 (/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2)))) 1)
38.0ms
(/.f64 2 (+.f64 1 (exp.f64 (*.f64 x -2))))
20.0ms
(+.f64 1 (exp.f64 (*.f64 x -2)))
Compiler

Compiled 692 to 670 computations (3.2% saved)

simplify106.0ms (2.8%)

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 0 (84.0ms)

IterNodesCost
048612044
148612044

prune129.0ms (3.3%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1170117
Fresh011
Picked011
Done000
Total1172119
Error
0.0b
Counts
119 → 2
Compiler

Compiled 2055 to 1867 computations (9.1% saved)

localize4.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(-.f64 x (*.f64 1/3 (pow.f64 x 3)))
0.2b
(*.f64 1/3 (pow.f64 x 3))

rewrite51.0ms (1.3%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
13×add-sqr-sqrt_binary64_782
12×associate-*r*_binary64_700
add-exp-log_binary64_798
add-cube-cbrt_binary64_795 *-un-lft-identity_binary64_760
add-log-exp_binary64_799 add-cbrt-cube_binary64_796 unpow-prod-down_binary64_839 unswap-sqr_binary64_728 cube-prod_binary64_788
prod-exp_binary64_809 associate-*l*_binary64_701
pow1_binary64_821 sqr-pow_binary64_732
pow-to-exp_binary64_829 pow-exp_binary64_828 cbrt-unprod_binary64_793 unpow3_binary64_826 cube-mult_binary64_790 *-commutative_binary64_691 diff-log_binary64_852 flip3--_binary64_764 sub-neg_binary64_753 flip--_binary64_735 cancel-sign-sub-inv_binary64_726
Counts
2 → 43
Calls

2 calls:

7.0ms
(*.f64 1/3 (pow.f64 x 3))
3.0ms
(-.f64 x (*.f64 1/3 (pow.f64 x 3)))
Compiler

Compiled 594 to 448 computations (24.6% saved)

series92.0ms (2.4%)

Error
0.0b
Counts
2 → 9
Calls

2 calls:

58.0ms
(-.f64 x (*.f64 1/3 (pow.f64 x 3)))
29.0ms
(*.f64 1/3 (pow.f64 x 3))
Compiler

Compiled 148 to 138 computations (6.8% saved)

simplify48.0ms (1.2%)

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
05194541

prune36.0ms (0.9%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New52052
Fresh000
Picked011
Done011
Total52254
Error
0.0b
Counts
54 → 2
Compiler

Compiled 562 to 405 computations (27.9% saved)

regimes591.0ms (15.3%)

Accuracy

Total 0.2b remaining (91%)

Threshold costs 0.2b (91%)

Compiler

Compiled 4050 to 4109 computations (-1.5% saved)

bsearch3.0ms (0.1%)

Compiler

Compiled 3 to 4 computations (-33.3% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
079146
179146

end0.0ms (0%)

sample1.6s (41.4%)

Algorithm
intervals
Results
384.0ms1971×body1024valid
149.0ms4368×body128valid
119.0ms990×body512valid
40.0ms180×body2048valid
40.0ms491×body256valid
Compiler

Compiled 502 to 501 computations (0.2% saved)

Profiling

Loading profile data...