Details

Time bar (total: 4.2s)

analyze80.0ms (1.9%)

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.6%)

Algorithm
intervals
Results
15.0ms256×body128valid
1.0ms11×body128nan
0.0msbody128invalid
Compiler

Compiled 41 to 41 computations (0% saved)

simplify225.0ms (5.4%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
0103021
1103021

prune7.0ms (0.2%)

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

rewrite51.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt_binary64_1133
23×*-un-lft-identity_binary64_1111
17×add-cube-cbrt_binary64_1146
12×times-frac_binary64_1117
11×pow1_binary64_1172
10×add-cbrt-cube_binary64_1147 associate-*l*_binary64_1052 add-exp-log_binary64_1149
associate-*l/_binary64_1054
associate-*r*_binary64_1051
flip3--_binary64_1115 flip--_binary64_1086
sqrt-prod_binary64_1127
sqrt-div_binary64_1128 frac-times_binary64_1121 associate-/r*_binary64_1055 add-log-exp_binary64_1150
flip-+_binary64_1085 associate-/l*_binary64_1056 flip3-+_binary64_1114 pow-prod-down_binary64_1182
*-commutative_binary64_1042 prod-exp_binary64_1160 cbrt-unprod_binary64_1144 unswap-sqr_binary64_1079 difference-of-squares_binary64_1080 sqrt-pow1_binary64_1129 distribute-lft-out--_binary64_1063 associate-*r/_binary64_1053 associate-/r/_binary64_1057
pow1/2_binary64_1191 div-inv_binary64_1108 distribute-lft-in_binary64_1060 frac-2neg_binary64_1122 div-exp_binary64_1162 cbrt-undiv_binary64_1145 distribute-lft-out_binary64_1062 distribute-rgt-in_binary64_1061 clear-num_binary64_1110
Counts
4 → 99
Calls

4 calls:

20.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))))
10.0ms
(/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))
7.0ms
(*.f64 (-.f64 a 1/3) 9)
6.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

series306.0ms (7.3%)

Counts
4 → 12
Calls

4 calls:

138.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)))))
42.0ms
(*.f64 (-.f64 a 1/3) 9)
36.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

simplify51.0ms (1.2%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
054782236

prune314.0ms (7.5%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1065111
Fresh101
Picked101
Done000
Total1085113

Merged error: 0.0b

Counts
113 → 5
Compiler

Compiled 4968 to 4123 computations (17% 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.2b
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))
0.2b
(/.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)) rand)
0.8b
(/.f64 1 (/.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)) rand))

rewrite71.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
108×times-frac_binary64_1117
69×*-un-lft-identity_binary64_1111
68×add-sqr-sqrt_binary64_1133
64×add-cube-cbrt_binary64_1146
19×associate-/r*_binary64_1055 add-exp-log_binary64_1149
17×sqrt-prod_binary64_1127
13×add-cbrt-cube_binary64_1147
10×pow1_binary64_1172
div-exp_binary64_1162
div-inv_binary64_1108 associate-/l*_binary64_1056
associate-*l/_binary64_1054
flip3--_binary64_1115 associate-*r*_binary64_1051 associate-*l*_binary64_1052 flip--_binary64_1086
sqrt-div_binary64_1128 frac-times_binary64_1121 cbrt-undiv_binary64_1145 add-log-exp_binary64_1150
flip-+_binary64_1085 flip3-+_binary64_1114
frac-2neg_binary64_1122 associate-/l/_binary64_1058 1-exp_binary64_1155 rec-exp_binary64_1161 pow-prod-down_binary64_1182 distribute-lft-out_binary64_1062 sqrt-pow1_binary64_1129 clear-num_binary64_1110 associate-*r/_binary64_1053
pow1/2_binary64_1191 *-commutative_binary64_1042 prod-exp_binary64_1160 cbrt-unprod_binary64_1144 distribute-lft-in_binary64_1060 pow-flip_binary64_1185 unswap-sqr_binary64_1079 difference-of-squares_binary64_1080 distribute-rgt-in_binary64_1061 distribute-lft-out--_binary64_1063 inv-pow_binary64_1196 associate-/r/_binary64_1057
Counts
4 → 166
Calls

4 calls:

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

series386.0ms (9.2%)

Counts
4 → 12
Calls

4 calls:

149.0ms
(/.f64 1 (/.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)) rand))
117.0ms
(/.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)) rand)
86.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 1 (/.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)) rand))))
33.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

simplify88.0ms (2.1%)

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
049434358
149434358

prune279.0ms (6.6%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1771178
Fresh044
Picked011
Done000
Total1776183

Merged error: 0b

Counts
183 → 6
Compiler

Compiled 4771 to 3711 computations (22.2% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite50.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt_binary64_1133
28×*-un-lft-identity_binary64_1111
25×times-frac_binary64_1117
24×add-cube-cbrt_binary64_1146
21×associate-*r*_binary64_1051
13×add-cbrt-cube_binary64_1147 add-exp-log_binary64_1149
11×pow1_binary64_1172
10×associate-*l/_binary64_1054 associate-*l*_binary64_1052
sqrt-prod_binary64_1127
sqrt-div_binary64_1128 flip3--_binary64_1115 flip--_binary64_1086
associate-/r*_binary64_1055 add-log-exp_binary64_1150 associate-/r/_binary64_1057
prod-exp_binary64_1160 cbrt-unprod_binary64_1144 associate-/l*_binary64_1056 pow-prod-down_binary64_1182 unswap-sqr_binary64_1079
*-commutative_binary64_1042 div-inv_binary64_1108 frac-times_binary64_1121 div-exp_binary64_1162 cbrt-undiv_binary64_1145 difference-of-squares_binary64_1080 sqrt-pow1_binary64_1129 distribute-lft-out--_binary64_1063
pow1/2_binary64_1191 frac-2neg_binary64_1122 clear-num_binary64_1110 associate-*r/_binary64_1053
Counts
4 → 111
Calls

4 calls:

18.0ms
(*.f64 (-.f64 a 1/3) (/.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)
5.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

series319.0ms (7.6%)

Counts
4 → 12
Calls

4 calls:

126.0ms
(*.f64 (-.f64 a 1/3) (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9))))
116.0ms
(/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))
43.0ms
(*.f64 (-.f64 a 1/3) 9)
34.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

simplify67.0ms (1.6%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
050222404

prune204.0ms (4.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1212123
Fresh224
Picked101
Done011
Total1245129

Merged error: 0b

Counts
129 → 5
Compiler

Compiled 3564 to 2719 computations (23.7% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (-.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)))

rewrite90.0ms (2.1%)

Algorithm
rewrite-expression-head
Rules
148×add-sqr-sqrt_binary64_1133
117×*-un-lft-identity_binary64_1111
110×times-frac_binary64_1117
75×sqrt-prod_binary64_1127
59×add-cube-cbrt_binary64_1146
46×associate-*l*_binary64_1052
29×difference-of-squares_binary64_1080 distribute-lft-out--_binary64_1063
22×associate-*r*_binary64_1051
18×add-cbrt-cube_binary64_1147 add-exp-log_binary64_1149
10×pow1_binary64_1172
unswap-sqr_binary64_1079 add-log-exp_binary64_1150
associate-/r*_binary64_1055
flip3--_binary64_1115 flip--_binary64_1086
sqrt-div_binary64_1128 frac-add_binary64_1119
associate-/l*_binary64_1056 div-exp_binary64_1162 cbrt-undiv_binary64_1145
prod-exp_binary64_1160 cbrt-unprod_binary64_1144 associate-+l+_binary64_1044 associate-/r/_binary64_1057
associate-*l/_binary64_1054 div-inv_binary64_1108 cancel-sign-sub-inv_binary64_1077 frac-times_binary64_1121 associate-*r/_binary64_1053
pow1/2_binary64_1191 associate-/l/_binary64_1058 sqrt-pow1_binary64_1129 sum-log_binary64_1202 pow-div_binary64_1186
*-commutative_binary64_1042 associate-+l-_binary64_1046 rem-sqrt-square_binary64_1124 flip-+_binary64_1085 frac-2neg_binary64_1122 diff-log_binary64_1203 flip3-+_binary64_1114 +-commutative_binary64_1041 pow-prod-down_binary64_1182 sub-neg_binary64_1104 clear-num_binary64_1110 div-sub_binary64_1116
Counts
4 → 209
Calls

4 calls:

37.0ms
(*.f64 (/.f64 (-.f64 a 1/3) (sqrt.f64 (-.f64 a 1/3))) (/.f64 rand (sqrt.f64 9)))
14.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
(sqrt.f64 (-.f64 a 1/3))

series274.0ms (6.5%)

Counts
4 → 12
Calls

4 calls:

114.0ms
(*.f64 (/.f64 (-.f64 a 1/3) (sqrt.f64 (-.f64 a 1/3))) (/.f64 rand (sqrt.f64 9)))
85.0ms
(+.f64 (-.f64 a 1/3) (*.f64 (/.f64 (-.f64 a 1/3) (sqrt.f64 (-.f64 a 1/3))) (/.f64 rand (sqrt.f64 9))))
44.0ms
(/.f64 (-.f64 a 1/3) (sqrt.f64 (-.f64 a 1/3)))
32.0ms
(sqrt.f64 (-.f64 a 1/3))

simplify95.0ms (2.3%)

Algorithm
egg-herbie
Counts
221 → 221
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049234585
149234585

prune355.0ms (8.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2201221
Fresh123
Picked101
Done011
Total2224226

Merged error: 0b

Counts
226 → 4
Compiler

Compiled 5773 to 4491 computations (22.2% saved)

regimes32.0ms (0.8%)

Compiler

Compiled 126 to 122 computations (3.2% saved)

bsearch0.0ms (0%)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02624
12624

end0.0ms (0%)

sample796.0ms (18.9%)

Algorithm
intervals
Results
481.0ms8000×body128valid
15.0ms254×body128invalid
13.0ms231×body128nan
Compiler

Compiled 98 to 94 computations (4.1% saved)

Profiling

Loading profile data...