Details

Time bar (total: 1.9s)

analyze37.0ms (1.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%37.5%62.5%0
0%37.5%62.5%1
0%18.7%81.3%2
0%9.4%90.6%3
0%9.4%90.6%4
0%7%93%5
1.2%4.7%94.1%6
1.2%3.5%95.3%7
1.8%2.6%95.6%8
2%1.9%96%9
2.4%1.3%96.3%10
2.6%1%96.5%11
2.7%0.7%96.6%12
2.8%0.5%96.7%13
2.9%0.3%96.7%14
Compiler

Compiled 26 to 15 computations (42.3% saved)

sample1.2s (59.8%)

Results
1.0s8256×body128valid
50.0ms394×body128invalid
Compiler

Compiled 67 to 38 computations (43.3% saved)

simplify49.0ms (2.5%)

Algorithm
egg-herbie
Rules
704×fma-def_binary64
643×fma-neg_binary64
603×associate-/r*_binary64
566×associate-*l*_binary64
362×distribute-rgt-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
0920
12617
26915
319415
446415
5152115
6478115
7516015

prune3.0ms (0.2%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
17.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
17.0b
(sqrt.f64 (fabs.f64 (fma.f64 b (/.f64 b (*.f64 a a)) -1)))
17.0b
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
Compiler

Compiled 79 to 45 computations (43% saved)

localize7.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (*.f64 a a) (*.f64 b b))
0.0b
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
16.5b
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))

series57.0ms (2.9%)

Counts
3 → 72
Calls

3 calls:

27.0ms
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))
23.0ms
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
7.0ms
(-.f64 (*.f64 a a) (*.f64 b b))

rewrite19.0ms (1%)

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt_binary64
13×sqrt-prod_binary64
11×times-frac_binary64
10×fabs-mul_binary64
*-un-lft-identity_binary64
Counts
3 → 75
Calls

3 calls:

8.0ms
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))
4.0ms
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
3.0ms
(-.f64 (*.f64 a a) (*.f64 b b))

simplify112.0ms (5.7%)

Algorithm
egg-herbie
Rules
653×times-frac_binary64
330×associate-*l*_binary64
306×associate-/l*_binary64
296×fma-neg_binary64
282×associate-*r*_binary64
Counts
147 → 125
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01342391
12852222
28792113
338712101
448882101
549812101

prune68.0ms (3.5%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1232125
Fresh101
Picked101
Done000
Total1252127
Error
0b
Counts
127 → 2
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
0.0b
(expm1.f64 (log1p.f64 (sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))))
Compiler

Compiled 2454 to 684 computations (72.1% saved)

localize5.0ms (0.3%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))

series8.0ms (0.4%)

Counts
1 → 0
Calls

1 calls:

8.0ms
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))

rewrite3.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
sqrt-prod_binary64
add-sqr-sqrt_binary64
fabs-mul_binary64
rem-sqrt-square_binary64
*-un-lft-identity_binary64
Counts
1 → 21
Calls

1 calls:

1.0ms
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))

simplify109.0ms (5.6%)

Algorithm
egg-herbie
Rules
623×div-sub_binary64
521×fma-def_binary64
500×unsub-neg_binary64
476×distribute-neg-in_binary64
362×unswap-sqr_binary64
Counts
21 → 23
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
037397
144370
256370
372370
4105370
5160370
6263370
7535370
81105370
92806370
103741370
114491370
124947370
134784370

prune16.0ms (0.8%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New23023
Fresh011
Picked011
Done000
Total23225
Error
0b
Counts
25 → 2
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
0.0b
(expm1.f64 (log1p.f64 (sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))))
Compiler

Compiled 457 to 227 computations (50.3% saved)

localize9.0ms (0.4%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
0.0b
(expm1.f64 (log1p.f64 (sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))))

series8.0ms (0.4%)

Counts
1 → 24
Calls

1 calls:

8.0ms
(expm1.f64 (log1p.f64 (sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))))

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-cbrt-cube_binary64
add-exp-log_binary64
Counts
1 → 11
Calls

1 calls:

0.0ms
(expm1.f64 (log1p.f64 (sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))))

simplify102.0ms (5.2%)

Algorithm
egg-herbie
Rules
521×fma-def_binary64
505×div-sub_binary64
500×unsub-neg_binary64
480×sub-neg_binary64
476×distribute-neg-in_binary64
Counts
35 → 18
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
020583
122552
233552
353552
486552
5141552
6245552
7517552
81087552
92788552
103725552
114475552
124881552

prune28.0ms (1.5%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New41041
Fresh000
Picked011
Done011
Total41243
Error
0b
Counts
43 → 2
Alt Table
StatusErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
0.0b
(expm1.f64 (log1p.f64 (sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))))
Compiler

Compiled 823 to 442 computations (46.3% saved)

regimes94.0ms (4.8%)

Accuracy

Total 0.0b remaining (44.4%)

Threshold costs 0.0b (44.4%)

Counts
12 → 1
Compiler

Compiled 1529 to 949 computations (37.9% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
1815

end45.0ms (2.3%)

Compiler

Compiled 50 to 30 computations (40% saved)

Profiling

Loading profile data...