Details

Time bar (total: 6.6s)

analyze702.0ms (10.7%)

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
0%37.5%62.5%6
0%37.5%62.5%7
0%31.2%68.8%8
0%31.2%68.8%9
0%27.7%72.3%10
0%27.5%72.5%11
0%25.7%74.3%12
0%25.5%74.5%13
0%24.6%75.4%14
Compiler

Compiled 23 to 20 computations (13% saved)

sample2.1s (31.9%)

Results
1.3s8256×body128valid
465.0ms539×body8192exit
62.0ms437×body128invalid
Compiler

Compiled 45 to 39 computations (13.3% saved)

simplify98.0ms (1.5%)

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)

localize8.0ms (0.1%)

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

series76.0ms (1.2%)

Counts
4 → 50
Calls

4 calls:

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

rewrite22.0ms (0.3%)

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)

simplify102.0ms (1.6%)

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

prune214.0ms (3.3%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1548162
Fresh101
Picked101
Done000
Total1568164
Error
0.0b
Counts
164 → 8
Alt Table
StatusErrorProgram
0.5b
(*.f64 (*.f64 (-.f64 a 1/3) (*.f64 (cbrt.f64 (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))))) (cbrt.f64 (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))))))) (cbrt.f64 (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))))))
0.4b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 (/.f64 rand (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a 9 -3))) (cbrt.f64 (sqrt.f64 (fma.f64 a 9 -3))))) (cbrt.f64 (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))
11.6b
(-.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 1 (/.f64 (sqrt.f64 (fma.f64 a 9 -3)) rand))))
0.1b
(+.f64 (+.f64 a -1/3) (*.f64 (+.f64 a -1/3) (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
1.4b
(*.f64 (*.f64 (cbrt.f64 (*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))) (cbrt.f64 (*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))))))) (cbrt.f64 (*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))))
0.3b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 (/.f64 1 (fabs.f64 (cbrt.f64 (fma.f64 a 9 -3)))) (/.f64 rand (sqrt.f64 (cbrt.f64 (fma.f64 a 9 -3)))))))
Compiler

Compiled 4184 to 3253 computations (22.3% saved)

localize8.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series37.0ms (0.6%)

Counts
1 → 16
Calls

1 calls:

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

rewrite14.0ms (0.2%)

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

simplify82.0ms (1.2%)

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

prune290.0ms (4.4%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1726178
Fresh527
Picked101
Done000
Total1788186
Error
0b
Counts
186 → 8
Alt Table
StatusErrorProgram
0.9b
(+.f64 (+.f64 a -1/3) (*.f64 (*.f64 (+.f64 a -1/3) (/.f64 (*.f64 (cbrt.f64 rand) (cbrt.f64 rand)) (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3))))) (/.f64 (cbrt.f64 rand) (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3))))))
0.1b
(+.f64 (+.f64 a -1/3) (*.f64 (+.f64 a -1/3) (*.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))))))
0.3b
(+.f64 (+.f64 a -1/3) (*.f64 (+.f64 a -1/3) (/.f64 (/.f64 rand (fabs.f64 (cbrt.f64 (fma.f64 a 9 -3)))) (sqrt.f64 (cbrt.f64 (fma.f64 a 9 -3))))))
0.4b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 (/.f64 rand (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a 9 -3))) (cbrt.f64 (sqrt.f64 (fma.f64 a 9 -3))))) (cbrt.f64 (sqrt.f64 (fma.f64 a 9 -3))))))
0.4b
(+.f64 (+.f64 a -1/3) (*.f64 (*.f64 (+.f64 a -1/3) (*.f64 (cbrt.f64 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))) (cbrt.f64 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))) (cbrt.f64 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))))))
11.6b
(+.f64 (+.f64 a -1/3) (*.f64 (*.f64 rand (-.f64 a 1/3)) (sqrt.f64 (/.f64 1 (-.f64 (*.f64 9 a) 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.5b
(+.f64 (+.f64 a -1/3) (*.f64 (*.f64 (cbrt.f64 (*.f64 (+.f64 a -1/3) (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))))) (cbrt.f64 (*.f64 (+.f64 a -1/3) (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))) (cbrt.f64 (*.f64 (+.f64 a -1/3) (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))))
Compiler

Compiled 4797 to 3580 computations (25.4% saved)

localize10.0ms (0.1%)

Local error

Found 4 expressions with local error:

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

series40.0ms (0.6%)

Counts
1 → 16
Calls

1 calls:

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

rewrite12.0ms (0.2%)

Algorithm
rewrite-expression-head
Rules
15×add-exp-log_binary64
10×add-cbrt-cube_binary64
prod-exp_binary64
pow1_binary64
cbrt-unprod_binary64
Counts
1 → 30
Calls

1 calls:

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

simplify75.0ms (1.1%)

Algorithm
egg-herbie
Rules
432×times-frac_binary64
384×associate-*l*_binary64
350×associate-*r*_binary64
338×fma-def_binary64
329×fma-neg_binary64
Counts
46 → 53
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01241065
1320922
21009900
33837893
44881893
54912893

prune226.0ms (3.4%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1460146
Fresh077
Picked011
Done000
Total1468154
Error
0b
Counts
154 → 8
Alt Table
StatusErrorProgram
0.9b
(+.f64 (+.f64 a -1/3) (*.f64 (*.f64 (+.f64 a -1/3) (/.f64 (*.f64 (cbrt.f64 rand) (cbrt.f64 rand)) (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3))))) (/.f64 (cbrt.f64 rand) (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3))))))
0.1b
(+.f64 (+.f64 a -1/3) (*.f64 (+.f64 a -1/3) (*.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))))))
0.3b
(+.f64 (+.f64 a -1/3) (*.f64 (+.f64 a -1/3) (/.f64 (/.f64 rand (fabs.f64 (cbrt.f64 (fma.f64 a 9 -3)))) (sqrt.f64 (cbrt.f64 (fma.f64 a 9 -3))))))
0.4b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 (/.f64 rand (*.f64 (cbrt.f64 (sqrt.f64 (fma.f64 a 9 -3))) (cbrt.f64 (sqrt.f64 (fma.f64 a 9 -3))))) (cbrt.f64 (sqrt.f64 (fma.f64 a 9 -3))))))
0.4b
(+.f64 (+.f64 a -1/3) (*.f64 (*.f64 (+.f64 a -1/3) (*.f64 (cbrt.f64 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))) (cbrt.f64 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))) (cbrt.f64 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))))))
11.6b
(+.f64 (+.f64 a -1/3) (*.f64 (*.f64 rand (-.f64 a 1/3)) (sqrt.f64 (/.f64 1 (-.f64 (*.f64 9 a) 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.5b
(+.f64 (+.f64 a -1/3) (*.f64 (*.f64 (cbrt.f64 (*.f64 (+.f64 a -1/3) (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))))) (cbrt.f64 (*.f64 (+.f64 a -1/3) (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))) (cbrt.f64 (*.f64 (+.f64 a -1/3) (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))))
Compiler

Compiled 4126 to 3179 computations (23% 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.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))

series61.0ms (0.9%)

Counts
4 → 36
Calls

4 calls:

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

rewrite23.0ms (0.3%)

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:

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

simplify113.0ms (1.7%)

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

prune319.0ms (4.9%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1944198
Fresh426
Picked101
Done011
Total1997206
Error
0b
Counts
206 → 7
Alt Table
StatusErrorProgram
11.6b
(+.f64 a (fma.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (*.f64 rand (+.f64 -1/3 a)) -1/3))
0.1b
(+.f64 (+.f64 a -1/3) (*.f64 (+.f64 a -1/3) (*.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))))))
0.5b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (+.f64 (*.f64 1/27 (/.f64 1 (pow.f64 a 2))) (*.f64 1/9 (/.f64 1 a)))) (+.f64 a -1/3)) -1/3))
0.3b
(+.f64 a (fma.f64 rand (*.f64 (*.f64 (sqrt.f64 (/.f64 1 (*.f64 (cbrt.f64 (fma.f64 a 9 -3)) (cbrt.f64 (fma.f64 a 9 -3))))) (sqrt.f64 (/.f64 1 (cbrt.f64 (fma.f64 a 9 -3))))) (+.f64 a -1/3)) -1/3))
0.4b
(+.f64 (+.f64 a -1/3) (*.f64 (*.f64 (+.f64 a -1/3) (*.f64 (cbrt.f64 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))) (cbrt.f64 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))) (cbrt.f64 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))))))
0.4b
(+.f64 a (fma.f64 rand (*.f64 (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (*.f64 (cbrt.f64 (+.f64 a -1/3)) (cbrt.f64 (+.f64 a -1/3)))) (cbrt.f64 (+.f64 a -1/3))) -1/3))
0.5b
(+.f64 (+.f64 a -1/3) (*.f64 (*.f64 (cbrt.f64 (*.f64 (+.f64 a -1/3) (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))))) (cbrt.f64 (*.f64 (+.f64 a -1/3) (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))) (cbrt.f64 (*.f64 (+.f64 a -1/3) (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))))
Compiler

Compiled 5122 to 4048 computations (21% saved)

regimes1.8s (26.9%)

Accuracy

Total 0.1b remaining (81.5%)

Threshold costs 0.1b (81.5%)

Counts
290 → 1
Compiler

Compiled 27018 to 21426 computations (20.7% saved)

simplify2.0ms (0%)

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

end156.0ms (2.4%)

Compiler

Compiled 245 to 194 computations (20.8% saved)

Profiling

Loading profile data...