Details

Time bar (total: 5.5s)

analyze75.0ms (1.4%)

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 21 to 20 computations (4.8% saved)

sample27.0ms (0.5%)

Algorithm
intervals
Results
15.0ms256×body128valid
1.0ms10×body128nan
1.0msbody128invalid
Compiler

Compiled 41 to 41 computations (0% saved)

simplify215.0ms (3.9%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
0103021
1103021

prune5.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 2
Compiler

Compiled 48 to 45 computations (6.3% saved)

localize12.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite47.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt_binary64_2120
23×*-un-lft-identity_binary64_2099
17×add-cube-cbrt_binary64_2131
12×times-frac_binary64_2105
11×pow1_binary64_2157
10×associate-*l*_binary64_2042 add-cbrt-cube_binary64_2132 add-exp-log_binary64_2134
associate-*l/_binary64_2044
associate-*r*_binary64_2041
flip3--_binary64_2103 flip--_binary64_2074
sqrt-prod_binary64_2114
add-log-exp_binary64_2135 associate-/r*_binary64_2045 sqrt-div_binary64_2115 frac-times_binary64_2109
flip3-+_binary64_2102 pow-prod-down_binary64_2167 associate-/l*_binary64_2046 flip-+_binary64_2073
difference-of-squares_binary64_2068 associate-*r/_binary64_2043 *-commutative_binary64_2032 associate-/r/_binary64_2047 prod-exp_binary64_2145 unswap-sqr_binary64_2067 distribute-lft-out--_binary64_2053 sqrt-pow1_binary64_2116 cbrt-unprod_binary64_2129
distribute-lft-out_binary64_2052 cbrt-undiv_binary64_2130 distribute-rgt-in_binary64_2051 distribute-lft-in_binary64_2050 div-exp_binary64_2147 frac-2neg_binary64_2110 pow1/2_binary64_2176 clear-num_binary64_2098 div-inv_binary64_2096
Counts
4 → 99
Calls

4 calls:

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

series301.0ms (5.5%)

Counts
4 → 12
Calls

4 calls:

142.0ms
(/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))
81.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))))
43.0ms
(*.f64 (-.f64 a 1/3) 9)
35.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

simplify54.0ms (1%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
053722236

prune163.0ms (3%)

Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1065111
Fresh101
Picked101
Done000
Total1085113

Merged error: 0.0b

Counts
113 → 5
Compiler

Compiled 2567 to 1993 computations (22.4% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 (-.f64 a 1/3) 9)
0.3b
(/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))
0.4b
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))
10.4b
(*.f64 (-.f64 a 1/3) (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9))))

rewrite50.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt_binary64_2120
28×*-un-lft-identity_binary64_2099
25×times-frac_binary64_2105
24×add-cube-cbrt_binary64_2131
21×associate-*r*_binary64_2041
13×add-cbrt-cube_binary64_2132 add-exp-log_binary64_2134
11×pow1_binary64_2157
10×associate-*l*_binary64_2042 associate-*l/_binary64_2044
sqrt-prod_binary64_2114
sqrt-div_binary64_2115 flip3--_binary64_2103 flip--_binary64_2074
associate-/r/_binary64_2047 add-log-exp_binary64_2135 associate-/r*_binary64_2045
prod-exp_binary64_2145 pow-prod-down_binary64_2167 unswap-sqr_binary64_2067 associate-/l*_binary64_2046 cbrt-unprod_binary64_2129
difference-of-squares_binary64_2068 cbrt-undiv_binary64_2130 *-commutative_binary64_2032 div-exp_binary64_2147 frac-times_binary64_2109 div-inv_binary64_2096 distribute-lft-out--_binary64_2053 sqrt-pow1_binary64_2116
associate-*r/_binary64_2043 frac-2neg_binary64_2110 pow1/2_binary64_2176 clear-num_binary64_2098
Counts
4 → 111
Calls

4 calls:

17.0ms
(*.f64 (-.f64 a 1/3) (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9))))
9.0ms
(/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))
8.0ms
(*.f64 (-.f64 a 1/3) 9)
5.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

series325.0ms (5.9%)

Counts
4 → 12
Calls

4 calls:

137.0ms
(/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))
111.0ms
(*.f64 (-.f64 a 1/3) (/.f64 rand (sqrt.f64 (*.f64 (-.f64 a 1/3) 9))))
42.0ms
(*.f64 (-.f64 a 1/3) 9)
35.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

simplify66.0ms (1.2%)

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
049332404
149332404

prune166.0ms (3%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1212123
Fresh224
Picked011
Done000
Total1235128

Merged error: 0b

Counts
128 → 5
Compiler

Compiled 3027 to 2244 computations (25.9% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

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

rewrite139.0ms (2.5%)

Algorithm
rewrite-expression-head
Rules
372×times-frac_binary64_2105
248×add-sqr-sqrt_binary64_2120
247×*-un-lft-identity_binary64_2099
223×sqrt-prod_binary64_2114
191×add-cube-cbrt_binary64_2131
33×associate-/l*_binary64_2046
27×difference-of-squares_binary64_2068 distribute-lft-out--_binary64_2053
18×sqrt-div_binary64_2115
16×associate-/r/_binary64_2047
14×associate-/r*_binary64_2045
13×add-cbrt-cube_binary64_2132 add-exp-log_binary64_2134
12×flip3--_binary64_2103 flip--_binary64_2074
div-inv_binary64_2096
pow1_binary64_2157
associate-*l*_binary64_2042
cbrt-undiv_binary64_2130 div-exp_binary64_2147 add-log-exp_binary64_2135 associate-*r*_binary64_2041 frac-times_binary64_2109
flip3-+_binary64_2102 flip-+_binary64_2073
associate-*r/_binary64_2043 associate-*l/_binary64_2044 frac-2neg_binary64_2110 clear-num_binary64_2098
distribute-lft-out_binary64_2052 distribute-rgt-in_binary64_2051 *-commutative_binary64_2032 distribute-lft-in_binary64_2050 associate-/l/_binary64_2048 prod-exp_binary64_2145 rem-sqrt-square_binary64_2112 pow1/2_binary64_2176 pow-prod-down_binary64_2167 unswap-sqr_binary64_2067 sqrt-pow1_binary64_2116 cbrt-unprod_binary64_2129
Counts
4 → 328
Calls

4 calls:

61.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 (/.f64 rand (sqrt.f64 (-.f64 a 1/3))) (sqrt.f64 9))))
16.0ms
(/.f64 (/.f64 rand (sqrt.f64 (-.f64 a 1/3))) (sqrt.f64 9))
7.0ms
(/.f64 rand (sqrt.f64 (-.f64 a 1/3)))
4.0ms
(sqrt.f64 (-.f64 a 1/3))

series352.0ms (6.4%)

Counts
4 → 12
Calls

4 calls:

128.0ms
(/.f64 (/.f64 rand (sqrt.f64 (-.f64 a 1/3))) (sqrt.f64 9))
105.0ms
(/.f64 rand (sqrt.f64 (-.f64 a 1/3)))
90.0ms
(*.f64 (-.f64 a 1/3) (+.f64 1 (/.f64 (/.f64 rand (sqrt.f64 (-.f64 a 1/3))) (sqrt.f64 9))))
29.0ms
(sqrt.f64 (-.f64 a 1/3))

simplify147.0ms (2.7%)

Algorithm
egg-herbie
Counts
340 → 340
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
049289000
149289000

prune682.0ms (12.4%)

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New3400340
Fresh033
Picked011
Done011
Total3405345

Merged error: 0b

Counts
345 → 5
Compiler

Compiled 8710 to 6561 computations (24.7% saved)

localize11.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.3b
(/.f64 (-.f64 a 1/3) (sqrt.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9))))
0.4b
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))
0.4b
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))
3.8b
(*.f64 (/.f64 (-.f64 a 1/3) (sqrt.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))) (/.f64 rand (sqrt.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))))

rewrite100.0ms (1.8%)

Algorithm
rewrite-expression-head
Rules
116×add-sqr-sqrt_binary64_2120
103×times-frac_binary64_2105
86×*-un-lft-identity_binary64_2099
78×sqrt-prod_binary64_2114
56×add-cube-cbrt_binary64_2131
41×associate-*l*_binary64_2042
27×associate-*r*_binary64_2041
18×add-cbrt-cube_binary64_2132 add-exp-log_binary64_2134
16×sqrt-div_binary64_2115
15×difference-of-squares_binary64_2068 distribute-lft-out--_binary64_2053
12×pow1_binary64_2157
11×associate-*l/_binary64_2044
unswap-sqr_binary64_2067
associate-/r*_binary64_2045
associate-/r/_binary64_2047 flip3--_binary64_2103 flip--_binary64_2074
cbrt-undiv_binary64_2130 div-exp_binary64_2147 associate-/l*_binary64_2046
prod-exp_binary64_2145 add-log-exp_binary64_2135 sqrt-pow1_binary64_2116 cbrt-unprod_binary64_2129
pow-prod-down_binary64_2167 div-inv_binary64_2096
associate-/l/_binary64_2048 pow1/2_binary64_2176
associate-*r/_binary64_2043 *-commutative_binary64_2032 frac-2neg_binary64_2110 div-sub_binary64_2104 clear-num_binary64_2098 frac-times_binary64_2109
Counts
4 → 187
Calls

4 calls:

47.0ms
(*.f64 (/.f64 (-.f64 a 1/3) (sqrt.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))) (/.f64 rand (sqrt.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))))
14.0ms
(/.f64 (-.f64 a 1/3) (sqrt.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9))))
6.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))
6.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

series349.0ms (6.3%)

Counts
4 → 12
Calls

4 calls:

181.0ms
(*.f64 (/.f64 (-.f64 a 1/3) (sqrt.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))) (/.f64 rand (sqrt.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9)))))
103.0ms
(/.f64 (-.f64 a 1/3) (sqrt.f64 (sqrt.f64 (*.f64 (-.f64 a 1/3) 9))))
32.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))
32.0ms
(sqrt.f64 (*.f64 (-.f64 a 1/3) 9))

simplify90.0ms (1.6%)

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
051985957

prune450.0ms (8.2%)

Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1990199
Fresh022
Picked011
Done022
Total1995204

Merged error: 0b

Counts
204 → 5
Compiler

Compiled 6941 to 5544 computations (20.1% saved)

regimes276.0ms (5%)

Compiler

Compiled 3030 to 2662 computations (12.1% saved)

bsearch0.0ms (0%)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02424
12424

end0.0ms (0%)

sample1.4s (25%)

Algorithm
intervals
Results
475.0ms8000×body128valid
17.0ms254×body128invalid
17.0ms266×body128nan
Compiler

Compiled 781 to 687 computations (12% saved)

Profiling

Loading profile data...