Details

Time bar (total: 5.9s)

analyze128.0ms (2.2%)

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

Results
1.3s8256×body128valid
76.0ms548×body128invalid
Compiler

Compiled 68 to 59 computations (13.2% saved)

simplify95.0ms (1.6%)

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

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

series66.0ms (1.1%)

Counts
4 → 50
Calls

4 calls:

31.0ms
(/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))
25.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)

rewrite33.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:

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

simplify103.0ms (1.8%)

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 → 195
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02422971
16482791
221982639
349752621
449642621

prune237.0ms (4%)

Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1896195
Fresh101
Picked011
Done000
Total1907197
Error
0b
Counts
197 → 7
Alt Table
StatusErrorProgram
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 rand (/.f64 1 (sqrt.f64 (fma.f64 a 9 -3))))))
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3)))) (/.f64 rand (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3)))))))
7.6b
(/.f64 (*.f64 (-.f64 a 1/3) (-.f64 (*.f64 1 1) (*.f64 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))) (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))) (-.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
34.1b
(/.f64 (*.f64 (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 9 a -3)))) (fma.f64 a a -1/9)) (+.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.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
Compiler

Compiled 4713 to 3650 computations (22.6% saved)

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

series63.0ms (1.1%)

Counts
4 → 36
Calls

4 calls:

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

rewrite20.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:

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

simplify142.0ms (2.4%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
02433027
16552737
219752681
349162673
449302673

prune321.0ms (5.5%)

Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New2200220
Fresh055
Picked011
Done011
Total2207227
Error
0b
Counts
227 → 7
Alt Table
StatusErrorProgram
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 rand (/.f64 1 (sqrt.f64 (fma.f64 a 9 -3))))))
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3)))) (/.f64 rand (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3)))))))
7.6b
(/.f64 (*.f64 (-.f64 a 1/3) (-.f64 (*.f64 1 1) (*.f64 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))) (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))) (-.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
34.1b
(/.f64 (*.f64 (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 9 a -3)))) (fma.f64 a a -1/9)) (+.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.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
Compiler

Compiled 5710 to 4517 computations (20.9% saved)

localize19.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series88.0ms (1.5%)

Counts
3 → 38
Calls

3 calls:

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

rewrite26.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt_binary64
40×times-frac_binary64
38×*-un-lft-identity_binary64
34×add-cube-cbrt_binary64
25×associate-*r*_binary64
Counts
3 → 128
Calls

3 calls:

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

simplify117.0ms (2%)

Algorithm
egg-herbie
Rules
658×distribute-rgt-in_binary64
512×times-frac_binary64
255×fma-neg_binary64
233×cancel-sign-sub-inv_binary64
174×associate-*r*_binary64
Counts
166 → 214
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02483352
16933123
225032953
349482934
449892934

prune322.0ms (5.5%)

Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New2440244
Fresh044
Picked011
Done022
Total2447251
Error
0b
Counts
251 → 7
Alt Table
StatusErrorProgram
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 rand (/.f64 1 (sqrt.f64 (fma.f64 a 9 -3))))))
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3)))) (/.f64 rand (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3)))))))
7.6b
(/.f64 (*.f64 (-.f64 a 1/3) (-.f64 (*.f64 1 1) (*.f64 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))) (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))) (-.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
34.1b
(/.f64 (*.f64 (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 9 a -3)))) (fma.f64 a a -1/9)) (+.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.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
Compiler

Compiled 6293 to 5101 computations (18.9% saved)

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series511.0ms (8.7%)

Counts
3 → 52
Calls

3 calls:

463.0ms
(/.f64 rand (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3))))
42.0ms
(*.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3)))) (/.f64 rand (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3)))))
5.0ms
(/.f64 1 (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3))))

rewrite66.0ms (1.1%)

Algorithm
rewrite-expression-head
Rules
174×add-sqr-sqrt_binary64
171×sqrt-prod_binary64
153×times-frac_binary64
97×*-un-lft-identity_binary64
85×add-cube-cbrt_binary64
Counts
3 → 230
Calls

3 calls:

29.0ms
(*.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3)))) (/.f64 rand (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3)))))
4.0ms
(/.f64 1 (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3))))
4.0ms
(/.f64 rand (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3))))

simplify308.0ms (5.3%)

Algorithm
egg-herbie
Rules
653×fma-def_binary64
485×associate-/r*_binary64
428×associate-/l/_binary64
385×associate-/r/_binary64
212×fma-neg_binary64
Counts
282 → 296
Iterations

Useful iterations: 4 (0.0ms)

IterNodesCost
02998100
17507013
224316802
348315988
446615844
548885844
648855844

prune610.0ms (10.4%)

Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New3560356
Fresh033
Picked011
Done033
Total3567363
Error
0b
Counts
363 → 7
Alt Table
StatusErrorProgram
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 rand (/.f64 1 (sqrt.f64 (fma.f64 a 9 -3))))))
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 (/.f64 1 (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3)))) (/.f64 rand (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3)))))))
7.6b
(/.f64 (*.f64 (-.f64 a 1/3) (-.f64 (*.f64 1 1) (*.f64 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))) (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))) (-.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
34.1b
(/.f64 (*.f64 (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 9 a -3)))) (fma.f64 a a -1/9)) (+.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.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
Compiler

Compiled 11957 to 9874 computations (17.4% saved)

regimes757.0ms (12.9%)

Accuracy

Total 0.1b remaining (81.7%)

Threshold costs 0.1b (81.7%)

Counts
141 → 1
Compiler

Compiled 12722 to 10250 computations (19.4% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01220
11420
21420

end141.0ms (2.4%)

Compiler

Compiled 193 to 153 computations (20.7% saved)

Profiling

Loading profile data...