Details

Time bar (total: 6.1s)

analyze293.0ms (4.8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0501292
022
122
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%74.9%0.1%5
25%68.7%6.3%6
25%56.2%18.8%7
25%48.4%26.6%8
25%35.1%39.9%9
28.1%18.3%53.6%10
31.6%12.3%56.1%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 32 to 22 computations (31.3% saved)

sample26.0ms (0.4%)

Algorithm
intervals
Results
16.0ms256×body128valid
Compiler

Compiled 63 to 45 computations (28.6% saved)

simplify61.0ms (1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (55.0ms)

IterNodesCost
0502946

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112
Error
0.2b
Counts
2 → 1
Compiler

Compiled 62 to 42 computations (32.3% saved)

localize20.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))))))
0.1b
(*.f64 (*.f64 a a) (+.f64 1 a))
0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
1.2b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))

rewrite173.0ms (2.8%)

Algorithm
rewrite-expression-head
Error
0.1b
Rules
15×pow1_binary64_2185 add-exp-log_binary64_2162
14×add-cbrt-cube_binary64_2160
10×add-sqr-sqrt_binary64_2146 *-un-lft-identity_binary64_2124
add-cube-cbrt_binary64_2159
associate-*r*_binary64_2064
pow-prod-down_binary64_2195 prod-exp_binary64_2173 add-log-exp_binary64_2163 cbrt-unprod_binary64_2157
distribute-rgt-in_binary64_2074 distribute-lft-in_binary64_2073 associate-*r/_binary64_2066
unpow-prod-down_binary64_2203 pow-unpow_binary64_2201
unswap-sqr_binary64_2092 sub-neg_binary64_2117 cancel-sign-sub-inv_binary64_2090 associate-*l*_binary64_2065 *-commutative_binary64_2055 flip3-+_binary64_2127 flip-+_binary64_2098 associate-+r+_binary64_2056
flip3--_binary64_2128 flip--_binary64_2099 pow-pow_binary64_2196 pow-to-exp_binary64_2193 pow-exp_binary64_2192 unpow2_binary64_2189 sqr-pow_binary64_2096 distribute-lft-out_binary64_2075 sum-log_binary64_2215 +-commutative_binary64_2054
Counts
4 → 80
Calls

4 calls:

10.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))))))
9.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
9.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
5.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
Compiler

Compiled 3307 to 1781 computations (46.1% saved)

series781.0ms (12.8%)

Error
0.0b
Counts
4 → 53
Calls

4 calls:

371.0ms
(+.f64 (pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (+.f64 1 a)) (*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a))))))
186.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
100.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
45.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
Compiler

Compiled 3720 to 2815 computations (24.3% saved)

simplify54.0ms (0.9%)

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
054522603

prune194.0ms (3.2%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1312133
Fresh000
Picked011
Done000
Total1313134
Error
0.0b
Counts
134 → 3
Compiler

Compiled 4533 to 2486 computations (45.2% saved)

localize23.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (*.f64 a a) (+.f64 1 a))
0.3b
(*.f64 a (*.f64 a (*.f64 b b)))
1.2b
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
1.3b
(*.f64 a (*.f64 b b))

rewrite208.0ms (3.4%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
28×pow1_binary64_2185 add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
15×pow-prod-down_binary64_2195 prod-exp_binary64_2173 cbrt-unprod_binary64_2157
11×add-sqr-sqrt_binary64_2146
10×*-un-lft-identity_binary64_2124
associate-*r*_binary64_2064
add-cube-cbrt_binary64_2159 associate-*l*_binary64_2065
add-log-exp_binary64_2163 *-commutative_binary64_2055 associate-*r/_binary64_2066
unswap-sqr_binary64_2092 distribute-rgt-in_binary64_2074 distribute-lft-in_binary64_2073
sub-neg_binary64_2117 cancel-sign-sub-inv_binary64_2090
flip3--_binary64_2128 flip--_binary64_2099 flip3-+_binary64_2127 flip-+_binary64_2098 distribute-lft-out_binary64_2075
Counts
4 → 89
Calls

4 calls:

9.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
8.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
8.0ms
(*.f64 a (*.f64 b b))
8.0ms
(*.f64 a (*.f64 a (*.f64 b b)))
Compiler

Compiled 4067 to 2322 computations (42.9% saved)

series336.0ms (5.5%)

Error
0.0b
Counts
4 → 26
Calls

4 calls:

96.0ms
(*.f64 (*.f64 b b) (-.f64 1 (*.f64 3 a)))
77.0ms
(*.f64 a (*.f64 a (*.f64 b b)))
71.0ms
(*.f64 a (*.f64 b b))
52.0ms
(*.f64 (*.f64 a a) (+.f64 1 a))
Compiler

Compiled 2817 to 2044 computations (27.4% saved)

simplify67.0ms (1.1%)

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
051151236

prune203.0ms (3.3%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1150115
Fresh011
Picked011
Done011
Total1153118
Error
0.0b
Counts
118 → 3
Compiler

Compiled 4847 to 2834 computations (41.5% saved)

localize21.0ms (0.3%)

Local error

Found 4 expressions with local error:

1.2b
(*.f64 (-.f64 1 (*.f64 3 a)) (*.f64 b b))
1.2b
(*.f64 (-.f64 1 (*.f64 3 a)) (*.f64 b b))
8.0b
(sqrt.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (-.f64 1 (*.f64 3 a)) (*.f64 b b)) (+.f64 (*.f64 a a) (pow.f64 a 3))))))
8.0b
(sqrt.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (-.f64 1 (*.f64 3 a)) (*.f64 b b)) (+.f64 (*.f64 a a) (pow.f64 a 3))))))

rewrite271.0ms (4.4%)

Algorithm
rewrite-expression-head
Error
0.0b
Rules
16×pow1_binary64_2185
14×add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
12×add-sqr-sqrt_binary64_2146
add-cube-cbrt_binary64_2159 *-un-lft-identity_binary64_2124
sqrt-prod_binary64_2140 pow-prod-down_binary64_2195 prod-exp_binary64_2173 cbrt-unprod_binary64_2157 associate-*l*_binary64_2065
add-log-exp_binary64_2163 sqrt-div_binary64_2141 associate-*l/_binary64_2067
pow1/2_binary64_2204 sqrt-pow1_binary64_2142 flip3-+_binary64_2127 flip-+_binary64_2098 rem-sqrt-square_binary64_2137 unswap-sqr_binary64_2092 flip3--_binary64_2128 flip--_binary64_2099 associate-*r*_binary64_2064 *-commutative_binary64_2055
Counts
4 → 72
Calls

4 calls:

10.0ms
(sqrt.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (-.f64 1 (*.f64 3 a)) (*.f64 b b)) (+.f64 (*.f64 a a) (pow.f64 a 3))))))
8.0ms
(*.f64 (-.f64 1 (*.f64 3 a)) (*.f64 b b))
8.0ms
(*.f64 (-.f64 1 (*.f64 3 a)) (*.f64 b b))
7.0ms
(sqrt.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (-.f64 1 (*.f64 3 a)) (*.f64 b b)) (+.f64 (*.f64 a a) (pow.f64 a 3))))))
Compiler

Compiled 5764 to 3126 computations (45.8% saved)

series1.0s (16.6%)

Error
0.0b
Counts
4 → 54
Calls

4 calls:

329.0ms
(sqrt.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (-.f64 1 (*.f64 3 a)) (*.f64 b b)) (+.f64 (*.f64 a a) (pow.f64 a 3))))))
328.0ms
(sqrt.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (-.f64 1 (*.f64 3 a)) (*.f64 b b)) (+.f64 (*.f64 a a) (pow.f64 a 3))))))
111.0ms
(*.f64 (-.f64 1 (*.f64 3 a)) (*.f64 b b))
96.0ms
(*.f64 (-.f64 1 (*.f64 3 a)) (*.f64 b b))
Compiler

Compiled 9046 to 6237 computations (31.1% saved)

simplify59.0ms (1%)

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (24.0ms)

IterNodesCost
051534130

prune350.0ms (5.7%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1260126
Fresh000
Picked011
Done022
Total1263129
Error
0.0b
Counts
129 → 3
Compiler

Compiled 8660 to 4775 computations (44.9% saved)

regimes395.0ms (6.5%)

Accuracy

Total 0.0b remaining (72.9%)

Threshold costs 0.0b (72.9%)

Compiler

Compiled 6796 to 4463 computations (34.3% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
08158
18158

end0.0ms (0%)

sample1.6s (25.4%)

Algorithm
intervals
Results
527.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 1155 to 773 computations (33.1% saved)

Profiling

Loading profile data...