Details

Time bar (total: 14.0s)

analyze184.0ms (1.3%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%68.7%6.3%6
25%56.2%18.8%7
25%48.4%26.6%8
25%35.1%39.9%9
28.1%18.3%53.6%10
31.6%12.3%56.1%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 34 to 22 computations (35.3% saved)

sample1.3s (9%)

Results
1.2s8256×body128valid
0.0msbody128invalid
Compiler

Compiled 101 to 65 computations (35.6% saved)

simplify65.0ms (0.5%)

Algorithm
egg-herbie
Rules
725×fma-def_binary64
669×unsub-neg_binary64
596×cancel-sign-sub-inv_binary64
340×+-commutative_binary64
277×fma-neg_binary64
Counts
1 → 2
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02042
16340
217036
354236
4186732
5328132
6488132
7495832

prune5.0ms (0%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.0b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.3b
(-.f64 (+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))))) 1)
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4)) -1)
Compiler

Compiled 172 to 108 computations (37.2% saved)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a -3 1)
0.1b
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4))
0.1b
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
0.4b
(*.f64 (*.f64 b b) (fma.f64 a -3 1))

series47.0ms (0.3%)

Counts
4 → 84
Calls

4 calls:

28.0ms
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4))
10.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
8.0ms
(*.f64 (*.f64 b b) (fma.f64 a -3 1))
1.0ms
(fma.f64 a -3 1)

rewrite122.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
440×prod-diff_binary64
320×fma-udef_binary64
233×expm1-udef_binary64
233×log1p-udef_binary64
209×log-pow_binary64
Counts
4 → 94
Calls

4 calls:

120.0ms
(fma.f64 a -3 1)
120.0ms
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) (pow.f64 (hypot.f64 a b) 4))
120.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1)))
120.0ms
(*.f64 (*.f64 b b) (fma.f64 a -3 1))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01464
128364
2297264
3489764
4499364
5494464

simplify79.0ms (0.6%)

Algorithm
egg-herbie
Rules
645×fma-def_binary64
541×+-commutative_binary64
524×sub-neg_binary64
420×associate--l+_binary64
415×fma-neg_binary64
Counts
178 → 139
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0591651
11951531
25881259
323201236
442661236
550791236

prune211.0ms (1.5%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1354139
Fresh101
Picked101
Done000
Total1374141
Error
0b
Counts
141 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (+.f64 1 (*.f64 a -3)))) (pow.f64 (hypot.f64 a b) 4)) -1)
1.3b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (-.f64 (exp.f64 (log1p.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1)))) 1)) (pow.f64 (hypot.f64 a b) 4)) -1)
21.1b
(+.f64 (/.f64 (-.f64 (*.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4)) (pow.f64 (hypot.f64 b a) 8)) (-.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (pow.f64 (hypot.f64 b a) 4))) -1)
13.0b
(+.f64 (*.f64 (pow.f64 a 3) (+.f64 a 4)) -1)
Compiler

Compiled 3997 to 2252 computations (43.7% saved)

localize14.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (+.f64 1 (*.f64 a -3)))) (pow.f64 (hypot.f64 a b) 4)) -1)
0.1b
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (+.f64 1 (*.f64 a -3)))) (pow.f64 (hypot.f64 a b) 4))
0.1b
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (+.f64 1 (*.f64 a -3))))
0.4b
(*.f64 (*.f64 b b) (+.f64 1 (*.f64 a -3)))

series85.0ms (0.6%)

Counts
4 → 96
Calls

4 calls:

31.0ms
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (+.f64 1 (*.f64 a -3)))) (pow.f64 (hypot.f64 a b) 4)) -1)
29.0ms
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (+.f64 1 (*.f64 a -3)))) (pow.f64 (hypot.f64 a b) 4))
13.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (+.f64 1 (*.f64 a -3))))
13.0ms
(*.f64 (*.f64 b b) (+.f64 1 (*.f64 a -3)))

rewrite83.0ms (0.6%)

Algorithm
batch-egg-rewrite
Rules
959×prod-diff_binary64
171×add-sqr-sqrt_binary64
166×log1p-expm1-u_binary64
166×expm1-log1p-u_binary64
162×add-cbrt-cube_binary64
Counts
4 → 108
Calls

4 calls:

78.0ms
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (+.f64 1 (*.f64 a -3)))) (pow.f64 (hypot.f64 a b) 4)) -1)
78.0ms
(fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (+.f64 1 (*.f64 a -3)))) (pow.f64 (hypot.f64 a b) 4))
78.0ms
(fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (+.f64 1 (*.f64 a -3))))
78.0ms
(*.f64 (*.f64 b b) (+.f64 1 (*.f64 a -3)))
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01799
136291
2409391
3593991

simplify114.0ms (0.8%)

Algorithm
egg-herbie
Rules
783×fma-def_binary64
710×fma-neg_binary64
379×associate--l+_binary64
341×associate-+r+_binary64
302×associate--r+_binary64
Counts
204 → 162
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0662414
12362229
27731843
328271786
449831786

prune179.0ms (1.3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1620162
Fresh033
Picked011
Done000
Total1624166
Error
0b
Counts
166 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (+.f64 1 (*.f64 a -3)))) (pow.f64 (hypot.f64 a b) 4)) -1)
1.3b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (-.f64 (exp.f64 (log1p.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1)))) 1)) (pow.f64 (hypot.f64 a b) 4)) -1)
21.1b
(+.f64 (/.f64 (-.f64 (*.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4)) (pow.f64 (hypot.f64 b a) 8)) (-.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (pow.f64 (hypot.f64 b a) 4))) -1)
13.0b
(+.f64 (*.f64 (pow.f64 a 3) (+.f64 a 4)) -1)
Compiler

Compiled 5191 to 2920 computations (43.7% saved)

localize16.0ms (0.1%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 a (fma.f64 a a a) (-.f64 (exp.f64 (log1p.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1)))) 1))
0.4b
(*.f64 (*.f64 b b) (fma.f64 a -3 1))
0.9b
(exp.f64 (log1p.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1))))
2.0b
(-.f64 (exp.f64 (log1p.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1)))) 1)

series10.0s (71.7%)

Counts
3 → 72
Calls

3 calls:

5.3s
(-.f64 (exp.f64 (log1p.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1)))) 1)
4.6s
(exp.f64 (log1p.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1))))
101.0ms
(fma.f64 a (fma.f64 a a a) (-.f64 (exp.f64 (log1p.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1)))) 1))

rewrite120.0ms (0.9%)

Algorithm
batch-egg-rewrite
Rules
729×prod-diff_binary64
480×fma-udef_binary64
226×fma-neg_binary64
221×fma-def_binary64
205×log1p-udef_binary64
Counts
3 → 134
Calls

3 calls:

117.0ms
(fma.f64 a (fma.f64 a a a) (-.f64 (exp.f64 (log1p.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1)))) 1))
117.0ms
(exp.f64 (log1p.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1))))
117.0ms
(-.f64 (exp.f64 (log1p.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1)))) 1)
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01345
124544
2272442
3468842
4468142
5500042

simplify112.0ms (0.8%)

Algorithm
egg-herbie
Rules
832×prod-exp_binary64
815×fma-neg_binary64
720×cancel-sign-sub-inv_binary64
716×div-sub_binary64
414×div-exp_binary64
Counts
206 → 178
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0931292
12891138
2832927
32392891
43792891
54512891
64437891
75413891

prune236.0ms (1.7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2040204
Fresh022
Picked011
Done011
Total2044208
Error
0b
Counts
208 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (+.f64 1 (*.f64 a -3)))) (pow.f64 (hypot.f64 a b) 4)) -1)
1.3b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (-.f64 (exp.f64 (log1p.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1)))) 1)) (pow.f64 (hypot.f64 a b) 4)) -1)
21.1b
(+.f64 (/.f64 (-.f64 (*.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4)) (pow.f64 (hypot.f64 b a) 8)) (-.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (pow.f64 (hypot.f64 b a) 4))) -1)
13.0b
(+.f64 (*.f64 (pow.f64 a 3) (+.f64 a 4)) -1)
Compiler

Compiled 6826 to 4121 computations (39.6% saved)

localize5.0ms (0%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(*.f64 (pow.f64 a 3) (+.f64 a 4))

series3.0ms (0%)

Counts
1 → 12
Calls

1 calls:

3.0ms
(*.f64 (pow.f64 a 3) (+.f64 a 4))

rewrite39.0ms (0.3%)

Algorithm
batch-egg-rewrite
Rules
712×log1p-expm1-u_binary64
712×expm1-log1p-u_binary64
217×prod-diff_binary64
129×log1p-udef_binary64
73×add-sqr-sqrt_binary64
Counts
1 → 26
Calls

1 calls:

39.0ms
(*.f64 (pow.f64 a 3) (+.f64 a 4))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0710
116010
2180510
3485210

simplify153.0ms (1.1%)

Algorithm
egg-herbie
Rules
769×sqr-pow_binary64
591×pow-sqr_binary64
582×fabs-mul_binary64
542×cube-prod_binary64
528×fma-def_binary64
Counts
38 → 30
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
08114
122114
246114
384105
4197105
5587105
61188105
71442105
81591105
91759105
101989105
112248105
122517105
132858105
143379105
154049105
164283105
174497105
184633105
194690105
204727105
214806105

prune38.0ms (0.3%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New30030
Fresh011
Picked011
Done022
Total30434
Error
0b
Counts
34 → 4
Alt Table
StatusErrorProgram
0.0b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (+.f64 1 (*.f64 a -3)))) (pow.f64 (hypot.f64 a b) 4)) -1)
1.3b
(+.f64 (fma.f64 4 (fma.f64 a (fma.f64 a a a) (-.f64 (exp.f64 (log1p.f64 (*.f64 (*.f64 b b) (fma.f64 a -3 1)))) 1)) (pow.f64 (hypot.f64 a b) 4)) -1)
21.1b
(+.f64 (/.f64 (-.f64 (*.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4)) (pow.f64 (hypot.f64 b a) 8)) (-.f64 (*.f64 (fma.f64 a (fma.f64 a a a) (*.f64 (*.f64 b b) (fma.f64 a -3 1))) 4) (pow.f64 (hypot.f64 b a) 4))) -1)
13.0b
(+.f64 (*.f64 (pow.f64 a 3) (+.f64 a 4)) -1)
Compiler

Compiled 552 to 422 computations (23.6% saved)

regimes662.0ms (4.7%)

Accuracy

Total 0.0b remaining (44%)

Threshold costs 0.0b (44%)

Counts
125 → 1
Compiler

Compiled 16660 to 11278 computations (32.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
+-commutative_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01632
12132
22032

end102.0ms (0.7%)

Compiler

Compiled 182 to 114 computations (37.4% saved)

Profiling

Loading profile data...