Details

Time bar (total: 5.1s)

analyze130.0ms (2.6%)

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 (29.4%)

Results
1.2s8256×body128valid
85.0ms553×body128invalid
Compiler

Compiled 68 to 59 computations (13.2% saved)

simplify99.0ms (1.9%)

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.2b
(*.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)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series59.0ms (1.2%)

Counts
4 → 50
Calls

4 calls:

28.0ms
(/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))
23.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
6.0ms
(sqrt.f64 (fma.f64 a 9 -3))
2.0ms
(fma.f64 a 9 -3)

rewrite77.0ms (1.5%)

Algorithm
batch-egg-rewrite
Rules
492×prod-diff_binary64
237×log1p-udef_binary64
135×add-sqr-sqrt_binary64
132×log1p-expm1-u_binary64
132×expm1-log1p-u_binary64
Counts
4 → 131
Calls

4 calls:

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01341
128640
2348140
3483740

simplify58.0ms (1.1%)

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
181 → 167
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01001065
13201019
21084867
34794849
45374849

prune252.0ms (5%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1607167
Fresh101
Picked011
Done000
Total1618169
Error
0.0b
Counts
169 → 8
Alt Table
StatusErrorProgram
8.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 (cbrt.f64 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))) (cbrt.f64 (/.f64 (*.f64 rand rand) (fma.f64 a 9 -3))))))
42.6b
(/.f64 (*.f64 (+.f64 (pow.f64 a 3) -1/27) (fma.f64 rand (pow.f64 (fma.f64 a 9 -3) -1/2) 1)) (fma.f64 a a (+.f64 1/9 (*.f64 a 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))))
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
0.1b
(*.f64 (-.f64 a 1/3) (fma.f64 rand (pow.f64 (fma.f64 a 9 -3) -1/2) 1))
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (pow.f64 (/.f64 (sqrt.f64 (fma.f64 a 9 -3)) rand) -1)))
0.1b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 a -1/3)) -1/3))
11.8b
(-.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 3759 to 2922 computations (22.3% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series144.0ms (2.8%)

Counts
3 → 60
Calls

3 calls:

74.0ms
(*.f64 (-.f64 a 1/3) (fma.f64 rand (pow.f64 (fma.f64 a 9 -3) -1/2) 1))
66.0ms
(fma.f64 rand (pow.f64 (fma.f64 a 9 -3) -1/2) 1)
5.0ms
(pow.f64 (fma.f64 a 9 -3) -1/2)

rewrite56.0ms (1.1%)

Algorithm
batch-egg-rewrite
Rules
503×log-prod_binary64
225×expm1-udef_binary64
225×log1p-udef_binary64
184×log-pow_binary64
129×add-sqr-sqrt_binary64
Counts
3 → 79
Calls

3 calls:

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01338
127538
2293338
3478138

simplify76.0ms (1.5%)

Algorithm
egg-herbie
Rules
362×associate-*l*_binary64
352×times-frac_binary64
342×associate-*r*_binary64
251×sub-neg_binary64
237×fma-neg_binary64
Counts
139 → 161
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01772271
15462155
216881801
347461519
449751519

prune267.0ms (5.2%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1922194
Fresh336
Picked101
Done011
Total1966202
Error
0.0b
Counts
202 → 6
Alt Table
StatusErrorProgram
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
0.1b
(fma.f64 a (fma.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) rand 1) (*.f64 -1/3 (fma.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) rand 1)))
0.8b
(*.f64 (-.f64 a 1/3) (fma.f64 rand (pow.f64 (/.f64 -9 (/.f64 -1 a)) -1/2) 1))
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (pow.f64 (/.f64 (sqrt.f64 (fma.f64 a 9 -3)) rand) -1)))
0.1b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 a -1/3)) -1/3))
11.8b
(-.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 4643 to 3717 computations (19.9% saved)

localize14.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series274.0ms (5.4%)

Counts
3 → 72
Calls

3 calls:

132.0ms
(fma.f64 a (fma.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) rand 1) (*.f64 -1/3 (fma.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) rand 1)))
71.0ms
(fma.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) rand 1)
70.0ms
(*.f64 -1/3 (fma.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) rand 1))

rewrite94.0ms (1.8%)

Algorithm
batch-egg-rewrite
Rules
482×log-prod_binary64
214×expm1-udef_binary64
214×log1p-udef_binary64
190×pow3_binary64
179×log-pow_binary64
Counts
3 → 78
Calls

3 calls:

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01357
126445
2269545
3491545
4478445

simplify89.0ms (1.7%)

Algorithm
egg-herbie
Rules
514×fma-neg_binary64
390×times-frac_binary64
241×distribute-neg-in_binary64
234×distribute-rgt-in_binary64
231×cancel-sign-sub-inv_binary64
Counts
150 → 167
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02032645
16822513
222472130
347882100
449892100

prune778.0ms (15.3%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New3101311
Fresh044
Picked011
Done011
Total3107317
Error
0.0b
Counts
317 → 7
Alt Table
StatusErrorProgram
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
0.1b
(fma.f64 a (fma.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) rand 1) (*.f64 -1/3 (fma.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) rand 1)))
37.3b
(/.f64 (-.f64 (*.f64 (*.f64 a (fma.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) rand 1)) (*.f64 a (fma.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) rand 1))) (*.f64 1/9 (pow.f64 (fma.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) rand 1) 2))) (-.f64 (*.f64 a (fma.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) rand 1)) (*.f64 -1/3 (fma.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) rand 1))))
0.8b
(*.f64 (-.f64 a 1/3) (fma.f64 rand (pow.f64 (/.f64 -9 (/.f64 -1 a)) -1/2) 1))
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (pow.f64 (/.f64 (sqrt.f64 (fma.f64 a 9 -3)) rand) -1)))
0.1b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 a -1/3)) -1/3))
11.8b
(-.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 10443 to 8304 computations (20.5% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series53.0ms (1%)

Counts
4 → 36
Calls

4 calls:

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

rewrite82.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
546×log-prod_binary64
227×expm1-udef_binary64
227×log1p-udef_binary64
209×prod-diff_binary64
194×log-pow_binary64
Counts
4 → 148
Calls

4 calls:

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

Useful iterations: 1 (0.0ms)

IterNodesCost
01354
127846
2310946
3554046

simplify63.0ms (1.2%)

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
184 → 190
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01321003
1414851
21335772
34839766
45464766

prune261.0ms (5.1%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1882190
Fresh134
Picked011
Done022
Total1898197
Error
0b
Counts
197 → 8
Alt Table
StatusErrorProgram
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
0.1b
(fma.f64 a (fma.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) rand 1) (*.f64 -1/3 (fma.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) rand 1)))
37.3b
(/.f64 (-.f64 (*.f64 (*.f64 a (fma.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) rand 1)) (*.f64 a (fma.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) rand 1))) (*.f64 1/9 (pow.f64 (fma.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) rand 1) 2))) (-.f64 (*.f64 a (fma.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) rand 1)) (*.f64 -1/3 (fma.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) rand 1))))
0.8b
(*.f64 (-.f64 a 1/3) (fma.f64 rand (pow.f64 (/.f64 -9 (/.f64 -1 a)) -1/2) 1))
11.8b
(+.f64 a (fma.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (*.f64 rand (+.f64 a -1/3)) -1/3))
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (pow.f64 (/.f64 (sqrt.f64 (fma.f64 a 9 -3)) rand) -1)))
0.1b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 a -1/3)) -1/3))
0.8b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1/9 a)) (+.f64 a -1/3)) -1/3))
Compiler

Compiled 4640 to 3594 computations (22.5% saved)

regimes458.0ms (9%)

Accuracy

Total 0.1b remaining (83.8%)

Threshold costs 0.1b (83.8%)

Counts
105 → 1
Compiler

Compiled 7418 to 5946 computations (19.8% saved)

simplify2.0ms (0%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01330
11630
21530

end166.0ms (3.3%)

Compiler

Compiled 234 to 185 computations (20.9% saved)

Profiling

Loading profile data...