Details

Time bar (total: 4.6s)

analyze106.0ms (2.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
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)

sample266.0ms (5.8%)

Algorithm
intervals
Results
19.0ms256×body128valid
1.0ms11×body128nan
1.0ms10×body128invalid
Compiler

Compiled 47 to 41 computations (12.8% saved)

simplify95.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.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.2%)

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

series68.0ms (1.5%)

Counts
4 → 50
Calls

4 calls:

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

rewrite21.0ms (0.5%)

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:

10.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.2%)

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

prune204.0ms (4.4%)

Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1548162
Fresh101
Picked101
Done000
Total1568164
Error
0b
Counts
164 → 8
Alt Table
StatusErrorProgram
0.6b
(*.f64 (sqrt.f64 (-.f64 a 1/3)) (*.f64 (sqrt.f64 (-.f64 a 1/3)) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))))))
10.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.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.1b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 a -1/3)) -1/3))
13.6b
(/.f64 (*.f64 (+.f64 a -1/3) (+.f64 1 (pow.f64 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))) 3))) (+.f64 (*.f64 1 1) (-.f64 (*.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.5b
(*.f64 (-.f64 a 1/3) (+.f64 1 (*.f64 (/.f64 (*.f64 (cbrt.f64 rand) (cbrt.f64 rand)) (fabs.f64 (cbrt.f64 (fma.f64 a 9 -3)))) (/.f64 (cbrt.f64 rand) (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 (fma.f64 a 9 -3)))))
15.7b
(exp.f64 (+.f64 (log1p.f64 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))) (log.f64 (+.f64 a -1/3))))
Compiler

Compiled 4176 to 3239 computations (22.4% saved)

localize8.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series33.0ms (0.7%)

Counts
1 → 16
Calls

1 calls:

32.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 (1.9%)

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

prune393.0ms (8.5%)

Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1762178
Fresh347
Picked101
Done000
Total1806186
Error
0b
Counts
186 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f64 (+.f64 a -1/3) (*.f64 (+.f64 a -1/3) (/.f64 1 (/.f64 (sqrt.f64 (fma.f64 a 9 -3)) rand))))
0.2b
(+.f64 (+.f64 a -1/3) (*.f64 (/.f64 (+.f64 -1/3 a) (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3)))) (/.f64 rand (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3))))))
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.1b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 a -1/3)) -1/3))
0.6b
(*.f64 (sqrt.f64 (-.f64 a 1/3)) (*.f64 (sqrt.f64 (-.f64 a 1/3)) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))))))
15.7b
(exp.f64 (+.f64 (log1p.f64 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))) (log.f64 (+.f64 a -1/3))))
Compiler

Compiled 4623 to 3450 computations (25.4% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

NewErrorProgram
0.2b
(/.f64 (sqrt.f64 (fma.f64 a 9 -3)) rand)
0.7b
(/.f64 1 (/.f64 (sqrt.f64 (fma.f64 a 9 -3)) rand))
0.9b
(sqrt.f64 (fma.f64 a 9 -3))
5.4b
(*.f64 (+.f64 a -1/3) (/.f64 1 (/.f64 (sqrt.f64 (fma.f64 a 9 -3)) rand)))

series92.0ms (2%)

Counts
3 → 48
Calls

3 calls:

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

rewrite60.0ms (1.3%)

Algorithm
rewrite-expression-head
Rules
286×times-frac_binary64
177×add-sqr-sqrt_binary64
161×*-un-lft-identity_binary64
156×add-cube-cbrt_binary64
77×sqrt-prod_binary64
Counts
3 → 264
Calls

3 calls:

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

simplify235.0ms (5.1%)

Algorithm
egg-herbie
Rules
520×fma-def_binary64
479×associate-/r/_binary64
341×distribute-rgt-in_binary64
326×distribute-lft-in_binary64
191×associate-/l/_binary64
Counts
312 → 371
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
02756789
16746119
223685998
349355998
449455998

prune490.0ms (10.6%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New3940394
Fresh055
Picked011
Done000
Total3946400
Error
0b
Counts
400 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f64 (+.f64 a -1/3) (*.f64 (+.f64 a -1/3) (/.f64 1 (/.f64 (sqrt.f64 (fma.f64 a 9 -3)) rand))))
0.2b
(+.f64 (+.f64 a -1/3) (*.f64 (/.f64 (+.f64 -1/3 a) (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3)))) (/.f64 rand (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3))))))
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.1b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 a -1/3)) -1/3))
0.6b
(*.f64 (sqrt.f64 (-.f64 a 1/3)) (*.f64 (sqrt.f64 (-.f64 a 1/3)) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))))))
15.7b
(exp.f64 (+.f64 (log1p.f64 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))) (log.f64 (+.f64 a -1/3))))
Compiler

Compiled 11507 to 8796 computations (23.6% saved)

localize24.0ms (0.5%)

Local error

Found 4 expressions with local error:

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

series60.0ms (1.3%)

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))
11.0ms
(sqrt.f64 (/.f64 1 (fma.f64 a 9 -3)))
3.0ms
(/.f64 1 (fma.f64 a 9 -3))

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

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

simplify99.0ms (2.2%)

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

prune261.0ms (5.7%)

Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1980198
Fresh044
Picked011
Done011
Total1986204
Error
0b
Counts
204 → 6
Alt Table
StatusErrorProgram
0.1b
(+.f64 (+.f64 a -1/3) (*.f64 (+.f64 a -1/3) (/.f64 1 (/.f64 (sqrt.f64 (fma.f64 a 9 -3)) rand))))
0.2b
(+.f64 (+.f64 a -1/3) (*.f64 (/.f64 (+.f64 -1/3 a) (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3)))) (/.f64 rand (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3))))))
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.1b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (+.f64 a -1/3)) -1/3))
0.6b
(*.f64 (sqrt.f64 (-.f64 a 1/3)) (*.f64 (sqrt.f64 (-.f64 a 1/3)) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3))))))
15.7b
(exp.f64 (+.f64 (log1p.f64 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))) (log.f64 (+.f64 a -1/3))))
Compiler

Compiled 5054 to 3996 computations (20.9% saved)

regimes792.0ms (17.2%)

Accuracy

Total 0.1b remaining (83%)

Threshold costs 0.1b (83%)

Counts
163 → 1
Compiler

Compiled 13998 to 11010 computations (21.3% saved)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
*-lft-identity_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01522
12122
21922

end1.0ms (0%)

Compiler

Compiled 17 to 13 computations (23.5% saved)

sample1.0s (22.8%)

Algorithm
intervals
Results
637.0ms8000×body128valid
24.0ms278×body128invalid
18.0ms267×body128nan
Compiler

Compiled 179 to 145 computations (19% saved)

Profiling

Loading profile data...