Details

Time bar (total: 4.4s)

analyze899.0ms (20.6%)

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
0%99.9%0.1%5
0%99.9%0.1%6
12.5%87.4%0.1%7
18.7%81.1%0.1%8
31.2%68.6%0.1%9
35.9%55.4%8.7%10
42.9%47.6%9.5%11
51.5%38.2%10.3%12
55%30%15%13
59.5%25.3%15.3%14
Compiler

Compiled 17 to 13 computations (23.5% saved)

sample1.3s (29.1%)

Results
923.0ms7601×body128valid
88.0ms248×body1024valid
72.0ms628×body128invalid
72.0ms246×body512valid
34.0ms161×body256valid
Compiler

Compiled 50 to 38 computations (24% saved)

simplify227.0ms (5.2%)

Algorithm
egg-herbie
Rules
5304×fma-neg_binary64
679×unsub-neg_binary64
400×sub-neg_binary64
376×fma-def_binary64
289×associate--r+_binary64
Counts
1 → 2
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01416
12314
25914
315712
443812
5125312
6207812
7256312
8277712
9290712
10294912
11296412
12296712
13296712
14296712
15314112
16301512
17301512
18806212

prune3.0ms (0.1%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New022
Fresh011
Picked000
Done000
Total033
Error
0.1b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.4b
(+.f64 x (*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z)))
0.2b
(fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)
Compiler

Compiled 81 to 56 computations (30.9% saved)

localize6.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 z -6 4)
0.1b
(fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)

series12.0ms (0.3%)

Counts
2 → 48
Calls

2 calls:

10.0ms
(fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)
1.0ms
(fma.f64 z -6 4)

rewrite108.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
507×fma-def_binary64
433×prod-diff_binary64
403×log-prod_binary64
298×fma-udef_binary64
175×expm1-udef_binary64
Counts
2 → 55
Calls

2 calls:

106.0ms
(fma.f64 z -6 4)
106.0ms
(fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0917
119417
2230117
3484717
4489417
5515117
000
100

simplify123.0ms (2.8%)

Algorithm
egg-herbie
Rules
1259×fma-neg_binary64
445×fma-def_binary64
152×sub-neg_binary64
121×cancel-sign-sub-inv_binary64
117×associate-*l*_binary64
Counts
103 → 75
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
040819
1121721
2273643
3569562
41314562
51413562
61441562
71450562
81459562
91461562
102494562
112494562
122381562

prune72.0ms (1.6%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New68775
Fresh011
Picked101
Done000
Total69877
Error
0b
Counts
77 → 8
Alt Table
StatusErrorProgram
0.2b
(+.f64 x (*.f64 (-.f64 y x) (fma.f64 z -6 4)))
0.1b
(fma.f64 x (fma.f64 6 z -3) (*.f64 y (fma.f64 z -6 4)))
11.4b
(fma.f64 (-.f64 y x) (/.f64 (+.f64 (pow.f64 (*.f64 z -6) 3) 64) (fma.f64 (*.f64 z -6) (*.f64 z -6) (-.f64 16 (*.f64 (*.f64 z -6) 4)))) x)
0.4b
(+.f64 x (*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z)))
0.2b
(-.f64 (+.f64 (*.f64 4 y) (*.f64 6 (*.f64 z x))) (+.f64 (*.f64 6 (*.f64 y z)) (*.f64 3 x)))
13.3b
(fma.f64 (-.f64 y x) (expm1.f64 (log1p.f64 (fma.f64 z -6 4))) x)
32.8b
(pow.f64 (sqrt.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)) 2)
1.3b
(pow.f64 (cbrt.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)) 3)
Compiler

Compiled 1291 to 808 computations (37.4% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 z -6 4)
0.1b
(fma.f64 6 z -3)
0.1b
(*.f64 y (fma.f64 z -6 4))
0.1b
(fma.f64 x (fma.f64 6 z -3) (*.f64 y (fma.f64 z -6 4)))

series26.0ms (0.6%)

Counts
3 → 72
Calls

3 calls:

17.0ms
(fma.f64 x (fma.f64 6 z -3) (*.f64 y (fma.f64 z -6 4)))
7.0ms
(*.f64 y (fma.f64 z -6 4))
1.0ms
(fma.f64 6 z -3)

rewrite58.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
467×log-prod_binary64
207×expm1-udef_binary64
207×log1p-udef_binary64
206×pow1/3_binary64
200×pow3_binary64
Counts
3 → 79
Calls

3 calls:

56.0ms
(fma.f64 6 z -3)
56.0ms
(*.f64 y (fma.f64 z -6 4))
56.0ms
(fma.f64 x (fma.f64 6 z -3) (*.f64 y (fma.f64 z -6 4)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01229
124429
2257229
3482929
000
100

simplify128.0ms (2.9%)

Algorithm
egg-herbie
Rules
1255×fma-neg_binary64
441×fma-def_binary64
152×sub-neg_binary64
121×cancel-sign-sub-inv_binary64
119×associate-*l*_binary64
Counts
151 → 101
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0411086
1122931
2271829
3575748
41314748
51413748
61441748
71450748
81459748
91461748
102494748
112494748
122381748

prune128.0ms (2.9%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1320132
Fresh077
Picked011
Done000
Total1328140
Error
0b
Counts
140 → 8
Alt Table
StatusErrorProgram
0.2b
(+.f64 x (*.f64 (-.f64 y x) (fma.f64 z -6 4)))
0.1b
(fma.f64 x (fma.f64 6 z -3) (*.f64 y (fma.f64 z -6 4)))
11.4b
(fma.f64 (-.f64 y x) (/.f64 (+.f64 (pow.f64 (*.f64 z -6) 3) 64) (fma.f64 (*.f64 z -6) (*.f64 z -6) (-.f64 16 (*.f64 (*.f64 z -6) 4)))) x)
0.4b
(+.f64 x (*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z)))
0.2b
(-.f64 (+.f64 (*.f64 4 y) (*.f64 6 (*.f64 z x))) (+.f64 (*.f64 6 (*.f64 y z)) (*.f64 3 x)))
13.3b
(fma.f64 (-.f64 y x) (expm1.f64 (log1p.f64 (fma.f64 z -6 4))) x)
32.8b
(pow.f64 (sqrt.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)) 2)
1.3b
(pow.f64 (cbrt.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)) 3)
Compiler

Compiled 2392 to 1734 computations (27.5% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 6 (*.f64 y z)) (*.f64 3 x))
0.0b
(-.f64 (+.f64 (*.f64 4 y) (*.f64 6 (*.f64 z x))) (+.f64 (*.f64 6 (*.f64 y z)) (*.f64 3 x)))
0.3b
(*.f64 6 (*.f64 y z))
0.3b
(*.f64 6 (*.f64 z x))

series42.0ms (1%)

Counts
4 → 18
Calls

4 calls:

13.0ms
(+.f64 (*.f64 6 (*.f64 y z)) (*.f64 3 x))
13.0ms
(-.f64 (+.f64 (*.f64 4 y) (*.f64 6 (*.f64 z x))) (+.f64 (*.f64 6 (*.f64 y z)) (*.f64 3 x)))
10.0ms
(*.f64 6 (*.f64 z x))
6.0ms
(*.f64 6 (*.f64 y z))

rewrite97.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
323×log1p-udef_binary64
177×add-sqr-sqrt_binary64
174×log1p-expm1-u_binary64
174×expm1-log1p-u_binary64
168×add-log-exp_binary64
Counts
4 → 123
Calls

4 calls:

93.0ms
(+.f64 (*.f64 6 (*.f64 y z)) (*.f64 3 x))
93.0ms
(-.f64 (+.f64 (*.f64 4 y) (*.f64 6 (*.f64 z x))) (+.f64 (*.f64 6 (*.f64 y z)) (*.f64 3 x)))
93.0ms
(*.f64 6 (*.f64 y z))
93.0ms
(*.f64 6 (*.f64 z x))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01649
136249
2486549
3529549
000
100

simplify67.0ms (1.5%)

Algorithm
egg-herbie
Rules
856×fma-def_binary64
566×fma-neg_binary64
197×cancel-sign-sub-inv_binary64
144×associate-*l*_binary64
98×distribute-rgt-in_binary64
Counts
141 → 140
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
035150
1107133
2227127
3434127
4805127
51064127
61315127
71383127
81414127
91424127
101424127
111311127

prune132.0ms (3%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1391140
Fresh156
Picked101
Done011
Total1417148
Error
0b
Counts
148 → 7
Alt Table
StatusErrorProgram
11.4b
(fma.f64 (-.f64 y x) (/.f64 (+.f64 (pow.f64 (*.f64 z -6) 3) 64) (fma.f64 (*.f64 z -6) (*.f64 z -6) (-.f64 16 (*.f64 (*.f64 z -6) 4)))) x)
0.4b
(+.f64 x (*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z)))
0.1b
(fma.f64 x (fma.f64 6 z -3) (*.f64 y (fma.f64 z -6 4)))
13.3b
(fma.f64 (-.f64 y x) (expm1.f64 (log1p.f64 (fma.f64 z -6 4))) x)
32.8b
(pow.f64 (sqrt.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)) 2)
1.3b
(pow.f64 (cbrt.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)) 3)
0.1b
(+.f64 (fma.f64 6 (*.f64 z x) (*.f64 y 4)) (neg.f64 (fma.f64 6 (*.f64 z y) (*.f64 x 3))))
Compiler

Compiled 4223 to 2593 computations (38.6% saved)

localize11.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (fma.f64 6 (*.f64 z x) (*.f64 y 4)) (neg.f64 (fma.f64 6 (*.f64 z y) (*.f64 x 3))))
0.1b
(fma.f64 6 (*.f64 z y) (*.f64 x 3))
0.1b
(fma.f64 6 (*.f64 z x) (*.f64 y 4))

series34.0ms (0.8%)

Counts
3 → 108
Calls

3 calls:

20.0ms
(+.f64 (fma.f64 6 (*.f64 z x) (*.f64 y 4)) (neg.f64 (fma.f64 6 (*.f64 z y) (*.f64 x 3))))
7.0ms
(fma.f64 6 (*.f64 z x) (*.f64 y 4))
7.0ms
(fma.f64 6 (*.f64 z y) (*.f64 x 3))

rewrite95.0ms (2.2%)

Algorithm
batch-egg-rewrite
Rules
257×expm1-udef_binary64
257×log1p-udef_binary64
252×fma-def_binary64
218×log-pow_binary64
199×fma-neg_binary64
Counts
3 → 157
Calls

3 calls:

91.0ms
(+.f64 (fma.f64 6 (*.f64 z x) (*.f64 y 4)) (neg.f64 (fma.f64 6 (*.f64 z y) (*.f64 x 3))))
91.0ms
(fma.f64 6 (*.f64 z y) (*.f64 x 3))
91.0ms
(fma.f64 6 (*.f64 z x) (*.f64 y 4))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01546
131746
2344344
3484744
000
100

simplify152.0ms (3.5%)

Algorithm
egg-herbie
Rules
1259×fma-neg_binary64
445×fma-def_binary64
152×sub-neg_binary64
121×cancel-sign-sub-inv_binary64
117×associate-*l*_binary64
Counts
265 → 181
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
0381437
11201345
22731285
35691204
413141204
514131204
614411204
714501204
814591204
914611204
1024941204
1124941204
1223811204

prune150.0ms (3.4%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1810181
Fresh055
Picked011
Done011
Total1817188
Error
0b
Counts
188 → 7
Alt Table
StatusErrorProgram
11.4b
(fma.f64 (-.f64 y x) (/.f64 (+.f64 (pow.f64 (*.f64 z -6) 3) 64) (fma.f64 (*.f64 z -6) (*.f64 z -6) (-.f64 16 (*.f64 (*.f64 z -6) 4)))) x)
0.4b
(+.f64 x (*.f64 (*.f64 (-.f64 y x) 6) (-.f64 (/.f64 2 3) z)))
0.1b
(fma.f64 x (fma.f64 6 z -3) (*.f64 y (fma.f64 z -6 4)))
13.3b
(fma.f64 (-.f64 y x) (expm1.f64 (log1p.f64 (fma.f64 z -6 4))) x)
32.8b
(pow.f64 (sqrt.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)) 2)
1.3b
(pow.f64 (cbrt.f64 (fma.f64 (-.f64 y x) (fma.f64 z -6 4) x)) 3)
0.1b
(+.f64 (fma.f64 6 (*.f64 z x) (*.f64 y 4)) (neg.f64 (fma.f64 6 (*.f64 z y) (*.f64 x 3))))
Compiler

Compiled 4957 to 2960 computations (40.3% saved)

regimes395.0ms (9%)

Accuracy

Total 0.2b remaining (91.4%)

Threshold costs 0.2b (91.4%)

Counts
80 → 1
Compiler

Compiled 6290 to 4572 computations (27.3% saved)

simplify3.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
01424
12024
22524
32724
42824
52824

end113.0ms (2.6%)

Compiler

Compiled 166 to 121 computations (27.1% saved)

Profiling

Loading profile data...