Details

Time bar (total: 3.6s)

analyze21.0ms (0.6%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
50%50%0.1%3
50%50%0.1%4
74.9%25%0.1%5
74.9%25%0.1%6
87.4%12.5%0.1%7
87.4%12.5%0.1%8
93.7%6.2%0.1%9
93.7%6.2%0.1%10
96.8%3.1%0.1%11
96.8%3.1%0.1%12
98.3%1.6%0.1%13
98.3%1.6%0.1%14
Compiler

Compiled 10 to 7 computations (30% saved)

sample550.0ms (15.1%)

Infinites
12.5% of outputs are infinite.
Results
500.0ms8256×body128valid
Compiler

Compiled 29 to 20 computations (31% saved)

simplify12.0ms (0.3%)

Algorithm
egg-herbie
Rules
39×fma-neg_binary64
17×sub-neg_binary64
17×fma-def_binary64
16×cancel-sign-sub-inv_binary64
associate-/l*_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
11111
21811
32711
44311
57711
68911
711211
813611
915911
1016711
1116111
1214411

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

Compiled 27 to 18 computations (33.3% saved)

localize5.0ms (0.1%)

Local error

Found 1 expressions with local error:

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

series19.0ms (0.5%)

Counts
1 → 0
Calls

1 calls:

19.0ms
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))

rewrite14.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
71×add-sqr-sqrt_binary64
70×fabs-mul_binary64
63×times-frac_binary64
53×*-un-lft-identity_binary64
37×add-cube-cbrt_binary64
Counts
1 → 96
Calls

1 calls:

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

simplify85.0ms (2.3%)

Algorithm
egg-herbie
Rules
901×div-sub_binary64
444×associate-/l/_binary64
439×times-frac_binary64
383×associate-/l*_binary64
382×fma-def_binary64
Counts
96 → 112
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01472173
12222127
24912127
310852127
427142127
551672127

prune52.0ms (1.4%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1093112
Fresh000
Picked011
Done000
Total1094113
Error
0b
Counts
113 → 4
Alt Table
StatusErrorProgram
0.0b
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
0.1b
(/.f64 1 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y))))
0.4b
(*.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))) (/.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))) (fabs.f64 y)))
2.2b
(expm1.f64 (log1p.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))))
Compiler

Compiled 2060 to 417 computations (79.8% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y)))
0.1b
(/.f64 1 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y))))

series45.0ms (1.2%)

Counts
2 → 24
Calls

2 calls:

24.0ms
(/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y)))
20.0ms
(/.f64 1 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y))))

rewrite71.0ms (1.9%)

Algorithm
rewrite-expression-head
Rules
522×times-frac_binary64
394×add-sqr-sqrt_binary64
318×fabs-mul_binary64
312×*-un-lft-identity_binary64
240×add-cube-cbrt_binary64
Counts
2 → 398
Calls

2 calls:

15.0ms
(/.f64 1 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y))))
6.0ms
(/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y)))

simplify308.0ms (8.5%)

Algorithm
egg-herbie
Rules
882×fma-def_binary64
447×times-frac_binary64
356×associate-/r/_binary64
302×associate-/r*_binary64
275×associate-/l*_binary64
Counts
422 → 482
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
026110334
14479455
211759242
329969242
441659242
554409242

prune226.0ms (6.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New4820482
Fresh022
Picked011
Done011
Total4824486
Error
0b
Counts
486 → 4
Alt Table
StatusErrorProgram
0.0b
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
0.1b
(/.f64 1 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y))))
0.4b
(*.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))) (/.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))) (fabs.f64 y)))
2.2b
(expm1.f64 (log1p.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))))
Compiler

Compiled 10444 to 2831 computations (72.9% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

series44.0ms (1.2%)

Counts
3 → 48
Calls

3 calls:

20.0ms
(/.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))) (fabs.f64 y))
17.0ms
(*.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))) (/.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))) (fabs.f64 y)))
7.0ms
(sqrt.f64 (fabs.f64 (-.f64 x y)))

rewrite86.0ms (2.4%)

Algorithm
rewrite-expression-head
Rules
356×add-sqr-sqrt_binary64
228×sqrt-prod_binary64
216×times-frac_binary64
209×fabs-mul_binary64
138×*-un-lft-identity_binary64
Counts
3 → 328
Calls

3 calls:

30.0ms
(*.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))) (/.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))) (fabs.f64 y)))
7.0ms
(/.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))) (fabs.f64 y))
3.0ms
(sqrt.f64 (fabs.f64 (-.f64 x y)))

simplify334.0ms (9.2%)

Algorithm
egg-herbie
Rules
628×fma-def_binary64
595×times-frac_binary64
380×associate-/r/_binary64
282×*-commutative_binary64
250×unswap-sqr_binary64
Counts
376 → 417
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
030910082
16338256
219447024
321017024
432907024
546227024
649867024
749247024

prune251.0ms (6.9%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New4510451
Fresh011
Picked011
Done022
Total4514455
Error
0b
Counts
455 → 4
Alt Table
StatusErrorProgram
0.0b
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
0.1b
(/.f64 1 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y))))
0.4b
(*.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))) (/.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))) (fabs.f64 y)))
2.2b
(expm1.f64 (log1p.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))))
Compiler

Compiled 10843 to 1555 computations (85.7% saved)

localize14.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
2.2b
(expm1.f64 (log1p.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))))
9.0b
(log1p.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y)))

series1.1s (30.5%)

Counts
2 → 48
Calls

2 calls:

1.1s
(log1p.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y)))
16.0ms
(expm1.f64 (log1p.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))))

rewrite2.0ms (0%)

Algorithm
rewrite-expression-head
Rules
expm1-log1p-u_binary64
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
Counts
2 → 22
Calls

2 calls:

0.0ms
(log1p.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y)))
0.0ms
(expm1.f64 (log1p.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))))

simplify143.0ms (3.9%)

Algorithm
egg-herbie
Rules
752×times-frac_binary64
720×unsub-neg_binary64
625×distribute-frac-neg_binary64
439×distribute-rgt-in_binary64
378×distribute-lft-in_binary64
Counts
70 → 31
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
029935
137885
257885
391885
4152885
5334885
61169885
74234885
84938885
93920885
104985885
114997885
124788885

prune94.0ms (2.6%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1430143
Fresh000
Picked011
Done033
Total1434147
Error
0b
Counts
147 → 4
Alt Table
StatusErrorProgram
0.0b
(/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))
0.1b
(/.f64 1 (/.f64 (fabs.f64 y) (fabs.f64 (-.f64 x y))))
0.4b
(*.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))) (/.f64 (sqrt.f64 (fabs.f64 (-.f64 x y))) (fabs.f64 y)))
2.2b
(expm1.f64 (log1p.f64 (/.f64 (fabs.f64 (-.f64 x y)) (fabs.f64 y))))
Compiler

Compiled 2689 to 676 computations (74.9% saved)

regimes67.0ms (1.8%)

Accuracy

Total 0.0b remaining (62.6%)

Threshold costs 0.0b (62.6%)

Counts
20 → 1
Compiler

Compiled 759 to 485 computations (36.1% saved)

simplify3.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
0711
11111
21811
32311
42611
52711
62711

end67.0ms (1.8%)

Compiler

Compiled 65 to 42 computations (35.4% saved)

Profiling

Loading profile data...