Details

Time bar (total: 4.1s)

analyze133.0ms (3.3%)

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.6s (39.7%)

Results
1.2s8256×body128valid
81.0ms552×body128invalid
Compiler

Compiled 68 to 59 computations (13.2% saved)

simplify97.0ms (2.4%)

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.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))

series131.0ms (3.2%)

Counts
4 → 50
Calls

4 calls:

88.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)))))
12.0ms
(sqrt.f64 (fma.f64 a 9 -3))
2.0ms
(fma.f64 a 9 -3)

rewrite23.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt_binary64
26×*-un-lft-identity_binary64
22×add-cube-cbrt_binary64
18×times-frac_binary64
15×sqrt-prod_binary64
Counts
4 → 99
Calls

4 calls:

13.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
3.0ms
(/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))
1.0ms
(sqrt.f64 (fma.f64 a 9 -3))
0.0ms
(fma.f64 a 9 -3)

simplify109.0ms (2.7%)

Algorithm
egg-herbie
Rules
754×fma-def_binary64
652×distribute-rgt-in_binary64
401×times-frac_binary64
187×cancel-sign-sub-inv_binary64
151×fma-neg_binary64
Counts
149 → 162
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02422971
16482791
221982639
349752621
449642621

prune181.0ms (4.4%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1566162
Fresh101
Picked101
Done000
Total1586164
Error
0.0b
Counts
164 → 6
Alt Table
StatusErrorProgram
0.3b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (*.f64 (fabs.f64 (cbrt.f64 (fma.f64 a 9 -3))) (sqrt.f64 (cbrt.f64 (fma.f64 a 9 -3)))))))
33.4b
(/.f64 (*.f64 (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))) (fma.f64 a a -1/9)) (+.f64 a 1/3))
0.1b
(+.f64 (+.f64 a -1/3) (*.f64 (+.f64 a -1/3) (/.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 1 (/.f64 (sqrt.f64 (fma.f64 a 9 -3)) rand))))
0.3b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 (*.f64 (cbrt.f64 rand) (cbrt.f64 rand)) (/.f64 (cbrt.f64 rand) (sqrt.f64 (fma.f64 a 9 -3))))))
Compiler

Compiled 3974 to 3073 computations (22.7% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series101.0ms (2.5%)

Counts
4 → 36
Calls

4 calls:

69.0ms
(fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 a -1/3)) -1/3)
18.0ms
(*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 a -1/3))
11.0ms
(sqrt.f64 (/.f64 1 (fma.f64 a 9 -3)))
3.0ms
(/.f64 1 (fma.f64 a 9 -3))

rewrite21.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt_binary64
32×*-un-lft-identity_binary64
31×times-frac_binary64
29×sqrt-prod_binary64
28×add-cube-cbrt_binary64
Counts
4 → 117
Calls

4 calls:

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

simplify102.0ms (2.5%)

Algorithm
egg-herbie
Rules
826×fma-def_binary64
571×times-frac_binary64
332×distribute-rgt-in_binary64
293×distribute-lft-in_binary64
237×fma-neg_binary64
Counts
153 → 198
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02433027
16562737
219752681
349162673
449302673

prune266.0ms (6.5%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1953198
Fresh235
Picked101
Done000
Total1986204
Error
0b
Counts
204 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f64 (+.f64 a -1/3) (*.f64 (+.f64 a -1/3) (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
0.1b
(+.f64 a (fma.f64 rand (*.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) (+.f64 a -1/3)) -1/3))
0.3b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (*.f64 (fabs.f64 (cbrt.f64 (fma.f64 a 9 -3))) (sqrt.f64 (cbrt.f64 (fma.f64 a 9 -3)))))))
16.9b
(+.f64 a (fma.f64 rand (cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 -1/3 a)) 3)) -1/3))
0.2b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3)))) (*.f64 (sqrt.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 1 (/.f64 (sqrt.f64 (fma.f64 a 9 -3)) rand))))
Compiler

Compiled 5163 to 4084 computations (20.9% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series54.0ms (1.3%)

Counts
3 → 32
Calls

3 calls:

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

rewrite10.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt_binary64
10×*-un-lft-identity_binary64
add-exp-log_binary64
add-cube-cbrt_binary64
associate-*l*_binary64
Counts
3 → 61
Calls

3 calls:

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

simplify126.0ms (3.1%)

Algorithm
egg-herbie
Rules
724×fma-def_binary64
449×times-frac_binary64
308×associate-/l*_binary64
296×distribute-rgt-in_binary64
287×distribute-lft-in_binary64
Counts
93 → 134
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02162279
15922026
218231894
348761866
449661866

prune227.0ms (5.6%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1491150
Fresh145
Picked011
Done000
Total1506156
Error
0b
Counts
156 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f64 (+.f64 a -1/3) (*.f64 (+.f64 a -1/3) (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
0.1b
(+.f64 a (fma.f64 rand (*.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) (+.f64 a -1/3)) -1/3))
0.3b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (*.f64 (fabs.f64 (cbrt.f64 (fma.f64 a 9 -3))) (sqrt.f64 (cbrt.f64 (fma.f64 a 9 -3)))))))
16.9b
(+.f64 a (fma.f64 rand (cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 -1/3 a)) 3)) -1/3))
0.2b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (pow.f64 (fma.f64 a 9 -3) -1/2)) (*.f64 (pow.f64 (fma.f64 a 9 -3) -1/4) (+.f64 -1/3 a))) -1/3))
0.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 1 (/.f64 (sqrt.f64 (fma.f64 a 9 -3)) rand))))
Compiler

Compiled 3918 to 3073 computations (21.6% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series35.0ms (0.9%)

Counts
1 → 16
Calls

1 calls:

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

rewrite13.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt_binary64
22×associate-*r*_binary64
20×times-frac_binary64
17×*-un-lft-identity_binary64
15×add-cube-cbrt_binary64
Counts
1 → 49
Calls

1 calls:

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

simplify86.0ms (2.1%)

Algorithm
egg-herbie
Rules
429×associate-*l*_binary64
351×associate-/l*_binary64
343×fma-def_binary64
306×associate-*r/_binary64
296×associate-*l/_binary64
Counts
65 → 85
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01501455
13841345
213451327
343851327
446401327
549881327

prune203.0ms (5%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1771178
Fresh134
Picked011
Done011
Total1786184
Error
0b
Counts
184 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f64 (+.f64 a -1/3) (*.f64 (+.f64 a -1/3) (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
0.1b
(+.f64 a (fma.f64 rand (*.f64 (pow.f64 (fma.f64 a 9 -3) -1/2) (+.f64 a -1/3)) -1/3))
0.3b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (*.f64 (fabs.f64 (cbrt.f64 (fma.f64 a 9 -3))) (sqrt.f64 (cbrt.f64 (fma.f64 a 9 -3)))))))
0.1b
(+.f64 (+.f64 a -1/3) (*.f64 (+.f64 a -1/3) (*.f64 rand (sqrt.f64 (/.f64 1 (-.f64 (*.f64 9 a) 3))))))
16.9b
(+.f64 a (fma.f64 rand (cbrt.f64 (pow.f64 (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 -1/3 a)) 3)) -1/3))
0.2b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (pow.f64 (fma.f64 a 9 -3) -1/2)) (*.f64 (pow.f64 (fma.f64 a 9 -3) -1/4) (+.f64 -1/3 a))) -1/3))
Compiler

Compiled 4472 to 3328 computations (25.6% saved)

regimes367.0ms (9%)

Accuracy

Total 0.1b remaining (82.5%)

Threshold costs 0.1b (82.5%)

Counts
79 → 1
Compiler

Compiled 6422 to 5082 computations (20.9% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01527
12527
22627
32427

end123.0ms (3%)

Compiler

Compiled 163 to 130 computations (20.2% saved)

Profiling

Loading profile data...