Details

Time bar (total: 3.0s)

analyze137.0ms (4.5%)

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.5s (48.7%)

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)))
Results
1.2s8256×body128valid
68.0ms483×body128invalid
Compiler

Compiled 112 to 97 computations (13.4% saved)

localize10.0ms (0.3%)

Local error

Found 4 expressions with local error:

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

series122.0ms (4%)

Counts
4 → 41
Calls

4 calls:

71.0ms
(*.f64 (/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))) rand)
27.0ms
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 (/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))) rand)))
13.0ms
(/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3)))))
11.0ms
(sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))

rewrite77.0ms (2.5%)

Algorithm
batch-egg-rewrite
Rules
723×prod-diff_binary64
142×add-sqr-sqrt_binary64
138×log1p-expm1-u_binary64
138×expm1-log1p-u_binary64
136×add-log-exp_binary64
Counts
4 → 126
Calls

4 calls:

74.0ms
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (*.f64 (/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))) rand)))
74.0ms
(/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3)))))
74.0ms
(*.f64 (/.f64 1 (sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))) rand)
74.0ms
(sqrt.f64 (*.f64 9 (-.f64 a (/.f64 1 3))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01554
130649
2361949
3497149
000
100

prune153.0ms (5.1%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1634167
Fresh000
Picked101
Done000
Total1644168
Error
0.0b
Counts
168 → 4
Alt Table
StatusErrorProgram
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (/.f64 (/.f64 rand 3) (sqrt.f64 (-.f64 a 1/3)))))
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (/.f64 (neg.f64 rand) (*.f64 -3 (sqrt.f64 (-.f64 a 1/3))))))
0.4b
(-.f64 (+.f64 a (*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3))))) 1/3)
1.3b
(pow.f64 (cbrt.f64 (*.f64 (-.f64 a 1/3) (fma.f64 (/.f64 1/3 (sqrt.f64 (-.f64 a 1/3))) rand 1))) 3)
Compiler

Compiled 3838 to 3130 computations (18.4% saved)

localize10.0ms (0.3%)

Local error

Found 2 expressions with local error:

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

series61.0ms (2%)

Counts
2 → 33
Calls

2 calls:

32.0ms
(/.f64 (/.f64 rand 3) (sqrt.f64 (-.f64 a 1/3)))
29.0ms
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (/.f64 (/.f64 rand 3) (sqrt.f64 (-.f64 a 1/3)))))

rewrite81.0ms (2.7%)

Algorithm
batch-egg-rewrite
Rules
657×prod-diff_binary64
132×add-sqr-sqrt_binary64
127×log1p-expm1-u_binary64
127×expm1-log1p-u_binary64
125×add-log-exp_binary64
Counts
2 → 83
Calls

2 calls:

75.0ms
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (/.f64 (/.f64 rand 3) (sqrt.f64 (-.f64 a 1/3)))))
75.0ms
(/.f64 (/.f64 rand 3) (sqrt.f64 (-.f64 a 1/3)))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01333
127332
2356832
3487832
000
100

prune91.0ms (3%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1151116
Fresh123
Picked011
Done000
Total1164120
Error
0.0b
Counts
120 → 4
Alt Table
StatusErrorProgram
0.4b
(-.f64 (+.f64 a (*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3))))) 1/3)
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (/.f64 (/.f64 rand 3) (sqrt.f64 (-.f64 a 1/3)))))
0.1b
(pow.f64 (*.f64 (-.f64 a 1/3) (fma.f64 (/.f64 rand 3) (pow.f64 (-.f64 a 1/3) -1/2) 1)) 1)
1.3b
(pow.f64 (cbrt.f64 (*.f64 (-.f64 a 1/3) (fma.f64 (/.f64 1/3 (sqrt.f64 (-.f64 a 1/3))) rand 1))) 3)
Compiler

Compiled 2719 to 2157 computations (20.7% saved)

localize10.0ms (0.3%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(pow.f64 (-.f64 a 1/3) -1/2)
0.1b
(*.f64 (-.f64 a 1/3) (fma.f64 (/.f64 rand 3) (pow.f64 (-.f64 a 1/3) -1/2) 1))
0.1b
(fma.f64 (/.f64 rand 3) (pow.f64 (-.f64 a 1/3) -1/2) 1)

series144.0ms (4.7%)

Counts
3 → 60
Calls

3 calls:

71.0ms
(*.f64 (-.f64 a 1/3) (fma.f64 (/.f64 rand 3) (pow.f64 (-.f64 a 1/3) -1/2) 1))
67.0ms
(fma.f64 (/.f64 rand 3) (pow.f64 (-.f64 a 1/3) -1/2) 1)
4.0ms
(pow.f64 (-.f64 a 1/3) -1/2)

rewrite59.0ms (2%)

Algorithm
batch-egg-rewrite
Rules
507×log-prod_binary64
217×expm1-udef_binary64
217×log1p-udef_binary64
180×log-pow_binary64
125×add-sqr-sqrt_binary64
Counts
3 → 76
Calls

3 calls:

57.0ms
(pow.f64 (-.f64 a 1/3) -1/2)
57.0ms
(*.f64 (-.f64 a 1/3) (fma.f64 (/.f64 rand 3) (pow.f64 (-.f64 a 1/3) -1/2) 1))
57.0ms
(fma.f64 (/.f64 rand 3) (pow.f64 (-.f64 a 1/3) -1/2) 1)
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01241
126041
2290041
3482441
000
100

prune126.0ms (4.2%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1360136
Fresh022
Picked011
Done011
Total1364140
Error
0.0b
Counts
140 → 4
Alt Table
StatusErrorProgram
0.4b
(-.f64 (+.f64 a (*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3))))) 1/3)
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (/.f64 (/.f64 rand 3) (sqrt.f64 (-.f64 a 1/3)))))
0.1b
(pow.f64 (*.f64 (-.f64 a 1/3) (fma.f64 (/.f64 rand 3) (pow.f64 (-.f64 a 1/3) -1/2) 1)) 1)
1.3b
(pow.f64 (cbrt.f64 (*.f64 (-.f64 a 1/3) (fma.f64 (/.f64 1/3 (sqrt.f64 (-.f64 a 1/3))) rand 1))) 3)
Compiler

Compiled 3399 to 2819 computations (17.1% saved)

localize7.0ms (0.2%)

Local error

Found 3 expressions with local error:

NewErrorProgram
0.0b
(+.f64 a (*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3)))))
0.2b
(*.f64 rand (sqrt.f64 (-.f64 a 1/3)))
0.6b
(*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3))))

series54.0ms (1.8%)

Counts
3 → 17
Calls

3 calls:

21.0ms
(*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3))))
18.0ms
(*.f64 rand (sqrt.f64 (-.f64 a 1/3)))
15.0ms
(+.f64 a (*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3)))))

rewrite57.0ms (1.9%)

Algorithm
batch-egg-rewrite
Rules
970×prod-diff_binary64
183×expm1-udef_binary64
183×log1p-udef_binary64
102×add-sqr-sqrt_binary64
98×log1p-expm1-u_binary64
Counts
3 → 66
Calls

3 calls:

55.0ms
(+.f64 a (*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3)))))
55.0ms
(*.f64 rand (sqrt.f64 (-.f64 a 1/3)))
55.0ms
(*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3))))
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0936
120234
2259734
3496434
000
100

prune67.0ms (2.2%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New82183
Fresh011
Picked011
Done022
Total82587
Error
0b
Counts
87 → 5
Alt Table
StatusErrorProgram
0.1b
(-.f64 (fma.f64 (*.f64 1/3 rand) (sqrt.f64 (-.f64 a 1/3)) a) 1/3)
1.3b
(pow.f64 (cbrt.f64 (*.f64 (-.f64 a 1/3) (fma.f64 (/.f64 1/3 (sqrt.f64 (-.f64 a 1/3))) rand 1))) 3)
0.4b
(-.f64 (+.f64 a (*.f64 1/3 (*.f64 rand (sqrt.f64 (-.f64 a 1/3))))) 1/3)
0.1b
(*.f64 (-.f64 a (/.f64 1 3)) (+.f64 1 (/.f64 (/.f64 rand 3) (sqrt.f64 (-.f64 a 1/3)))))
0.1b
(pow.f64 (*.f64 (-.f64 a 1/3) (fma.f64 (/.f64 rand 3) (pow.f64 (-.f64 a 1/3) -1/2) 1)) 1)
Compiler

Compiled 1638 to 1246 computations (23.9% saved)

regimes189.0ms (6.2%)

Accuracy

Total 0.1b remaining (85.3%)

Threshold costs 0.1b (85.3%)

Counts
45 → 1
Compiler

Compiled 2974 to 2446 computations (17.8% saved)

simplify2.0ms (0.1%)

Algorithm
egg-herbie
Rules
+-commutative_binary64
*-commutative_binary64
sub-neg_binary64
1-exp_binary64
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01321
12021
22121
31821

end95.0ms (3.2%)

Compiler

Compiled 113 to 92 computations (18.6% saved)

Profiling

Loading profile data...