Details

Time bar (total: 4.0s)

analyze7.0ms (0.2%)

Algorithm
search
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)

sample24.0ms (0.6%)

Algorithm
intervals
Results
6.0ms43×body1024valid
5.0ms138×body128valid
5.0ms49×body512valid
2.0ms26×body256valid
Compiler

Compiled 31 to 28 computations (9.7% saved)

simplify185.0ms (4.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (8.0ms)

IterNodesCost
019222
119222

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 11.2b

Counts
2 → 1
Compiler

Compiled 30 to 26 computations (13.3% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite105.0ms (2.6%)

Algorithm
rewrite-expression-head
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×difference-of-squares_binary64_1070 associate-+l+_binary64_1034
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
difference-of-sqr-1_binary64_1071 associate-/r/_binary64_1047 div-exp_binary64_1152
flip--_binary64_1076 flip3--_binary64_1105 frac-add_binary64_1109
inv-pow_binary64_1186 diff-log_binary64_1193 1-exp_binary64_1145 frac-2neg_binary64_1112 sum-log_binary64_1192 sub-neg_binary64_1094 clear-num_binary64_1100 flip3-+_binary64_1104 rec-exp_binary64_1151 frac-sub_binary64_1110 cbrt-undiv_binary64_1135 flip-+_binary64_1075 pow-flip_binary64_1175
associate-+l-_binary64_1036 +-commutative_binary64_1031
Counts
4 → 161
Calls

4 calls:

52.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
23.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
7.0ms
(/.f64 1 (-.f64 x 1))
6.0ms
(/.f64 1 (+.f64 x 1))

series172.0ms (4.3%)

Counts
4 → 12
Calls

4 calls:

107.0ms
(+.f64 (-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x)) (/.f64 1 (-.f64 x 1)))
27.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 2 x))
20.0ms
(/.f64 1 (-.f64 x 1))
19.0ms
(/.f64 1 (+.f64 x 1))

simplify77.0ms (1.9%)

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049112799
149112799

prune237.0ms (5.9%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1694173
Fresh000
Picked101
Done000
Total1704174

Merged error: 0.1b

Counts
174 → 4
Compiler

Compiled 3661 to 2938 computations (19.7% saved)

localize15.0ms (0.4%)

Local error

Found 4 expressions with local error:

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

rewrite83.0ms (2.1%)

Algorithm
rewrite-expression-head
Rules
42×associate-*r/_binary64_1043
41×*-un-lft-identity_binary64_1101
32×frac-add_binary64_1109
31×flip--_binary64_1076 flip3--_binary64_1105
24×add-sqr-sqrt_binary64_1123
21×times-frac_binary64_1107
20×frac-times_binary64_1111
19×flip3-+_binary64_1104 flip-+_binary64_1075
18×associate-/l/_binary64_1048 add-cube-cbrt_binary64_1136
10×associate-*l/_binary64_1044
distribute-rgt-out_binary64_1054 add-log-exp_binary64_1140 distribute-lft-out_binary64_1052 add-exp-log_binary64_1139 unpow3_binary64_1167 add-cbrt-cube_binary64_1137
associate-*l*_binary64_1042 associate-/r*_binary64_1045
pow1_binary64_1162
sub-neg_binary64_1094 distribute-lft-in_binary64_1050 cancel-sign-sub-inv_binary64_1067 distribute-rgt-in_binary64_1051
distribute-rgt-neg-in_binary64_1059 neg-mul-1_binary64_1097 distribute-lft-neg-in_binary64_1058 associate-+l+_binary64_1034
associate-/l*_binary64_1046 associate-*r*_binary64_1041
difference-of-squares_binary64_1070 associate-+r+_binary64_1033 associate-/r/_binary64_1047
diff-log_binary64_1193 *-commutative_binary64_1032 cbrt-unprod_binary64_1134 prod-exp_binary64_1150 frac-2neg_binary64_1112 sum-log_binary64_1192 difference-of-sqr-1_binary64_1071 clear-num_binary64_1100 distribute-lft-out--_binary64_1053 div-inv_binary64_1098 +-commutative_binary64_1031 pow-prod-down_binary64_1172 div-exp_binary64_1152 cbrt-undiv_binary64_1135 unswap-sqr_binary64_1069
Counts
4 → 142
Calls

4 calls:

29.0ms
(/.f64 (+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x))) (+.f64 (pow.f64 x 3) (neg.f64 x)))
13.0ms
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))
11.0ms
(*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2)))
4.0ms
(-.f64 x (*.f64 (+.f64 1 x) 2))

series123.0ms (3.1%)

Counts
4 → 12
Calls

4 calls:

60.0ms
(/.f64 (+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x))) (+.f64 (pow.f64 x 3) (neg.f64 x)))
28.0ms
(-.f64 x (*.f64 (+.f64 1 x) 2))
26.0ms
(*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2)))
9.0ms
(+.f64 (*.f64 (-.f64 x 1) (-.f64 x (*.f64 (+.f64 1 x) 2))) (*.f64 x (+.f64 1 x)))

simplify90.0ms (2.3%)

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
049566082
149566082

prune360.0ms (9%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1531154
Fresh123
Picked101
Done000
Total1553158

Merged error: 0.1b

Counts
158 → 3
Compiler

Compiled 6610 to 4558 computations (31% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(+.f64 (pow.f64 x 3) (neg.f64 x))
0.1b
(/.f64 2 (+.f64 (pow.f64 x 3) (neg.f64 x)))

rewrite33.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity_binary64_1101
21×times-frac_binary64_1107
14×add-sqr-sqrt_binary64_1123 add-cube-cbrt_binary64_1136
10×distribute-rgt-out_binary64_1054 distribute-lft-out_binary64_1052 unpow3_binary64_1167
associate-/r*_binary64_1045
add-log-exp_binary64_1140
distribute-rgt-neg-in_binary64_1059 neg-mul-1_binary64_1097 distribute-lft-neg-in_binary64_1058
add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
associate-/l*_binary64_1046
sum-log_binary64_1192 pow1_binary64_1162 flip3-+_binary64_1104 associate-/r/_binary64_1047 flip-+_binary64_1075
frac-2neg_binary64_1112 associate-+r-_binary64_1035 neg-log_binary64_1194 clear-num_binary64_1100 unsub-neg_binary64_1095 neg-sub0_binary64_1096 div-inv_binary64_1098 +-commutative_binary64_1031 div-exp_binary64_1152 cbrt-undiv_binary64_1135
Counts
2 → 63
Calls

2 calls:

14.0ms
(/.f64 2 (+.f64 (pow.f64 x 3) (neg.f64 x)))
14.0ms
(+.f64 (pow.f64 x 3) (neg.f64 x))

series141.0ms (3.5%)

Counts
2 → 6
Calls

2 calls:

89.0ms
(+.f64 (pow.f64 x 3) (neg.f64 x))
52.0ms
(/.f64 2 (+.f64 (pow.f64 x 3) (neg.f64 x)))

simplify64.0ms (1.6%)

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
04894964
14894964

prune66.0ms (1.7%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New67269
Fresh112
Picked011
Done000
Total68472

Merged error: 0.0b

Counts
72 → 4
Compiler

Compiled 918 to 683 computations (25.6% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

rewrite20.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
97×times-frac_binary64_1107
50×add-sqr-sqrt_binary64_1123 *-un-lft-identity_binary64_1101 add-cube-cbrt_binary64_1136
14×difference-of-sqr--1_binary64_1072
13×associate-/l*_binary64_1046
add-exp-log_binary64_1139 div-inv_binary64_1098 add-cbrt-cube_binary64_1137
associate-/r*_binary64_1045
div-exp_binary64_1152 cbrt-undiv_binary64_1135
associate-/r/_binary64_1047
add-log-exp_binary64_1140 frac-2neg_binary64_1112 pow1_binary64_1162 clear-num_binary64_1100 flip3-+_binary64_1104 associate-/l/_binary64_1048 flip-+_binary64_1075
Counts
1 → 86
Calls

1 calls:

10.0ms
(/.f64 (/.f64 2 x) (+.f64 (*.f64 x x) -1))

series51.0ms (1.3%)

Counts
1 → 3
Calls

1 calls:

51.0ms
(/.f64 (/.f64 2 x) (+.f64 (*.f64 x x) -1))

simplify67.0ms (1.7%)

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
053782264

prune89.0ms (2.2%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New87289
Fresh022
Picked101
Done011
Total88593

Merged error: 0b

Counts
93 → 5
Compiler

Compiled 1696 to 1089 computations (35.8% saved)

regimes196.0ms (4.9%)

Compiler

Compiled 2274 to 1880 computations (17.3% saved)

bsearch0.0ms (0%)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0913
1913

end0.0ms (0%)

sample1.7s (44%)

Algorithm
intervals
Results
188.0ms1307×body1024valid
171.0ms4431×body128valid
157.0ms1497×body512valid
54.0ms765×body256valid
0.0msbody128invalid
Compiler

Compiled 1155 to 955 computations (17.3% saved)

Profiling

Loading profile data...