Details

Time bar (total: 2.5s)

analyze1.0ms (0.1%)

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

Compiled 8 to 6 computations (25% saved)

sample748.0ms (29.5%)

Symmetry

(sort x y)

Results
714.0ms8256×body128valid
Compiler

Compiled 23 to 17 computations (26.1% saved)

simplify11.0ms (0.4%)

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

prune1.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.1%)

Local error

Found 1 expressions with local error:

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

series6.0ms (0.2%)

Counts
1 → 0
Calls

1 calls:

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

rewrite4.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
sqrt-prod_binary64
add-sqr-sqrt_binary64
fabs-mul_binary64
*-un-lft-identity_binary64
rem-sqrt-square_binary64
Counts
1 → 25
Calls

1 calls:

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

simplify57.0ms (2.2%)

Algorithm
egg-herbie
Rules
572×distribute-rgt-in_binary64
512×distribute-lft-in_binary64
468×cancel-sign-sub-inv_binary64
435×unsub-neg_binary64
349×fma-neg_binary64
Counts
25 → 27
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
062313
1107300
2187300
3319300
4655300
51903300
64539300
75093300

prune10.0ms (0.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New26127
Fresh000
Picked011
Done000
Total26228
Error
0.0b
Counts
28 → 2
Alt Table
StatusErrorProgram
39.1b
(/.f64 (sqrt.f64 (fabs.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3)))) (sqrt.f64 (fabs.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 x y))))))
0.0b
(sqrt.f64 (fabs.f64 (-.f64 x y)))
Compiler

Compiled 367 to 146 computations (60.2% saved)

localize15.0ms (0.6%)

Local error

Found 4 expressions with local error:

NewErrorProgram
3.0b
(-.f64 (pow.f64 x 3) (pow.f64 y 3))
18.0b
(/.f64 (sqrt.f64 (fabs.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3)))) (sqrt.f64 (fabs.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 x y))))))
19.0b
(sqrt.f64 (fabs.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3))))
26.5b
(sqrt.f64 (fabs.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 x y)))))

series242.0ms (9.5%)

Counts
4 → 54
Calls

4 calls:

191.0ms
(/.f64 (sqrt.f64 (fabs.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3)))) (sqrt.f64 (fabs.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 x y))))))
21.0ms
(sqrt.f64 (fabs.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 x y)))))
19.0ms
(sqrt.f64 (fabs.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3))))
11.0ms
(-.f64 (pow.f64 x 3) (pow.f64 y 3))

rewrite216.0ms (8.5%)

Algorithm
rewrite-expression-head
Rules
600×add-sqr-sqrt_binary64
586×sqrt-prod_binary64
410×fabs-mul_binary64
348×*-un-lft-identity_binary64
320×times-frac_binary64
Counts
4 → 661
Calls

4 calls:

27.0ms
(/.f64 (sqrt.f64 (fabs.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3)))) (sqrt.f64 (fabs.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 x y))))))
16.0ms
(-.f64 (pow.f64 x 3) (pow.f64 y 3))
11.0ms
(sqrt.f64 (fabs.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3))))
7.0ms
(sqrt.f64 (fabs.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 x y)))))

simplify744.0ms (29.3%)

Algorithm
egg-herbie
Rules
1003×fma-neg_binary64
582×cancel-sign-sub-inv_binary64
328×exp-prod_binary64
286×distribute-rgt-neg-in_binary64
162×associate-*l*_binary64
Counts
715 → 560
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
058729902
180727947
2231427083
3424525867
4473325867
5485525867

prune374.0ms (14.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New5600560
Fresh000
Picked011
Done011
Total5602562
Error
0.0b
Counts
562 → 2
Alt Table
StatusErrorProgram
39.1b
(/.f64 (sqrt.f64 (fabs.f64 (-.f64 (pow.f64 x 3) (pow.f64 y 3)))) (sqrt.f64 (fabs.f64 (+.f64 (*.f64 x x) (+.f64 (*.f64 y y) (*.f64 x y))))))
0.0b
(sqrt.f64 (fabs.f64 (-.f64 x y)))
Compiler

Compiled 24179 to 10050 computations (58.4% saved)

regimes54.0ms (2.1%)

Accuracy

Total 0.0b remaining (7.4%)

Threshold costs 0.0b (7.4%)

Counts
8 → 1
Compiler

Compiled 878 to 607 computations (30.9% saved)

simplify2.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

end48.0ms (1.9%)

Remove

(sort x y)

Compiler

Compiled 60 to 42 computations (30% saved)

Profiling

Loading profile data...