Details

Time bar (total: 1.1s)

analyze2.0ms (0.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)

sample37.0ms (3.4%)

Algorithm
intervals
Symmetry

(sort x y)

Results
8.0ms256×body128valid
Compiler

Compiled 17 to 13 computations (23.5% saved)

simplify9.0ms (0.9%)

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.4%)

Local error

Found 1 expressions with local error:

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

series7.0ms (0.7%)

Counts
1 → 0
Calls

1 calls:

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

rewrite4.0ms (0.4%)

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 (5.3%)

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 (1%)

Pruning

2 alts after pruning (1 fresh and 1 done)

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

Compiled 351 to 134 computations (61.8% saved)

localize9.0ms (0.8%)

Local error

Found 4 expressions with local error:

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

series41.0ms (3.8%)

Counts
4 → 50
Calls

4 calls:

17.0ms
(*.f64 (sqrt.f64 (fabs.f64 (+.f64 (sqrt.f64 x) (sqrt.f64 y)))) (sqrt.f64 (fabs.f64 (-.f64 (sqrt.f64 x) (sqrt.f64 y)))))
11.0ms
(+.f64 (sqrt.f64 x) (sqrt.f64 y))
6.0ms
(sqrt.f64 (fabs.f64 (+.f64 (sqrt.f64 x) (sqrt.f64 y))))
6.0ms
(sqrt.f64 (fabs.f64 (-.f64 (sqrt.f64 x) (sqrt.f64 y))))

rewrite45.0ms (4.2%)

Algorithm
rewrite-expression-head
Rules
92×add-sqr-sqrt_binary64
89×sqrt-prod_binary64
44×fabs-mul_binary64
36×*-un-lft-identity_binary64
24×rem-sqrt-square_binary64
Counts
4 → 152
Calls

4 calls:

17.0ms
(*.f64 (sqrt.f64 (fabs.f64 (+.f64 (sqrt.f64 x) (sqrt.f64 y)))) (sqrt.f64 (fabs.f64 (-.f64 (sqrt.f64 x) (sqrt.f64 y)))))
5.0ms
(sqrt.f64 (fabs.f64 (-.f64 (sqrt.f64 x) (sqrt.f64 y))))
4.0ms
(sqrt.f64 (fabs.f64 (+.f64 (sqrt.f64 x) (sqrt.f64 y))))
4.0ms
(+.f64 (sqrt.f64 x) (sqrt.f64 y))

simplify281.0ms (26.1%)

Algorithm
egg-herbie
Rules
964×fma-def_binary64
869×fma-neg_binary64
458×associate-+l+_binary64
364×cancel-sign-sub-inv_binary64
331×associate-+r+_binary64
Counts
202 → 191
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01664714
12923977
25703761
38483761
417163761
538173761
644963761
749563761
850003761
948743761

prune51.0ms (4.7%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1910191
Fresh000
Picked011
Done011
Total1912193
Error
0b
Counts
193 → 2
Alt Table
StatusErrorProgram
50.3b
(*.f64 (sqrt.f64 (fabs.f64 (+.f64 (sqrt.f64 x) (sqrt.f64 y)))) (sqrt.f64 (fabs.f64 (-.f64 (sqrt.f64 x) (sqrt.f64 y)))))
0.0b
(sqrt.f64 (fabs.f64 (-.f64 x y)))
Compiler

Compiled 4414 to 683 computations (84.5% saved)

regimes29.0ms (2.7%)

Accuracy

Total 0.0b remaining (12.5%)

Threshold costs 0.0b (12.5%)

Counts
3 → 1
Compiler

Compiled 228 to 142 computations (37.7% saved)

simplify2.0ms (0.2%)

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.6%)

Remove

(sort x y)

Compiler

Compiled 21 to 15 computations (28.6% saved)

sample479.0ms (44.5%)

Algorithm
intervals
Results
257.0ms8000×body128valid
Compiler

Compiled 41 to 29 computations (29.3% saved)

Profiling

Loading profile data...