Details

Time bar (total: 8.8s)

analyze464.0ms (5.3%)

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.7s (53.6%)

Results
2.2s2603×body1024valid
1.1s1288×body2048valid
666.0ms1310×body512valid
374.0ms2381×body128valid
196.0ms632×body256valid
119.0ms42×body4096valid
Compiler

Compiled 32 to 23 computations (28.1% saved)

simplify24.0ms (0.3%)

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

prune9.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

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

Compiled 30 to 21 computations (30% saved)

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

series13.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

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

rewrite17.0ms (0.2%)

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:

9.0ms
(+.f64 x (hypot.f64 1 x))
4.0ms
(log.f64 (+.f64 x (hypot.f64 1 x)))
1.0ms
(hypot.f64 1 x)

simplify136.0ms (1.6%)

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

prune122.0ms (1.4%)

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
51.9b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
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.6b
(log.f64 (+.f64 x (hypot.f64 1 x)))
Compiler

Compiled 1585 to 1194 computations (24.7% saved)

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

series35.0ms (0.4%)

Counts
4 → 36
Calls

4 calls:

12.0ms
(fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))
8.0ms
(*.f64 5/112 (pow.f64 x 7))
8.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))))
7.0ms
(fma.f64 3/40 (pow.f64 x 5) x)

rewrite45.0ms (0.5%)

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:

19.0ms
(*.f64 5/112 (pow.f64 x 7))
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))))
1.0ms
(fma.f64 3/40 (pow.f64 x 5) x)
1.0ms
(fma.f64 1/6 (pow.f64 x 3) (*.f64 5/112 (pow.f64 x 7)))

simplify193.0ms (2.2%)

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

prune265.0ms (3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1211122
Fresh011
Picked011
Done011
Total1214125
Error
0b
Counts
125 → 4
Alt Table
StatusErrorProgram
51.9b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
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.6b
(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)))))
Compiler

Compiled 3589 to 2846 computations (20.7% saved)

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

series33.0ms (0.4%)

Counts
3 → 36
Calls

3 calls:

16.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)))))
11.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))))
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)))))

rewrite54.0ms (0.6%)

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:

19.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))))
11.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)))))

simplify327.0ms (3.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

prune915.0ms (10.4%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New2310231
Fresh011
Picked011
Done022
Total2314235
Error
0b
Counts
235 → 4
Alt Table
StatusErrorProgram
51.9b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
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.6b
(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)))))
Compiler

Compiled 14447 to 11312 computations (21.7% saved)

localize19.0ms (0.2%)

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

series26.0ms (0.3%)

Counts
3 → 24
Calls

3 calls:

11.0ms
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))
8.0ms
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
6.0ms
(/.f64 1/8 (pow.f64 x 3))

rewrite140.0ms (1.6%)

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:

71.0ms
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
47.0ms
(+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x))
10.0ms
(/.f64 1/8 (pow.f64 x 3))

simplify117.0ms (1.3%)

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

prune206.0ms (2.3%)

Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New1850185
Fresh000
Picked011
Done033
Total1854189
Error
0b
Counts
189 → 4
Alt Table
StatusErrorProgram
51.9b
(log.f64 (+.f64 (/.f64 1/8 (pow.f64 x 3)) (/.f64 -1/2 x)))
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.6b
(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)))))
Compiler

Compiled 3385 to 2688 computations (20.6% saved)

regimes489.0ms (5.6%)

Accuracy

Total 0.1b remaining (70.5%)

Threshold costs 0.1b (70.5%)

Counts
48 → 3
Compiler

Compiled 4347 to 3367 computations (22.5% saved)

bsearch80.0ms (0.9%)

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)

simplify9.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

end276.0ms (3.1%)

Compiler

Compiled 244 to 188 computations (23% saved)

Profiling

Loading profile data...