Details

Time bar (total: 4.9s)

analyze352.0ms (7.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
0%50%50%4
6.2%43.7%50%5
9.4%28.1%62.5%6
12.5%25%62.5%7
15.6%15.6%68.8%8
16.8%14.4%68.8%9
18.5%8.8%72.7%10
19.2%7.7%73.1%11
20.1%4.6%75.2%12
20.5%4%75.5%13
21%2.4%76.6%14
Compiler

Compiled 23 to 20 computations (13% saved)

sample28.0ms (0.6%)

Algorithm
intervals
Results
19.0ms256×body128valid
1.0msbody128invalid
0.0msbody128nan
Compiler

Compiled 47 to 41 computations (12.8% saved)

simplify103.0ms (2.1%)

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

rewrite22.0ms (0.4%)

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)

series119.0ms (2.4%)

Counts
4 → 50
Calls

4 calls:

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

simplify118.0ms (2.4%)

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

Useful iterations: 3 (0.0ms)

IterNodesCost
02422971
16482791
221982639
349752621
449642621

prune201.0ms (4.1%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New2396245
Fresh101
Picked101
Done000
Total2416247
Error
0b
Counts
247 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 a -1/3)) -1/3))
9.1b
(/.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)))))
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 1 (*.f64 rand (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))))))
2.3b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (fma.f64 a 9 -3)) (sqrt.f64 (fma.f64 a 9 -3))) (sqrt.f64 (fma.f64 a 9 -3)))))))
44.5b
(/.f64 (*.f64 (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))) (-.f64 (pow.f64 a 3) 1/27)) (+.f64 (*.f64 a a) (+.f64 (*.f64 1/3 1/3) (*.f64 a 1/3))))
Compiler

Compiled 4005 to 3107 computations (22.4% 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.1b
(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.4b
(/.f64 1 (fma.f64 a 9 -3))

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

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

series83.0ms (1.7%)

Counts
4 → 36
Calls

4 calls:

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

simplify121.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 → 265
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02433027
16562737
219752681
349162673
449302673

prune274.0ms (5.6%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New2650265
Fresh055
Picked011
Done000
Total2656271
Error
0b
Counts
271 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 a -1/3)) -1/3))
9.1b
(/.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)))))
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 1 (*.f64 rand (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))))))
2.3b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (fma.f64 a 9 -3)) (sqrt.f64 (fma.f64 a 9 -3))) (sqrt.f64 (fma.f64 a 9 -3)))))))
44.5b
(/.f64 (*.f64 (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))) (-.f64 (pow.f64 a 3) 1/27)) (+.f64 (*.f64 a a) (+.f64 (*.f64 1/3 1/3) (*.f64 a 1/3))))
Compiler

Compiled 5163 to 4086 computations (20.9% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite18.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt_binary64
19×associate-*r*_binary64
16×sqrt-prod_binary64
16×*-un-lft-identity_binary64
13×add-cube-cbrt_binary64
Counts
2 → 69
Calls

2 calls:

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

series102.0ms (2.1%)

Counts
2 → 34
Calls

2 calls:

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

simplify104.0ms (2.1%)

Algorithm
egg-herbie
Rules
919×fma-def_binary64
621×distribute-rgt-in_binary64
405×times-frac_binary64
229×fma-neg_binary64
212×cancel-sign-sub-inv_binary64
Counts
103 → 198
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02032569
15762368
220982123
348322123
449772123

prune302.0ms (6.1%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New3230323
Fresh044
Picked011
Done011
Total3236329
Error
0b
Counts
329 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 a -1/3)) -1/3))
9.1b
(/.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)))))
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 1 (*.f64 rand (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))))))
2.3b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (fma.f64 a 9 -3)) (sqrt.f64 (fma.f64 a 9 -3))) (sqrt.f64 (fma.f64 a 9 -3)))))))
44.5b
(/.f64 (*.f64 (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))) (-.f64 (pow.f64 a 3) 1/27)) (+.f64 (*.f64 a a) (+.f64 (*.f64 1/3 1/3) (*.f64 a 1/3))))
Compiler

Compiled 5805 to 4692 computations (19.2% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite48.0ms (1%)

Algorithm
rewrite-expression-head
Rules
156×times-frac_binary64
100×*-un-lft-identity_binary64
99×add-sqr-sqrt_binary64
95×add-cube-cbrt_binary64
48×sqrt-prod_binary64
Counts
3 → 189
Calls

3 calls:

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

series142.0ms (2.9%)

Counts
3 → 50
Calls

3 calls:

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

simplify202.0ms (4.1%)

Algorithm
egg-herbie
Rules
854×fma-def_binary64
625×distribute-rgt-in_binary64
210×cancel-sign-sub-inv_binary64
173×fma-neg_binary64
135×associate-*r*_binary64
Counts
239 → 442
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02865671
17375018
225504808
348874790
449424790

prune370.0ms (7.5%)

Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New4680468
Fresh033
Picked011
Done022
Total4686474
Error
0b
Counts
474 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 a -1/3)) -1/3))
9.1b
(/.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)))))
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 1 (*.f64 rand (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))))))
2.3b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (cbrt.f64 (*.f64 (*.f64 (sqrt.f64 (fma.f64 a 9 -3)) (sqrt.f64 (fma.f64 a 9 -3))) (sqrt.f64 (fma.f64 a 9 -3)))))))
44.5b
(/.f64 (*.f64 (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))) (-.f64 (pow.f64 a 3) 1/27)) (+.f64 (*.f64 a a) (+.f64 (*.f64 1/3 1/3) (*.f64 a 1/3))))
Compiler

Compiled 7789 to 6121 computations (21.4% saved)

regimes991.0ms (20.1%)

Accuracy

Total 0.3b remaining (92.5%)

Threshold costs 0.3b (92.5%)

Compiler

Compiled 17714 to 14206 computations (19.8% saved)

simplify4.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
02546
13146
23146

end1.0ms (0%)

Compiler

Compiled 33 to 25 computations (24.2% saved)

sample1.2s (23.6%)

Algorithm
intervals
Results
783.0ms8000×body128valid
18.0ms260×body128invalid
16.0ms247×body128nan
Compiler

Compiled 202 to 163 computations (19.3% saved)

Profiling

Loading profile data...