Details

Time bar (total: 6.9s)

analyze412.0ms (5.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
12.5%68.6%18.9%6
18.7%62.4%18.9%7
18.7%59.3%22%8
28.1%39%32.9%9
32.8%34.3%32.9%10
32.8%32%35.3%11
38.2%20.7%41.1%12
41%17.9%41.1%13
41%16.6%42.5%14
Compiler

Compiled 38 to 24 computations (36.8% saved)

sample56.0ms (0.8%)

Algorithm
intervals
Results
40.0ms239×body256valid
3.0ms39×body128nan
1.0ms17×body128valid
Compiler

Compiled 75 to 50 computations (33.3% saved)

simplify324.0ms (4.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (227.0ms)

IterNodesCost
0483448
1483448

prune6.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

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

Compiled 99 to 59 computations (40.4% saved)

localize19.0ms (0.3%)

Local error

Found 4 expressions with local error:

8.2b
(cbrt.f64 (/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h))) g) (*.f64 2 a)))
8.8b
(cbrt.f64 (*.f64 (/.f64 (+.f64 g (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))) a) -1/2))
32.8b
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
32.8b
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))

rewrite33.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64_5215
11×cbrt-prod_binary64_5224
10×*-un-lft-identity_binary64_5193
sqrt-prod_binary64_5209
add-cube-cbrt_binary64_5228
times-frac_binary64_5199 pow1_binary64_5254
add-cbrt-cube_binary64_5229 sqrt-div_binary64_5210 add-log-exp_binary64_5232 add-exp-log_binary64_5231 difference-of-squares_binary64_5162
flip3--_binary64_5197 flip--_binary64_5168 cbrt-div_binary64_5225 pow1/2_binary64_5273 sqrt-pow1_binary64_5211 rem-sqrt-square_binary64_5206 pow1/3_binary64_5275
distribute-lft-out--_binary64_5145 associate-*l/_binary64_5136 div-inv_binary64_5190
Counts
4 → 61
Calls

4 calls:

9.0ms
(cbrt.f64 (/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h))) g) (*.f64 2 a)))
9.0ms
(cbrt.f64 (*.f64 (/.f64 (+.f64 g (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))) a) -1/2))
5.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))

series564.0ms (8.1%)

Counts
4 → 12
Calls

4 calls:

262.0ms
(cbrt.f64 (/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h))) g) (*.f64 2 a)))
243.0ms
(cbrt.f64 (*.f64 (/.f64 (+.f64 g (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))) a) -1/2))
30.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
28.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))

simplify64.0ms (0.9%)

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
051151656

prune170.0ms (2.5%)

Pruning

22 alts after pruning (22 fresh and 0 done)

PrunedKeptTotal
New522173
Fresh011
Picked101
Done000
Total532275
Error
35.2b
Counts
75 → 22
Compiler

Compiled 3604 to 1403 computations (61.1% saved)

localize17.0ms (0.2%)

Local error

Found 4 expressions with local error:

2.0b
(-.f64 (*.f64 g g) (*.f64 h h))
8.2b
(cbrt.f64 (/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h))) g) (*.f64 2 a)))
32.8b
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
32.8b
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))

rewrite27.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt_binary64_5215
10×*-un-lft-identity_binary64_5193 cbrt-prod_binary64_5224
sqrt-prod_binary64_5209
add-cube-cbrt_binary64_5228
add-log-exp_binary64_5232 times-frac_binary64_5199 pow1_binary64_5254
difference-of-squares_binary64_5162
add-cbrt-cube_binary64_5229 sqrt-div_binary64_5210 add-exp-log_binary64_5231
flip3--_binary64_5197 flip--_binary64_5168
pow1/2_binary64_5273 sqrt-pow1_binary64_5211 rem-sqrt-square_binary64_5206
distribute-lft-out--_binary64_5145 sub-neg_binary64_5186 cbrt-div_binary64_5225 cancel-sign-sub-inv_binary64_5159 div-inv_binary64_5190 diff-log_binary64_5285 pow1/3_binary64_5275
Counts
4 → 64
Calls

4 calls:

8.0ms
(cbrt.f64 (/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h))) g) (*.f64 2 a)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
4.0ms
(-.f64 (*.f64 g g) (*.f64 h h))

series323.0ms (4.7%)

Counts
4 → 12
Calls

4 calls:

242.0ms
(cbrt.f64 (/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h))) g) (*.f64 2 a)))
32.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
27.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
22.0ms
(-.f64 (*.f64 g g) (*.f64 h h))

simplify80.0ms (1.1%)

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
050101501

prune149.0ms (2.2%)

Pruning

25 alts after pruning (25 fresh and 0 done)

PrunedKeptTotal
New69776
Fresh31821
Picked101
Done000
Total732598
Error
34.1b
Counts
98 → 25
Compiler

Compiled 3836 to 1528 computations (60.2% saved)

localize19.0ms (0.3%)

Local error

Found 4 expressions with local error:

2.0b
(-.f64 (*.f64 g g) (*.f64 h h))
2.0b
(-.f64 (*.f64 g g) (*.f64 h h))
32.8b
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
32.8b
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))

rewrite22.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
add-log-exp_binary64_5232 sqrt-prod_binary64_5209 add-sqr-sqrt_binary64_5215
add-cube-cbrt_binary64_5228 *-un-lft-identity_binary64_5193 pow1_binary64_5254
add-cbrt-cube_binary64_5229 flip3--_binary64_5197 sqrt-div_binary64_5210 flip--_binary64_5168 add-exp-log_binary64_5231 difference-of-squares_binary64_5162
sub-neg_binary64_5186 pow1/2_binary64_5273 cancel-sign-sub-inv_binary64_5159 sqrt-pow1_binary64_5211 rem-sqrt-square_binary64_5206 diff-log_binary64_5285
Counts
4 → 58
Calls

4 calls:

4.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
4.0ms
(-.f64 (*.f64 g g) (*.f64 h h))
4.0ms
(-.f64 (*.f64 g g) (*.f64 h h))

series107.0ms (1.5%)

Counts
4 → 12
Calls

4 calls:

30.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
29.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
26.0ms
(-.f64 (*.f64 g g) (*.f64 h h))
21.0ms
(-.f64 (*.f64 g g) (*.f64 h h))

simplify81.0ms (1.2%)

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
04931960
14931960

prune135.0ms (1.9%)

Pruning

23 alts after pruning (23 fresh and 0 done)

PrunedKeptTotal
New68270
Fresh32124
Picked101
Done000
Total722395
Error
34.1b
Counts
95 → 23
Compiler

Compiled 3509 to 1405 computations (60% saved)

localize17.0ms (0.3%)

Local error

Found 4 expressions with local error:

2.0b
(-.f64 (*.f64 g g) (*.f64 h h))
8.8b
(cbrt.f64 (*.f64 (/.f64 (+.f64 g (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))) a) -1/2))
32.8b
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
32.8b
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))

rewrite27.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
sqrt-prod_binary64_5209 add-sqr-sqrt_binary64_5215
add-cube-cbrt_binary64_5228 add-log-exp_binary64_5232 *-un-lft-identity_binary64_5193 pow1_binary64_5254
add-cbrt-cube_binary64_5229 sqrt-div_binary64_5210 add-exp-log_binary64_5231
flip3--_binary64_5197 flip--_binary64_5168 difference-of-squares_binary64_5162
pow1/2_binary64_5273 sqrt-pow1_binary64_5211 rem-sqrt-square_binary64_5206
sub-neg_binary64_5186 cbrt-div_binary64_5225 associate-*l/_binary64_5136 cancel-sign-sub-inv_binary64_5159 cbrt-prod_binary64_5224 diff-log_binary64_5285 pow1/3_binary64_5275
Counts
4 → 55
Calls

4 calls:

8.0ms
(cbrt.f64 (*.f64 (/.f64 (+.f64 g (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))) a) -1/2))
4.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
4.0ms
(-.f64 (*.f64 g g) (*.f64 h h))

series326.0ms (4.7%)

Counts
4 → 12
Calls

4 calls:

245.0ms
(cbrt.f64 (*.f64 (/.f64 (+.f64 g (sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))) a) -1/2))
31.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
28.0ms
(sqrt.f64 (-.f64 (*.f64 g g) (*.f64 h h)))
21.0ms
(-.f64 (*.f64 g g) (*.f64 h h))

simplify69.0ms (1%)

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
049811104
149811104

prune93.0ms (1.3%)

Pruning

26 alts after pruning (26 fresh and 0 done)

PrunedKeptTotal
New63467
Fresh02222
Picked101
Done000
Total642690
Error
34.1b
Counts
90 → 26
Compiler

Compiled 2463 to 859 computations (65.1% saved)

regimes926.0ms (13.4%)

Accuracy

Total 0.6b remaining (2%)

Threshold costs 0.6b (2%)

Compiler

Compiled 14249 to 8209 computations (42.4% saved)

bsearch5.0ms (0.1%)

Compiler

Compiled 37 to 23 computations (37.8% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0146211
1146211

end0.0ms (0%)

sample2.9s (41.2%)

Algorithm
intervals
Results
1.2s7565×body256valid
97.0ms1221×body128nan
36.0ms435×body128valid
Compiler

Compiled 2194 to 1249 computations (43.1% saved)

Profiling

Loading profile data...