Details

Time bar (total: 3.9s)

analyze151.0ms (3.9%)

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

Results
1.1s8256×body128valid
75.0ms560×body128invalid
Compiler

Compiled 68 to 59 computations (13.2% saved)

simplify87.0ms (2.2%)

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
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01524
13221
27519
316819
435819
567819
690119
7144619
8191419
9187319
10191619
11191519
12191219
13246519
14246519
15232119
Stop Event
saturated
Counts
1 → 2

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

series85.0ms (2.2%)

Counts
4 → 50
Calls

4 calls:

56.0ms
(/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))
20.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
7.0ms
(sqrt.f64 (fma.f64 a 9 -3))
1.0ms
(fma.f64 a 9 -3)

rewrite67.0ms (1.7%)

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
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01341
128640
2348140
3483740
Stop Event
node limit
Counts
4 → 127
Calls

4 calls:

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

simplify58.0ms (1.5%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
01001065
13201019
21084867
34794849
45374849
Stop Event
node limit
Counts
177 → 164

prune199.0ms (5.1%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1595164
Fresh101
Picked011
Done000
Total1606166
Error
0.0b
Counts
166 → 6
Alt Table
StatusErrorProgram
9.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.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
0.1b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.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))))
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (pow.f64 (pow.f64 (fma.f64 a 9 -3) 1/4) 2))))
8.4b
(/.f64 (*.f64 (-.f64 1 (/.f64 (*.f64 rand rand) (fma.f64 a 9 -3))) (-.f64 a 1/3)) (-.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
Compiler

Compiled 3636 to 2826 computations (22.3% saved)

localize10.0ms (0.3%)

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 (pow.f64 (fma.f64 a 9 -3) -1/2))))
0.2b
(*.f64 rand (pow.f64 (fma.f64 a 9 -3) -1/2))
0.4b
(pow.f64 (fma.f64 a 9 -3) -1/2)

series55.0ms (1.4%)

Counts
3 → 46
Calls

3 calls:

27.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))))
4.0ms
(pow.f64 (fma.f64 a 9 -3) -1/2)

rewrite66.0ms (1.7%)

Algorithm
batch-egg-rewrite
Rules
521×prod-diff_binary64
251×log1p-udef_binary64
145×add-sqr-sqrt_binary64
142×log1p-expm1-u_binary64
142×expm1-log1p-u_binary64
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01439
130837
2350337
3482737
Stop Event
node limit
Counts
3 → 74
Calls

3 calls:

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

simplify47.0ms (1.2%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01331410
13991342
212781122
349751122
Stop Event
node limit
Counts
120 → 120

prune180.0ms (4.6%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1530153
Fresh044
Picked011
Done011
Total1536159
Error
0.0b
Counts
159 → 6
Alt Table
StatusErrorProgram
9.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.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
0.1b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.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))))
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (pow.f64 (pow.f64 (fma.f64 a 9 -3) 1/4) 2))))
8.4b
(/.f64 (*.f64 (-.f64 1 (/.f64 (*.f64 rand rand) (fma.f64 a 9 -3))) (-.f64 a 1/3)) (-.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
Compiler

Compiled 3838 to 3047 computations (20.6% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.1b
(sqrt.f64 (/.f64 1 (fma.f64 a 9 -3)))
0.2b
(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))

series48.0ms (1.2%)

Counts
4 → 36
Calls

4 calls:

27.0ms
(fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 a -1/3)) -1/3)
9.0ms
(*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 a -1/3))
7.0ms
(sqrt.f64 (/.f64 1 (fma.f64 a 9 -3)))
4.0ms
(/.f64 1 (fma.f64 a 9 -3))

rewrite73.0ms (1.9%)

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
Iterations

Useful iterations: 1 (0.0ms)

IterNodesCost
01354
127846
2310946
3554046
Stop Event
node limit
Counts
4 → 146
Calls

4 calls:

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

simplify57.0ms (1.5%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
01321003
1414851
21335772
34839766
45464766
Stop Event
node limit
Counts
182 → 188

prune252.0ms (6.5%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1871188
Fresh033
Picked101
Done022
Total1886194
Error
0b
Counts
194 → 6
Alt Table
StatusErrorProgram
9.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.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
0.1b
(+.f64 a (fma.f64 rand (fma.f64 a (pow.f64 (fma.f64 a 9 -3) -1/2) (/.f64 -1/3 (sqrt.f64 (fma.f64 a 9 -3)))) -1/3))
0.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 rand (pow.f64 (fma.f64 a 9 -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))))
8.4b
(/.f64 (*.f64 (-.f64 1 (/.f64 (*.f64 rand rand) (fma.f64 a 9 -3))) (-.f64 a 1/3)) (-.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
Compiler

Compiled 4649 to 3604 computations (22.5% saved)

localize13.0ms (0.3%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.3b
(fma.f64 a (pow.f64 (fma.f64 a 9 -3) -1/2) (/.f64 -1/3 (sqrt.f64 (fma.f64 a 9 -3))))
0.4b
(pow.f64 (fma.f64 a 9 -3) -1/2)
0.4b
(sqrt.f64 (fma.f64 a 9 -3))
0.4b
(/.f64 -1/3 (sqrt.f64 (fma.f64 a 9 -3)))

series20.0ms (0.5%)

Counts
2 → 12
Calls

2 calls:

10.0ms
(fma.f64 a (pow.f64 (fma.f64 a 9 -3) -1/2) (/.f64 -1/3 (sqrt.f64 (fma.f64 a 9 -3))))
9.0ms
(/.f64 -1/3 (sqrt.f64 (fma.f64 a 9 -3)))

rewrite62.0ms (1.6%)

Algorithm
batch-egg-rewrite
Rules
418×log-prod_binary64
271×pow2_binary64
189×expm1-udef_binary64
189×log1p-udef_binary64
186×pow1/3_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01131
123731
2246831
3494731
4484631
Stop Event
node limit
Counts
2 → 57
Calls

2 calls:

61.0ms
(fma.f64 a (pow.f64 (fma.f64 a 9 -3) -1/2) (/.f64 -1/3 (sqrt.f64 (fma.f64 a 9 -3))))
60.0ms
(/.f64 -1/3 (sqrt.f64 (fma.f64 a 9 -3)))

simplify44.0ms (1.1%)

Algorithm
egg-herbie
Rules
845×associate-/l*_binary64
544×associate-+l+_binary64
444×fma-def_binary64
434×associate-+r+_binary64
186×+-commutative_binary64
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
087440
1252417
2769355
33481302
45645302
Stop Event
node limit
Counts
69 → 78

prune202.0ms (5.2%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1470147
Fresh033
Picked011
Done022
Total1476153
Error
0b
Counts
153 → 6
Alt Table
StatusErrorProgram
9.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.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
0.1b
(+.f64 a (fma.f64 rand (fma.f64 a (pow.f64 (fma.f64 a 9 -3) -1/2) (/.f64 -1/3 (sqrt.f64 (fma.f64 a 9 -3)))) -1/3))
0.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 rand (pow.f64 (fma.f64 a 9 -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))))
8.4b
(/.f64 (*.f64 (-.f64 1 (/.f64 (*.f64 rand rand) (fma.f64 a 9 -3))) (-.f64 a 1/3)) (-.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
Compiler

Compiled 4353 to 3461 computations (20.5% saved)

regimes526.0ms (13.5%)

Accuracy

Total 0.1b remaining (83.9%)

Threshold costs 0.1b (83.9%)

Counts
121 → 1
Compiler

Compiled 9434 to 7454 computations (21% saved)

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Rules
21×distribute-rgt-neg-in_binary64
21×cancel-sign-sub-inv_binary64
15×distribute-neg-in_binary64
13×distribute-lft-neg-in_binary64
13×sub-neg_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01322
12422
24222
37122
49822
511822
613322
713722
813922
914022
1013422
Stop Event
saturated

end108.0ms (2.8%)

Compiler

Compiled 162 to 128 computations (21% saved)

Profiling

Loading profile data...