Details

Time bar (total: 2.5s)

analyze2.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)

sample782.0ms (31.6%)

Symmetry

(sort x y)

Results
741.0ms8256×body128valid
Compiler

Compiled 23 to 17 computations (26.1% saved)

simplify9.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)))

rewrite7.0ms (0.3%)

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:

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

simplify61.0ms (2.5%)

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

prune11.0ms (0.4%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New26127
Fresh000
Picked011
Done000
Total26228
Error
0b
Counts
28 → 2
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y)))) (sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y)))))
0.0b
(sqrt.f64 (fabs.f64 (-.f64 x y)))
Compiler

Compiled 347 to 126 computations (63.7% 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
(*.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y)))) (sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y)))))

series1.2s (47.4%)

Counts
2 → 48
Calls

2 calls:

1.2s
(sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))))
6.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y)))) (sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y)))))

rewrite41.0ms (1.6%)

Algorithm
rewrite-expression-head
Rules
230×sqrt-prod_binary64
146×add-sqr-sqrt_binary64
50×fabs-mul_binary64
48×rem-sqrt-square_binary64
37×*-un-lft-identity_binary64
Counts
2 → 174
Calls

2 calls:

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

simplify190.0ms (7.7%)

Algorithm
egg-herbie
Rules
665×fma-neg_binary64
395×fma-def_binary64
274×*-commutative_binary64
266×unsub-neg_binary64
246×sqr-pow_binary64
Counts
222 → 163
Iterations

Useful iterations: 6 (0.0ms)

IterNodesCost
01573471
12303272
25313245
310843154
418583154
532923105
640483099
748543099
848923099

prune89.0ms (3.6%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New2500250
Fresh000
Picked011
Done011
Total2502252
Error
0b
Counts
252 → 2
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y)))) (sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y)))))
0.0b
(sqrt.f64 (fabs.f64 (-.f64 x y)))
Compiler

Compiled 4937 to 885 computations (82.1% saved)

regimes49.0ms (2%)

Accuracy

Total 0.0b remaining (32.2%)

Threshold costs 0.0b (32.2%)

Counts
8 → 1
Compiler

Compiled 578 to 347 computations (40% 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

end42.0ms (1.7%)

Remove

(sort x y)

Compiler

Compiled 50 to 32 computations (36% saved)

Profiling

Loading profile data...