Details

Time bar (total: 3.9s)

analyze308.0ms (7.8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0492386
1492386
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%53.1%22%7
25%46.8%28.2%8
25%33.6%41.5%9
28.1%18%54%10
31.6%12.1%56.3%11
33.4%5.9%60.8%12
35.2%3.8%61%13
36.1%2.9%61%14
Compiler

Compiled 30 to 20 computations (33.3% saved)

sample24.0ms (0.6%)

Algorithm
intervals
Results
16.0ms256×body128valid
Compiler

Compiled 59 to 41 computations (30.5% saved)

simplify80.0ms (2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (74.0ms)

IterNodesCost
0491543
1491543

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 58 to 38 computations (34.5% saved)

localize18.0ms (0.5%)

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 3 a)))))
0.1b
(*.f64 (*.f64 a a) (-.f64 1 a))
0.3b
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
0.8b
(*.f64 (*.f64 b b) (+.f64 3 a))

rewrite44.0ms (1.1%)

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

4 calls:

12.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 3 a)))))
10.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
9.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
5.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)

series160.0ms (4.1%)

Counts
4 → 12
Calls

4 calls:

77.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 3 a)))))
31.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
28.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
24.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))

simplify61.0ms (1.6%)

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
052391789

prune149.0ms (3.8%)

Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New95499
Fresh000
Picked101
Done000
Total964100
Error
0.0b
Counts
100 → 4
Compiler

Compiled 3515 to 1801 computations (48.8% saved)

localize28.0ms (0.7%)

Local error

Found 4 expressions with local error:

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

rewrite79.0ms (2%)

Algorithm
rewrite-expression-head
Rules
42×pow1_binary64_2185
32×associate-*r/_binary64_2066
26×add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
20×pow-prod-down_binary64_2195 frac-add_binary64_2132
14×prod-exp_binary64_2173 flip3-+_binary64_2127 flip-+_binary64_2098 cbrt-unprod_binary64_2157
13×add-log-exp_binary64_2163 add-sqr-sqrt_binary64_2146 *-un-lft-identity_binary64_2124
11×associate-*r*_binary64_2064
add-cube-cbrt_binary64_2159
cancel-sign-sub-inv_binary64_2090 sum-log_binary64_2215 distribute-rgt-in_binary64_2074 distribute-lft-in_binary64_2073
flip--_binary64_2099 flip3--_binary64_2128
pow-prod-up_binary64_2194 pow-plus_binary64_2187
unswap-sqr_binary64_2092 *-commutative_binary64_2055 associate-*l*_binary64_2065
difference-of-squares_binary64_2093 associate-+r+_binary64_2056 sub-neg_binary64_2117 pow2_binary64_2205 pow-sqr_binary64_2097
distribute-lft-out--_binary64_2076 distribute-lft-out_binary64_2075 +-commutative_binary64_2054 associate-+l+_binary64_2057
Counts
4 → 113
Calls

4 calls:

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

series161.0ms (4.1%)

Counts
4 → 12
Calls

4 calls:

76.0ms
(+.f64 (+.f64 (*.f64 2 (*.f64 (*.f64 b b) (*.f64 a a))) (+.f64 (pow.f64 b 4) (pow.f64 a 4))) (*.f64 4 (+.f64 (*.f64 (*.f64 a a) (-.f64 1 a)) (*.f64 (*.f64 b b) (+.f64 3 a)))))
32.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
29.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
25.0ms
(*.f64 (*.f64 b b) (*.f64 a a))

simplify103.0ms (2.6%)

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
049734501
149734501

prune305.0ms (7.8%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1241125
Fresh123
Picked011
Done000
Total1254129
Error
0b
Counts
129 → 4
Compiler

Compiled 6525 to 3801 computations (41.7% saved)

localize19.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.1b
(*.f64 (*.f64 a a) (-.f64 1 a))
0.2b
(pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 6)
0.8b
(*.f64 (*.f64 b b) (+.f64 3 a))
25.3b
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 6))

rewrite37.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt_binary64_2146 *-un-lft-identity_binary64_2124
15×pow1_binary64_2185 add-exp-log_binary64_2162
14×add-cbrt-cube_binary64_2160
12×add-cube-cbrt_binary64_2159
10×associate-*r*_binary64_2064
cbrt-prod_binary64_2155
pow-prod-down_binary64_2195 cancel-sign-sub-inv_binary64_2090 unpow-prod-down_binary64_2203 prod-exp_binary64_2173 cbrt-unprod_binary64_2157
distribute-rgt-in_binary64_2074 distribute-lft-in_binary64_2073
add-log-exp_binary64_2163 associate-*r/_binary64_2066
pow-unpow_binary64_2201
difference-of-squares_binary64_2093 unswap-sqr_binary64_2092 *-commutative_binary64_2055 associate-*l*_binary64_2065 sqr-pow_binary64_2096 sub-neg_binary64_2117
flip--_binary64_2099 flip3--_binary64_2128 pow-pow_binary64_2196 distribute-lft-out--_binary64_2076 pow-exp_binary64_2192 distribute-lft-out_binary64_2075 pow1/3_binary64_2206 pow-to-exp_binary64_2193 flip3-+_binary64_2127 flip-+_binary64_2098
Counts
4 → 88
Calls

4 calls:

10.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
9.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
5.0ms
(pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 6)
5.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 6))

series264.0ms (6.7%)

Counts
4 → 12
Calls

4 calls:

177.0ms
(pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 6)
32.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
31.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 6))
22.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))

simplify75.0ms (1.9%)

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
051301402

prune146.0ms (3.7%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New991100
Fresh112
Picked011
Done011
Total1004104
Error
0b
Counts
104 → 4
Compiler

Compiled 3500 to 1837 computations (47.5% saved)

localize28.0ms (0.7%)

Local error

Found 4 expressions with local error:

0.3b
(pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2)
0.8b
(*.f64 (*.f64 b b) (+.f64 3 a))
20.8b
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))
26.0b
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 4))

rewrite33.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod_binary64_2155
13×*-un-lft-identity_binary64_2124
12×add-sqr-sqrt_binary64_2146
11×add-cube-cbrt_binary64_2159
10×pow1_binary64_2185 add-exp-log_binary64_2162
unpow-prod-down_binary64_2203 add-cbrt-cube_binary64_2160
add-log-exp_binary64_2163 associate-*r*_binary64_2064
pow-prod-down_binary64_2195 pow-unpow_binary64_2201 prod-exp_binary64_2173 sqr-pow_binary64_2096 cbrt-unprod_binary64_2157
pow1/3_binary64_2206 unpow2_binary64_2189 associate-*r/_binary64_2066
unswap-sqr_binary64_2092 pow-pow_binary64_2196 pow-exp_binary64_2192 *-commutative_binary64_2055 distribute-lft-out_binary64_2075 associate-*l*_binary64_2065 distribute-rgt-in_binary64_2074 pow-to-exp_binary64_2193 flip3-+_binary64_2127 flip-+_binary64_2098 distribute-lft-in_binary64_2073
Counts
4 → 73
Calls

4 calls:

9.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
5.0ms
(pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2)
5.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 4))
5.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))

series219.0ms (5.6%)

Counts
4 → 12
Calls

4 calls:

86.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2))
84.0ms
(cbrt.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 4))
26.0ms
(pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2)
24.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))

simplify74.0ms (1.9%)

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
048991385
148991385

prune143.0ms (3.6%)

Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New85085
Fresh011
Picked011
Done022
Total85489
Error
0b
Counts
89 → 4
Compiler

Compiled 3898 to 1829 computations (53.1% saved)

regimes225.0ms (5.7%)

Accuracy

Total 0.0b remaining (70.4%)

Threshold costs 0.0b (70.4%)

Compiler

Compiled 3582 to 2311 computations (35.5% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05555
15555

end0.0ms (0%)

sample1.1s (29.1%)

Algorithm
intervals
Results
495.0ms8000×body128valid
0.0msbody128invalid
Compiler

Compiled 682 to 444 computations (34.9% saved)

Profiling

Loading profile data...