Details

Time bar (total: 3.8s)

analyze101.0ms (2.6%)

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)

sample253.0ms (6.6%)

Algorithm
intervals
Results
22.0ms256×body128valid
1.0ms10×body128invalid
1.0msbody128nan
Compiler

Compiled 47 to 41 computations (12.8% saved)

simplify90.0ms (2.3%)

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

series145.0ms (3.8%)

Counts
4 → 50
Calls

4 calls:

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

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

simplify96.0ms (2.5%)

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

prune249.0ms (6.5%)

Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1905195
Fresh101
Picked011
Done000
Total1916197
Error
0b
Counts
197 → 6
Alt Table
StatusErrorProgram
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 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
0.5b
(*.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))))))
0.1b
(+.f64 a (fma.f64 rand (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 9 a -3))) (+.f64 a -1/3)) -1/3))
8.4b
(-.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.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 (/.f64 rand (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3)))) (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3))))))
Compiler

Compiled 4667 to 3616 computations (22.5% saved)

localize10.0ms (0.3%)

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

series68.0ms (1.8%)

Counts
4 → 36
Calls

4 calls:

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

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

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

simplify100.0ms (2.6%)

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

prune288.0ms (7.5%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New2173220
Fresh314
Picked101
Done011
Total2215226
Error
0b
Counts
226 → 5
Alt Table
StatusErrorProgram
8.4b
(+.f64 a (fma.f64 (sqrt.f64 (/.f64 1 (fma.f64 a 9 -3))) (*.f64 rand (+.f64 -1/3 a)) -1/3))
0.2b
(+.f64 a (fma.f64 rand (*.f64 (*.f64 (sqrt.f64 (/.f64 1 (fma.f64 9 a -3))) (sqrt.f64 (+.f64 a -1/3))) (sqrt.f64 (+.f64 a -1/3))) -1/3))
0.1b
(+.f64 a (fma.f64 rand (/.f64 (+.f64 -1/3 a) (sqrt.f64 (fma.f64 9 a -3))) -1/3))
0.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 (/.f64 rand (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3)))) (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3))))))
Compiler

Compiled 5598 to 4426 computations (20.9% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

series66.0ms (1.7%)

Counts
4 → 36
Calls

4 calls:

35.0ms
(fma.f64 rand (/.f64 (+.f64 -1/3 a) (sqrt.f64 (fma.f64 9 a -3))) -1/3)
16.0ms
(/.f64 (+.f64 -1/3 a) (sqrt.f64 (fma.f64 9 a -3)))
13.0ms
(sqrt.f64 (fma.f64 9 a -3))
2.0ms
(fma.f64 9 a -3)

rewrite10.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
36×*-un-lft-identity_binary64
24×times-frac_binary64
23×add-sqr-sqrt_binary64
22×add-cube-cbrt_binary64
18×sqrt-prod_binary64
Counts
4 → 85
Calls

4 calls:

5.0ms
(/.f64 (+.f64 -1/3 a) (sqrt.f64 (fma.f64 9 a -3)))
1.0ms
(sqrt.f64 (fma.f64 9 a -3))
0.0ms
(fma.f64 rand (/.f64 (+.f64 -1/3 a) (sqrt.f64 (fma.f64 9 a -3))) -1/3)
0.0ms
(fma.f64 9 a -3)

simplify88.0ms (2.3%)

Algorithm
egg-herbie
Rules
519×fma-neg_binary64
501×fma-def_binary64
467×times-frac_binary64
366×associate-/l*_binary64
246×associate-*l*_binary64
Counts
121 → 161
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
01932461
14822204
213922155
347322149
450982149

prune171.0ms (4.5%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1592161
Fresh213
Picked101
Done011
Total1624166
Error
0b
Counts
166 → 4
Alt Table
StatusErrorProgram
0.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
0.1b
(+.f64 a (fma.f64 rand (/.f64 1 (/.f64 (sqrt.f64 (fma.f64 9 a -3)) (+.f64 -1/3 a))) -1/3))
0.2b
(+.f64 a (fma.f64 rand (/.f64 (sqrt.f64 (+.f64 -1/3 a)) (/.f64 (sqrt.f64 (fma.f64 9 a -3)) (sqrt.f64 (+.f64 -1/3 a)))) -1/3))
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 (/.f64 rand (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3)))) (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3))))))
Compiler

Compiled 3767 to 2901 computations (23% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series62.0ms (1.6%)

Counts
3 → 24
Calls

3 calls:

34.0ms
(fma.f64 rand (/.f64 1 (/.f64 (sqrt.f64 (fma.f64 9 a -3)) (+.f64 -1/3 a))) -1/3)
15.0ms
(/.f64 (sqrt.f64 (fma.f64 9 a -3)) (+.f64 -1/3 a))
13.0ms
(/.f64 1 (/.f64 (sqrt.f64 (fma.f64 9 a -3)) (+.f64 -1/3 a)))

rewrite32.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
210×times-frac_binary64
173×*-un-lft-identity_binary64
111×add-sqr-sqrt_binary64
111×add-cube-cbrt_binary64
63×sqrt-prod_binary64
Counts
3 → 206
Calls

3 calls:

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

simplify168.0ms (4.4%)

Algorithm
egg-herbie
Rules
796×fma-def_binary64
656×times-frac_binary64
314×fma-neg_binary64
197×distribute-rgt-in_binary64
168×distribute-lft-in_binary64
Counts
230 → 270
Iterations

Useful iterations: 3 (0.0ms)

IterNodesCost
02706188
16635596
220915457
347725453
449515453

prune343.0ms (8.9%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New3000300
Fresh022
Picked011
Done011
Total3004304
Error
0b
Counts
304 → 4
Alt Table
StatusErrorProgram
0.1b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (fma.f64 a 9 -3)))))
0.1b
(+.f64 a (fma.f64 rand (/.f64 1 (/.f64 (sqrt.f64 (fma.f64 9 a -3)) (+.f64 -1/3 a))) -1/3))
0.2b
(+.f64 a (fma.f64 rand (/.f64 (sqrt.f64 (+.f64 -1/3 a)) (/.f64 (sqrt.f64 (fma.f64 9 a -3)) (sqrt.f64 (+.f64 -1/3 a)))) -1/3))
0.2b
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 (/.f64 rand (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3)))) (sqrt.f64 (sqrt.f64 (fma.f64 a 9 -3))))))
Compiler

Compiled 8355 to 6652 computations (20.4% saved)

regimes494.0ms (12.9%)

Accuracy

Total 0.1b remaining (63.4%)

Threshold costs 0.1b (63.4%)

Counts
115 → 1
Compiler

Compiled 9402 to 7402 computations (21.3% saved)

simplify2.0ms (0.1%)

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

Useful iterations: 0 (0.0ms)

IterNodesCost
01222
11522
21522

end1.0ms (0%)

Compiler

Compiled 17 to 13 computations (23.5% saved)

sample939.0ms (24.4%)

Algorithm
intervals
Results
610.0ms8000×body128valid
19.0ms271×body128invalid
17.0ms261×body128nan
Compiler

Compiled 120 to 97 computations (19.2% saved)

Profiling

Loading profile data...