Details

Time bar (total: 3.1s)

analyze43.0ms (1.4%)

Algorithm
search
Search
TrueOtherFalseIter
0%12.8%87.2%0
0%12.8%87.2%1
0%12.8%87.2%2
6.4%6.4%87.2%3
6.4%4.8%88.8%4
7.2%3.2%89.6%5
7.2%2.4%90.4%6
7.6%1.6%90.8%7
7.6%1.2%91.2%8
7.8%0.8%91.4%9
7.8%0.6%91.5%10
7.9%0.4%91.7%11
8%0.3%91.7%12
8.1%0.2%91.7%13
8.1%0.2%91.8%14
Compiler

Compiled 25 to 17 computations (32% saved)

sample1.6s (49.8%)

Results
604.0ms5201×body128valid
431.0ms1123×body1024valid
320.0ms1158×body512valid
146.0ms739×body256valid
15.0ms35×body2048valid
7.0ms67×body128invalid
Compiler

Compiled 60 to 40 computations (33.3% saved)

simplify15.0ms (0.5%)

Algorithm
egg-herbie
Rules
107×fma-def_binary64
72×fma-neg_binary64
27×cancel-sign-sub-inv_binary64
24×distribute-rgt-in_binary64
24×sub-neg_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0712
11212
22012
33412
45012
59512
614412
718212
821412
923412
1024212
1124612
1222712

prune1.0ms (0%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
24.3b
Counts
2 → 1
Alt Table
StatusErrorProgram
24.3b
(-.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))
Compiler

Compiled 30 to 18 computations (40% saved)

localize5.0ms (0.2%)

Local error

Found 1 expressions with local error:

NewErrorProgram
4.6b
(-.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))

series20.0ms (0.6%)

Counts
1 → 16
Calls

1 calls:

20.0ms
(-.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))

rewrite13.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt_binary64
21×prod-diff_binary64
19×*-un-lft-identity_binary64
17×sqrt-prod_binary64
17×add-cube-cbrt_binary64
Counts
1 → 47
Calls

1 calls:

9.0ms
(-.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))

simplify87.0ms (2.8%)

Algorithm
egg-herbie
Rules
813×fma-neg_binary64
530×div-sub_binary64
335×fma-def_binary64
308×associate-*l*_binary64
272×associate-*r*_binary64
Counts
63 → 81
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01401837
13101328
28461035
332991035
443851035
551581035

prune40.0ms (1.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New78381
Fresh000
Picked011
Done000
Total78482
Error
0.0b
Counts
82 → 4
Alt Table
StatusErrorProgram
24.3b
(-.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))
36.1b
(*.f64 1/2 (/.f64 eps x))
39.8b
(fma.f64 1/2 (/.f64 eps x) (*.f64 1/8 (/.f64 (*.f64 eps eps) (pow.f64 x 3))))
13.3b
(/.f64 eps (+.f64 x (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)))
Compiler

Compiled 1997 to 510 computations (74.5% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 (sqrt.f64 (neg.f64 eps)) x)
0.0b
(+.f64 x (hypot.f64 (sqrt.f64 (neg.f64 eps)) x))
0.3b
(/.f64 eps (+.f64 x (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)))

series184.0ms (5.8%)

Counts
3 → 39
Calls

3 calls:

109.0ms
(/.f64 eps (+.f64 x (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)))
39.0ms
(+.f64 x (hypot.f64 (sqrt.f64 (neg.f64 eps)) x))
36.0ms
(hypot.f64 (sqrt.f64 (neg.f64 eps)) x)

rewrite9.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity_binary64
13×add-sqr-sqrt_binary64
13×add-cube-cbrt_binary64
12×times-frac_binary64
distribute-lft-out_binary64
Counts
3 → 62
Calls

3 calls:

4.0ms
(/.f64 eps (+.f64 x (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)))
2.0ms
(+.f64 x (hypot.f64 (sqrt.f64 (neg.f64 eps)) x))
0.0ms
(hypot.f64 (sqrt.f64 (neg.f64 eps)) x)

simplify81.0ms (2.6%)

Algorithm
egg-herbie
Rules
918×fma-neg_binary64
781×times-frac_binary64
580×associate-/l*_binary64
460×fma-def_binary64
228×cancel-sign-sub-inv_binary64
Counts
101 → 127
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01852207
14892027
214641923
346811919
453611919

prune68.0ms (2.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1252127
Fresh202
Picked101
Done011
Total1283131
Error
0b
Counts
131 → 3
Alt Table
StatusErrorProgram
0.3b
(/.f64 eps (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))))
24.3b
(-.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))
13.5b
(/.f64 eps (+.f64 x (*.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)) (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)))))
Compiler

Compiled 2515 to 972 computations (61.4% saved)

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))
0.3b
(/.f64 eps (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))))

series94.0ms (3%)

Counts
2 → 32
Calls

2 calls:

75.0ms
(/.f64 eps (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))))
19.0ms
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))

rewrite13.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity_binary64
12×times-frac_binary64
12×add-sqr-sqrt_binary64
12×add-cube-cbrt_binary64
distribute-lft-out_binary64
Counts
2 → 52
Calls

2 calls:

6.0ms
(/.f64 eps (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))))
5.0ms
(+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))

simplify75.0ms (2.4%)

Algorithm
egg-herbie
Rules
537×fma-neg_binary64
395×div-sub_binary64
353×times-frac_binary64
295×associate-/l*_binary64
239×associate-/r*_binary64
Counts
84 → 111
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01341891
13341777
29251696
336461696
450601696

prune42.0ms (1.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1110111
Fresh011
Picked011
Done011
Total1113114
Error
0b
Counts
114 → 3
Alt Table
StatusErrorProgram
0.3b
(/.f64 eps (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))))
24.3b
(-.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))
13.5b
(/.f64 eps (+.f64 x (*.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)) (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)))))
Compiler

Compiled 2168 to 576 computations (73.4% saved)

localize8.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 x (*.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)) (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x))))
0.1b
(sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x))
0.3b
(/.f64 eps (+.f64 x (*.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)) (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)))))
0.5b
(*.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)) (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)))

series232.0ms (7.4%)

Counts
4 → 44
Calls

4 calls:

112.0ms
(/.f64 eps (+.f64 x (*.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)) (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)))))
50.0ms
(sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x))
35.0ms
(+.f64 x (*.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)) (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x))))
34.0ms
(*.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)) (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)))

rewrite19.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
39×add-sqr-sqrt_binary64
22×*-un-lft-identity_binary64
22×add-cube-cbrt_binary64
21×sqrt-prod_binary64
20×pow1_binary64
Counts
4 → 115
Calls

4 calls:

6.0ms
(*.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)) (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)))
3.0ms
(/.f64 eps (+.f64 x (*.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)) (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)))))
2.0ms
(+.f64 x (*.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)) (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x))))
1.0ms
(sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x))

simplify111.0ms (3.5%)

Algorithm
egg-herbie
Rules
804×fma-neg_binary64
593×times-frac_binary64
522×fma-def_binary64
470×associate-/l*_binary64
273×cancel-sign-sub-inv_binary64
Counts
159 → 231
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02433275
16082942
217882774
347162770
452672770

prune177.0ms (5.6%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New2550255
Fresh000
Picked011
Done022
Total2553258
Error
0b
Counts
258 → 3
Alt Table
StatusErrorProgram
0.3b
(/.f64 eps (+.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps))))
24.3b
(-.f64 x (sqrt.f64 (-.f64 (*.f64 x x) eps)))
13.5b
(/.f64 eps (+.f64 x (*.f64 (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)) (sqrt.f64 (hypot.f64 (sqrt.f64 (neg.f64 eps)) x)))))
Compiler

Compiled 6301 to 1778 computations (71.8% saved)

regimes177.0ms (5.6%)

Accuracy

Total 0.3b remaining (95.3%)

Threshold costs 0.3b (95.3%)

Counts
52 → 1
Compiler

Compiled 2729 to 1445 computations (47.1% saved)

simplify4.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
0815
11115
21615
31815
41915
51915

end48.0ms (1.5%)

Compiler

Compiled 65 to 36 computations (44.6% saved)

Profiling

Loading profile data...