Details

Time bar (total: 4.7s)

analyze105.0ms (2.2%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

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

Compiled 12 to 11 computations (8.3% saved)

sample22.0ms (0.5%)

Algorithm
intervals
Results
6.0ms65×body512valid
4.0ms150×body128valid
2.0ms29×body256valid
1.0ms12×body1024valid
Compiler

Compiled 23 to 22 computations (4.3% saved)

simplify11.0ms (0.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
07616
17616

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 22 to 20 computations (9.1% saved)

localize7.0ms (0.1%)

Local error

Found 3 expressions with local error:

0.0b
(/.f64 1 (-.f64 x 1))
0.0b
(/.f64 1 (+.f64 x 1))
2.1b
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))

rewrite277.0ms (5.9%)

Algorithm
rewrite-expression-head
Error
12.7b
Rules
118×*-un-lft-identity_binary64_2124
95×add-sqr-sqrt_binary64_2146
90×times-frac_binary64_2130
43×add-cube-cbrt_binary64_2159
30×distribute-lft-out--_binary64_2076
27×cancel-sign-sub-inv_binary64_2090
23×difference-of-squares_binary64_2093
11×add-exp-log_binary64_2162 associate-/r*_binary64_2068
10×distribute-lft-out_binary64_2075
associate-/r/_binary64_2070
add-cbrt-cube_binary64_2160 difference-of-sqr-1_binary64_2094 div-inv_binary64_2121
associate-/l*_binary64_2069
add-log-exp_binary64_2163 pow1_binary64_2185
flip--_binary64_2099 div-exp_binary64_2175
flip3--_binary64_2128
flip-+_binary64_2098 inv-pow_binary64_2209 pow-flip_binary64_2198 1-exp_binary64_2168 rec-exp_binary64_2174 cbrt-undiv_binary64_2158 frac-2neg_binary64_2135 clear-num_binary64_2123
diff-log_binary64_2216 frac-sub_binary64_2133 sub-neg_binary64_2117 flip3-+_binary64_2127
Counts
3 → 151
Calls

3 calls:

36.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
9.0ms
(/.f64 1 (+.f64 x 1))
6.0ms
(/.f64 1 (-.f64 x 1))
Compiler

Compiled 2962 to 2486 computations (16.1% saved)

series165.0ms (3.5%)

Error
0.3b
Counts
3 → 36
Calls

3 calls:

69.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
30.0ms
(/.f64 1 (-.f64 x 1))
29.0ms
(/.f64 1 (+.f64 x 1))
Compiler

Compiled 1154 to 987 computations (14.5% saved)

simplify79.0ms (1.7%)

Algorithm
egg-herbie
Counts
187 → 187
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049482807
149482807

prune195.0ms (4.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1852187
Fresh000
Picked011
Done000
Total1853188
Error
0.3b
Counts
188 → 3
Compiler

Compiled 3090 to 2476 computations (19.9% saved)

localize9.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite88.0ms (1.9%)

Algorithm
rewrite-expression-head
Error
0.3b
Rules
44×*-un-lft-identity_binary64_2124
20×times-frac_binary64_2130
14×add-cube-cbrt_binary64_2159 add-sqr-sqrt_binary64_2146
12×distribute-lft-out_binary64_2075
add-log-exp_binary64_2163
distribute-lft-out--_binary64_2076 difference-of-sqr--1_binary64_2095
associate-/l*_binary64_2069
add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160 associate-+r+_binary64_2056 associate-/r*_binary64_2068
flip3-+_binary64_2127 flip-+_binary64_2098 cancel-sign-sub-inv_binary64_2090
sum-log_binary64_2215 pow1_binary64_2185 associate-+r-_binary64_2058 associate-/l/_binary64_2071 associate-/r/_binary64_2070
diff-log_binary64_2216 sub-neg_binary64_2117 +-commutative_binary64_2054 div-exp_binary64_2175 cbrt-undiv_binary64_2158 frac-2neg_binary64_2135 div-sub_binary64_2129 clear-num_binary64_2123 div-inv_binary64_2121
Counts
2 → 65
Calls

2 calls:

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

Compiled 1310 to 813 computations (37.9% saved)

series79.0ms (1.7%)

Error
0.3b
Counts
2 → 15
Calls

2 calls:

55.0ms
(/.f64 (+.f64 x (-.f64 -2 x)) (+.f64 (*.f64 x x) -1))
8.0ms
(+.f64 x (-.f64 -2 x))
Compiler

Compiled 451 to 398 computations (11.8% saved)

simplify77.0ms (1.7%)

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
055911125

prune107.0ms (2.3%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New74680
Fresh101
Picked101
Done101
Total77683
Error
0b
Counts
83 → 6
Compiler

Compiled 1209 to 807 computations (33.3% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

rewrite317.0ms (6.8%)

Algorithm
rewrite-expression-head
Error
0b
Rules
234×times-frac_binary64_2130
207×*-un-lft-identity_binary64_2124
170×add-sqr-sqrt_binary64_2146
94×add-cube-cbrt_binary64_2159
38×difference-of-squares_binary64_2093
28×distribute-lft-out_binary64_2075
21×associate-/l*_binary64_2069
20×associate-/r/_binary64_2070
19×difference-of-sqr-1_binary64_2094 distribute-lft-out--_binary64_2076
11×associate-/r*_binary64_2068
10×div-inv_binary64_2121
add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160 flip3-+_binary64_2127 flip-+_binary64_2098
div-exp_binary64_2175 cbrt-undiv_binary64_2158
pow1_binary64_2185 add-log-exp_binary64_2163 frac-2neg_binary64_2135 clear-num_binary64_2123
associate-/l/_binary64_2071 flip3--_binary64_2128 flip--_binary64_2099
Counts
2 → 201
Calls

2 calls:

15.0ms
(/.f64 (/.f64 -2 (+.f64 x 1)) (-.f64 x 1))
5.0ms
(/.f64 -2 (+.f64 x 1))
Compiler

Compiled 4298 to 3468 computations (19.3% saved)

series121.0ms (2.6%)

Error
0b
Counts
2 → 24
Calls

2 calls:

64.0ms
(/.f64 (/.f64 -2 (+.f64 x 1)) (-.f64 x 1))
35.0ms
(/.f64 -2 (+.f64 x 1))
Compiler

Compiled 816 to 713 computations (12.6% saved)

simplify111.0ms (2.4%)

Algorithm
egg-herbie
Counts
225 → 225
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049735385
149735385

prune264.0ms (5.6%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2241225
Fresh235
Picked011
Done000
Total2265231
Error
0b
Counts
231 → 5
Compiler

Compiled 4215 to 3258 computations (22.7% saved)

localize7.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

rewrite34.0ms (0.7%)

Algorithm
rewrite-expression-head
Error
0b
Rules
12×times-frac_binary64_2130
10×add-cube-cbrt_binary64_2159 add-sqr-sqrt_binary64_2146 *-un-lft-identity_binary64_2124
difference-of-sqr--1_binary64_2095 associate-/r*_binary64_2068
add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160 associate-/l*_binary64_2069
associate-/r/_binary64_2070
pow1_binary64_2185 div-exp_binary64_2175 add-log-exp_binary64_2163 cbrt-undiv_binary64_2158 frac-2neg_binary64_2135 clear-num_binary64_2123 div-inv_binary64_2121 flip3-+_binary64_2127 flip-+_binary64_2098
Counts
1 → 33
Calls

1 calls:

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

Compiled 518 to 352 computations (32% saved)

series66.0ms (1.4%)

Error
0b
Counts
1 → 12
Calls

1 calls:

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

Compiled 388 to 349 computations (10.1% saved)

simplify58.0ms (1.2%)

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
05016763

prune32.0ms (0.7%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New45045
Fresh033
Picked011
Done011
Total45550
Error
0b
Counts
50 → 5
Compiler

Compiled 613 to 420 computations (31.5% saved)

regimes281.0ms (6%)

Accuracy

Total 0.1b remaining (96.3%)

Threshold costs 0.1b (96.3%)

Compiler

Compiled 3316 to 2842 computations (14.3% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01913
11913
Removed

()

end0.0ms (0%)

sample2.2s (46.2%)

Algorithm
intervals
Results
170.0ms1974×body512valid
143.0ms4619×body128valid
55.0ms1003×body256valid
43.0ms404×body1024valid
Compiler

Compiled 1613 to 1382 computations (14.3% saved)

Profiling

Loading profile data...