Details

Time bar (total: 3.6s)

analyze38.0ms (1%)

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%50%50%2
0%50%50%3
25%25%50%4
25%25%50%5
25%12.5%62.5%6
25%12.5%62.5%7
25%6.2%68.8%8
25%6.2%68.8%9
25%3.1%71.9%10
25%3.1%71.9%11
25%1.6%73.5%12
25%1.6%73.5%13
25%0.8%74.2%14
Compiler

Compiled 23 to 20 computations (13% saved)

sample1.2s (33.1%)

Infinites
12.6% of outputs are infinite.
Results
909.0ms8256×body128valid
24.0ms217×body128invalid
Compiler

Compiled 68 to 59 computations (13.2% saved)

simplify97.0ms (2.7%)

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.3b
Counts
3 → 2
Alt Table
StatusErrorProgram
0.4b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 (/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))) rand)))
0.3b
(*.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.3%)

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

series69.0ms (1.9%)

Counts
4 → 50
Calls

4 calls:

33.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)))))
9.0ms
(sqrt.f64 (fma.f64 a 9 -3))
3.0ms
(fma.f64 a 9 -3)

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

12.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 (2.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 → 162
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02422971
16482791
221982639
349752621
449642621

prune296.0ms (8.1%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1584162
Fresh101
Picked011
Done000
Total1595164
Error
0.2b
Counts
164 → 5
Alt Table
StatusErrorProgram
0.3b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 a -1/3)) -1/3))
1.4b
(*.f64 (*.f64 (cbrt.f64 (-.f64 a 1/3)) (cbrt.f64 (-.f64 a 1/3))) (*.f64 (cbrt.f64 (-.f64 a 1/3)) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))))))
7.1b
(/.f64 (*.f64 (+.f64 a -1/3) (-.f64 1 (/.f64 rand (/.f64 (fma.f64 a 9 -3) rand)))) (-.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
0.4b
(*.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)))))))
0.3b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
Compiler

Compiled 3945 to 3057 computations (22.5% saved)

localize11.0ms (0.3%)

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

series63.0ms (1.7%)

Counts
4 → 36
Calls

4 calls:

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

rewrite20.0ms (0.6%)

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 a 9 -3))) (+.f64 a -1/3))
3.0ms
(/.f64 1 (fma.f64 a 9 -3))
2.0ms
(sqrt.f64 (/.f64 1 (fma.f64 a 9 -3)))
1.0ms
(fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 a -1/3)) -1/3)

simplify105.0ms (2.9%)

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

prune247.0ms (6.8%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1962198
Fresh123
Picked101
Done011
Total1985203
Error
0b
Counts
203 → 5
Alt Table
StatusErrorProgram
0.3b
(+.f64 a (fma.f64 rand (/.f64 (+.f64 -1/3 a) (sqrt.f64 (fma.f64 a 9 -3))) -1/3))
0.3b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1/9 a)) (+.f64 a -1/3)) -1/3))
1.4b
(*.f64 (*.f64 (cbrt.f64 (-.f64 a 1/3)) (cbrt.f64 (-.f64 a 1/3))) (*.f64 (cbrt.f64 (-.f64 a 1/3)) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))))))
0.4b
(*.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)))))))
0.3b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
Compiler

Compiled 5096 to 4028 computations (21% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series48.0ms (1.3%)

Counts
4 → 12
Calls

4 calls:

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

rewrite19.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt_binary64
30×*-un-lft-identity_binary64
29×times-frac_binary64
28×sqrt-prod_binary64
28×add-cube-cbrt_binary64
Counts
4 → 109
Calls

4 calls:

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

simplify111.0ms (3.1%)

Algorithm
egg-herbie
Rules
911×fma-def_binary64
350×associate-*l*_binary64
279×distribute-rgt-in_binary64
269×associate-*r*_binary64
266×distribute-lft-in_binary64
Counts
121 → 166
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01721763
14111638
29041609
320741590
445851590
548021590
649031590

prune177.0ms (4.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1651166
Fresh213
Picked011
Done011
Total1674171
Error
0b
Counts
171 → 4
Alt Table
StatusErrorProgram
0.3b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1/9 a)) (+.f64 a -1/3)) -1/3))
0.3b
(+.f64 a (-.f64 (*.f64 1/3 (*.f64 (sqrt.f64 a) rand)) (+.f64 1/3 (*.f64 1/9 (*.f64 (sqrt.f64 (/.f64 1 a)) rand)))))
0.4b
(*.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)))))))
0.3b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
Compiler

Compiled 3371 to 2421 computations (28.2% saved)

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series57.0ms (1.6%)

Counts
4 → 0
Calls

4 calls:

18.0ms
(*.f64 1/9 (*.f64 (sqrt.f64 (/.f64 1 a)) rand))
15.0ms
(*.f64 (sqrt.f64 (/.f64 1 a)) rand)
14.0ms
(*.f64 1/3 (*.f64 (sqrt.f64 a) rand))
10.0ms
(*.f64 (sqrt.f64 a) rand)

rewrite29.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt_binary64
28×associate-*l*_binary64
20×sqrt-prod_binary64
19×*-un-lft-identity_binary64
18×add-cube-cbrt_binary64
Counts
4 → 102
Calls

4 calls:

8.0ms
(*.f64 1/9 (*.f64 (sqrt.f64 (/.f64 1 a)) rand))
6.0ms
(*.f64 (sqrt.f64 (/.f64 1 a)) rand)
4.0ms
(*.f64 1/3 (*.f64 (sqrt.f64 a) rand))
4.0ms
(*.f64 (sqrt.f64 a) rand)

simplify113.0ms (3.1%)

Algorithm
egg-herbie
Rules
466×fabs-mul_binary64
393×sqr-pow_binary64
364×associate-/r/_binary64
312×*-commutative_binary64
243×times-frac_binary64
Counts
102 → 136
Iterations

Useful iterations: 5 (0.0ms)

IterNodesCost
01251244
12421151
27351150
311581150
420171150
526661036
629331036
743151036
847071036
950251036

prune135.0ms (3.7%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1360136
Fresh011
Picked011
Done022
Total1364140
Error
0b
Counts
140 → 4
Alt Table
StatusErrorProgram
0.3b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1/9 a)) (+.f64 a -1/3)) -1/3))
0.3b
(+.f64 a (-.f64 (*.f64 1/3 (*.f64 (sqrt.f64 a) rand)) (+.f64 1/3 (*.f64 1/9 (*.f64 (sqrt.f64 (/.f64 1 a)) rand)))))
0.4b
(*.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)))))))
0.3b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
Compiler

Compiled 3441 to 2146 computations (37.6% saved)

regimes564.0ms (15.5%)

Accuracy

Total 0.6b remaining (96.4%)

Threshold costs 0.6b (96.4%)

Counts
122 → 1
Compiler

Compiled 9750 to 7674 computations (21.3% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01119
11419
21419

end73.0ms (2%)

Compiler

Compiled 106 to 82 computations (22.6% saved)

Profiling

Loading profile data...