Details

Time bar (total: 2.4s)

analyze29.0ms (1.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1
Compiler

Compiled 8 to 6 computations (25% saved)

sample22.0ms (0.9%)

Algorithm
intervals
Results
8.0ms256×body128valid
Compiler

Compiled 17 to 13 computations (23.5% saved)

simplify14.0ms (0.6%)

Algorithm
egg-herbie
Rules
39×fma-neg_binary64
17×sub-neg_binary64
17×fma-def_binary64
16×cancel-sign-sub-inv_binary64
fabs-sub_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1108
2178
3268
4428
5768
6888
71088
81248
91298
101138

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
0.0b
Counts
2 → 1
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (-.f64 x y)))
Compiler

Compiled 21 to 15 computations (28.6% saved)

localize4.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (-.f64 x y)))

rewrite11.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
sqrt-div_binary64
fabs-div_binary64
flip3--_binary64
Counts
1 → 40
Calls

1 calls:

10.0ms
(sqrt.f64 (fabs.f64 (-.f64 x y)))

series13.0ms (0.5%)

Counts
1 → 0
Calls

1 calls:

13.0ms
(sqrt.f64 (fabs.f64 (-.f64 x y)))

simplify86.0ms (3.6%)

Algorithm
egg-herbie
Rules
698×unswap-sqr_binary64
534×distribute-rgt-in_binary64
495×distribute-lft-in_binary64
360×cancel-sign-sub-inv_binary64
318×unsub-neg_binary64
Counts
40 → 55
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
050379
193374
2164374
3277374
4538372
51477372
63635372
74998372
84849372

prune16.0ms (0.7%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New54155
Fresh000
Picked011
Done000
Total54256
Error
0b
Counts
56 → 2
Alt Table
StatusErrorProgram
0.4b
(pow.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y)))) 2)
0.0b
(sqrt.f64 (fabs.f64 (-.f64 x y)))
Compiler

Compiled 582 to 207 computations (64.4% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (-.f64 x y)))
0.1b
(sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))))
0.5b
(pow.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y)))) 2)

rewrite27.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
14×add-cube-cbrt_binary64
10×sqrt-div_binary64
add-sqr-sqrt_binary64
pow1/2_binary64
add-cbrt-cube_binary64
Counts
2 → 80
Calls

2 calls:

13.0ms
(pow.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y)))) 2)
10.0ms
(sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))))

series1.5s (64.1%)

Counts
2 → 48
Calls

2 calls:

800.0ms
(pow.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y)))) 2)
746.0ms
(sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))))

simplify114.0ms (4.7%)

Algorithm
egg-herbie
Rules
497×log-prod_binary64
428×exp-prod_binary64
391×sqr-pow_binary64
287×*-commutative_binary64
248×fma-neg_binary64
Counts
128 → 175
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
0801161
11381135
22981135
39141086
418401064
530471050
645371050
748511050

prune48.0ms (2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2300230
Fresh000
Picked011
Done011
Total2302232
Error
0b
Counts
232 → 2
Alt Table
StatusErrorProgram
0.4b
(pow.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y)))) 2)
0.0b
(sqrt.f64 (fabs.f64 (-.f64 x y)))
Compiler

Compiled 1947 to 778 computations (60% saved)

regimes32.0ms (1.3%)

Accuracy

Total 0.0b remaining (20.9%)

Threshold costs 0.0b (20.9%)

Compiler

Compiled 133 to 97 computations (27.1% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
sub-neg_binary64
*-commutative_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
1108
2178
3228
4258
5268
6268

end6.0ms (0.2%)

Remove

(sort x y)

Compiler

Compiled 21 to 15 computations (28.6% saved)

sample432.0ms (17.9%)

Algorithm
intervals
Results
224.0ms8000×body128valid
Compiler

Compiled 34 to 26 computations (23.5% saved)

Profiling

Loading profile data...