Details

Time bar (total: 4.4s)

analyze126.0ms (2.8%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%50%50%2
0%50%50%3
0%50%50%4
0%50%50%5
6.2%31.2%62.5%6
9.4%28.1%62.5%7
14%17.2%68.8%8
14.8%16.4%68.8%9
17.6%9.8%72.7%10
18.1%8.8%73.1%11
19.6%5.2%75.2%12
20%4.5%75.5%13
20.7%2.7%76.6%14
Compiler

Compiled 23 to 20 computations (13% saved)

sample1.5s (33.6%)

Results
1.1s8256×body128valid
113.0ms548×body128invalid
Compiler

Compiled 68 to 59 computations (13.2% saved)

simplify94.0ms (2.1%)

Algorithm
egg-herbie
Rules
1035×fma-def_binary64
742×fma-neg_binary64
189×distribute-rgt-in_binary64
173×cancel-sign-sub-inv_binary64
156×distribute-lft-in_binary64
Counts
1 → 2
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01524
13221
27519
316819
435819
567819
690119
7144619
8191419
9187319
10191619
11191519
12191219
13246519
14246519
15232119

prune4.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.2b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 (/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))) rand)))
0.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
Compiler

Compiled 109 to 91 computations (16.5% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a 9 -3)
0.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
0.1b
(sqrt.f64 (fma.f64 a 9 -3))
0.2b
(/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))

series69.0ms (1.6%)

Counts
4 → 50
Calls

4 calls:

30.0ms
(/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))
29.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
8.0ms
(sqrt.f64 (fma.f64 a 9 -3))
2.0ms
(fma.f64 a 9 -3)

rewrite115.0ms (2.6%)

Algorithm
batch-egg-rewrite
Rules
127×egg-rr
Counts
4 → 127
Calls

2 calls:

113.0ms
((/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))) (sqrt.f64 (fma.f64 a 9 -3)) (*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))))) (fma.f64 a 9 -3))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01341
128640
2348140
3483740
000
100

simplify72.0ms (1.6%)

Algorithm
egg-herbie
Rules
689×fma-neg_binary64
397×associate-+l+_binary64
381×fma-def_binary64
282×associate-/l*_binary64
276×times-frac_binary64
Counts
177 → 163
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01001065
13201019
21084867
34794849
45374849

prune419.0ms (9.5%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1576163
Fresh101
Picked101
Done000
Total1596165
Error
0.0b
Counts
165 → 6
Alt Table
StatusErrorProgram
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (pow.f64 (pow.f64 (fma.f64 a 9 -3) 1/4) 2))))
7.7b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 (cbrt.f64 (*.f64 rand rand)) (*.f64 (cbrt.f64 rand) (pow.f64 (fma.f64 a 9 -3) -1/2)))))
0.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 rand (pow.f64 (fma.f64 a 9 -3) -1/2))))
34.1b
(/.f64 (*.f64 (fma.f64 a a -1/9) (fma.f64 rand (pow.f64 (fma.f64 a 9 -3) -1/2) 1)) (+.f64 a 1/3))
0.1b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 9 a -3))) (+.f64 a -1/3)) -1/3))
7.1b
(-.f64 (+.f64 a (*.f64 (*.f64 a rand) (sqrt.f64 (/.f64 1 (-.f64 (*.f64 9 a) 3))))) (+.f64 (*.f64 1/3 (*.f64 rand (sqrt.f64 (/.f64 1 (-.f64 (*.f64 9 a) 3))))) 1/3))
Compiler

Compiled 3641 to 2830 computations (22.3% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(fma.f64 a 9 -3)
0.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 rand (pow.f64 (fma.f64 a 9 -3) -1/2))))
0.1b
(pow.f64 (fma.f64 a 9 -3) -1/2)
0.3b
(*.f64 rand (pow.f64 (fma.f64 a 9 -3) -1/2))

series62.0ms (1.4%)

Counts
3 → 46
Calls

3 calls:

31.0ms
(*.f64 rand (pow.f64 (fma.f64 a 9 -3) -1/2))
24.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 rand (pow.f64 (fma.f64 a 9 -3) -1/2))))
6.0ms
(pow.f64 (fma.f64 a 9 -3) -1/2)

rewrite66.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
74×egg-rr
Counts
3 → 74
Calls

2 calls:

64.0ms
((*.f64 rand (pow.f64 (fma.f64 a 9 -3) -1/2)) (pow.f64 (fma.f64 a 9 -3) -1/2) (*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 rand (pow.f64 (fma.f64 a 9 -3) -1/2)))))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01439
130837
2350337
3482737
000
100

simplify42.0ms (1%)

Algorithm
egg-herbie
Rules
543×fma-def_binary64
442×associate-+l+_binary64
283×times-frac_binary64
274×associate-/l*_binary64
234×associate-*r*_binary64
Counts
120 → 121
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01331410
13991342
212781122
349751122

prune275.0ms (6.2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1521153
Fresh145
Picked011
Done000
Total1536159
Error
0.0b
Counts
159 → 6
Alt Table
StatusErrorProgram
0.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 rand (pow.f64 (fma.f64 a 9 -3) -1/2))))
34.1b
(/.f64 (*.f64 (fma.f64 a a -1/9) (fma.f64 rand (pow.f64 (fma.f64 a 9 -3) -1/2) 1)) (+.f64 a 1/3))
0.1b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 9 a -3))) (+.f64 a -1/3)) -1/3))
7.1b
(-.f64 (+.f64 a (*.f64 (*.f64 a rand) (sqrt.f64 (/.f64 1 (-.f64 (*.f64 9 a) 3))))) (+.f64 (*.f64 1/3 (*.f64 rand (sqrt.f64 (/.f64 1 (-.f64 (*.f64 9 a) 3))))) 1/3))
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 rand (pow.f64 (pow.f64 (cbrt.f64 (fma.f64 a 9 -3)) 3) -1/2))))
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (pow.f64 (pow.f64 (fma.f64 a 9 -3) 1/4) 2))))
Compiler

Compiled 3846 to 3059 computations (20.5% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (/.f64 1 (fma.f64 9 a -3)))
0.2b
(fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 9 a -3))) (+.f64 a -1/3)) -1/3)
0.3b
(/.f64 1 (fma.f64 9 a -3))
0.3b
(*.f64 (sqrt.f64 (/.f64 1 (fma.f64 9 a -3))) (+.f64 a -1/3))

series58.0ms (1.3%)

Counts
4 → 36
Calls

4 calls:

31.0ms
(fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 9 a -3))) (+.f64 a -1/3)) -1/3)
12.0ms
(*.f64 (sqrt.f64 (/.f64 1 (fma.f64 9 a -3))) (+.f64 a -1/3))
10.0ms
(sqrt.f64 (/.f64 1 (fma.f64 9 a -3)))
3.0ms
(/.f64 1 (fma.f64 9 a -3))

rewrite150.0ms (3.4%)

Algorithm
batch-egg-rewrite
Rules
146×egg-rr
Counts
4 → 146
Calls

2 calls:

147.0ms
((*.f64 (sqrt.f64 (/.f64 1 (fma.f64 9 a -3))) (+.f64 a -1/3)) (/.f64 1 (fma.f64 9 a -3)) (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 9 a -3))) (+.f64 a -1/3)) -1/3) (sqrt.f64 (/.f64 1 (fma.f64 9 a -3))))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01354
127846
2311046
3554046
000
100

simplify58.0ms (1.3%)

Algorithm
egg-herbie
Rules
782×fma-neg_binary64
635×fma-def_binary64
457×times-frac_binary64
317×associate-/l*_binary64
204×associate-*l*_binary64
Counts
182 → 188
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01321003
1414851
21335772
34839766
45464766

prune277.0ms (6.3%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1862188
Fresh134
Picked011
Done011
Total1877194
Error
0.0b
Counts
194 → 7
Alt Table
StatusErrorProgram
0.9b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1/9 a)) (+.f64 a -1/3)) -1/3))
0.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 rand (pow.f64 (fma.f64 a 9 -3) -1/2))))
45.1b
(+.f64 a (pow.f64 (sqrt.f64 (fma.f64 (/.f64 (+.f64 a -1/3) (sqrt.f64 (fma.f64 9 a -3))) rand -1/3)) 2))
34.1b
(/.f64 (*.f64 (fma.f64 a a -1/9) (fma.f64 rand (pow.f64 (fma.f64 a 9 -3) -1/2) 1)) (+.f64 a 1/3))
0.1b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 9 a -3))) (+.f64 a -1/3)) -1/3))
7.1b
(-.f64 (+.f64 a (*.f64 (*.f64 a rand) (sqrt.f64 (/.f64 1 (-.f64 (*.f64 9 a) 3))))) (+.f64 (*.f64 1/3 (*.f64 rand (sqrt.f64 (/.f64 1 (-.f64 (*.f64 9 a) 3))))) 1/3))
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (pow.f64 (pow.f64 (fma.f64 a 9 -3) 1/4) 2))))
Compiler

Compiled 4664 to 3614 computations (22.5% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (fma.f64 a 9 -3) 1/4)
0.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (pow.f64 (pow.f64 (fma.f64 a 9 -3) 1/4) 2))))
0.2b
(/.f64 rand (pow.f64 (pow.f64 (fma.f64 a 9 -3) 1/4) 2))
0.5b
(pow.f64 (pow.f64 (fma.f64 a 9 -3) 1/4) 2)

series95.0ms (2.1%)

Counts
4 → 58
Calls

4 calls:

48.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (pow.f64 (pow.f64 (fma.f64 a 9 -3) 1/4) 2))))
30.0ms
(/.f64 rand (pow.f64 (pow.f64 (fma.f64 a 9 -3) 1/4) 2))
12.0ms
(pow.f64 (pow.f64 (fma.f64 a 9 -3) 1/4) 2)
5.0ms
(pow.f64 (fma.f64 a 9 -3) 1/4)

rewrite80.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
118×egg-rr
Counts
4 → 118
Calls

2 calls:

78.0ms
((pow.f64 (pow.f64 (fma.f64 a 9 -3) 1/4) 2) (/.f64 rand (pow.f64 (pow.f64 (fma.f64 a 9 -3) 1/4) 2)) (*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (pow.f64 (pow.f64 (fma.f64 a 9 -3) 1/4) 2)))) (pow.f64 (fma.f64 a 9 -3) 1/4))
0.0ms
()
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01647
135943
2399343
3485743
000
100

simplify72.0ms (1.6%)

Algorithm
egg-herbie
Rules
736×fma-def_binary64
430×fma-neg_binary64
390×cancel-sign-sub-inv_binary64
387×times-frac_binary64
183×sub-neg_binary64
Counts
176 → 189
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01831979
15671885
219071501
346341275
449621275

prune198.0ms (4.5%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1890189
Fresh044
Picked011
Done022
Total1897196
Error
0.0b
Counts
196 → 7
Alt Table
StatusErrorProgram
0.9b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1/9 a)) (+.f64 a -1/3)) -1/3))
0.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 rand (pow.f64 (fma.f64 a 9 -3) -1/2))))
45.1b
(+.f64 a (pow.f64 (sqrt.f64 (fma.f64 (/.f64 (+.f64 a -1/3) (sqrt.f64 (fma.f64 9 a -3))) rand -1/3)) 2))
34.1b
(/.f64 (*.f64 (fma.f64 a a -1/9) (fma.f64 rand (pow.f64 (fma.f64 a 9 -3) -1/2) 1)) (+.f64 a 1/3))
0.1b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 9 a -3))) (+.f64 a -1/3)) -1/3))
7.1b
(-.f64 (+.f64 a (*.f64 (*.f64 a rand) (sqrt.f64 (/.f64 1 (-.f64 (*.f64 9 a) 3))))) (+.f64 (*.f64 1/3 (*.f64 rand (sqrt.f64 (/.f64 1 (-.f64 (*.f64 9 a) 3))))) 1/3))
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (pow.f64 (pow.f64 (fma.f64 a 9 -3) 1/4) 2))))
Compiler

Compiled 4710 to 3754 computations (20.3% saved)

regimes437.0ms (9.9%)

Accuracy

Total 0.1b remaining (83.8%)

Threshold costs 0.1b (83.8%)

Counts
102 → 1
Compiler

Compiled 7982 to 6362 computations (20.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01220
11420
21420

end117.0ms (2.7%)

Compiler

Compiled 169 to 132 computations (21.9% saved)

Profiling

Loading profile data...