Details

Time bar (total: 5.2s)

analyze1.0ms (0%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
100%0%0%1
Compiler

Compiled 14 to 13 computations (7.1% saved)

sample1.7s (32.6%)

Results
863.0ms2222×body2048valid
354.0ms4249×body128valid
285.0ms1010×body1024valid
117.0ms521×body512valid
39.0ms254×body256valid
Compiler

Compiled 41 to 38 computations (7.3% saved)

simplify11.0ms (0.2%)

Algorithm
egg-herbie
Rules
sub-neg_binary64
fma-def_binary64
+-commutative_binary64
*-commutative_binary64
associate-+l-_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01018
12215
22715
33515
44215
55215
66015
76915
87215
95315

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
15.7b
Counts
3 → 1
Alt Table
StatusErrorProgram
15.7b
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
Compiler

Compiled 45 to 41 computations (8.9% saved)

localize6.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 1/2 (hypot.f64 1 x))
0.0b
(hypot.f64 1 x)
0.0b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
2.1b
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))

series21.0ms (0.4%)

Counts
4 → 48
Calls

4 calls:

6.0ms
(hypot.f64 1 x)
6.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
5.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
3.0ms
(/.f64 1/2 (hypot.f64 1 x))

rewrite24.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity_binary64
43×add-sqr-sqrt_binary64
29×add-cube-cbrt_binary64
24×sqrt-prod_binary64
21×prod-diff_binary64
Counts
4 → 110
Calls

4 calls:

8.0ms
(-.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
6.0ms
(/.f64 1/2 (hypot.f64 1 x))
5.0ms
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
0.0ms
(hypot.f64 1 x)

simplify137.0ms (2.6%)

Algorithm
egg-herbie
Rules
661×fma-def_binary64
463×fma-neg_binary64
398×times-frac_binary64
372×associate-*l*_binary64
332×associate-*r*_binary64
Counts
158 → 196
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02613244
16532896
218042575
345602539
448602539
552662539

prune193.0ms (3.7%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1933196
Fresh000
Picked101
Done000
Total1943197
Error
0.0b
Counts
197 → 3
Alt Table
StatusErrorProgram
15.7b
(-.f64 1 (hypot.f64 (sqrt.f64 1/2) (sqrt.f64 (/.f64 1/2 (hypot.f64 1 x)))))
28.0b
(fma.f64 1/8 (*.f64 x x) (fma.f64 69/1024 (pow.f64 x 6) (fma.f64 (pow.f64 x 8) -1843/32768 (*.f64 (pow.f64 x 4) -11/128))))
15.3b
(/.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
Compiler

Compiled 4439 to 3940 computations (11.2% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))
0.0b
(/.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
0.0b
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
1.7b
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

series33.0ms (0.6%)

Counts
3 → 36
Calls

3 calls:

25.0ms
(/.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
5.0ms
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
3.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))

rewrite44.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
116×*-un-lft-identity_binary64
116×add-sqr-sqrt_binary64
80×times-frac_binary64
60×add-cube-cbrt_binary64
39×prod-diff_binary64
Counts
3 → 157
Calls

3 calls:

15.0ms
(/.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
8.0ms
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
6.0ms
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))

simplify160.0ms (3.1%)

Algorithm
egg-herbie
Rules
565×times-frac_binary64
260×fma-def_binary64
206×associate-*r*_binary64
200×associate-/r*_binary64
184×fma-neg_binary64
Counts
193 → 229
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
04488251
112495965
238875923
350505923

prune332.0ms (6.4%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2693272
Fresh202
Picked101
Done000
Total2723275
Error
0b
Counts
275 → 3
Alt Table
StatusErrorProgram
15.3b
(/.f64 (log.f64 (exp.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
15.3b
(/.f64 (log.f64 (/.f64 (exp.f64 1/2) (exp.f64 (/.f64 1/2 (hypot.f64 1 x))))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
27.7b
(fma.f64 (pow.f64 x 6) 69/1024 (fma.f64 x (*.f64 x 1/8) (*.f64 (pow.f64 x 4) -11/128)))
Compiler

Compiled 10113 to 9043 computations (10.6% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (log.f64 (/.f64 (exp.f64 1/2) (exp.f64 (/.f64 1/2 (hypot.f64 1 x))))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
0.0b
(/.f64 (exp.f64 1/2) (exp.f64 (/.f64 1/2 (hypot.f64 1 x))))
0.0b
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
1.7b
(log.f64 (/.f64 (exp.f64 1/2) (exp.f64 (/.f64 1/2 (hypot.f64 1 x)))))

series40.0ms (0.8%)

Counts
3 → 36
Calls

3 calls:

26.0ms
(/.f64 (log.f64 (/.f64 (exp.f64 1/2) (exp.f64 (/.f64 1/2 (hypot.f64 1 x))))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
10.0ms
(log.f64 (/.f64 (exp.f64 1/2) (exp.f64 (/.f64 1/2 (hypot.f64 1 x)))))
4.0ms
(/.f64 (exp.f64 1/2) (exp.f64 (/.f64 1/2 (hypot.f64 1 x))))

rewrite36.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
85×*-un-lft-identity_binary64
54×times-frac_binary64
46×add-sqr-sqrt_binary64
32×add-cube-cbrt_binary64
28×distribute-lft-out_binary64
Counts
3 → 124
Calls

3 calls:

14.0ms
(/.f64 (log.f64 (/.f64 (exp.f64 1/2) (exp.f64 (/.f64 1/2 (hypot.f64 1 x))))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
6.0ms
(log.f64 (/.f64 (exp.f64 1/2) (exp.f64 (/.f64 1/2 (hypot.f64 1 x)))))
5.0ms
(/.f64 (exp.f64 1/2) (exp.f64 (/.f64 1/2 (hypot.f64 1 x))))

simplify154.0ms (3%)

Algorithm
egg-herbie
Rules
799×fma-def_binary64
561×times-frac_binary64
220×fma-neg_binary64
214×cancel-sign-sub-inv_binary64
184×associate-/r*_binary64
Counts
160 → 229
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
03545310
19244923
228064854
345994854
453174854

prune306.0ms (5.9%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New2720272
Fresh022
Picked011
Done000
Total2723275
Error
0b
Counts
275 → 3
Alt Table
StatusErrorProgram
15.3b
(/.f64 (log.f64 (exp.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
15.3b
(/.f64 (log.f64 (/.f64 (exp.f64 1/2) (exp.f64 (/.f64 1/2 (hypot.f64 1 x))))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
27.7b
(fma.f64 (pow.f64 x 6) 69/1024 (fma.f64 x (*.f64 x 1/8) (*.f64 (pow.f64 x 4) -11/128)))
Compiler

Compiled 9125 to 8231 computations (9.8% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(/.f64 (log.f64 (exp.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
0.0b
(+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))
1.7b
(-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))
1.7b
(log.f64 (exp.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))

series28.0ms (0.5%)

Counts
2 → 24
Calls

2 calls:

24.0ms
(/.f64 (log.f64 (exp.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
3.0ms
(log.f64 (exp.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))

rewrite61.0ms (1.2%)

Algorithm
rewrite-expression-head
Rules
141×*-un-lft-identity_binary64
132×add-sqr-sqrt_binary64
104×times-frac_binary64
70×add-cube-cbrt_binary64
56×log-prod_binary64
Counts
2 → 167
Calls

2 calls:

20.0ms
(/.f64 (log.f64 (exp.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
11.0ms
(log.f64 (exp.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x)))))

simplify263.0ms (5.1%)

Algorithm
egg-herbie
Rules
495×times-frac_binary64
288×exp-prod_binary64
222×fma-def_binary64
199×log-pow_binary64
189×fma-neg_binary64
Counts
191 → 238
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
05637634
111986424
233166040
345506040
449006040
547466040

prune510.0ms (9.9%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New3850385
Fresh011
Picked011
Done011
Total3853388
Error
0b
Counts
388 → 3
Alt Table
StatusErrorProgram
15.3b
(/.f64 (log.f64 (exp.f64 (-.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
15.3b
(/.f64 (log.f64 (/.f64 (exp.f64 1/2) (exp.f64 (/.f64 1/2 (hypot.f64 1 x))))) (+.f64 1 (sqrt.f64 (+.f64 1/2 (/.f64 1/2 (hypot.f64 1 x))))))
27.7b
(fma.f64 (pow.f64 x 6) 69/1024 (fma.f64 x (*.f64 x 1/8) (*.f64 (pow.f64 x 4) -11/128)))
Compiler

Compiled 15533 to 13977 computations (10% saved)

regimes940.0ms (18.2%)

Accuracy

Total 0.2b remaining (82%)

Threshold costs 0.2b (82%)

Counts
119 → 3
Compiler

Compiled 14635 to 13235 computations (9.6% saved)

bsearch43.0ms (0.8%)

Steps
ItersRangePoint
11
1.3245244896681527e-12
50115910.61651929
1.3900848933172312
10
-25839770606.22214
-0.00030729904005259695
-0.010110969448982569
Compiler

Compiled 2 to 1 computations (50% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
distribute-neg-frac_binary64
neg-sub0_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03795
14595
25195
35395
45495
55295

end110.0ms (2.1%)

Compiler

Compiled 187 to 159 computations (15% saved)

Profiling

Loading profile data...