Details

Time bar (total: 1.4s)

analyze53.0ms (3.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
25%74.9%0.1%3
25%62.4%12.6%4
37.5%43.7%18.8%5
37.5%34.3%28.2%6
43.7%23.4%32.9%7
43.7%18%38.3%8
46.8%12.1%41.1%9
46.8%9.2%44%10
48.4%6.1%45.5%11
48.4%4.6%47%12
49.2%3.1%47.7%13
49.2%2.3%48.5%14
Compiler

Compiled 7 to 5 computations (28.6% saved)

sample767.0ms (56.4%)

Symmetry

(sort x y)

Results
717.0ms8256×body128valid
18.0ms257×body128invalid
Compiler

Compiled 20 to 14 computations (30% saved)

simplify6.0ms (0.5%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
166
266

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 (+.f64 x y))
Compiler

Compiled 18 to 12 computations (33.3% saved)

localize3.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 x y))

series21.0ms (1.6%)

Counts
1 → 8
Calls

1 calls:

21.0ms
(sqrt.f64 (+.f64 x y))

rewrite3.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64
sqrt-prod_binary64
sqrt-div_binary64
add-cube-cbrt_binary64
Counts
1 → 19
Calls

1 calls:

3.0ms
(sqrt.f64 (+.f64 x y))

simplify64.0ms (4.7%)

Algorithm
egg-herbie
Rules
917×fma-neg_binary64
656×associate-*l*_binary64
406×distribute-rgt-neg-in_binary64
392×distribute-lft-neg-in_binary64
370×hypot-def_binary64
Counts
27 → 41
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
080388
1187383
2446375
31235372
42724370
54709370
64967370

prune24.0ms (1.8%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New40141
Fresh000
Picked011
Done000
Total40242
Error
0b
Counts
42 → 2
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (+.f64 x y))
0.5b
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 x y))) (sqrt.f64 (sqrt.f64 (+.f64 x y))))
Compiler

Compiled 560 to 306 computations (45.4% saved)

localize5.0ms (0.4%)

Local error

Found 3 expressions with local error:

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

series44.0ms (3.2%)

Counts
2 → 32
Calls

2 calls:

22.0ms
(sqrt.f64 (sqrt.f64 (+.f64 x y)))
22.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 x y))) (sqrt.f64 (sqrt.f64 (+.f64 x y))))

rewrite27.0ms (2%)

Algorithm
rewrite-expression-head
Rules
102×sqrt-prod_binary64
64×add-sqr-sqrt_binary64
36×sqrt-pow1_binary64
32×*-un-lft-identity_binary64
28×sqrt-div_binary64
Counts
2 → 122
Calls

2 calls:

11.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 x y))) (sqrt.f64 (sqrt.f64 (+.f64 x y))))
3.0ms
(sqrt.f64 (sqrt.f64 (+.f64 x y)))

simplify118.0ms (8.7%)

Algorithm
egg-herbie
Rules
521×fma-def_binary64
414×fma-neg_binary64
358×*-commutative_binary64
348×times-frac_binary64
243×associate-/l*_binary64
Counts
154 → 173
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02202687
15152544
215382377
343062272
449022272
549622272

prune144.0ms (10.6%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New3170317
Fresh000
Picked011
Done011
Total3172319
Error
0b
Counts
319 → 2
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (+.f64 x y))
0.5b
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 x y))) (sqrt.f64 (sqrt.f64 (+.f64 x y))))
Compiler

Compiled 6669 to 2806 computations (57.9% saved)

regimes38.0ms (2.8%)

Accuracy

Total 0.0b remaining (29%)

Threshold costs 0.0b (29%)

Counts
9 → 1
Compiler

Compiled 386 to 278 computations (28% saved)

simplify3.0ms (0.2%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
166
266

end38.0ms (2.8%)

Remove

(sort x y)

Compiler

Compiled 43 to 26 computations (39.5% saved)

Profiling

Loading profile data...