Details

Time bar (total: 4.5s)

analyze347.0ms (7.8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0202442
1202442
022
122
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%50%50%2
0%50%50%3
0%50%50%4
6.2%43.7%50%5
9.4%28.1%62.5%6
12.5%25%62.5%7
15.6%15.6%68.8%8
16.8%14.4%68.8%9
18.5%8.8%72.7%10
19.2%7.7%73.1%11
20.1%4.6%75.2%12
20.5%4%75.5%13
21%2.4%76.6%14
Compiler

Compiled 21 to 20 computations (4.8% saved)

sample24.0ms (0.5%)

Algorithm
intervals
Results
15.0ms256×body128valid
0.0msbody128invalid
0.0msbody128nan
Compiler

Compiled 41 to 41 computations (0% saved)

simplify72.0ms (1.6%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
0104921
1104921

prune5.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 48 to 45 computations (6.3% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 (-.f64 a 1/3) 9)
0.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))))
0.2b
(/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))
0.3b
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

rewrite45.0ms (1%)

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt_binary64_2146
23×*-un-lft-identity_binary64_2124
17×add-cube-cbrt_binary64_2159
12×times-frac_binary64_2130
11×pow1_binary64_2185
10×associate-*l*_binary64_2065 add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
associate-*l/_binary64_2067
associate-*r*_binary64_2064
flip--_binary64_2099 flip3--_binary64_2128
sqrt-prod_binary64_2140
sqrt-div_binary64_2141 associate-/r*_binary64_2068 add-log-exp_binary64_2163 frac-times_binary64_2134
pow-prod-down_binary64_2195 associate-/l*_binary64_2069 flip3-+_binary64_2127 flip-+_binary64_2098
difference-of-squares_binary64_2093 associate-/r/_binary64_2070 unswap-sqr_binary64_2092 distribute-lft-out--_binary64_2076 sqrt-pow1_binary64_2142 *-commutative_binary64_2055 prod-exp_binary64_2173 associate-*r/_binary64_2066 cbrt-unprod_binary64_2157
clear-num_binary64_2123 cbrt-undiv_binary64_2158 distribute-lft-out_binary64_2075 pow1/2_binary64_2204 distribute-rgt-in_binary64_2074 div-inv_binary64_2121 div-exp_binary64_2175 distribute-lft-in_binary64_2073 frac-2neg_binary64_2135
Counts
4 → 99
Calls

4 calls:

14.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))))
11.0ms
(/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))
7.0ms
(*.f64 (-.f64 a 1/3) 9)
5.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

series151.0ms (3.4%)

Counts
4 → 12
Calls

4 calls:

64.0ms
(/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))
47.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))))
21.0ms
(*.f64 (-.f64 a 1/3) 9)
19.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

simplify54.0ms (1.2%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
049542236
149542236

prune167.0ms (3.7%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1038111
Fresh101
Picked101
Done000
Total1058113
Error
0.0b
Counts
113 → 8
Compiler

Compiled 2627 to 2050 computations (22% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 1 (/.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)) rand))))
0.3b
(/.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)) rand)
0.3b
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))
0.7b
(/.f64 1 (/.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)) rand))

rewrite61.0ms (1.4%)

Algorithm
rewrite-expression-head
Rules
108×times-frac_binary64_2130
69×*-un-lft-identity_binary64_2124
68×add-sqr-sqrt_binary64_2146
64×add-cube-cbrt_binary64_2159
19×associate-/r*_binary64_2068 add-exp-log_binary64_2162
17×sqrt-prod_binary64_2140
13×add-cbrt-cube_binary64_2160
10×pow1_binary64_2185
div-exp_binary64_2175
associate-/l*_binary64_2069 div-inv_binary64_2121
associate-*l/_binary64_2067
flip--_binary64_2099 flip3--_binary64_2128 associate-*l*_binary64_2065 associate-*r*_binary64_2064
cbrt-undiv_binary64_2158 sqrt-div_binary64_2141 add-log-exp_binary64_2163 frac-times_binary64_2134
flip3-+_binary64_2127 flip-+_binary64_2098
pow-prod-down_binary64_2195 clear-num_binary64_2123 sqrt-pow1_binary64_2142 distribute-lft-out_binary64_2075 associate-*r/_binary64_2066 1-exp_binary64_2168 associate-/l/_binary64_2071 frac-2neg_binary64_2135 rec-exp_binary64_2174
difference-of-squares_binary64_2093 associate-/r/_binary64_2070 unswap-sqr_binary64_2092 distribute-lft-out--_binary64_2076 *-commutative_binary64_2055 prod-exp_binary64_2173 pow1/2_binary64_2204 distribute-rgt-in_binary64_2074 pow-flip_binary64_2198 inv-pow_binary64_2209 distribute-lft-in_binary64_2073 cbrt-unprod_binary64_2157
Counts
4 → 166
Calls

4 calls:

21.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 1 (/.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)) rand))))
12.0ms
(/.f64 1 (/.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)) rand))
7.0ms
(/.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)) rand)
5.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

series199.0ms (4.5%)

Counts
4 → 12
Calls

4 calls:

73.0ms
(/.f64 1 (/.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)) rand))
63.0ms
(/.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)) rand)
45.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 1 (/.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)) rand))))
18.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

simplify96.0ms (2.2%)

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
050094297

prune293.0ms (6.6%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1762178
Fresh167
Picked011
Done000
Total1779186
Error
0.0b
Counts
186 → 9
Compiler

Compiled 4581 to 3575 computations (22% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 a 1/3)
0.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 (/.f64 1 (sqrt.f64 (-.f64 a 1/3))) (/.f64 rand 3))))
0.3b
(/.f64 1 (sqrt.f64 (-.f64 a 1/3)))
0.3b
(*.f64 (/.f64 1 (sqrt.f64 (-.f64 a 1/3))) (/.f64 rand 3))

rewrite57.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
95×add-sqr-sqrt_binary64_2146
70×times-frac_binary64_2130
68×*-un-lft-identity_binary64_2124
46×add-cube-cbrt_binary64_2159
39×sqrt-prod_binary64_2140
35×associate-*l*_binary64_2065
32×add-exp-log_binary64_2162
20×add-cbrt-cube_binary64_2160
16×associate-*r*_binary64_2064
11×unswap-sqr_binary64_2092
10×pow1_binary64_2185 div-exp_binary64_2175
difference-of-squares_binary64_2093 distribute-lft-out--_binary64_2076 prod-exp_binary64_2173
associate-/r*_binary64_2068
flip--_binary64_2099 flip3--_binary64_2128 add-log-exp_binary64_2163
cbrt-undiv_binary64_2158 frac-times_binary64_2134 cbrt-unprod_binary64_2157
associate-/r/_binary64_2070 sqrt-div_binary64_2141
cancel-sign-sub-inv_binary64_2090 associate-/l*_binary64_2069 associate-*l/_binary64_2067 pow-flip_binary64_2198 associate-*r/_binary64_2066 flip3-+_binary64_2127 flip-+_binary64_2098 1-exp_binary64_2168 div-inv_binary64_2121 rec-exp_binary64_2174
pow-prod-down_binary64_2195 *-commutative_binary64_2055
clear-num_binary64_2123 sqrt-pow1_binary64_2142 diff-log_binary64_2216 pow1/2_binary64_2204 distribute-rgt-in_binary64_2074 sub-neg_binary64_2117 inv-pow_binary64_2209 distribute-lft-in_binary64_2073 frac-2neg_binary64_2135
Counts
4 → 178
Calls

4 calls:

18.0ms
(*.f64 (/.f64 1 (sqrt.f64 (-.f64 a 1/3))) (/.f64 rand 3))
10.0ms
(/.f64 1 (sqrt.f64 (-.f64 a 1/3)))
9.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 (/.f64 1 (sqrt.f64 (-.f64 a 1/3))) (/.f64 rand 3))))
4.0ms
(-.f64 a 1/3)

series151.0ms (3.4%)

Counts
4 → 12
Calls

4 calls:

69.0ms
(*.f64 (/.f64 1 (sqrt.f64 (-.f64 a 1/3))) (/.f64 rand 3))
49.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 (/.f64 1 (sqrt.f64 (-.f64 a 1/3))) (/.f64 rand 3))))
20.0ms
(/.f64 1 (sqrt.f64 (-.f64 a 1/3)))
14.0ms
(-.f64 a 1/3)

simplify70.0ms (1.6%)

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
049833436
149833436

prune296.0ms (6.6%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1873190
Fresh437
Picked101
Done011
Total1927199
Error
0b
Counts
199 → 7
Compiler

Compiled 4453 to 3596 computations (19.2% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 a 1/3)
0.0b
(-.f64 a 1/3)
0.0b
(+.f64 (-.f64 a 1/3) (*.f64 (sqrt.f64 (-.f64 a 1/3)) (/.f64 rand 3)))
0.3b
(*.f64 (sqrt.f64 (-.f64 a 1/3)) (/.f64 rand 3))

rewrite34.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt_binary64_2146
22×*-un-lft-identity_binary64_2124
16×add-cube-cbrt_binary64_2159
13×flip--_binary64_2099 flip3--_binary64_2128 add-log-exp_binary64_2163 associate-*r*_binary64_2064
12×sqrt-div_binary64_2141
11×times-frac_binary64_2130
10×frac-add_binary64_2132
cancel-sign-sub-inv_binary64_2090 add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
associate-*l*_binary64_2065
sqrt-prod_binary64_2140
pow1_binary64_2185 associate-*l/_binary64_2067 frac-times_binary64_2134
unswap-sqr_binary64_2092 associate-+l+_binary64_2057
difference-of-squares_binary64_2093 distribute-lft-out--_binary64_2076 diff-log_binary64_2216 sub-neg_binary64_2117 associate-*r/_binary64_2066
sum-log_binary64_2215 prod-exp_binary64_2173 cbrt-unprod_binary64_2157
pow-prod-down_binary64_2195 cbrt-undiv_binary64_2158 associate-+l-_binary64_2059 *-commutative_binary64_2055 distribute-lft-out_binary64_2075 +-commutative_binary64_2054 flip3-+_binary64_2127 flip-+_binary64_2098 div-inv_binary64_2121 div-exp_binary64_2175
Counts
4 → 103
Calls

4 calls:

11.0ms
(*.f64 (sqrt.f64 (-.f64 a 1/3)) (/.f64 rand 3))
7.0ms
(+.f64 (-.f64 a 1/3) (*.f64 (sqrt.f64 (-.f64 a 1/3)) (/.f64 rand 3)))
4.0ms
(-.f64 a 1/3)
3.0ms
(-.f64 a 1/3)

series120.0ms (2.7%)

Counts
4 → 12
Calls

4 calls:

54.0ms
(*.f64 (sqrt.f64 (-.f64 a 1/3)) (/.f64 rand 3))
41.0ms
(+.f64 (-.f64 a 1/3) (*.f64 (sqrt.f64 (-.f64 a 1/3)) (/.f64 rand 3)))
13.0ms
(-.f64 a 1/3)
12.0ms
(-.f64 a 1/3)

simplify82.0ms (1.8%)

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049302197
149302197

prune125.0ms (2.8%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1123115
Fresh415
Picked011
Done011
Total1166122
Error
0b
Counts
122 → 6
Compiler

Compiled 2276 to 1700 computations (25.3% saved)

regimes363.0ms (8.1%)

Accuracy

Total 0.1b remaining (98.9%)

Threshold costs 0.1b (98.9%)

Compiler

Compiled 4062 to 3646 computations (10.2% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02218
12218

end0.0ms (0%)

sample1.6s (36.1%)

Algorithm
intervals
Results
465.0ms8000×body128valid
16.0ms246×body128invalid
13.0ms252×body128nan
Compiler

Compiled 1035 to 930 computations (10.1% saved)

Profiling

Loading profile data...