Details

Time bar (total: 5.2s)

analyze1.2s (23.3%)

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
0%99.9%0.1%6
0%99.9%0.1%7
0%99.9%0.1%8
0%99.9%0.1%9
0%99.9%0.1%10
0%99.9%0.1%11
0%99.9%0.1%12
0%99.9%0.1%13
0%99.9%0.1%14
Compiler

Compiled 8 to 6 computations (25% saved)

sample795.0ms (15.2%)

Symmetry

(sort x y)

Results
752.0ms8256×body128valid
Compiler

Compiled 23 to 17 computations (26.1% saved)

simplify10.0ms (0.2%)

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

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)

localize6.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series7.0ms (0.1%)

Counts
1 → 0
Calls

1 calls:

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

rewrite4.0ms (0.1%)

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

simplify106.0ms (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.2%)

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
0.0b
(sqrt.f64 (fabs.f64 (-.f64 x y)))
30.1b
(/.f64 (sqrt.f64 (fabs.f64 (-.f64 (*.f64 x x) (*.f64 y y)))) (sqrt.f64 (fabs.f64 (+.f64 x y))))
Compiler

Compiled 351 to 134 computations (61.8% saved)

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (+.f64 x y)))
0.4b
(/.f64 (sqrt.f64 (fabs.f64 (-.f64 (*.f64 x x) (*.f64 y y)))) (sqrt.f64 (fabs.f64 (+.f64 x y))))
3.1b
(-.f64 (*.f64 x x) (*.f64 y y))
28.0b
(sqrt.f64 (fabs.f64 (-.f64 (*.f64 x x) (*.f64 y y))))

series86.0ms (1.6%)

Counts
4 → 96
Calls

4 calls:

52.0ms
(/.f64 (sqrt.f64 (fabs.f64 (-.f64 (*.f64 x x) (*.f64 y y)))) (sqrt.f64 (fabs.f64 (+.f64 x y))))
16.0ms
(sqrt.f64 (fabs.f64 (-.f64 (*.f64 x x) (*.f64 y y))))
11.0ms
(-.f64 (*.f64 x x) (*.f64 y y))
6.0ms
(sqrt.f64 (fabs.f64 (+.f64 x y)))

rewrite52.0ms (1%)

Algorithm
rewrite-expression-head
Rules
208×sqrt-prod_binary64
130×add-sqr-sqrt_binary64
121×times-frac_binary64
112×fabs-mul_binary64
106×*-un-lft-identity_binary64
Counts
4 → 236
Calls

4 calls:

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

simplify312.0ms (6%)

Algorithm
egg-herbie
Rules
808×fma-def_binary64
727×times-frac_binary64
283×fma-neg_binary64
224×cancel-sign-sub-inv_binary64
215×unswap-sqr_binary64
Counts
332 → 269
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02639438
14048989
28908983
321628409
445338409
549738409
649018409

prune95.0ms (1.8%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New2681269
Fresh000
Picked011
Done011
Total2683271
Error
0.0b
Counts
271 → 3
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (-.f64 x y)))
30.1b
(/.f64 (sqrt.f64 (fabs.f64 (-.f64 (*.f64 x x) (*.f64 y y)))) (sqrt.f64 (fabs.f64 (+.f64 x y))))
0.1b
(/.f64 (*.f64 (sqrt.f64 (fabs.f64 (+.f64 x y))) (sqrt.f64 (fabs.f64 (-.f64 x y)))) (sqrt.f64 (fabs.f64 (+.f64 x y))))
Compiler

Compiled 7308 to 1063 computations (85.5% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series22.0ms (0.4%)

Counts
2 → 48
Calls

2 calls:

15.0ms
(*.f64 (sqrt.f64 (fabs.f64 (+.f64 x y))) (sqrt.f64 (fabs.f64 (-.f64 x y))))
6.0ms
(/.f64 (*.f64 (sqrt.f64 (fabs.f64 (+.f64 x y))) (sqrt.f64 (fabs.f64 (-.f64 x y)))) (sqrt.f64 (fabs.f64 (+.f64 x y))))

rewrite49.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
151×add-sqr-sqrt_binary64
99×rem-sqrt-square_binary64
58×fabs-mul_binary64
57×sqrt-prod_binary64
45×fabs-sqr_binary64
Counts
2 → 149
Calls

2 calls:

14.0ms
(/.f64 (*.f64 (sqrt.f64 (fabs.f64 (+.f64 x y))) (sqrt.f64 (fabs.f64 (-.f64 x y)))) (sqrt.f64 (fabs.f64 (+.f64 x y))))
13.0ms
(*.f64 (sqrt.f64 (fabs.f64 (+.f64 x y))) (sqrt.f64 (fabs.f64 (-.f64 x y))))

simplify190.0ms (3.6%)

Algorithm
egg-herbie
Rules
398×fma-def_binary64
386×associate-/l/_binary64
364×associate-/r/_binary64
318×fma-neg_binary64
238×associate-*l/_binary64
Counts
197 → 213
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02124765
14234069
212853875
323663858
430613848
544873848
649573848

prune149.0ms (2.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2942296
Fresh000
Picked101
Done112
Total2963299
Error
0b
Counts
299 → 3
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (-.f64 x y)))
0.5b
(/.f64 (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y)))) (sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y))))) (sqrt.f64 (fabs.f64 (-.f64 x y)))) (sqrt.f64 (fabs.f64 (+.f64 x y))))
0.5b
(/.f64 (*.f64 (*.f64 (sqrt.f64 (fabs.f64 (+.f64 x y))) (sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))))) (sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))))) (sqrt.f64 (fabs.f64 (+.f64 x y))))
Compiler

Compiled 7095 to 1135 computations (84% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y))))
0.4b
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y)))) (sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y))))) (sqrt.f64 (fabs.f64 (-.f64 x y))))
0.4b
(/.f64 (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y)))) (sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y))))) (sqrt.f64 (fabs.f64 (-.f64 x y)))) (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)))))

series609.0ms (11.6%)

Counts
4 → 96
Calls

4 calls:

581.0ms
(sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y))))
14.0ms
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y)))) (sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y))))) (sqrt.f64 (fabs.f64 (-.f64 x y))))
8.0ms
(/.f64 (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y)))) (sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y))))) (sqrt.f64 (fabs.f64 (-.f64 x y)))) (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)))))

rewrite232.0ms (4.4%)

Algorithm
rewrite-expression-head
Rules
876×add-sqr-sqrt_binary64
768×rem-sqrt-square_binary64
536×sqrt-prod_binary64
400×mul-fabs_binary64
267×fabs-mul_binary64
Counts
4 → 494
Calls

4 calls:

36.0ms
(/.f64 (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y)))) (sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y))))) (sqrt.f64 (fabs.f64 (-.f64 x y)))) (sqrt.f64 (fabs.f64 (+.f64 x y))))
25.0ms
(*.f64 (*.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y)))) (sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y))))) (sqrt.f64 (fabs.f64 (-.f64 x y))))
17.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y)))) (sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y)))))
4.0ms
(sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y))))

simplify365.0ms (7%)

Algorithm
egg-herbie
Rules
614×times-frac_binary64
492×associate-/l*_binary64
457×associate-*l*_binary64
330×associate-*r*_binary64
244×fma-def_binary64
Counts
590 → 529
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
041314640
175512536
2318111912
3414111898
4495611898

prune279.0ms (5.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New5710571
Fresh011
Picked011
Done011
Total5713574
Error
0b
Counts
574 → 3
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (-.f64 x y)))
0.5b
(/.f64 (*.f64 (*.f64 (sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y)))) (sqrt.f64 (sqrt.f64 (fabs.f64 (+.f64 x y))))) (sqrt.f64 (fabs.f64 (-.f64 x y)))) (sqrt.f64 (fabs.f64 (+.f64 x y))))
0.5b
(/.f64 (*.f64 (*.f64 (sqrt.f64 (fabs.f64 (+.f64 x y))) (sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))))) (sqrt.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))))) (sqrt.f64 (fabs.f64 (+.f64 x y))))
Compiler

Compiled 18644 to 2998 computations (83.9% saved)

regimes541.0ms (10.3%)

Accuracy

Total 0.0b remaining (29.8%)

Threshold costs 0.0b (29.8%)

Counts
106 → 1
Compiler

Compiled 12158 to 7027 computations (42.2% saved)

simplify2.0ms (0%)

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

end56.0ms (1.1%)

Remove

(sort x y)

Compiler

Compiled 89 to 49 computations (44.9% saved)

Profiling

Loading profile data...