Details

Time bar (total: 2.7s)

analyze127.0ms (4.6%)

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)

sample51.0ms (1.8%)

Algorithm
intervals
Results
22.0ms256×body128valid
10.0ms256×pre128true
0.0mspre128false
Compiler

Compiled 43 to 25 computations (41.9% saved)

simplify83.0ms (3%)

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

Pruning

3 alts after pruning (3 fresh and 0 done)

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

Compiled 79 to 45 computations (43% saved)

localize8.0ms (0.3%)

Local error

Found 3 expressions with local error:

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

series61.0ms (2.2%)

Counts
3 → 72
Calls

3 calls:

26.0ms
(sqrt.f64 (fabs.f64 (/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))))
26.0ms
(/.f64 (-.f64 (*.f64 a a) (*.f64 b b)) (*.f64 a a))
9.0ms
(-.f64 (*.f64 a a) (*.f64 b b))

rewrite22.0ms (0.8%)

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:

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

simplify128.0ms (4.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

prune75.0ms (2.7%)

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.1b
(sqrt.f64 (fabs.f64 (*.f64 (/.f64 1 a) (-.f64 a (*.f64 b (/.f64 b a))))))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
Compiler

Compiled 2456 to 686 computations (72.1% saved)

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

series10.0ms (0.4%)

Counts
1 → 0
Calls

1 calls:

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

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

simplify132.0ms (4.8%)

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

prune20.0ms (0.7%)

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.1b
(sqrt.f64 (fabs.f64 (*.f64 (/.f64 1 a) (-.f64 a (*.f64 b (/.f64 b a))))))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
Compiler

Compiled 459 to 229 computations (50.1% saved)

localize10.0ms (0.4%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (fabs.f64 (*.f64 (/.f64 1 a) (-.f64 a (*.f64 b (/.f64 b a))))))
0.1b
(*.f64 b (/.f64 b a))
0.2b
(*.f64 (/.f64 1 a) (-.f64 a (*.f64 b (/.f64 b a))))

series54.0ms (1.9%)

Counts
3 → 72
Calls

3 calls:

22.0ms
(*.f64 (/.f64 1 a) (-.f64 a (*.f64 b (/.f64 b a))))
19.0ms
(sqrt.f64 (fabs.f64 (*.f64 (/.f64 1 a) (-.f64 a (*.f64 b (/.f64 b a))))))
13.0ms
(*.f64 b (/.f64 b a))

rewrite21.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt_binary64
23×*-un-lft-identity_binary64
22×add-cube-cbrt_binary64
21×times-frac_binary64
17×add-exp-log_binary64
Counts
3 → 106
Calls

3 calls:

8.0ms
(*.f64 (/.f64 1 a) (-.f64 a (*.f64 b (/.f64 b a))))
5.0ms
(*.f64 b (/.f64 b a))
2.0ms
(sqrt.f64 (fabs.f64 (*.f64 (/.f64 1 a) (-.f64 a (*.f64 b (/.f64 b a))))))

simplify153.0ms (5.6%)

Algorithm
egg-herbie
Rules
944×fma-def_binary64
468×associate-/l*_binary64
386×associate-/r*_binary64
350×associate-*l/_binary64
276×associate-*r/_binary64
Counts
178 → 173
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02022827
14452609
212602413
337132403
449912403

prune198.0ms (7.2%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1730173
Fresh000
Picked011
Done011
Total1732175
Error
0b
Counts
175 → 2
Alt Table
StatusErrorProgram
0.1b
(sqrt.f64 (fabs.f64 (*.f64 (/.f64 1 a) (-.f64 a (*.f64 b (/.f64 b a))))))
0.0b
(sqrt.f64 (fabs.f64 (fma.f64 (/.f64 b a) (/.f64 b a) -1)))
Compiler

Compiled 3617 to 1538 computations (57.5% saved)

regimes154.0ms (5.6%)

Accuracy

Total 0.0b remaining (35.4%)

Threshold costs 0.0b (35.4%)

Counts
8 → 1
Compiler

Compiled 1065 to 655 computations (38.5% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
1815

end1.0ms (0%)

Compiler

Compiled 12 to 7 computations (41.7% saved)

sample1.4s (51.7%)

Algorithm
intervals
Results
643.0ms8000×body128valid
281.0ms8000×pre128true
13.0ms368×pre128false
Compiler

Compiled 67 to 41 computations (38.8% saved)

Profiling

Loading profile data...