Details

Time bar (total: 6.4s)

analyze440.0ms (6.9%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%50%0%3
62.5%37.5%0%4
68.7%31.2%0%5
71.8%28.1%0%6
73.4%26.5%0%7
74.2%25.8%0%8
74.6%25.4%0%9
74.8%25.2%0%10
74.9%25.1%0%11
74.9%25%0%12
74.9%25%0%13
75%25%0%14
Compiler

Compiled 11 to 8 computations (27.3% saved)

sample4.0s (62.6%)

Results
1.9s2603×body1024valid
969.0ms1288×body2048valid
665.0ms1310×body512valid
286.0ms2381×body128valid
158.0ms632×body256valid
34.0ms42×body4096valid
Compiler

Compiled 32 to 23 computations (28.1% saved)

simplify7.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
1-exp_binary64
hypot-1-def_binary64
fma-def_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0812
1139
2149
3139

prune3.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
45.3b
Counts
3 → 1
Alt Table
StatusErrorProgram
45.3b
(log.f64 (+.f64 x (hypot.f64 1 x)))
Compiler

Compiled 30 to 21 computations (30% saved)

localize4.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(hypot.f64 1 x)
0.8b
(+.f64 x (hypot.f64 1 x))
3.1b
(log.f64 (+.f64 x (hypot.f64 1 x)))

series15.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

6.0ms
(+.f64 x (hypot.f64 1 x))
4.0ms
(hypot.f64 1 x)
4.0ms
(log.f64 (+.f64 x (hypot.f64 1 x)))

rewrite8.0ms (0.1%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-log-exp_binary64
add-sqr-sqrt_binary64
add-cube-cbrt_binary64
add-exp-log_binary64
Counts
3 → 44
Calls

3 calls:

4.0ms
(log.f64 (+.f64 x (hypot.f64 1 x)))
3.0ms
(+.f64 x (hypot.f64 1 x))
0.0ms
(hypot.f64 1 x)

simplify78.0ms (1.2%)

Algorithm
egg-herbie
Rules
910×fma-neg_binary64
469×cancel-sign-sub-inv_binary64
426×associate-/r*_binary64
376×fma-def_binary64
361×sub-neg_binary64
Counts
80 → 113
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01481089
13941025
29591013
326751013
449991013
553381013

prune69.0ms (1.1%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1112113
Fresh000
Picked011
Done000
Total1113114
Error
0.0b
Counts
114 → 3
Alt Table
StatusErrorProgram
26.9b
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))
45.3b
(log.f64 (+.f64 x (hypot.f64 1 x)))
51.6b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
Compiler

Compiled 1585 to 1194 computations (24.7% saved)

localize14.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 3/40 (pow.f64 x 5) x)
0.0b
(*.f64 5/112 (pow.f64 x 7))
0.1b
(fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))
19.1b
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))

series17.0ms (0.3%)

Counts
4 → 36
Calls

4 calls:

5.0ms
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))
5.0ms
(fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))
4.0ms
(*.f64 5/112 (pow.f64 x 7))
3.0ms
(fma.f64 3/40 (pow.f64 x 5) x)

rewrite16.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64
17×*-un-lft-identity_binary64
15×add-cube-cbrt_binary64
add-exp-log_binary64
prod-diff_binary64
Counts
4 → 79
Calls

4 calls:

7.0ms
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))
4.0ms
(*.f64 5/112 (pow.f64 x 7))
1.0ms
(fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))
0.0ms
(fma.f64 3/40 (pow.f64 x 5) x)

simplify107.0ms (1.7%)

Algorithm
egg-herbie
Rules
874×fma-neg_binary64
633×times-frac_binary64
600×associate-*r*_binary64
389×fma-def_binary64
339×distribute-lft-in_binary64
Counts
115 → 122
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
01422229
12642018
27931831
334261774
444261759
556321759

prune138.0ms (2.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1211122
Fresh011
Picked011
Done011
Total1214125
Error
0b
Counts
125 → 4
Alt Table
StatusErrorProgram
26.9b
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))
45.3b
(log.f64 (+.f64 x (hypot.f64 1 x)))
44.7b
(/.f64 (-.f64 (*.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 3/40 (pow.f64 x 5) x)) (*.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))) (+.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))))
51.6b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
Compiler

Compiled 3589 to 2846 computations (20.7% saved)

localize17.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))
0.1b
(fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))
23.0b
(-.f64 (*.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 3/40 (pow.f64 x 5) x)) (*.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))))
39.4b
(/.f64 (-.f64 (*.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 3/40 (pow.f64 x 5) x)) (*.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))) (+.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))))

series23.0ms (0.4%)

Counts
3 → 36
Calls

3 calls:

10.0ms
(*.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))
7.0ms
(-.f64 (*.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 3/40 (pow.f64 x 5) x)) (*.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))))
6.0ms
(/.f64 (-.f64 (*.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 3/40 (pow.f64 x 5) x)) (*.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))) (+.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))))

rewrite27.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
27×*-un-lft-identity_binary64
19×add-sqr-sqrt_binary64
17×add-cube-cbrt_binary64
16×times-frac_binary64
10×pow1_binary64
Counts
3 → 93
Calls

3 calls:

7.0ms
(/.f64 (-.f64 (*.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 3/40 (pow.f64 x 5) x)) (*.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))) (+.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))))
6.0ms
(-.f64 (*.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 3/40 (pow.f64 x 5) x)) (*.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))))
3.0ms
(*.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))

simplify176.0ms (2.7%)

Algorithm
egg-herbie
Rules
985×fma-neg_binary64
710×fma-def_binary64
273×associate-/l*_binary64
239×cancel-sign-sub-inv_binary64
162×associate-*l/_binary64
Counts
129 → 183
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01807431
14616739
216625103
343275103
451365103

prune464.0ms (7.2%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2310231
Fresh011
Picked011
Done022
Total2314235
Error
0b
Counts
235 → 4
Alt Table
StatusErrorProgram
26.9b
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))
45.3b
(log.f64 (+.f64 x (hypot.f64 1 x)))
44.7b
(/.f64 (-.f64 (*.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 3/40 (pow.f64 x 5) x)) (*.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))) (+.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))))
51.6b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
Compiler

Compiled 14447 to 11312 computations (21.7% saved)

localize6.0ms (0.1%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))
0.1b
(/.f64 1/8 (pow.f64 x 3))
12.8b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))

series10.0ms (0.2%)

Counts
3 → 24
Calls

3 calls:

4.0ms
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
3.0ms
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))
3.0ms
(/.f64 1/8 (pow.f64 x 3))

rewrite65.0ms (1%)

Algorithm
rewrite-expression-head
Rules
76×times-frac_binary64
63×*-un-lft-identity_binary64
51×add-sqr-sqrt_binary64
51×add-cube-cbrt_binary64
40×fma-def_binary64
Counts
3 → 142
Calls

3 calls:

30.0ms
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))
23.0ms
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
4.0ms
(/.f64 1/8 (pow.f64 x 3))

simplify98.0ms (1.5%)

Algorithm
egg-herbie
Rules
409×fma-def_binary64
378×associate-/l*_binary64
347×cancel-sign-sub-inv_binary64
334×associate-*l/_binary64
284×associate-/l/_binary64
Counts
166 → 185
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01952065
14021967
213951913
347651912
450791912

prune118.0ms (1.8%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1850185
Fresh000
Picked011
Done033
Total1854189
Error
0b
Counts
189 → 4
Alt Table
StatusErrorProgram
26.9b
(-.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))
45.3b
(log.f64 (+.f64 x (hypot.f64 1 x)))
44.7b
(/.f64 (-.f64 (*.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 3/40 (pow.f64 x 5) x)) (*.f64 (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7))))) (+.f64 (fma.f64 3/40 (pow.f64 x 5) x) (fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))))
51.6b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
Compiler

Compiled 3385 to 2688 computations (20.6% saved)

regimes251.0ms (3.9%)

Accuracy

Total 0.1b remaining (70.9%)

Threshold costs 0.1b (70.9%)

Counts
48 → 3
Compiler

Compiled 4347 to 3367 computations (22.5% saved)

bsearch36.0ms (0.6%)

Steps
ItersRangePoint
9
8.107219468450077e-6
90.26735218946727
0.022501888022473358
9
-13678.82421558709
-0.0035650359605743677
-1.1236408870514942
Compiler

Compiled 2 to 1 computations (50% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
neg-sub0_binary64
neg-mul-1_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
037110
145110
249110
351110
452110
551110

end185.0ms (2.9%)

Compiler

Compiled 244 to 188 computations (23% saved)

Profiling

Loading profile data...