Details

Time bar (total: 5.9s)

analyze110.0ms (1.9%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
019222
119222
011
111
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
75%25%0%5
87.5%12.5%0%6
93.7%6.2%0%7
96.8%3.1%0%8
98.4%1.6%0%9
99.2%0.8%0%10
99.6%0.4%0%11
99.8%0.2%0%12
99.9%0.1%0%13
99.9%0.1%0.1%14
Compiler

Compiled 16 to 14 computations (12.5% saved)

sample26.0ms (0.4%)

Algorithm
intervals
Results
6.0ms40×body1024valid
6.0ms53×body512valid
5.0ms137×body128valid
2.0ms26×body256valid
Compiler

Compiled 31 to 28 computations (9.7% saved)

simplify14.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
019222
119222

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 30 to 26 computations (13.3% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 1 (+.f64 x 1))
0.0b
(/.f64 1 (-.f64 x 1))
0.0b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
4.0b
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))

rewrite331.0ms (5.6%)

Algorithm
rewrite-expression-head
Error
11.4b
Rules
112×*-un-lft-identity_binary64_1101
74×times-frac_binary64_1107
72×add-sqr-sqrt_binary64_1123
39×add-cube-cbrt_binary64_1136
26×cancel-sign-sub-inv_binary64_1067
18×distribute-lft-out--_binary64_1053
17×distribute-lft-out_binary64_1052
14×associate-+l+_binary64_1034 difference-of-squares_binary64_1070
12×add-exp-log_binary64_1139
11×add-log-exp_binary64_1140 associate-/r*_binary64_1045
10×div-inv_binary64_1098
add-cbrt-cube_binary64_1137
pow1_binary64_1162 associate-/l*_binary64_1046
div-exp_binary64_1152 difference-of-sqr-1_binary64_1071 associate-/r/_binary64_1047
frac-add_binary64_1109 flip3--_binary64_1105 flip--_binary64_1076
diff-log_binary64_1193 sum-log_binary64_1192 frac-sub_binary64_1110 flip3-+_binary64_1104 flip-+_binary64_1075 sub-neg_binary64_1094 inv-pow_binary64_1186 pow-flip_binary64_1175 1-exp_binary64_1145 rec-exp_binary64_1151 cbrt-undiv_binary64_1135 frac-2neg_binary64_1112 clear-num_binary64_1100
associate-+l-_binary64_1036 +-commutative_binary64_1031
Counts
4 → 161
Calls

4 calls:

44.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
21.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
9.0ms
(/.f64 1 (-.f64 x 1))
6.0ms
(/.f64 1 (+.f64 x 1))
Compiler

Compiled 3810 to 3089 computations (18.9% saved)

series234.0ms (4%)

Error
0.4b
Counts
4 → 48
Calls

4 calls:

95.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
33.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
29.0ms
(/.f64 1 (-.f64 x 1))
29.0ms
(/.f64 1 (+.f64 x 1))
Compiler

Compiled 1760 to 1471 computations (16.4% saved)

simplify81.0ms (1.4%)

Algorithm
egg-herbie
Counts
209 → 209
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
050603303

prune258.0ms (4.4%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2054209
Fresh000
Picked101
Done000
Total2064210
Error
0.3b
Counts
210 → 4
Compiler

Compiled 4232 to 3356 computations (20.7% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 x (*.f64 x x))
0.0b
(/.f64 (+.f64 (*.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2)))) (+.f64 x (*.f64 x x))) (-.f64 (pow.f64 x 3) x))
0.0b
(-.f64 x (+.f64 2 (*.f64 x 2)))
17.3b
(+.f64 (*.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2)))) (+.f64 x (*.f64 x x)))

rewrite405.0ms (6.8%)

Algorithm
rewrite-expression-head
Error
0.3b
Rules
51×add-sqr-sqrt_binary64_1123
39×*-un-lft-identity_binary64_1101
32×frac-add_binary64_1109
31×flip3-+_binary64_1104 flip-+_binary64_1075
27×times-frac_binary64_1107
21×add-cube-cbrt_binary64_1136
18×associate-/l/_binary64_1048
17×difference-of-squares_binary64_1070
16×add-log-exp_binary64_1140 frac-times_binary64_1111
15×cancel-sign-sub-inv_binary64_1067
14×flip3--_binary64_1105 flip--_binary64_1076
12×associate-+l+_binary64_1034
associate-/r*_binary64_1045
associate-*l/_binary64_1044 associate-*r/_binary64_1043
add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137 distribute-rgt-in_binary64_1051 distribute-lft-in_binary64_1050
sum-log_binary64_1192 distribute-lft-out--_binary64_1053
pow1_binary64_1162 distribute-rgt1-in_binary64_1057 distribute-rgt-out_binary64_1054 unpow-prod-down_binary64_1180 cube-prod_binary64_1129 sqr-pow_binary64_1073 unpow3_binary64_1167 distribute-rgt-out--_binary64_1055
sub-neg_binary64_1094 associate-/l*_binary64_1046
+-commutative_binary64_1031 diff-log_binary64_1193 associate-/r/_binary64_1047
associate-+r+_binary64_1033 associate--r+_binary64_1037 div-exp_binary64_1152 cbrt-undiv_binary64_1135 frac-2neg_binary64_1112 clear-num_binary64_1100 div-inv_binary64_1098
Counts
4 → 145
Calls

4 calls:

24.0ms
(/.f64 (+.f64 (*.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2)))) (+.f64 x (*.f64 x x))) (-.f64 (pow.f64 x 3) x))
17.0ms
(+.f64 (*.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2)))) (+.f64 x (*.f64 x x)))
7.0ms
(-.f64 x (+.f64 2 (*.f64 x 2)))
3.0ms
(+.f64 x (*.f64 x x))
Compiler

Compiled 7415 to 4139 computations (44.2% saved)

series162.0ms (2.7%)

Error
0.3b
Counts
4 → 27
Calls

4 calls:

62.0ms
(/.f64 (+.f64 (*.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2)))) (+.f64 x (*.f64 x x))) (-.f64 (pow.f64 x 3) x))
39.0ms
(+.f64 x (*.f64 x x))
26.0ms
(-.f64 x (+.f64 2 (*.f64 x 2)))
9.0ms
(+.f64 (*.f64 (+.f64 x -1) (-.f64 x (+.f64 2 (*.f64 x 2)))) (+.f64 x (*.f64 x x)))
Compiler

Compiled 1080 to 827 computations (23.4% saved)

simplify95.0ms (1.6%)

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
050976765

prune339.0ms (5.7%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1702172
Fresh123
Picked101
Done000
Total1724176
Error
0.3b
Counts
176 → 4
Compiler

Compiled 7148 to 4172 computations (41.6% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.0b
(-.f64 (pow.f64 x 3) x)
0.3b
(/.f64 2 (-.f64 (pow.f64 x 3) x))

rewrite98.0ms (1.7%)

Algorithm
rewrite-expression-head
Error
0b
Rules
52×add-sqr-sqrt_binary64_1123
32×*-un-lft-identity_binary64_1101
27×times-frac_binary64_1107
20×difference-of-squares_binary64_1070
17×add-cube-cbrt_binary64_1136
associate-/r*_binary64_1045
unpow-prod-down_binary64_1180 cube-prod_binary64_1129 sqr-pow_binary64_1073 unpow3_binary64_1167 distribute-rgt-out--_binary64_1055 distribute-lft-out--_binary64_1053
add-exp-log_binary64_1139 add-log-exp_binary64_1140 add-cbrt-cube_binary64_1137
associate-/l*_binary64_1046 cancel-sign-sub-inv_binary64_1067
pow1_binary64_1162 flip3--_binary64_1105 associate-/r/_binary64_1047 flip--_binary64_1076
div-exp_binary64_1152 cbrt-undiv_binary64_1135 frac-2neg_binary64_1112 clear-num_binary64_1100 div-inv_binary64_1098 diff-log_binary64_1193 sub-neg_binary64_1094
Counts
2 → 73
Calls

2 calls:

9.0ms
(/.f64 2 (-.f64 (pow.f64 x 3) x))
8.0ms
(-.f64 (pow.f64 x 3) x)
Compiler

Compiled 1183 to 851 computations (28.1% saved)

series118.0ms (2%)

Error
0.3b
Counts
2 → 18
Calls

2 calls:

60.0ms
(/.f64 2 (-.f64 (pow.f64 x 3) x))
45.0ms
(-.f64 (pow.f64 x 3) x)
Compiler

Compiled 491 to 429 computations (12.6% saved)

simplify89.0ms (1.5%)

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (70.0ms)

IterNodesCost
048981482
148981482

prune86.0ms (1.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New86591
Fresh303
Picked011
Done000
Total89695
Error
0b
Counts
95 → 6
Compiler

Compiled 1303 to 960 computations (26.3% saved)

localize7.0ms (0.1%)

Local error

Found 2 expressions with local error:

0.1b
(*.f64 (/.f64 1 x) (/.f64 2 (+.f64 -1 (*.f64 x x))))
0.5b
(/.f64 2 (+.f64 -1 (*.f64 x x)))

rewrite119.0ms (2%)

Algorithm
rewrite-expression-head
Error
0b
Rules
41×add-sqr-sqrt_binary64_1123
34×times-frac_binary64_1107
26×add-exp-log_binary64_1139 *-un-lft-identity_binary64_1101
24×add-cube-cbrt_binary64_1136
16×add-cbrt-cube_binary64_1137
15×associate-*r*_binary64_1041
13×associate-*l*_binary64_1042
div-exp_binary64_1152
prod-exp_binary64_1150
unswap-sqr_binary64_1069
cbrt-undiv_binary64_1135
pow1_binary64_1162 associate-/r/_binary64_1047 cbrt-unprod_binary64_1134
div-inv_binary64_1098 associate-/l*_binary64_1046 associate-/r*_binary64_1045
add-log-exp_binary64_1140 flip3-+_binary64_1104 flip-+_binary64_1075 1-exp_binary64_1145 rec-exp_binary64_1151
frac-2neg_binary64_1112 clear-num_binary64_1100 pow-prod-down_binary64_1172 frac-times_binary64_1111 associate-*l/_binary64_1044 associate-*r/_binary64_1043 *-commutative_binary64_1032
Counts
2 → 87
Calls

2 calls:

14.0ms
(*.f64 (/.f64 1 x) (/.f64 2 (+.f64 -1 (*.f64 x x))))
7.0ms
(/.f64 2 (+.f64 -1 (*.f64 x x)))
Compiler

Compiled 1813 to 1221 computations (32.7% saved)

series140.0ms (2.4%)

Error
0b
Counts
2 → 24
Calls

2 calls:

58.0ms
(*.f64 (/.f64 1 x) (/.f64 2 (+.f64 -1 (*.f64 x x))))
56.0ms
(/.f64 2 (+.f64 -1 (*.f64 x x)))
Compiler

Compiled 876 to 765 computations (12.7% saved)

simplify78.0ms (1.3%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
050621857

prune104.0ms (1.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1101111
Fresh224
Picked101
Done011
Total1134117
Error
0b
Counts
117 → 4
Compiler

Compiled 1795 to 1248 computations (30.5% saved)

regimes346.0ms (5.8%)

Accuracy

Total 0.1b remaining (96.6%)

Threshold costs 0.1b (96.6%)

Compiler

Compiled 4276 to 3517 computations (17.8% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0913
1913

end0.0ms (0%)

sample2.7s (44.8%)

Algorithm
intervals
Results
193.0ms1328×body1024valid
169.0ms1460×body512valid
168.0ms4456×body128valid
62.0ms756×body256valid
0.0msbody128invalid
Compiler

Compiled 2051 to 1684 computations (17.9% saved)

Profiling

Loading profile data...