Details

Time bar (total: 3.3s)

analyze6.0ms (0.2%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%100%0%3
75%25%0%4
87.5%12.5%0%5
93.7%6.2%0%6
96.8%3.1%0%7
98.4%1.6%0%8
99.2%0.8%0%9
99.6%0.4%0%10
99.8%0.2%0%11
99.9%0.1%0%12
99.9%0%0%13
99.9%0%0%14
Compiler

Compiled 15 to 11 computations (26.7% saved)

sample1.7s (49.3%)

Results
656.0ms2095×body1024valid
451.0ms4399×body128valid
248.0ms1001×body512valid
88.0ms536×body256valid
87.0ms225×body2048valid
Compiler

Compiled 44 to 32 computations (27.3% saved)

simplify101.0ms (3%)

Algorithm
egg-herbie
Rules
742×rules-20_binary64
268×rules-21_binary64
249×fma-neg_binary64
191×rules-6-rev_binary64
173×rules-5-rev_binary64
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0819
12019
24619
314519
468919
5322019
6462819
7496519
8491819

prune2.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
28.3b
Counts
2 → 1
Alt Table
StatusErrorProgram
28.3b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
Compiler

Compiled 42 to 30 computations (28.6% saved)

localize6.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(/.f64 x (+.f64 x 1))
0.0b
(/.f64 (+.f64 x 1) (-.f64 x 1))
4.8b
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))

series7.0ms (0.2%)

Counts
3 → 36
Calls

3 calls:

3.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
2.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
2.0ms
(/.f64 x (+.f64 x 1))

rewrite102.0ms (3%)

Algorithm
batch-egg-rewrite
Rules
858×prod-diff_binary64
839×fma-neg_binary64
168×egg-rr
156×expm1-udef_binary64
156×log1p-udef_binary64
Counts
3 → 168
Calls

3 calls:

97.0ms
(/.f64 x (+.f64 x 1))
97.0ms
(/.f64 (+.f64 x 1) (-.f64 x 1))
97.0ms
(-.f64 (/.f64 x (+.f64 x 1)) (/.f64 (+.f64 x 1) (-.f64 x 1)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0836
119836
2270336
3520736
000
100

simplify78.0ms (2.3%)

Algorithm
egg-herbie
Rules
629×rules-21_binary64
404×rules-10-rev_binary64
378×fma-def_binary64
338×rules-13_binary64
225×rules-14-rev_binary64
Counts
204 → 207
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
064475
1249452
2980389
33574375
44714375
55045375

prune168.0ms (5%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2043207
Fresh000
Picked101
Done000
Total2053208
Error
0.0b
Counts
208 → 3
Alt Table
StatusErrorProgram
30.4b
(fma.f64 x (+.f64 3 x) 1)
33.2b
(-.f64 (-.f64 (neg.f64 (/.f64 3 x)) (/.f64 (+.f64 3 x) (pow.f64 x 3))) (/.f64 1 (pow.f64 x 4)))
33.3b
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2))))))
Compiler

Compiled 5398 to 4002 computations (25.9% saved)

localize3.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 x (+.f64 3 x) 1)

series2.0ms (0.1%)

Counts
1 → 12
Calls

1 calls:

2.0ms
(fma.f64 x (+.f64 3 x) 1)

rewrite110.0ms (3.3%)

Algorithm
batch-egg-rewrite
Rules
558×log1p-expm1-u_binary64
558×expm1-log1p-u_binary64
440×fma-neg_binary64
286×fma-def_binary64
170×fma-udef_binary64
Counts
1 → 30
Calls

1 calls:

110.0ms
(fma.f64 x (+.f64 3 x) 1)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11398
216068
349478
449148
549128
000
100

simplify79.0ms (2.3%)

Algorithm
egg-herbie
Rules
650×rules-20_binary64
644×fma-neg_binary64
365×rules-15-rev_binary64
276×rules-4_binary64
199×fma-def_binary64
Counts
42 → 39
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
010114
12782
27276
318276
446676
5204576
6453776
7499476
8506876

prune19.0ms (0.6%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New39039
Fresh022
Picked011
Done000
Total39342
Error
0.0b
Counts
42 → 3
Alt Table
StatusErrorProgram
30.4b
(fma.f64 x (+.f64 3 x) 1)
33.2b
(-.f64 (-.f64 (neg.f64 (/.f64 3 x)) (/.f64 (+.f64 3 x) (pow.f64 x 3))) (/.f64 1 (pow.f64 x 4)))
33.3b
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2))))))
Compiler

Compiled 476 to 365 computations (23.3% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(-.f64 (neg.f64 (/.f64 3 x)) (/.f64 (+.f64 3 x) (pow.f64 x 3)))
0.3b
(/.f64 1 (pow.f64 x 4))
4.6b
(/.f64 (+.f64 3 x) (pow.f64 x 3))
10.3b
(-.f64 (-.f64 (neg.f64 (/.f64 3 x)) (/.f64 (+.f64 3 x) (pow.f64 x 3))) (/.f64 1 (pow.f64 x 4)))

series12.0ms (0.4%)

Counts
4 → 36
Calls

4 calls:

3.0ms
(-.f64 (-.f64 (neg.f64 (/.f64 3 x)) (/.f64 (+.f64 3 x) (pow.f64 x 3))) (/.f64 1 (pow.f64 x 4)))
3.0ms
(/.f64 (+.f64 3 x) (pow.f64 x 3))
3.0ms
(-.f64 (neg.f64 (/.f64 3 x)) (/.f64 (+.f64 3 x) (pow.f64 x 3)))
3.0ms
(/.f64 1 (pow.f64 x 4))

rewrite96.0ms (2.9%)

Algorithm
batch-egg-rewrite
Rules
259×expm1-udef_binary64
259×log1p-udef_binary64
152×egg-rr
145×add-sqr-sqrt_binary64
143×log1p-expm1-u_binary64
Counts
4 → 152
Calls

4 calls:

93.0ms
(-.f64 (neg.f64 (/.f64 3 x)) (/.f64 (+.f64 3 x) (pow.f64 x 3)))
93.0ms
(/.f64 1 (pow.f64 x 4))
93.0ms
(/.f64 (+.f64 3 x) (pow.f64 x 3))
93.0ms
(-.f64 (-.f64 (neg.f64 (/.f64 3 x)) (/.f64 (+.f64 3 x) (pow.f64 x 3))) (/.f64 1 (pow.f64 x 4)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01456
134756
2439456
3499756
000
100

simplify59.0ms (1.8%)

Algorithm
egg-herbie
Rules
907×fma-neg_binary64
694×rules-14-rev_binary64
594×fma-def_binary64
393×rules-20_binary64
343×rules-15-rev_binary64
Counts
188 → 172
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
033609
191609
2299609
31657433
44442433
55090433

prune145.0ms (4.3%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1711172
Fresh011
Picked011
Done011
Total1714175
Error
0.0b
Counts
175 → 4
Alt Table
StatusErrorProgram
30.4b
(fma.f64 x (+.f64 3 x) 1)
33.8b
(*.f64 (cbrt.f64 (-.f64 (-.f64 (neg.f64 (/.f64 3 x)) (/.f64 (+.f64 3 x) (pow.f64 x 3))) (pow.f64 x -4))) (pow.f64 (cbrt.f64 (-.f64 (-.f64 (neg.f64 (/.f64 3 x)) (/.f64 (+.f64 3 x) (pow.f64 x 3))) (pow.f64 x -4))) 2))
33.2b
(-.f64 (-.f64 (neg.f64 (/.f64 3 x)) (/.f64 (+.f64 3 x) (pow.f64 x 3))) (/.f64 1 (pow.f64 x 4)))
33.3b
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2))))))
Compiler

Compiled 4354 to 3423 computations (21.4% saved)

localize15.0ms (0.5%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(/.f64 1 (pow.f64 x 3))
0.5b
(/.f64 1 (pow.f64 x 2))
6.8b
(+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))
8.2b
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))))

series13.0ms (0.4%)

Counts
4 → 12
Calls

4 calls:

5.0ms
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))))
3.0ms
(+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))
3.0ms
(/.f64 1 (pow.f64 x 3))
2.0ms
(/.f64 1 (pow.f64 x 2))

rewrite95.0ms (2.8%)

Algorithm
batch-egg-rewrite
Rules
296×log1p-udef_binary64
188×prod-diff_binary64
184×log1p-expm1-u_binary64
184×expm1-log1p-u_binary64
172×add-sqr-sqrt_binary64
Counts
4 → 151
Calls

4 calls:

93.0ms
(/.f64 1 (pow.f64 x 3))
93.0ms
(/.f64 1 (pow.f64 x 2))
93.0ms
(+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))
93.0ms
(+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2)))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01842
145942
2455542
3524542
000
100

simplify68.0ms (2%)

Algorithm
egg-herbie
Rules
331×rules-21_binary64
321×rules-15-rev_binary64
315×rules-13_binary64
304×fma-def_binary64
301×rules-14-rev_binary64
Counts
163 → 164
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
022147
157147
2190147
3783123
43010123
54654123
65071123

prune157.0ms (4.7%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1631164
Fresh101
Picked011
Done022
Total1644168
Error
0.0b
Counts
168 → 4
Alt Table
StatusErrorProgram
30.4b
(fma.f64 x (+.f64 3 x) 1)
55.4b
(neg.f64 (pow.f64 (pow.f64 (+.f64 (pow.f64 x -4) (+.f64 (/.f64 3 x) (fma.f64 3 (pow.f64 x -3) (pow.f64 x -2)))) 3) 1/3))
33.2b
(-.f64 (-.f64 (neg.f64 (/.f64 3 x)) (/.f64 (+.f64 3 x) (pow.f64 x 3))) (/.f64 1 (pow.f64 x 4)))
33.3b
(neg.f64 (+.f64 (/.f64 1 (pow.f64 x 4)) (+.f64 (*.f64 3 (/.f64 1 x)) (+.f64 (*.f64 3 (/.f64 1 (pow.f64 x 3))) (/.f64 1 (pow.f64 x 2))))))
Compiler

Compiled 4599 to 3749 computations (18.5% saved)

regimes240.0ms (7.2%)

Accuracy

Total 0.5b remaining (55.3%)

Threshold costs 0.5b (55.3%)

Counts
72 → 2
Compiler

Compiled 2968 to 2392 computations (19.4% saved)

bsearch2.0ms (0.1%)

Compiler

Compiled 14 to 10 computations (28.6% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02458
12658
22558

end93.0ms (2.8%)

Compiler

Compiled 155 to 121 computations (21.9% saved)

Profiling

Loading profile data...