Details

Time bar (total: 18.2s)

analyze1.7s (9.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.8%0.2%0
0%99.8%0.2%1
0%99.8%0.2%2
0%99.8%0.2%3
0%99.8%0.2%4
0%99.8%0.2%5
0%99.8%0.2%6
0%81.1%18.9%7
0%68.6%31.4%8
0%59.2%40.8%9
0%59.2%40.8%10
0%59.2%40.8%11
0.4%49.5%50.1%12
0.8%44.4%54.8%13
1.4%39.9%58.7%14
Compiler

Compiled 36 to 32 computations (11.1% saved)

sample123.0ms (0.7%)

Algorithm
intervals
Results
36.0ms256×body128valid
36.0ms287×body128nan
22.0ms122×body128invalid
Compiler

Compiled 71 to 68 computations (4.2% saved)

simplify137.0ms (0.8%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
0520541

prune5.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 28.6b

Counts
2 → 1
Compiler

Compiled 54 to 46 computations (14.8% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

6.1b
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) (-.f64 1 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))))
12.4b
(sqrt.f64 (/.f64 d l))
13.1b
(*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))
13.4b
(sqrt.f64 (/.f64 d h))

rewrite53.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
77×add-exp-log_binary64_1139
41×prod-exp_binary64_1150
32×add-sqr-sqrt_binary64_1123
29×times-frac_binary64_1107
26×*-un-lft-identity_binary64_1101 sqrt-prod_binary64_1117 add-cube-cbrt_binary64_1136
21×add-cbrt-cube_binary64_1137
16×associate-*r*_binary64_1041 div-exp_binary64_1152
14×sqrt-div_binary64_1118
13×pow1_binary64_1162
10×pow-exp_binary64_1169
cbrt-unprod_binary64_1134 frac-times_binary64_1111
associate-*r/_binary64_1043 associate-*l/_binary64_1044
rem-sqrt-square_binary64_1114 add-log-exp_binary64_1140 flip--_binary64_1076 flip3--_binary64_1105 pow-prod-down_binary64_1172
div-inv_binary64_1098
*-commutative_binary64_1032 sub-neg_binary64_1094 sqrt-pow1_binary64_1119 distribute-lft-in_binary64_1050 cbrt-undiv_binary64_1135 associate-*l*_binary64_1042 cancel-sign-sub-inv_binary64_1067 pow-to-exp_binary64_1170 distribute-rgt-in_binary64_1051 pow1/2_binary64_1181
Counts
4 → 127
Calls

4 calls:

16.0ms
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) (-.f64 1 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))))
11.0ms
(*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))
3.0ms
(sqrt.f64 (/.f64 d h))
3.0ms
(sqrt.f64 (/.f64 d l))

series486.0ms (2.7%)

Counts
4 → 12
Calls

4 calls:

305.0ms
(*.f64 (*.f64 (sqrt.f64 (/.f64 d h)) (sqrt.f64 (/.f64 d l))) (-.f64 1 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))))
92.0ms
(*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))
45.0ms
(sqrt.f64 (/.f64 d h))
44.0ms
(sqrt.f64 (/.f64 d l))

simplify97.0ms (0.5%)

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
050073595

prune273.0ms (1.5%)

Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New12118139
Fresh000
Picked101
Done000
Total12218140

Merged error: 14.5b

Counts
140 → 18
Compiler

Compiled 5305 to 2618 computations (50.7% saved)

localize25.0ms (0.1%)

Local error

Found 4 expressions with local error:

5.3b
(/.f64 (*.f64 M D) (*.f64 d 2))
6.1b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (sqrt.f64 (/.f64 d l))) (-.f64 1 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))))
12.4b
(sqrt.f64 (/.f64 d l))
13.1b
(*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))

rewrite62.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
93×add-exp-log_binary64_1139
48×prod-exp_binary64_1150
37×add-cbrt-cube_binary64_1137
22×add-sqr-sqrt_binary64_1123
20×times-frac_binary64_1107 div-exp_binary64_1152
19×*-un-lft-identity_binary64_1101 add-cube-cbrt_binary64_1136
16×cbrt-unprod_binary64_1134 pow1_binary64_1162 associate-*r*_binary64_1041
13×sqrt-prod_binary64_1117 sqrt-div_binary64_1118
12×associate-*r/_binary64_1043
10×pow-exp_binary64_1169
frac-times_binary64_1111
pow-prod-down_binary64_1172
cbrt-undiv_binary64_1135 associate-*l/_binary64_1044
add-log-exp_binary64_1140 flip--_binary64_1076 flip3--_binary64_1105
div-inv_binary64_1098
*-commutative_binary64_1032 rem-sqrt-square_binary64_1114 sub-neg_binary64_1094 distribute-lft-in_binary64_1050 associate-*l*_binary64_1042 cancel-sign-sub-inv_binary64_1067 pow-to-exp_binary64_1170 distribute-rgt-in_binary64_1051
frac-2neg_binary64_1112 sqrt-pow1_binary64_1119 clear-num_binary64_1100 associate-/l*_binary64_1046 associate-/r*_binary64_1045 pow1/2_binary64_1181
Counts
4 → 126
Calls

4 calls:

21.0ms
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (sqrt.f64 (/.f64 d l))) (-.f64 1 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))))
13.0ms
(*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))
6.0ms
(/.f64 (*.f64 M D) (*.f64 d 2))
3.0ms
(sqrt.f64 (/.f64 d l))

series1.2s (6.7%)

Counts
4 → 12
Calls

4 calls:

1.1s
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (sqrt.f64 (/.f64 d l))) (-.f64 1 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))))
94.0ms
(*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))
39.0ms
(sqrt.f64 (/.f64 d l))
22.0ms
(/.f64 (*.f64 M D) (*.f64 d 2))

simplify109.0ms (0.6%)

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
050894485

prune268.0ms (1.5%)

Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New12612138
Fresh31417
Picked101
Done000
Total13026156

Merged error: 12.1b

Counts
156 → 26
Compiler

Compiled 7017 to 2864 computations (59.2% saved)

localize31.0ms (0.2%)

Local error

Found 4 expressions with local error:

2.5b
(sqrt.f64 (/.f64 d (cbrt.f64 l)))
5.3b
(/.f64 (*.f64 M D) (*.f64 d 2))
6.1b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))))
13.1b
(*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))

rewrite88.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
102×add-exp-log_binary64_1139
55×prod-exp_binary64_1150
46×add-cbrt-cube_binary64_1137
37×sqrt-div_binary64_1118
30×add-sqr-sqrt_binary64_1123 associate-*r/_binary64_1043 times-frac_binary64_1107
29×frac-times_binary64_1111
25×*-un-lft-identity_binary64_1101 pow1_binary64_1162 add-cube-cbrt_binary64_1136
23×cbrt-unprod_binary64_1134
22×sqrt-prod_binary64_1117
20×div-exp_binary64_1152
16×associate-*r*_binary64_1041 associate-*l/_binary64_1044
14×pow-prod-down_binary64_1172
10×pow-exp_binary64_1169 cbrt-prod_binary64_1132
flip--_binary64_1076 flip3--_binary64_1105
cbrt-undiv_binary64_1135
add-log-exp_binary64_1140
rem-sqrt-square_binary64_1114 div-inv_binary64_1098
*-commutative_binary64_1032 sub-neg_binary64_1094 distribute-lft-in_binary64_1050 associate-*l*_binary64_1042 cancel-sign-sub-inv_binary64_1067 pow-to-exp_binary64_1170 distribute-rgt-in_binary64_1051
frac-2neg_binary64_1112 sqrt-pow1_binary64_1119 clear-num_binary64_1100 associate-/l*_binary64_1046 associate-/r*_binary64_1045 pow1/2_binary64_1181
Counts
4 → 154
Calls

4 calls:

37.0ms
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))))
11.0ms
(*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))
6.0ms
(/.f64 (*.f64 M D) (*.f64 d 2))
4.0ms
(sqrt.f64 (/.f64 d (cbrt.f64 l)))

series1.8s (9.6%)

Counts
4 → 12
Calls

4 calls:

1.5s
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))))
107.0ms
(sqrt.f64 (/.f64 d (cbrt.f64 l)))
94.0ms
(*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) (/.f64 h l))
22.0ms
(/.f64 (*.f64 M D) (*.f64 d 2))

simplify127.0ms (0.7%)

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
049747171
149747171

prune378.0ms (2.1%)

Pruning

27 alts after pruning (27 fresh and 0 done)

PrunedKeptTotal
New1615166
Fresh32225
Picked101
Done000
Total16527192

Merged error: 8.3b

Counts
192 → 27
Compiler

Compiled 10199 to 4291 computations (57.9% saved)

localize31.0ms (0.2%)

Local error

Found 4 expressions with local error:

5.1b
(*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) h)
5.3b
(/.f64 (*.f64 M D) (*.f64 d 2))
6.1b
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (/.f64 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) h) l)))
6.7b
(/.f64 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) h) l)

rewrite93.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
104×add-exp-log_binary64_1139
55×prod-exp_binary64_1150
48×add-cbrt-cube_binary64_1137
36×sqrt-div_binary64_1118
29×frac-times_binary64_1111 associate-*r/_binary64_1043
24×pow1_binary64_1162
23×cbrt-unprod_binary64_1134
21×div-exp_binary64_1152
16×associate-*l/_binary64_1044
15×add-sqr-sqrt_binary64_1123 *-un-lft-identity_binary64_1101
14×pow-prod-down_binary64_1172 cancel-sign-sub-inv_binary64_1067
12×add-cube-cbrt_binary64_1136
10×pow-exp_binary64_1169 times-frac_binary64_1107
associate-*r*_binary64_1041
distribute-lft-in_binary64_1050 flip--_binary64_1076 flip3--_binary64_1105 distribute-rgt-in_binary64_1051
cbrt-undiv_binary64_1135
add-log-exp_binary64_1140 div-inv_binary64_1098 associate-/r*_binary64_1045
*-commutative_binary64_1032 difference-of-squares_binary64_1070 frac-2neg_binary64_1112 sub-neg_binary64_1094 clear-num_binary64_1100 associate-/l*_binary64_1046 associate-*l*_binary64_1042 pow-to-exp_binary64_1170
distribute-lft-out--_binary64_1053
Counts
4 → 142
Calls

4 calls:

42.0ms
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (/.f64 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) h) l)))
10.0ms
(/.f64 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) h) l)
8.0ms
(*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) h)
6.0ms
(/.f64 (*.f64 M D) (*.f64 d 2))

series1.7s (9.4%)

Counts
4 → 12
Calls

4 calls:

1.5s
(*.f64 (*.f64 (*.f64 (fabs.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h))) (sqrt.f64 (/.f64 (cbrt.f64 d) (cbrt.f64 h)))) (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 l) (cbrt.f64 l)))) (sqrt.f64 (/.f64 d (cbrt.f64 l))))) (-.f64 1 (/.f64 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) h) l)))
97.0ms
(/.f64 (*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) h) l)
73.0ms
(*.f64 (*.f64 1/2 (pow.f64 (/.f64 (*.f64 M D) (*.f64 d 2)) 2)) h)
23.0ms
(/.f64 (*.f64 M D) (*.f64 d 2))

simplify135.0ms (0.7%)

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 0 (60.0ms)

IterNodesCost
050848277

prune315.0ms (1.7%)

Pruning

30 alts after pruning (30 fresh and 0 done)

PrunedKeptTotal
New1468154
Fresh42226
Picked101
Done000
Total15130181

Merged error: 7.3b

Counts
181 → 30
Compiler

Compiled 8679 to 3426 computations (60.5% saved)

regimes2.3s (12.5%)

Compiler

Compiled 35945 to 25552 computations (28.9% saved)

bsearch9.0ms (0%)

Compiler

Compiled 35 to 31 computations (11.4% saved)

simplify5.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0116199
1116199

end0.0ms (0%)

sample6.7s (36.9%)

Algorithm
intervals
Results
1.1s8000×body128valid
1.1s8510×body128nan
690.0ms4854×body128invalid
Compiler

Compiled 4649 to 3287 computations (29.3% saved)

Profiling

Loading profile data...