Details

Time bar (total: 4.2s)

analyze77.0ms (1.8%)

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

sample23.0ms (0.5%)

Algorithm
intervals
Results
14.0ms256×body128valid
1.0ms11×body128invalid
0.0msbody128nan
Compiler

Compiled 41 to 41 computations (0% saved)

simplify231.0ms (5.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
0103021
1103021

prune6.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2
Compiler

Compiled 82 to 77 computations (6.1% 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))

rewrite52.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt_binary64_2165
23×*-un-lft-identity_binary64_2143
17×add-cube-cbrt_binary64_2178
12×times-frac_binary64_2149
11×pow1_binary64_2204
10×add-exp-log_binary64_2181 associate-*l*_binary64_2084 add-cbrt-cube_binary64_2179
associate-*l/_binary64_2086
associate-*r*_binary64_2083
flip--_binary64_2118 flip3--_binary64_2147
sqrt-prod_binary64_2159
sqrt-div_binary64_2160 add-log-exp_binary64_2182 associate-/r*_binary64_2087 frac-times_binary64_2153
associate-/l*_binary64_2088 pow-prod-down_binary64_2214 flip3-+_binary64_2146 flip-+_binary64_2117
associate-/r/_binary64_2089 distribute-lft-out--_binary64_2095 cbrt-unprod_binary64_2176 prod-exp_binary64_2192 associate-*r/_binary64_2085 unswap-sqr_binary64_2111 sqrt-pow1_binary64_2161 *-commutative_binary64_2074 difference-of-squares_binary64_2112
pow1/2_binary64_2223 cbrt-undiv_binary64_2177 clear-num_binary64_2142 distribute-rgt-in_binary64_2093 div-inv_binary64_2140 distribute-lft-out_binary64_2094 distribute-lft-in_binary64_2092 div-exp_binary64_2194 frac-2neg_binary64_2154
Counts
4 → 99
Calls

4 calls:

17.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))))
9.0ms
(/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))
8.0ms
(*.f64 (-.f64 a 1/3) 9)
6.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

series297.0ms (7%)

Counts
4 → 12
Calls

4 calls:

127.0ms
(/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))
89.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))))
43.0ms
(*.f64 (-.f64 a 1/3) 9)
38.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

simplify52.0ms (1.2%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
054782236

prune396.0ms (9.4%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1047111
Fresh101
Picked011
Done000
Total1058113

Merged error: 0.0b

Counts
113 → 8
Compiler

Compiled 6621 to 5584 computations (15.7% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (-.f64 a 1/3) (*.f64 (-.f64 a 1/3) (/.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))
5.6b
(*.f64 (-.f64 a 1/3) (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9))))

rewrite53.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt_binary64_2165
25×times-frac_binary64_2149 *-un-lft-identity_binary64_2143
23×add-cube-cbrt_binary64_2178
18×associate-*r*_binary64_2083
14×flip--_binary64_2118 flip3--_binary64_2147
12×associate-*l/_binary64_2086
11×add-exp-log_binary64_2181 add-cbrt-cube_binary64_2179
10×frac-add_binary64_2151
pow1_binary64_2204 add-log-exp_binary64_2182
sqrt-prod_binary64_2159
sqrt-div_binary64_2160 frac-times_binary64_2153
associate-*l*_binary64_2084
associate-/r/_binary64_2089 associate-/r*_binary64_2087 associate-+l+_binary64_2076
associate-/l*_binary64_2088 associate-*r/_binary64_2085 cancel-sign-sub-inv_binary64_2109
cbrt-undiv_binary64_2177 div-inv_binary64_2140 cbrt-unprod_binary64_2176 sum-log_binary64_2234 pow-prod-down_binary64_2214 prod-exp_binary64_2192 unswap-sqr_binary64_2111 sqrt-pow1_binary64_2161 div-exp_binary64_2194
pow1/2_binary64_2223 +-commutative_binary64_2073 diff-log_binary64_2235 clear-num_binary64_2142 sub-neg_binary64_2136 associate-+l-_binary64_2078 distribute-lft-out--_binary64_2095 flip3-+_binary64_2146 flip-+_binary64_2117 *-commutative_binary64_2074 difference-of-squares_binary64_2112 frac-2neg_binary64_2154
Counts
4 → 116
Calls

4 calls:

18.0ms
(*.f64 (-.f64 a 1/3) (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9))))
9.0ms
(+.f64 (-.f64 a 1/3) (*.f64 (-.f64 a 1/3) (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))))
8.0ms
(/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))
5.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

series381.0ms (9.1%)

Counts
4 → 12
Calls

4 calls:

135.0ms
(/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))
112.0ms
(*.f64 (-.f64 a 1/3) (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9))))
99.0ms
(+.f64 (-.f64 a 1/3) (*.f64 (-.f64 a 1/3) (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))))
34.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

simplify78.0ms (1.8%)

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
049693316
149693316

prune254.0ms (6%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1271128
Fresh426
Picked011
Done101
Total1324136

Merged error: 0b

Counts
136 → 4
Compiler

Compiled 4713 to 3655 computations (22.4% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(-.f64 a 1/3)
0.0b
(+.f64 (-.f64 a 1/3) (*.f64 (/.f64 (-.f64 a 1/3) (sqrt.f64 (-.f64 a 1/3))) (/.f64 rand (sqrt.f64 9))))
0.4b
(*.f64 (/.f64 (-.f64 a 1/3) (sqrt.f64 (-.f64 a 1/3))) (/.f64 rand (sqrt.f64 9)))
0.5b
(/.f64 (-.f64 a 1/3) (sqrt.f64 (-.f64 a 1/3)))

rewrite91.0ms (2.2%)

Algorithm
rewrite-expression-head
Rules
147×add-sqr-sqrt_binary64_2165
117×*-un-lft-identity_binary64_2143
110×times-frac_binary64_2149
70×sqrt-prod_binary64_2159
59×add-cube-cbrt_binary64_2178
46×associate-*l*_binary64_2084
29×distribute-lft-out--_binary64_2095 difference-of-squares_binary64_2112
22×associate-*r*_binary64_2083
18×add-exp-log_binary64_2181 add-cbrt-cube_binary64_2179
11×add-log-exp_binary64_2182
pow1_binary64_2204 unswap-sqr_binary64_2111
associate-/r*_binary64_2087
flip--_binary64_2118 flip3--_binary64_2147
cancel-sign-sub-inv_binary64_2109 frac-add_binary64_2151
cbrt-undiv_binary64_2177 associate-/l*_binary64_2088 div-exp_binary64_2194
sqrt-div_binary64_2160 associate-/r/_binary64_2089 cbrt-unprod_binary64_2176 associate-+l+_binary64_2076 prod-exp_binary64_2192
frac-times_binary64_2153 div-inv_binary64_2140 associate-*l/_binary64_2086 associate-*r/_binary64_2085
diff-log_binary64_2235 sub-neg_binary64_2136 pow-div_binary64_2218 sum-log_binary64_2234 associate-/l/_binary64_2090
pow1/2_binary64_2223 +-commutative_binary64_2073 clear-num_binary64_2142 associate-+l-_binary64_2078 pow-prod-down_binary64_2214 flip3-+_binary64_2146 sqrt-pow1_binary64_2161 flip-+_binary64_2117 *-commutative_binary64_2074 frac-2neg_binary64_2154 div-sub_binary64_2148
Counts
4 → 208
Calls

4 calls:

40.0ms
(*.f64 (/.f64 (-.f64 a 1/3) (sqrt.f64 (-.f64 a 1/3))) (/.f64 rand (sqrt.f64 9)))
11.0ms
(/.f64 (-.f64 a 1/3) (sqrt.f64 (-.f64 a 1/3)))
9.0ms
(+.f64 (-.f64 a 1/3) (*.f64 (/.f64 (-.f64 a 1/3) (sqrt.f64 (-.f64 a 1/3))) (/.f64 rand (sqrt.f64 9))))
4.0ms
(-.f64 a 1/3)

series404.0ms (9.6%)

Counts
4 → 12
Calls

4 calls:

245.0ms
(*.f64 (/.f64 (-.f64 a 1/3) (sqrt.f64 (-.f64 a 1/3))) (/.f64 rand (sqrt.f64 9)))
93.0ms
(+.f64 (-.f64 a 1/3) (*.f64 (/.f64 (-.f64 a 1/3) (sqrt.f64 (-.f64 a 1/3))) (/.f64 rand (sqrt.f64 9))))
39.0ms
(/.f64 (-.f64 a 1/3) (sqrt.f64 (-.f64 a 1/3)))
27.0ms
(-.f64 a 1/3)

simplify96.0ms (2.3%)

Algorithm
egg-herbie
Counts
220 → 220
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049284400
149284400

prune364.0ms (8.6%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New2191220
Fresh022
Picked011
Done011
Total2195224

Merged error: 0b

Counts
224 → 5
Compiler

Compiled 5665 to 4407 computations (22.2% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite43.0ms (1%)

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity_binary64_2143
21×add-sqr-sqrt_binary64_2165
13×add-cube-cbrt_binary64_2178
12×sqrt-prod_binary64_2159
11×add-log-exp_binary64_2182 add-exp-log_binary64_2181 add-cbrt-cube_binary64_2179
associate-*l*_binary64_2084
pow1_binary64_2204 associate-/r*_binary64_2087 cancel-sign-sub-inv_binary64_2109 times-frac_binary64_2149
sqrt-div_binary64_2160 flip--_binary64_2118 associate-+l+_binary64_2076 flip3--_binary64_2147 associate-*l/_binary64_2086
associate-*r*_binary64_2083 distribute-lft-out--_binary64_2095
cbrt-undiv_binary64_2177 diff-log_binary64_2235 sub-neg_binary64_2136 cbrt-unprod_binary64_2176 sum-log_binary64_2234 prod-exp_binary64_2192 distribute-lft-out_binary64_2094 unswap-sqr_binary64_2111 difference-of-squares_binary64_2112 div-exp_binary64_2194 associate-/l/_binary64_2090 frac-add_binary64_2151
+-commutative_binary64_2073 clear-num_binary64_2142 associate-/l*_binary64_2088 associate-+l-_binary64_2078 div-inv_binary64_2140 pow-prod-down_binary64_2214 flip3-+_binary64_2146 flip-+_binary64_2117 *-commutative_binary64_2074 frac-2neg_binary64_2154
Counts
4 → 92
Calls

4 calls:

12.0ms
(/.f64 (*.f64 (sqrt.f64 (-.f64 a 1/3)) rand) (sqrt.f64 9))
11.0ms
(+.f64 (-.f64 a 1/3) (/.f64 (*.f64 (sqrt.f64 (-.f64 a 1/3)) rand) (sqrt.f64 9)))
8.0ms
(*.f64 (sqrt.f64 (-.f64 a 1/3)) rand)
4.0ms
(-.f64 a 1/3)

series278.0ms (6.6%)

Counts
4 → 12
Calls

4 calls:

103.0ms
(/.f64 (*.f64 (sqrt.f64 (-.f64 a 1/3)) rand) (sqrt.f64 9))
85.0ms
(*.f64 (sqrt.f64 (-.f64 a 1/3)) rand)
65.0ms
(+.f64 (-.f64 a 1/3) (/.f64 (*.f64 (sqrt.f64 (-.f64 a 1/3)) rand) (sqrt.f64 9)))
25.0ms
(-.f64 a 1/3)

simplify62.0ms (1.5%)

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
049091790
149091790

prune128.0ms (3%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1040104
Fresh022
Picked011
Done022
Total1045109

Merged error: 0b

Counts
109 → 5
Compiler

Compiled 2173 to 1659 computations (23.7% saved)

regimes26.0ms (0.6%)

Compiler

Compiled 168 to 156 computations (7.1% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02318
12318

end0.0ms (0%)

sample780.0ms (18.5%)

Algorithm
intervals
Results
468.0ms8000×body128valid
17.0ms267×body128nan
15.0ms259×body128invalid
Compiler

Compiled 115 to 107 computations (7% saved)

Profiling

Loading profile data...