Details

Time bar (total: 15.1s)

analyze2.4s (15.9%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05015432
066
166
Search
TrueOtherFalseIter
0%99.7%0.3%0
0%99.7%0.3%1
0%99.7%0.3%2
0%99.7%0.3%3
0%99.7%0.3%4
0%99.7%0.3%5
0%99.7%0.3%6
0%99.7%0.3%7
0%99.7%0.3%8
0%99.7%0.3%9
0%99.7%0.3%10
0%99.7%0.3%11
0%99.7%0.3%12
5.1%94.6%0.3%13
7%92.7%0.3%14
Compiler

Compiled 19 to 19 computations (0% saved)

sample60.0ms (0.4%)

Algorithm
intervals
Results
19.0ms256×body128valid
6.0ms90×body128nan
3.0ms37×body128invalid
Compiler

Compiled 37 to 43 computations (-16.2% saved)

simplify44.0ms (0.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
0610027

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 36 to 36 computations (0% saved)

localize21.0ms (0.1%)

Local error

Found 4 expressions with local error:

1.9b
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))
3.8b
(/.f64 (*.f64 M D) (*.f64 2 d))
5.2b
(sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))
11.0b
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))

rewrite221.0ms (1.5%)

Algorithm
rewrite-expression-head
Error
8.4b
Rules
67×add-exp-log_binary64_1139
38×add-sqr-sqrt_binary64_1123
27×prod-exp_binary64_1150
23×add-cbrt-cube_binary64_1137
19×div-exp_binary64_1152 associate-*r*_binary64_1041
17×add-cube-cbrt_binary64_1136 *-un-lft-identity_binary64_1101
15×times-frac_binary64_1107
13×associate-*l*_binary64_1042
10×pow-exp_binary64_1169 unswap-sqr_binary64_1069
pow1_binary64_1162 cbrt-unprod_binary64_1134 unpow-prod-down_binary64_1180 sqrt-prod_binary64_1117
cbrt-undiv_binary64_1135
add-log-exp_binary64_1140 sqrt-div_binary64_1118
unpow2_binary64_1166 sqr-pow_binary64_1073 associate-*r/_binary64_1043 div-inv_binary64_1098
pow-to-exp_binary64_1170 *-commutative_binary64_1032 flip3--_binary64_1105 flip--_binary64_1076
pow1/2_binary64_1181 sqrt-pow1_binary64_1119 rem-sqrt-square_binary64_1114 frac-2neg_binary64_1112 clear-num_binary64_1100 associate-/l*_binary64_1046 associate-/r*_binary64_1045 pow-prod-down_binary64_1172
Counts
4 → 116
Calls

4 calls:

12.0ms
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))
8.0ms
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))
6.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))
4.0ms
(sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))
Compiler

Compiled 3444 to 1962 computations (43% saved)

series1.4s (9.3%)

Error
6.7b
Counts
4 → 57
Calls

4 calls:

539.0ms
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))
458.0ms
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))
238.0ms
(sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))
121.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))
Compiler

Compiled 3306 to 2982 computations (9.8% saved)

simplify68.0ms (0.5%)

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
053853695

prune198.0ms (1.3%)

Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New16211173
Fresh000
Picked101
Done000
Total16311174
Error
4.5b
Counts
174 → 11
Compiler

Compiled 4053 to 2202 computations (45.7% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

3.8b
(/.f64 (*.f64 M D) (*.f64 2 d))
4.2b
(*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2))
4.2b
(/.f64 (*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) l)
5.2b
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) l)))

rewrite167.0ms (1.1%)

Algorithm
rewrite-expression-head
Error
4.1b
Rules
67×add-exp-log_binary64_1139
26×prod-exp_binary64_1150
23×add-cbrt-cube_binary64_1137
20×add-sqr-sqrt_binary64_1123 div-exp_binary64_1152
13×*-un-lft-identity_binary64_1101
10×add-cube-cbrt_binary64_1136 pow-exp_binary64_1169 associate-*r*_binary64_1041
sqrt-prod_binary64_1117 cbrt-undiv_binary64_1135 cbrt-unprod_binary64_1134 unpow-prod-down_binary64_1180
pow1_binary64_1162 times-frac_binary64_1107
add-log-exp_binary64_1140 associate-/r*_binary64_1045 unswap-sqr_binary64_1069
div-inv_binary64_1098 associate-*l*_binary64_1042
sqrt-div_binary64_1118 difference-of-squares_binary64_1070 pow-to-exp_binary64_1170 frac-2neg_binary64_1112 clear-num_binary64_1100 associate-/l*_binary64_1046 unpow2_binary64_1166 sqr-pow_binary64_1073
pow1/2_binary64_1181 sqrt-pow1_binary64_1119 flip3--_binary64_1105 flip--_binary64_1076 distribute-lft-out--_binary64_1053 rem-sqrt-square_binary64_1114 *-commutative_binary64_1032
Counts
4 → 99
Calls

4 calls:

8.0ms
(*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2))
7.0ms
(/.f64 (*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) l)
7.0ms
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) l)))
6.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))
Compiler

Compiled 2731 to 1689 computations (38.2% saved)

series1.3s (8.5%)

Error
4.3b
Counts
4 → 51
Calls

4 calls:

534.0ms
(/.f64 (*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) l)
340.0ms
(*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2))
235.0ms
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) l)))
131.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))
Compiler

Compiled 3091 to 2803 computations (9.3% saved)

simplify58.0ms (0.4%)

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
049872858
149872858

prune184.0ms (1.2%)

Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1464150
Fresh1910
Picked101
Done000
Total14813161
Error
3.2b
Counts
161 → 13
Compiler

Compiled 3465 to 2127 computations (38.6% saved)

localize18.0ms (0.1%)

Local error

Found 4 expressions with local error:

3.8b
(/.f64 (*.f64 M D) (*.f64 2 d))
4.2b
(/.f64 (*.f64 (*.f64 h (/.f64 (*.f64 M D) (*.f64 2 d))) (/.f64 (*.f64 M D) (*.f64 2 d))) l)
5.2b
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 (*.f64 h (/.f64 (*.f64 M D) (*.f64 2 d))) (/.f64 (*.f64 M D) (*.f64 2 d))) l)))
6.6b
(*.f64 h (/.f64 (*.f64 M D) (*.f64 2 d)))

rewrite306.0ms (2%)

Algorithm
rewrite-expression-head
Error
3.2b
Rules
239×add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
112×prod-exp_binary64_1150 cbrt-unprod_binary64_1134
83×div-exp_binary64_1152 cbrt-undiv_binary64_1135
15×add-sqr-sqrt_binary64_1123
12×*-un-lft-identity_binary64_1101
add-cube-cbrt_binary64_1136
pow1_binary64_1162
sqrt-prod_binary64_1117
associate-*r*_binary64_1041 times-frac_binary64_1107
add-log-exp_binary64_1140 associate-*r/_binary64_1043 associate-/r*_binary64_1045
associate-*l*_binary64_1042 div-inv_binary64_1098 associate-/l/_binary64_1048
sqrt-div_binary64_1118 difference-of-squares_binary64_1070 frac-2neg_binary64_1112 clear-num_binary64_1100 associate-/l*_binary64_1046
pow-prod-down_binary64_1172 unswap-sqr_binary64_1069 *-commutative_binary64_1032 pow1/2_binary64_1181 sqrt-pow1_binary64_1119 flip3--_binary64_1105 flip--_binary64_1076 distribute-lft-out--_binary64_1053 rem-sqrt-square_binary64_1114 frac-times_binary64_1111 associate-*l/_binary64_1044
Counts
4 → 150
Calls

4 calls:

18.0ms
(/.f64 (*.f64 (*.f64 h (/.f64 (*.f64 M D) (*.f64 2 d))) (/.f64 (*.f64 M D) (*.f64 2 d))) l)
9.0ms
(*.f64 h (/.f64 (*.f64 M D) (*.f64 2 d)))
9.0ms
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 (*.f64 h (/.f64 (*.f64 M D) (*.f64 2 d))) (/.f64 (*.f64 M D) (*.f64 2 d))) l)))
6.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))
Compiler

Compiled 6032 to 2978 computations (50.6% saved)

series1.2s (7.9%)

Error
3.2b
Counts
4 → 51
Calls

4 calls:

546.0ms
(/.f64 (*.f64 (*.f64 h (/.f64 (*.f64 M D) (*.f64 2 d))) (/.f64 (*.f64 M D) (*.f64 2 d))) l)
236.0ms
(*.f64 h (/.f64 (*.f64 M D) (*.f64 2 d)))
233.0ms
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 (*.f64 h (/.f64 (*.f64 M D) (*.f64 2 d))) (/.f64 (*.f64 M D) (*.f64 2 d))) l)))
123.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))
Compiler

Compiled 3325 to 2776 computations (16.5% saved)

simplify88.0ms (0.6%)

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
050724786

prune270.0ms (1.8%)

Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1965201
Fresh3912
Picked101
Done000
Total20014214
Error
2.9b
Counts
214 → 14
Compiler

Compiled 5602 to 3108 computations (44.5% saved)

localize15.0ms (0.1%)

Local error

Found 4 expressions with local error:

3.8b
(/.f64 (*.f64 M D) (*.f64 d 2))
5.2b
(sqrt.f64 (-.f64 1 (*.f64 (*.f64 h (/.f64 (*.f64 M D) (*.f64 d 2))) (/.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) l))))
6.6b
(*.f64 h (/.f64 (*.f64 M D) (*.f64 d 2)))
6.7b
(/.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) l)

rewrite184.0ms (1.2%)

Algorithm
rewrite-expression-head
Error
2.9b
Rules
52×add-exp-log_binary64_1139 add-cbrt-cube_binary64_1137
21×times-frac_binary64_1107
20×add-sqr-sqrt_binary64_1123
17×prod-exp_binary64_1150 div-exp_binary64_1152 add-cube-cbrt_binary64_1136 cbrt-undiv_binary64_1135 cbrt-unprod_binary64_1134 *-un-lft-identity_binary64_1101
pow1_binary64_1162 div-inv_binary64_1098
associate-/l*_binary64_1046
associate-*r*_binary64_1041
add-log-exp_binary64_1140 associate-/r*_binary64_1045
associate-*l*_binary64_1042 sqrt-prod_binary64_1117
frac-2neg_binary64_1112 clear-num_binary64_1100 sqrt-div_binary64_1118
associate-/l/_binary64_1048 pow-prod-down_binary64_1172 unswap-sqr_binary64_1069 associate-*r/_binary64_1043 *-commutative_binary64_1032 pow1/2_binary64_1181 sqrt-pow1_binary64_1119 flip3--_binary64_1105 flip--_binary64_1076 rem-sqrt-square_binary64_1114
Counts
4 → 109
Calls

4 calls:

8.0ms
(*.f64 h (/.f64 (*.f64 M D) (*.f64 d 2)))
8.0ms
(/.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) l)
6.0ms
(/.f64 (*.f64 M D) (*.f64 d 2))
5.0ms
(sqrt.f64 (-.f64 1 (*.f64 (*.f64 h (/.f64 (*.f64 M D) (*.f64 d 2))) (/.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) l))))
Compiler

Compiled 3748 to 2031 computations (45.8% saved)

series869.0ms (5.7%)

Error
2.9b
Counts
4 → 48
Calls

4 calls:

239.0ms
(/.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) l)
225.0ms
(sqrt.f64 (-.f64 1 (*.f64 (*.f64 h (/.f64 (*.f64 M D) (*.f64 d 2))) (/.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) l))))
222.0ms
(*.f64 h (/.f64 (*.f64 M D) (*.f64 d 2)))
138.0ms
(/.f64 (*.f64 M D) (*.f64 d 2))
Compiler

Compiled 3199 to 2490 computations (22.2% saved)

simplify62.0ms (0.4%)

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
050342686

prune183.0ms (1.2%)

Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1543157
Fresh6713
Picked011
Done000
Total16011171
Error
2.7b
Counts
171 → 11
Compiler

Compiled 4211 to 2169 computations (48.5% saved)

regimes2.2s (14.6%)

Accuracy

Total 5.8b remaining (63.9%)

Threshold costs 0b (0%)

Compiler

Compiled 26402 to 23279 computations (11.8% saved)

bsearch0.0ms (0%)

simplify11.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
08936
18936
Compiler

Compiled 48 to 40 computations (16.7% saved)

end0.0ms (0%)

sample3.6s (23.6%)

Algorithm
intervals
Results
627.0ms8000×body128valid
234.0ms3058×body128nan
95.0ms1275×body128invalid
Compiler

Compiled 1588 to 1399 computations (11.9% saved)

Profiling

Loading profile data...