Details

Time bar (total: 9.3s)

analyze2.3s (24.4%)

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

sample50.0ms (0.5%)

Algorithm
intervals
Results
20.0ms256×body128valid
9.0ms107×body128nan
3.0ms39×body128invalid
Compiler

Compiled 37 to 43 computations (-16.2% saved)

simplify202.0ms (2.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
0610027

prune3.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.1b

Counts
2 → 1
Compiler

Compiled 36 to 36 computations (0% saved)

localize13.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)))))
4.0b
(sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))
4.7b
(/.f64 (*.f64 M D) (*.f64 2 d))
10.0b
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))

rewrite48.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
67×add-exp-log_binary64_1149
38×add-sqr-sqrt_binary64_1133
27×prod-exp_binary64_1160
23×add-cbrt-cube_binary64_1147
19×associate-*r*_binary64_1051 div-exp_binary64_1162
17×*-un-lft-identity_binary64_1111 add-cube-cbrt_binary64_1146
15×times-frac_binary64_1117
13×associate-*l*_binary64_1052
10×pow-exp_binary64_1179 unswap-sqr_binary64_1079
unpow-prod-down_binary64_1190 cbrt-unprod_binary64_1144 pow1_binary64_1172 sqrt-prod_binary64_1127
cbrt-undiv_binary64_1145
sqrt-div_binary64_1128 add-log-exp_binary64_1150
div-inv_binary64_1108 unpow2_binary64_1176 sqr-pow_binary64_1083 associate-*r/_binary64_1053
*-commutative_binary64_1042 flip3--_binary64_1115 pow-to-exp_binary64_1180 flip--_binary64_1086
pow1/2_binary64_1191 rem-sqrt-square_binary64_1124 associate-/r*_binary64_1055 frac-2neg_binary64_1122 associate-/l*_binary64_1056 pow-prod-down_binary64_1182 sqrt-pow1_binary64_1129 clear-num_binary64_1110
Counts
4 → 116
Calls

4 calls:

16.0ms
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))
9.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))))

series1.0s (11.1%)

Counts
4 → 12
Calls

4 calls:

511.0ms
(*.f64 w0 (sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l)))))
307.0ms
(sqrt.f64 (-.f64 1 (*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))))
168.0ms
(*.f64 (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2) (/.f64 h l))
44.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))

simplify55.0ms (0.6%)

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
055992845

prune304.0ms (3.3%)

Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1217128
Fresh000
Picked101
Done000
Total1227129

Merged error: 6.3b

Counts
129 → 7
Compiler

Compiled 5713 to 3991 computations (30.1% saved)

localize16.0ms (0.2%)

Local error

Found 4 expressions with local error:

3.0b
(/.f64 (*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) l)
4.0b
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) l)))
4.2b
(*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2))
4.7b
(/.f64 (*.f64 M D) (*.f64 2 d))

rewrite40.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
67×add-exp-log_binary64_1149
26×prod-exp_binary64_1160
23×add-cbrt-cube_binary64_1147
20×add-sqr-sqrt_binary64_1133 div-exp_binary64_1162
13×*-un-lft-identity_binary64_1111
10×add-cube-cbrt_binary64_1146 associate-*r*_binary64_1051 pow-exp_binary64_1179
unpow-prod-down_binary64_1190 cbrt-unprod_binary64_1144 cbrt-undiv_binary64_1145 sqrt-prod_binary64_1127
times-frac_binary64_1117 pow1_binary64_1172
associate-/r*_binary64_1055 unswap-sqr_binary64_1079 add-log-exp_binary64_1150
div-inv_binary64_1108 associate-*l*_binary64_1052
sqrt-div_binary64_1128 unpow2_binary64_1176 frac-2neg_binary64_1122 associate-/l*_binary64_1056 difference-of-squares_binary64_1080 sqr-pow_binary64_1083 pow-to-exp_binary64_1180 clear-num_binary64_1110
pow1/2_binary64_1191 *-commutative_binary64_1042 rem-sqrt-square_binary64_1124 flip3--_binary64_1115 sqrt-pow1_binary64_1129 distribute-lft-out--_binary64_1063 flip--_binary64_1086
Counts
4 → 99
Calls

4 calls:

9.0ms
(*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2))
8.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))

series1.0s (11%)

Counts
4 → 12
Calls

4 calls:

597.0ms
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) l)))
208.0ms
(/.f64 (*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2)) l)
175.0ms
(*.f64 h (pow.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) 2))
42.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))

simplify62.0ms (0.7%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
053102178

prune207.0ms (2.2%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1083111
Fresh336
Picked101
Done000
Total1126118

Merged error: 6.1b

Counts
118 → 6
Compiler

Compiled 3770 to 2707 computations (28.2% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

4.0b
(*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)
4.0b
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h) (/.f64 (*.f64 M D) (*.f64 2 d))) l)))
4.7b
(/.f64 (*.f64 M D) (*.f64 2 d))
4.7b
(/.f64 (*.f64 M D) (*.f64 2 d))

rewrite41.0ms (0.4%)

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

4 calls:

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

series495.0ms (5.3%)

Counts
4 → 12
Calls

4 calls:

308.0ms
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 (*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h) (/.f64 (*.f64 M D) (*.f64 2 d))) l)))
101.0ms
(*.f64 (/.f64 (*.f64 M D) (*.f64 2 d)) h)
44.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))
42.0ms
(/.f64 (*.f64 M D) (*.f64 2 d))

simplify73.0ms (0.8%)

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049991766
149991766

prune127.0ms (1.4%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1010101
Fresh055
Picked011
Done000
Total1016107

Merged error: 6.1b

Counts
107 → 6
Compiler

Compiled 2920 to 1646 computations (43.6% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

3.0b
(/.f64 (*.f64 h (pow.f64 (*.f64 (/.f64 M 2) (/.f64 D d)) 2)) l)
4.0b
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 h (pow.f64 (*.f64 (/.f64 M 2) (/.f64 D d)) 2)) l)))
4.2b
(*.f64 h (pow.f64 (*.f64 (/.f64 M 2) (/.f64 D d)) 2))
5.7b
(*.f64 (/.f64 M 2) (/.f64 D d))

rewrite47.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
67×add-exp-log_binary64_1149
43×add-sqr-sqrt_binary64_1133
26×prod-exp_binary64_1160 *-un-lft-identity_binary64_1111
25×times-frac_binary64_1117
23×add-cbrt-cube_binary64_1147 add-cube-cbrt_binary64_1146
20×div-exp_binary64_1162
19×associate-*r*_binary64_1051
16×associate-*l*_binary64_1052
10×pow-exp_binary64_1179
unswap-sqr_binary64_1079 pow1_binary64_1172
cbrt-unprod_binary64_1144 cbrt-undiv_binary64_1145 sqrt-prod_binary64_1127
add-log-exp_binary64_1150
div-inv_binary64_1108 associate-/r*_binary64_1055
*-commutative_binary64_1042 sqrt-div_binary64_1128 unpow2_binary64_1176 difference-of-squares_binary64_1080 sqr-pow_binary64_1083 pow-to-exp_binary64_1180
pow1/2_binary64_1191 unpow-prod-down_binary64_1190 associate-*l/_binary64_1054 rem-sqrt-square_binary64_1124 frac-times_binary64_1121 frac-2neg_binary64_1122 flip3--_binary64_1115 associate-/l*_binary64_1056 pow-prod-down_binary64_1182 sqrt-pow1_binary64_1129 clear-num_binary64_1110 distribute-lft-out--_binary64_1063 flip--_binary64_1086 associate-*r/_binary64_1053
Counts
4 → 123
Calls

4 calls:

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

series998.0ms (10.7%)

Counts
4 → 12
Calls

4 calls:

588.0ms
(sqrt.f64 (-.f64 1 (/.f64 (*.f64 h (pow.f64 (*.f64 (/.f64 M 2) (/.f64 D d)) 2)) l)))
189.0ms
(/.f64 (*.f64 h (pow.f64 (*.f64 (/.f64 M 2) (/.f64 D d)) 2)) l)
170.0ms
(*.f64 h (pow.f64 (*.f64 (/.f64 M 2) (/.f64 D d)) 2))
50.0ms
(*.f64 (/.f64 M 2) (/.f64 D d))

simplify48.0ms (0.5%)

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
053602553

prune159.0ms (1.7%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1350135
Fresh044
Picked011
Done011
Total1356141

Merged error: 6.1b

Counts
141 → 6
Compiler

Compiled 3185 to 1936 computations (39.2% saved)

regimes282.0ms (3%)

Compiler

Compiled 1487 to 1582 computations (-6.4% saved)

bsearch1.0ms (0%)

Compiler

Compiled 3 to 7 computations (-133.3% saved)

simplify4.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
013382
113382

end0.0ms (0%)

sample1.7s (18%)

Algorithm
intervals
Results
638.0ms8000×body128valid
252.0ms3155×body128nan
120.0ms1347×body128invalid
Compiler

Compiled 181 to 167 computations (7.7% saved)

Profiling

Loading profile data...