Details

Time bar (total: 4.2s)

analyze407.0ms (9.7%)

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
28.1%71.8%0.1%9
37.4%49.9%12.6%10
43.7%43.7%12.6%11
49.1%38.2%12.6%12
54.6%26.5%18.9%13
58.5%22.6%18.9%14
Compiler

Compiled 11 to 7 computations (36.4% saved)

sample852.0ms (20.3%)

Results
759.0ms8256×body128valid
63.0ms667×body128invalid
Compiler

Compiled 32 to 20 computations (37.5% saved)

simplify6.0ms (0.1%)

Algorithm
egg-herbie
Rules
fma-def_binary64
*-commutative_binary64
+-commutative_binary64
associate-*r*_binary64
associate-*l*_binary64
Counts
1 → 2
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
0710
1128
2168
3178
4178

prune2.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Error
0.1b
Counts
3 → 1
Alt Table
StatusErrorProgram
0.1b
(fma.f64 z (*.f64 y z) x)
Compiler

Compiled 34 to 17 computations (50% saved)

localize4.0ms (0.1%)

Local error

Found 1 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 z (*.f64 y z) x)

series8.0ms (0.2%)

Counts
1 → 36
Calls

1 calls:

8.0ms
(fma.f64 z (*.f64 y z) x)

rewrite41.0ms (1%)

Algorithm
batch-egg-rewrite
Rules
522×log1p-expm1-u_binary64
522×expm1-log1p-u_binary64
351×unpow-prod-down_binary64
296×log-prod_binary64
160×pow2_binary64
Counts
1 → 37
Calls

1 calls:

40.0ms
(fma.f64 z (*.f64 y z) x)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
11188
213718
351798
000
100

simplify158.0ms (3.8%)

Algorithm
egg-herbie
Rules
1108×sqr-pow_binary64
573×fabs-mul_binary64
560×cube-prod_binary64
536×pow-sqr_binary64
454×associate-*l*_binary64
Counts
73 → 42
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
08255
116255
227255
348255
497255
5234255
6714255
71139255
81141255
91289255
101459255
111641255
121864255
132149255
142568255
153133255
163819255
174037255
184281255
194363255
204396255
214417255
224986255

prune27.0ms (0.7%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New38442
Fresh000
Picked011
Done000
Total38543
Error
0.0b
Counts
43 → 5
Alt Table
StatusErrorProgram
0.1b
(fma.f64 z (*.f64 y z) x)
4.5b
(+.f64 (*.f64 y (pow.f64 z 2)) x)
31.3b
(pow.f64 (sqrt.f64 (fma.f64 z (*.f64 z y) x)) 2)
1.3b
(pow.f64 (cbrt.f64 (fma.f64 z (*.f64 z y) x)) 3)
41.8b
(/.f64 (+.f64 (pow.f64 (*.f64 z (*.f64 z y)) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (*.f64 z (*.f64 z y)) 2) (-.f64 (*.f64 x x) (*.f64 (*.f64 z (*.f64 z y)) x))))
Compiler

Compiled 654 to 239 computations (63.5% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.1b
(fma.f64 z (*.f64 z y) x)
0.5b
(cbrt.f64 (fma.f64 z (*.f64 z y) x))
0.7b
(pow.f64 (cbrt.f64 (fma.f64 z (*.f64 z y) x)) 3)

series1.4s (34.2%)

Counts
3 → 108
Calls

3 calls:

1.4s
(pow.f64 (cbrt.f64 (fma.f64 z (*.f64 z y) x)) 3)
39.0ms
(cbrt.f64 (fma.f64 z (*.f64 z y) x))
11.0ms
(fma.f64 z (*.f64 z y) x)

rewrite81.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
690×log1p-expm1-u_binary64
690×expm1-log1p-u_binary64
141×expm1-udef_binary64
141×log1p-udef_binary64
130×log-pow_binary64
Counts
3 → 104
Calls

3 calls:

79.0ms
(fma.f64 z (*.f64 z y) x)
79.0ms
(cbrt.f64 (fma.f64 z (*.f64 z y) x))
79.0ms
(pow.f64 (cbrt.f64 (fma.f64 z (*.f64 z y) x)) 3)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0926
116626
2181726
3495526
4491826
000
100

simplify83.0ms (2%)

Algorithm
egg-herbie
Rules
546×fma-def_binary64
407×associate-*l/_binary64
286×associate-/r/_binary64
221×cancel-sign-sub-inv_binary64
209×unswap-sqr_binary64
Counts
212 → 149
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02013450
16673268
222542974
350122974

prune94.0ms (2.2%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1490149
Fresh033
Picked011
Done011
Total1495154
Error
0.0b
Counts
154 → 5
Alt Table
StatusErrorProgram
0.1b
(fma.f64 z (*.f64 y z) x)
4.5b
(+.f64 (*.f64 y (pow.f64 z 2)) x)
31.3b
(pow.f64 (sqrt.f64 (fma.f64 z (*.f64 z y) x)) 2)
1.3b
(pow.f64 (cbrt.f64 (fma.f64 z (*.f64 z y) x)) 3)
41.8b
(/.f64 (+.f64 (pow.f64 (*.f64 z (*.f64 z y)) 3) (pow.f64 x 3)) (+.f64 (pow.f64 (*.f64 z (*.f64 z y)) 2) (-.f64 (*.f64 x x) (*.f64 (*.f64 z (*.f64 z y)) x))))
Compiler

Compiled 3752 to 2220 computations (40.8% saved)

localize5.0ms (0.1%)

Local error

Found 2 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (*.f64 y (pow.f64 z 2)) x)
8.9b
(*.f64 y (pow.f64 z 2))

series18.0ms (0.4%)

Counts
2 → 9
Calls

2 calls:

11.0ms
(+.f64 (*.f64 y (pow.f64 z 2)) x)
7.0ms
(*.f64 y (pow.f64 z 2))

rewrite50.0ms (1.2%)

Algorithm
batch-egg-rewrite
Rules
811×prod-diff_binary64
778×log1p-expm1-u_binary64
778×expm1-log1p-u_binary64
84×add-sqr-sqrt_binary64
79×add-log-exp_binary64
Counts
2 → 51
Calls

2 calls:

48.0ms
(+.f64 (*.f64 y (pow.f64 z 2)) x)
48.0ms
(*.f64 y (pow.f64 z 2))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0815
117215
2198415
3624815
000
100

simplify144.0ms (3.4%)

Algorithm
egg-herbie
Rules
1108×sqr-pow_binary64
573×fabs-mul_binary64
560×cube-prod_binary64
536×pow-sqr_binary64
454×associate-*l*_binary64
Counts
60 → 53
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0739
11339
22339
34239
48939
522239
669439
7109939
8110139
9124939
10141939
11160139
12182639
13211139
14253039
15309539
16378139
17399939
18424339
19432539
20435839
21437939
22494839

prune29.0ms (0.7%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New51253
Fresh202
Picked011
Done022
Total53558
Error
0.0b
Counts
58 → 5
Alt Table
StatusErrorProgram
0.1b
(fma.f64 z (*.f64 y z) x)
14.1b
(+.f64 (cbrt.f64 (pow.f64 (*.f64 y (*.f64 z z)) 3)) x)
34.8b
(+.f64 (pow.f64 (*.f64 z (sqrt.f64 y)) 2) x)
4.5b
(+.f64 (*.f64 y (pow.f64 z 2)) x)
1.3b
(pow.f64 (cbrt.f64 (fma.f64 z (*.f64 z y) x)) 3)
Compiler

Compiled 758 to 275 computations (63.7% saved)

localize7.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(+.f64 (cbrt.f64 (pow.f64 (*.f64 y (*.f64 z z)) 3)) x)
0.2b
(pow.f64 (*.f64 y (*.f64 z z)) 3)
8.9b
(*.f64 y (*.f64 z z))
25.5b
(cbrt.f64 (pow.f64 (*.f64 y (*.f64 z z)) 3))

series59.0ms (1.4%)

Counts
4 → 108
Calls

4 calls:

18.0ms
(cbrt.f64 (pow.f64 (*.f64 y (*.f64 z z)) 3))
18.0ms
(pow.f64 (*.f64 y (*.f64 z z)) 3)
16.0ms
(+.f64 (cbrt.f64 (pow.f64 (*.f64 y (*.f64 z z)) 3)) x)
7.0ms
(*.f64 y (*.f64 z z))

rewrite56.0ms (1.3%)

Algorithm
batch-egg-rewrite
Rules
903×log1p-expm1-u_binary64
903×expm1-log1p-u_binary64
119×egg-rr
94×add-sqr-sqrt_binary64
90×add-cbrt-cube_binary64
Counts
4 → 119
Calls

4 calls:

54.0ms
(+.f64 (cbrt.f64 (pow.f64 (*.f64 y (*.f64 z z)) 3)) x)
54.0ms
(pow.f64 (*.f64 y (*.f64 z z)) 3)
54.0ms
(*.f64 y (*.f64 z z))
54.0ms
(cbrt.f64 (pow.f64 (*.f64 y (*.f64 z z)) 3))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01034
119732
2232332
3541832
000
100

simplify93.0ms (2.2%)

Algorithm
egg-herbie
Rules
712×unswap-sqr_binary64
507×fma-def_binary64
473×associate-*l*_binary64
414×distribute-rgt-in_binary64
364×associate-*r*_binary64
Counts
227 → 112
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
019887
150887
2123887
3352887
41313887
52899887
63447887
74223887
84811887

prune71.0ms (1.7%)

Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New1102112
Fresh011
Picked011
Done033
Total1107117
Error
0.0b
Counts
117 → 7
Alt Table
StatusErrorProgram
0.1b
(fma.f64 z (*.f64 y z) x)
14.1b
(+.f64 (cbrt.f64 (pow.f64 (*.f64 y (*.f64 z z)) 3)) x)
41.0b
(+.f64 (cbrt.f64 (*.f64 (pow.f64 (*.f64 z (sqrt.f64 y)) 3) (pow.f64 (*.f64 z (sqrt.f64 y)) 3))) x)
1.3b
(pow.f64 (cbrt.f64 (fma.f64 z (*.f64 z y) x)) 3)
34.8b
(+.f64 (pow.f64 (*.f64 z (sqrt.f64 y)) 2) x)
4.5b
(+.f64 (*.f64 y (pow.f64 z 2)) x)
4.7b
(+.f64 (*.f64 (pow.f64 (cbrt.f64 y) 2) (*.f64 (cbrt.f64 y) (*.f64 z z))) x)
Compiler

Compiled 1570 to 614 computations (60.9% saved)

regimes371.0ms (8.8%)

Accuracy

Total 0.1b remaining (72.7%)

Threshold costs 0.1b (72.7%)

Counts
21 → 1
Compiler

Compiled 1417 to 865 computations (39% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
178
278

end84.0ms (2%)

Compiler

Compiled 108 to 69 computations (36.1% saved)

Profiling

Loading profile data...