Details

Time bar (total: 2.7s)

analyze129.0ms (4.8%)

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)

sample40.0ms (1.5%)

Algorithm
intervals
Results
12.0ms256×body128valid
1.0ms14×body128nan
Compiler

Compiled 15 to 11 computations (26.7% saved)

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

Local error

Found 1 expressions with local error:

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

series21.0ms (0.8%)

Counts
1 → 8
Calls

1 calls:

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

rewrite7.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:

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

simplify121.0ms (4.5%)

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

prune45.0ms (1.7%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New39241
Fresh000
Picked011
Done000
Total39342
Error
0b
Counts
42 → 3
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 x y))) (sqrt.f64 (sqrt.f64 (+.f64 x y))))
6.7b
(+.f64 (sqrt.f64 y) (*.f64 x (fma.f64 1/2 (sqrt.f64 (/.f64 1 y)) (*.f64 x (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) -1/8)))))
0.0b
(sqrt.f64 (+.f64 x y))
Compiler

Compiled 606 to 342 computations (43.6% saved)

localize9.0ms (0.3%)

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

series76.0ms (2.8%)

Counts
2 → 32
Calls

2 calls:

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

rewrite56.0ms (2.1%)

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:

26.0ms
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 x y))) (sqrt.f64 (sqrt.f64 (+.f64 x y))))
6.0ms
(sqrt.f64 (sqrt.f64 (+.f64 x y)))

simplify181.0ms (6.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

prune184.0ms (6.8%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New3170317
Fresh011
Picked011
Done011
Total3173320
Error
0b
Counts
320 → 3
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 x y))) (sqrt.f64 (sqrt.f64 (+.f64 x y))))
6.7b
(+.f64 (sqrt.f64 y) (*.f64 x (fma.f64 1/2 (sqrt.f64 (/.f64 1 y)) (*.f64 x (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) -1/8)))))
0.0b
(sqrt.f64 (+.f64 x y))
Compiler

Compiled 6715 to 2842 computations (57.7% saved)

localize37.0ms (1.4%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(*.f64 x (fma.f64 1/2 (sqrt.f64 (/.f64 1 y)) (*.f64 x (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) -1/8))))
0.3b
(/.f64 1 (pow.f64 y 3))
5.3b
(*.f64 x (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) -1/8))
21.7b
(sqrt.f64 (/.f64 1 (pow.f64 y 3)))

series213.0ms (7.9%)

Counts
4 → 24
Calls

4 calls:

101.0ms
(*.f64 x (fma.f64 1/2 (sqrt.f64 (/.f64 1 y)) (*.f64 x (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) -1/8))))
96.0ms
(*.f64 x (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) -1/8))
11.0ms
(sqrt.f64 (/.f64 1 (pow.f64 y 3)))
5.0ms
(/.f64 1 (pow.f64 y 3))

rewrite69.0ms (2.5%)

Algorithm
rewrite-expression-head
Rules
80×times-frac_binary64
67×add-sqr-sqrt_binary64
58×*-un-lft-identity_binary64
54×add-cube-cbrt_binary64
40×sqrt-prod_binary64
Counts
4 → 181
Calls

4 calls:

22.0ms
(*.f64 x (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) -1/8))
10.0ms
(sqrt.f64 (/.f64 1 (pow.f64 y 3)))
8.0ms
(/.f64 1 (pow.f64 y 3))
5.0ms
(*.f64 x (fma.f64 1/2 (sqrt.f64 (/.f64 1 y)) (*.f64 x (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) -1/8))))

simplify271.0ms (10%)

Algorithm
egg-herbie
Rules
746×times-frac_binary64
551×unswap-sqr_binary64
391×fma-def_binary64
284×*-commutative_binary64
249×associate-/r*_binary64
Counts
205 → 201
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01643203
12892957
28922955
334182851
448022851
549922851
649002851

prune346.0ms (12.8%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2010201
Fresh000
Picked011
Done022
Total2013204
Error
0b
Counts
204 → 3
Alt Table
StatusErrorProgram
0.4b
(*.f64 (sqrt.f64 (sqrt.f64 (+.f64 x y))) (sqrt.f64 (sqrt.f64 (+.f64 x y))))
6.7b
(+.f64 (sqrt.f64 y) (*.f64 x (fma.f64 1/2 (sqrt.f64 (/.f64 1 y)) (*.f64 x (*.f64 (sqrt.f64 (/.f64 1 (pow.f64 y 3))) -1/8)))))
0.0b
(sqrt.f64 (+.f64 x y))
Compiler

Compiled 5700 to 4187 computations (26.5% saved)

regimes124.0ms (4.6%)

Accuracy

Total 0.0b remaining (38.6%)

Threshold costs 0.0b (38.6%)

Counts
20 → 1
Compiler

Compiled 1230 to 874 computations (28.9% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
056
166
266

end12.0ms (0.4%)

Remove

(sort x y)

Compiler

Compiled 18 to 12 computations (33.3% saved)

sample748.0ms (27.6%)

Algorithm
intervals
Results
342.0ms8000×body128valid
8.0ms234×body128nan
Compiler

Compiled 57 to 39 computations (31.6% saved)

Profiling

Loading profile data...