Details

Time bar (total: 3.7s)

analyze4.0ms (0.1%)

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

Compiled 12 to 11 computations (8.3% saved)

sample19.0ms (0.5%)

Algorithm
intervals
Results
6.0ms71×body512valid
4.0ms133×body128valid
2.0ms34×body256valid
2.0ms18×body1024valid
Compiler

Compiled 23 to 22 computations (4.3% saved)

simplify176.0ms (4.7%)

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

Merged error: 16.7b

Counts
2 → 1
Compiler

Compiled 22 to 20 computations (9.1% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite68.0ms (1.8%)

Algorithm
rewrite-expression-head
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×associate-/r*_binary64_2068 add-exp-log_binary64_2162
10×distribute-lft-out_binary64_2075
associate-/r/_binary64_2070
difference-of-sqr-1_binary64_2094 div-inv_binary64_2121 add-cbrt-cube_binary64_2160
associate-/l*_binary64_2069
pow1_binary64_2185 add-log-exp_binary64_2163
flip--_binary64_2099 div-exp_binary64_2175
flip3--_binary64_2128
clear-num_binary64_2123 cbrt-undiv_binary64_2158 pow-flip_binary64_2198 flip-+_binary64_2098 1-exp_binary64_2168 inv-pow_binary64_2209 frac-2neg_binary64_2135 rec-exp_binary64_2174
diff-log_binary64_2216 sub-neg_binary64_2117 frac-sub_binary64_2133 flip3-+_binary64_2127
Counts
3 → 151
Calls

3 calls:

41.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
7.0ms
(/.f64 1 (-.f64 x 1))
6.0ms
(/.f64 1 (+.f64 x 1))

series108.0ms (2.9%)

Counts
3 → 9
Calls

3 calls:

71.0ms
(-.f64 (/.f64 1 (+.f64 x 1)) (/.f64 1 (-.f64 x 1)))
18.0ms
(/.f64 1 (-.f64 x 1))
18.0ms
(/.f64 1 (+.f64 x 1))

simplify81.0ms (2.2%)

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
054212407

prune169.0ms (4.5%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1582160
Fresh000
Picked101
Done000
Total1592161

Merged error: 0.6b

Counts
161 → 2
Compiler

Compiled 2697 to 2204 computations (18.3% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

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

rewrite27.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt_binary64_2146
26×times-frac_binary64_2130
21×*-un-lft-identity_binary64_2124
20×add-cube-cbrt_binary64_2159
18×associate-*l*_binary64_2065
15×add-exp-log_binary64_2162
add-cbrt-cube_binary64_2160
difference-of-squares_binary64_2093
pow1_binary64_2185
associate-/r/_binary64_2070 associate-/r*_binary64_2068 prod-exp_binary64_2173 div-exp_binary64_2175
unswap-sqr_binary64_2092 associate-/l*_binary64_2069 associate-*r*_binary64_2064
flip--_binary64_2099 flip3--_binary64_2128 cbrt-undiv_binary64_2158 add-log-exp_binary64_2163 1-exp_binary64_2168 div-inv_binary64_2121 cbrt-unprod_binary64_2157 rec-exp_binary64_2174
pow-prod-down_binary64_2195 clear-num_binary64_2123 *-commutative_binary64_2055 associate-*l/_binary64_2067 pow-flip_binary64_2198 inv-pow_binary64_2209 frac-2neg_binary64_2135
Counts
2 → 77
Calls

2 calls:

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

series78.0ms (2.1%)

Counts
2 → 6
Calls

2 calls:

40.0ms
(*.f64 (/.f64 1 (-.f64 (*.f64 x x) (*.f64 1 1))) -2)
38.0ms
(/.f64 1 (-.f64 (*.f64 x x) (*.f64 1 1)))

simplify61.0ms (1.6%)

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
050751208

prune90.0ms (2.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New78583
Fresh101
Picked011
Done000
Total79685

Merged error: 0.0b

Counts
85 → 6
Compiler

Compiled 1384 to 1005 computations (27.4% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite107.0ms (2.9%)

Algorithm
rewrite-expression-head
Rules
449×times-frac_binary64_2130
381×*-un-lft-identity_binary64_2124
331×add-sqr-sqrt_binary64_2146
171×add-cube-cbrt_binary64_2159
132×associate-*l*_binary64_2065
74×difference-of-squares_binary64_2093
49×distribute-lft-out_binary64_2075
37×distribute-lft-out--_binary64_2076 difference-of-sqr-1_binary64_2094
36×associate-/r/_binary64_2070
31×add-exp-log_binary64_2162
21×associate-/l*_binary64_2069
19×add-cbrt-cube_binary64_2160
18×div-inv_binary64_2121
16×flip3-+_binary64_2127 flip-+_binary64_2098
14×div-exp_binary64_2175
11×associate-/r*_binary64_2068
cbrt-undiv_binary64_2158
pow1_binary64_2185
prod-exp_binary64_2173
unswap-sqr_binary64_2092
add-log-exp_binary64_2163 associate-*r*_binary64_2064 1-exp_binary64_2168 cbrt-unprod_binary64_2157 rec-exp_binary64_2174
flip--_binary64_2099 clear-num_binary64_2123 flip3--_binary64_2128 frac-2neg_binary64_2135
pow-prod-down_binary64_2195 *-commutative_binary64_2055 associate-*l/_binary64_2067 pow-flip_binary64_2198 associate-/l/_binary64_2071 inv-pow_binary64_2209
Counts
3 → 364
Calls

3 calls:

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

series122.0ms (3.3%)

Counts
3 → 9
Calls

3 calls:

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

simplify114.0ms (3.1%)

Algorithm
egg-herbie
Counts
373 → 373
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049437646
149437646

prune594.0ms (16%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New3712373
Fresh134
Picked101
Done011
Total3736379

Merged error: 0.0b

Counts
379 → 6
Compiler

Compiled 7947 to 6277 computations (21% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

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

rewrite43.0ms (1.1%)

Algorithm
rewrite-expression-head
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×distribute-lft-out--_binary64_2076 difference-of-sqr-1_binary64_2094
11×associate-/r*_binary64_2068
10×div-inv_binary64_2121
flip3-+_binary64_2127 flip-+_binary64_2098 add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
cbrt-undiv_binary64_2158 div-exp_binary64_2175
clear-num_binary64_2123 pow1_binary64_2185 add-log-exp_binary64_2163 frac-2neg_binary64_2135
flip--_binary64_2099 flip3--_binary64_2128 associate-/l/_binary64_2071
Counts
2 → 201
Calls

2 calls:

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

series76.0ms (2%)

Counts
2 → 6
Calls

2 calls:

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

simplify99.0ms (2.7%)

Algorithm
egg-herbie
Counts
207 → 207
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049285115
149285115

prune248.0ms (6.7%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New2061207
Fresh134
Picked011
Done011
Total2076213

Merged error: 0.0b

Counts
213 → 6
Compiler

Compiled 3931 to 3051 computations (22.4% saved)

regimes292.0ms (7.8%)

Compiler

Compiled 1144 to 974 computations (14.9% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01913
11913

end0.0ms (0%)

sample1.1s (29.9%)

Algorithm
intervals
Results
169.0ms2052×body512valid
143.0ms4516×body128valid
58.0ms998×body256valid
47.0ms434×body1024valid
Compiler

Compiled 581 to 496 computations (14.6% saved)

Profiling

Loading profile data...