Details

Time bar (total: 6.2s)

analyze2.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
100%0%0%1
Compiler

Compiled 13 to 13 computations (0% saved)

sample36.0ms (0.6%)

Algorithm
intervals
Results
16.0ms66×body2048valid
6.0ms133×body128valid
5.0ms27×body1024valid
3.0ms21×body512valid
1.0msbody256valid
Compiler

Compiled 25 to 26 computations (-4% saved)

simplify353.0ms (5.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
04515
14515

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 15.4b

Counts
2 → 1
Compiler

Compiled 20 to 20 computations (0% saved)

localize7.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(hypot.f64 1 x)
0.0b
(/.f64 1/2 (hypot.f64 1 x))
0.0b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
1.7b
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))

rewrite27.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64_1109 *-un-lft-identity_binary64_1088
13×add-cube-cbrt_binary64_1120
times-frac_binary64_1094
sqrt-prod_binary64_1103
add-cbrt-cube_binary64_1121 add-exp-log_binary64_1123 add-log-exp_binary64_1124
pow1_binary64_1146
difference-of-squares_binary64_1057
associate-/r*_binary64_1034 distribute-lft-out--_binary64_1042 associate-/l*_binary64_1035
sqrt-div_binary64_1104 distribute-lft-out_binary64_1041
clear-num_binary64_1087 frac-2neg_binary64_1099 rem-sqrt-square_binary64_1101 flip3--_binary64_1092 sub-neg_binary64_1081 flip--_binary64_1063 div-exp_binary64_1136 diff-log_binary64_1177 flip-+_binary64_1062 cbrt-undiv_binary64_1119 flip3-+_binary64_1091 sqrt-pow1_binary64_1105 div-inv_binary64_1085 pow1/2_binary64_1165
Counts
4 → 68
Calls

4 calls:

10.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
7.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
4.0ms
(/.f64 1/2 (hypot.f64 1 x))
1.0ms
(hypot.f64 1 x)

series258.0ms (4.2%)

Counts
4 → 12
Calls

4 calls:

119.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
96.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
39.0ms
(/.f64 1/2 (hypot.f64 1 x))
4.0ms
(hypot.f64 1 x)

simplify74.0ms (1.2%)

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
048391209
148391209

prune93.0ms (1.5%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New75580
Fresh000
Picked101
Done000
Total76581

Merged error: 14.9b

Counts
81 → 5
Compiler

Compiled 1340 to 1219 computations (9% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
0.0b
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
0.0b
(/.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
1.2b
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

rewrite54.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
77×*-un-lft-identity_binary64_1088
76×add-sqr-sqrt_binary64_1109
44×times-frac_binary64_1094
33×distribute-lft-out_binary64_1041
20×sqrt-prod_binary64_1103
19×add-cube-cbrt_binary64_1120
16×difference-of-squares_binary64_1057
add-log-exp_binary64_1124 distribute-lft-out--_binary64_1042
add-cbrt-cube_binary64_1121 associate-/r*_binary64_1034 add-exp-log_binary64_1123 associate-/l*_binary64_1035
pow1_binary64_1146
flip-+_binary64_1062 flip3-+_binary64_1091
flip3--_binary64_1092 associate-/l/_binary64_1037 flip--_binary64_1063 associate-/r/_binary64_1036 sqrt-div_binary64_1104
clear-num_binary64_1087 frac-2neg_binary64_1099 rem-sqrt-square_binary64_1101 sub-neg_binary64_1081 sum-log_binary64_1176 div-exp_binary64_1136 div-sub_binary64_1093 +-commutative_binary64_1020 diff-log_binary64_1177 cbrt-undiv_binary64_1119 sqrt-pow1_binary64_1105 div-inv_binary64_1085 pow1/2_binary64_1165
Counts
4 → 109
Calls

4 calls:

19.0ms
(/.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
9.0ms
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
7.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
7.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))

series589.0ms (9.6%)

Counts
4 → 12
Calls

4 calls:

326.0ms
(/.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
103.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
97.0ms
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
64.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

simplify76.0ms (1.2%)

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049743605
149743605

prune235.0ms (3.8%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1165121
Fresh404
Picked101
Done000
Total1215126

Merged error: 14.9b

Counts
126 → 5
Compiler

Compiled 3462 to 3116 computations (10% saved)

localize13.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
0.0b
(/.f64 (exp.f64 (log.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
0.1b
(exp.f64 (log.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
1.2b
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

rewrite67.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
103×*-un-lft-identity_binary64_1088
97×add-sqr-sqrt_binary64_1109
63×times-frac_binary64_1094
48×exp-sum_binary64_1131 log-prod_binary64_1171
44×distribute-lft-out_binary64_1041
30×add-cube-cbrt_binary64_1120
22×sqrt-prod_binary64_1103
18×difference-of-squares_binary64_1057
distribute-lft-out--_binary64_1042 associate-/l*_binary64_1035
add-log-exp_binary64_1124
add-cbrt-cube_binary64_1121 associate-/r*_binary64_1034
add-exp-log_binary64_1123 pow1_binary64_1146
exp-prod_binary64_1137 log-div_binary64_1172 exp-diff_binary64_1133
flip3--_binary64_1092 flip--_binary64_1063
associate-/l/_binary64_1037 associate-/r/_binary64_1036 flip-+_binary64_1062 flip3-+_binary64_1091
clear-num_binary64_1087 frac-2neg_binary64_1099 log-pow_binary64_1174 sub-neg_binary64_1081 rem-exp-log_binary64_1125 sum-log_binary64_1176 div-exp_binary64_1136 +-commutative_binary64_1020 diff-log_binary64_1177 cbrt-undiv_binary64_1119 div-inv_binary64_1085
Counts
4 → 133
Calls

4 calls:

22.0ms
(/.f64 (exp.f64 (log.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
9.0ms
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
8.0ms
(exp.f64 (log.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
7.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

series979.0ms (15.9%)

Counts
4 → 12
Calls

4 calls:

523.0ms
(/.f64 (exp.f64 (log.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
272.0ms
(exp.f64 (log.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
118.0ms
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
65.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

simplify104.0ms (1.7%)

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
048494493
148494493

prune272.0ms (4.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1414145
Fresh314
Picked011
Done000
Total1446150

Merged error: 14.9b

Counts
150 → 6
Compiler

Compiled 4283 to 3868 computations (9.7% saved)

localize19.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
0.1b
(exp.f64 (log.f64 (-.f64 (*.f64 1/2 1/2) (*.f64 (/.f64 1/2 (hypot.f64 1 x)) (/.f64 1/2 (hypot.f64 1 x))))))
0.1b
(*.f64 (/.f64 1/2 (hypot.f64 1 x)) (/.f64 1/2 (hypot.f64 1 x)))
1.2b
(-.f64 (*.f64 1/2 1/2) (*.f64 (/.f64 1/2 (hypot.f64 1 x)) (/.f64 1/2 (hypot.f64 1 x))))

rewrite61.0ms (1%)

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt_binary64_1109
43×*-un-lft-identity_binary64_1088
40×times-frac_binary64_1094
36×add-cube-cbrt_binary64_1120
19×associate-*r*_binary64_1030
18×add-cbrt-cube_binary64_1121 add-exp-log_binary64_1123
17×associate-*l*_binary64_1031
14×pow1_binary64_1146
13×swap-sqr_binary64_1055
flip-+_binary64_1062 add-log-exp_binary64_1124 flip3-+_binary64_1091
unswap-sqr_binary64_1056 cbrt-unprod_binary64_1118 frac-times_binary64_1098 prod-exp_binary64_1134 distribute-lft-out_binary64_1041
exp-sum_binary64_1131 log-prod_binary64_1171 exp-prod_binary64_1137 div-exp_binary64_1136 cbrt-undiv_binary64_1119 div-inv_binary64_1085
associate-*l/_binary64_1033 associate-*r/_binary64_1032
*-commutative_binary64_1021 flip3--_binary64_1092 sqrt-prod_binary64_1103 flip--_binary64_1063 log-div_binary64_1172 pow-prod-down_binary64_1156 exp-diff_binary64_1133 difference-of-squares_binary64_1057
pow-plus_binary64_1148 log-pow_binary64_1174 distribute-rgt-in_binary64_1040 pow2_binary64_1166 sub-neg_binary64_1081 rem-exp-log_binary64_1125 diff-log_binary64_1177 pow-sqr_binary64_1061 pow-prod-up_binary64_1155 distribute-lft-in_binary64_1039
Counts
4 → 129
Calls

4 calls:

20.0ms
(*.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
12.0ms
(*.f64 (/.f64 1/2 (hypot.f64 1 x)) (/.f64 1/2 (hypot.f64 1 x)))
6.0ms
(exp.f64 (log.f64 (-.f64 (*.f64 1/2 1/2) (*.f64 (/.f64 1/2 (hypot.f64 1 x)) (/.f64 1/2 (hypot.f64 1 x))))))
5.0ms
(-.f64 (*.f64 1/2 1/2) (*.f64 (/.f64 1/2 (hypot.f64 1 x)) (/.f64 1/2 (hypot.f64 1 x))))

series860.0ms (14%)

Counts
4 → 12
Calls

4 calls:

411.0ms
(exp.f64 (log.f64 (-.f64 (*.f64 1/2 1/2) (*.f64 (/.f64 1/2 (hypot.f64 1 x)) (/.f64 1/2 (hypot.f64 1 x))))))
224.0ms
(*.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
134.0ms
(-.f64 (*.f64 1/2 1/2) (*.f64 (/.f64 1/2 (hypot.f64 1 x)) (/.f64 1/2 (hypot.f64 1 x))))
91.0ms
(*.f64 (/.f64 1/2 (hypot.f64 1 x)) (/.f64 1/2 (hypot.f64 1 x)))

simplify91.0ms (1.5%)

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049492871
149492871

prune384.0ms (6.2%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1365141
Fresh314
Picked101
Done011
Total1407147

Merged error: 14.6b

Counts
147 → 7
Compiler

Compiled 5743 to 5149 computations (10.3% saved)

regimes50.0ms (0.8%)

Compiler

Compiled 560 to 518 computations (7.5% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03231
13231

end0.0ms (0%)

sample1.4s (23.3%)

Algorithm
intervals
Results
536.0ms2114×body2048valid
181.0ms978×body1024valid
180.0ms4158×body128valid
67.0ms489×body512valid
22.0ms261×body256valid
Compiler

Compiled 309 to 288 computations (6.8% saved)

Profiling

Loading profile data...