Details

Time bar (total: 2.7s)

analyze149.0ms (5.4%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0810
1810
011
111
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
100%0%0%2
Compiler

Compiled 8 to 6 computations (25% saved)

sample13.0ms (0.5%)

Algorithm
intervals
Results
6.0ms256×body128valid
Compiler

Compiled 15 to 12 computations (20% saved)

simplify11.0ms (0.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0810
1810

prune3.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 14 to 10 computations (28.6% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

13.9b
(/.f64 x (+.f64 (*.f64 x x) 1))

rewrite52.0ms (1.9%)

Algorithm
rewrite-expression-head
Error
13.8b
Rules
add-cube-cbrt_binary64_2159 add-sqr-sqrt_binary64_2146 times-frac_binary64_2130 *-un-lft-identity_binary64_2124
add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160 associate-/l*_binary64_2069 associate-/r*_binary64_2068
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 → 29
Calls

1 calls:

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

Compiled 460 to 236 computations (48.7% saved)

series93.0ms (3.4%)

Error
0b
Counts
1 → 12
Calls

1 calls:

83.0ms
(/.f64 x (+.f64 (*.f64 x x) 1))
Compiler

Compiled 200 to 163 computations (18.5% saved)

simplify66.0ms (2.4%)

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
05088673

prune40.0ms (1.5%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New39241
Fresh000
Picked011
Done000
Total39342
Error
0b
Counts
42 → 3
Compiler

Compiled 493 to 278 computations (43.6% saved)

localize5.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.1b
(/.f64 1 (/.f64 (+.f64 1 (*.f64 x x)) x))
13.9b
(/.f64 (+.f64 1 (*.f64 x x)) x)

rewrite155.0ms (5.7%)

Algorithm
rewrite-expression-head
Error
0b
Rules
84×times-frac_binary64_2130
52×add-cube-cbrt_binary64_2159 add-sqr-sqrt_binary64_2146 *-un-lft-identity_binary64_2124
16×associate-/r*_binary64_2068
15×add-exp-log_binary64_2162
add-cbrt-cube_binary64_2160
div-exp_binary64_2175
div-inv_binary64_2121 associate-/l*_binary64_2069
cbrt-undiv_binary64_2158
pow1_binary64_2185
add-log-exp_binary64_2163 frac-2neg_binary64_2135 clear-num_binary64_2123 associate-/l/_binary64_2071 1-exp_binary64_2168 rec-exp_binary64_2174
flip3-+_binary64_2127 flip-+_binary64_2098 inv-pow_binary64_2209 pow-flip_binary64_2198 associate-/r/_binary64_2070
Counts
2 → 105
Calls

2 calls:

7.0ms
(/.f64 1 (/.f64 (+.f64 1 (*.f64 x x)) x))
5.0ms
(/.f64 (+.f64 1 (*.f64 x x)) x)
Compiler

Compiled 2076 to 1251 computations (39.7% saved)

series175.0ms (6.4%)

Error
0b
Counts
2 → 18
Calls

2 calls:

86.0ms
(/.f64 (+.f64 1 (*.f64 x x)) x)
80.0ms
(/.f64 1 (/.f64 (+.f64 1 (*.f64 x x)) x))
Compiler

Compiled 265 to 219 computations (17.4% saved)

simplify91.0ms (3.3%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
049732361
149732361

prune93.0ms (3.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1230123
Fresh011
Picked011
Done011
Total1233126
Error
0b
Counts
126 → 3
Compiler

Compiled 1446 to 844 computations (41.6% saved)

localize10.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
0.1b
(/.f64 1 (pow.f64 x 5))
0.1b
(/.f64 1 (pow.f64 x 3))
19.1b
(+.f64 (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 5)))

rewrite593.0ms (21.7%)

Algorithm
rewrite-expression-head
Error
0b
Rules
194×times-frac_binary64_2130
165×add-sqr-sqrt_binary64_2146
157×*-un-lft-identity_binary64_2124
96×add-cube-cbrt_binary64_2159
80×cancel-sign-sub-inv_binary64_2090
48×unpow-prod-down_binary64_2203
41×associate-+l+_binary64_2057
36×cube-prod_binary64_2152
27×difference-of-squares_binary64_2093
22×add-exp-log_binary64_2162 div-inv_binary64_2121
20×sqr-pow_binary64_2096
19×associate-/r*_binary64_2068
18×distribute-lft-out--_binary64_2076
15×unpow3_binary64_2190
13×distribute-lft-out_binary64_2075
12×div-exp_binary64_2175
11×add-log-exp_binary64_2163
10×cube-mult_binary64_2154
add-cbrt-cube_binary64_2160
pow-to-exp_binary64_2193 1-exp_binary64_2168 pow-exp_binary64_2192 rec-exp_binary64_2174 associate-/l*_binary64_2069
distribute-rgt-out--_binary64_2078
pow1_binary64_2185
frac-add_binary64_2132
diff-log_binary64_2216 sum-log_binary64_2215 frac-sub_binary64_2133 flip3--_binary64_2128 flip--_binary64_2099 sub-neg_binary64_2117 inv-pow_binary64_2209 pow-flip_binary64_2198 cbrt-undiv_binary64_2158 frac-2neg_binary64_2135 clear-num_binary64_2123
flip3-+_binary64_2127 flip-+_binary64_2098 associate-+l-_binary64_2059 +-commutative_binary64_2054
Counts
4 → 287
Calls

4 calls:

83.0ms
(+.f64 (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 5)))
36.0ms
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
5.0ms
(/.f64 1 (pow.f64 x 3))
4.0ms
(/.f64 1 (pow.f64 x 5))
Compiler

Compiled 5602 to 4501 computations (19.7% saved)

series255.0ms (9.3%)

Error
0b
Counts
4 → 19
Calls

4 calls:

87.0ms
(+.f64 (-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 5)))
63.0ms
(-.f64 (/.f64 1 x) (/.f64 1 (pow.f64 x 3)))
55.0ms
(/.f64 1 (pow.f64 x 5))
44.0ms
(/.f64 1 (pow.f64 x 3))
Compiler

Compiled 466 to 403 computations (13.5% saved)

simplify99.0ms (3.6%)

Algorithm
egg-herbie
Counts
306 → 306
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049974713
149974713

prune172.0ms (6.3%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New3060306
Fresh000
Picked011
Done022
Total3063309
Error
0b
Counts
309 → 3
Compiler

Compiled 2396 to 1901 computations (20.7% saved)

regimes189.0ms (6.9%)

Accuracy

Total 0.1b remaining (95.3%)

Threshold costs 0.1b (95.3%)

Compiler

Compiled 1462 to 1071 computations (26.7% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0810
1810

end1.0ms (0%)

Compiler

Compiled 7 to 6 computations (14.3% saved)

sample459.0ms (16.8%)

Algorithm
intervals
Results
181.0ms8000×body128valid
Compiler

Compiled 56 to 50 computations (10.7% saved)

Profiling

Loading profile data...