Details

Time bar (total: 5.4s)

analyze134.0ms (2.5%)

Algorithm
search
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)

sample23.0ms (0.4%)

Algorithm
intervals
Results
16.0ms256×body128valid
Compiler

Compiled 59 to 41 computations (30.5% saved)

simplify240.0ms (4.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (73.0ms)

IterNodesCost
0507043

prune3.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.2b

Counts
2 → 1
Compiler

Compiled 58 to 38 computations (34.5% saved)

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

rewrite46.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
15×pow1_binary64_2204 add-sqr-sqrt_binary64_2165 add-exp-log_binary64_2181 *-un-lft-identity_binary64_2143
14×add-cbrt-cube_binary64_2179
10×associate-*r*_binary64_2083 add-cube-cbrt_binary64_2178
add-log-exp_binary64_2182 distribute-rgt-in_binary64_2093 cbrt-unprod_binary64_2176 pow-prod-down_binary64_2214 prod-exp_binary64_2192 cancel-sign-sub-inv_binary64_2109 distribute-lft-in_binary64_2092
associate-*r/_binary64_2085
pow-unpow_binary64_2220 unpow-prod-down_binary64_2222
sub-neg_binary64_2136 associate-*l*_binary64_2084 associate-+r+_binary64_2075 unswap-sqr_binary64_2111 flip3-+_binary64_2146 flip-+_binary64_2117 *-commutative_binary64_2074 difference-of-squares_binary64_2112
unpow2_binary64_2208 +-commutative_binary64_2073 flip--_binary64_2118 distribute-lft-out--_binary64_2095 pow-to-exp_binary64_2212 sum-log_binary64_2234 flip3--_binary64_2147 distribute-lft-out_binary64_2094 pow-pow_binary64_2215 sqr-pow_binary64_2115 pow-exp_binary64_2211
Counts
4 → 87
Calls

4 calls:

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

series327.0ms (6.1%)

Counts
4 → 12
Calls

4 calls:

149.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)))))
70.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
55.0ms
(pow.f64 (+.f64 (*.f64 a a) (*.f64 b b)) 2)
52.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))

simplify58.0ms (1.1%)

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
050741789

prune202.0ms (3.8%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New97299
Fresh000
Picked101
Done000
Total982100

Merged error: 0.0b

Counts
100 → 2
Compiler

Compiled 4809 to 2590 computations (46.1% saved)

localize22.0ms (0.4%)

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))
1.4b
(*.f64 (*.f64 b b) (+.f64 3 a))
2.8b
(*.f64 (*.f64 b b) (*.f64 a a))

rewrite90.0ms (1.7%)

Algorithm
rewrite-expression-head
Rules
42×pow1_binary64_2204
32×associate-*r/_binary64_2085
26×add-exp-log_binary64_2181 add-cbrt-cube_binary64_2179
20×pow-prod-down_binary64_2214 frac-add_binary64_2151
14×cbrt-unprod_binary64_2176 prod-exp_binary64_2192 flip3-+_binary64_2146 flip-+_binary64_2117
13×add-sqr-sqrt_binary64_2165 add-log-exp_binary64_2182 *-un-lft-identity_binary64_2143
11×associate-*r*_binary64_2083
add-cube-cbrt_binary64_2178
distribute-rgt-in_binary64_2093 sum-log_binary64_2234 cancel-sign-sub-inv_binary64_2109 distribute-lft-in_binary64_2092
flip--_binary64_2118 flip3--_binary64_2147
pow-plus_binary64_2206 pow-prod-up_binary64_2213
associate-*l*_binary64_2084 unswap-sqr_binary64_2111 *-commutative_binary64_2074
pow2_binary64_2224 sub-neg_binary64_2136 pow-sqr_binary64_2116 associate-+r+_binary64_2075 difference-of-squares_binary64_2112
+-commutative_binary64_2073 distribute-lft-out--_binary64_2095 associate-+l+_binary64_2076 distribute-lft-out_binary64_2094
Counts
4 → 113
Calls

4 calls:

31.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)))))
11.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
10.0ms
(*.f64 (*.f64 b b) (*.f64 a a))
10.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))

series331.0ms (6.1%)

Counts
4 → 12
Calls

4 calls:

158.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)))))
71.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
52.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
50.0ms
(*.f64 (*.f64 b b) (*.f64 a a))

simplify98.0ms (1.8%)

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
049424559
149424559

prune301.0ms (5.6%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1241125
Fresh011
Picked101
Done000
Total1252127

Merged error: 0.0b

Counts
127 → 2
Compiler

Compiled 6527 to 3838 computations (41.2% saved)

localize21.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.0b
(*.f64 2 (pow.f64 (*.f64 b a) 2))
0.1b
(*.f64 (*.f64 a a) (-.f64 1 a))
0.1b
(pow.f64 (*.f64 b a) 2)
1.4b
(*.f64 (*.f64 b b) (+.f64 3 a))

rewrite44.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
25×add-exp-log_binary64_2181
20×add-sqr-sqrt_binary64_2165
17×pow1_binary64_2204
16×associate-*r*_binary64_2083 *-un-lft-identity_binary64_2143 add-cbrt-cube_binary64_2179
12×prod-exp_binary64_2192
11×add-cube-cbrt_binary64_2178
cbrt-unprod_binary64_2176 pow-prod-down_binary64_2214
cancel-sign-sub-inv_binary64_2109
distribute-rgt-in_binary64_2093 associate-*l*_binary64_2084 unswap-sqr_binary64_2111 distribute-lft-in_binary64_2092
add-log-exp_binary64_2182 associate-*r/_binary64_2085 pow-exp_binary64_2211
unpow2_binary64_2208 pow-unpow_binary64_2220 sqr-pow_binary64_2115 *-commutative_binary64_2074
unpow-prod-down_binary64_2222 sub-neg_binary64_2136 pow-to-exp_binary64_2212 pow-pow_binary64_2215 difference-of-squares_binary64_2112
flip--_binary64_2118 distribute-lft-out--_binary64_2095 flip3--_binary64_2147 distribute-lft-out_binary64_2094 flip3-+_binary64_2146 flip-+_binary64_2117
Counts
4 → 99
Calls

4 calls:

11.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
9.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
7.0ms
(*.f64 2 (pow.f64 (*.f64 b a) 2))
4.0ms
(pow.f64 (*.f64 b a) 2)

series214.0ms (4%)

Counts
4 → 12
Calls

4 calls:

69.0ms
(*.f64 (*.f64 a a) (-.f64 1 a))
52.0ms
(*.f64 2 (pow.f64 (*.f64 b a) 2))
51.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
42.0ms
(pow.f64 (*.f64 b a) 2)

simplify55.0ms (1%)

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
052611191

prune194.0ms (3.6%)

Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1110111
Fresh011
Picked011
Done000
Total1112113

Merged error: 0.0b

Counts
113 → 2
Compiler

Compiled 4296 to 2740 computations (36.2% saved)

localize21.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.2b
(pow.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (+.f64 3 a)) (-.f64 (*.f64 a a) (pow.f64 a 3))))) 3)
0.3b
(pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2)
1.4b
(*.f64 (*.f64 b b) (+.f64 3 a))
31.8b
(cbrt.f64 (pow.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (+.f64 3 a)) (-.f64 (*.f64 a a) (pow.f64 a 3))))) 3))

rewrite47.0ms (0.9%)

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity_binary64_2143
14×add-sqr-sqrt_binary64_2165
13×add-cube-cbrt_binary64_2178
12×cbrt-prod_binary64_2174
11×pow1_binary64_2204 add-exp-log_binary64_2181
10×add-cbrt-cube_binary64_2179
unpow-prod-down_binary64_2222
pow-unpow_binary64_2220 cube-prod_binary64_2171
add-log-exp_binary64_2182 associate-*r*_binary64_2083 cube-div_binary64_2172
cbrt-unprod_binary64_2176 pow-prod-down_binary64_2214 prod-exp_binary64_2192 flip3-+_binary64_2146 sqr-pow_binary64_2115 flip-+_binary64_2117
cube-mult_binary64_2173 pow-to-exp_binary64_2212 pow-pow_binary64_2215 associate-*r/_binary64_2085 unpow3_binary64_2209 cbrt-div_binary64_2175 pow-exp_binary64_2211
unpow2_binary64_2208 distribute-rgt-in_binary64_2093 rem-cbrt-cube_binary64_2167 associate-*l*_binary64_2084 distribute-lft-out_binary64_2094 unswap-sqr_binary64_2111 *-commutative_binary64_2074 distribute-lft-in_binary64_2092 rem-cube-cbrt_binary64_2166 pow1/3_binary64_2225
Counts
4 → 90
Calls

4 calls:

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

series1.4s (26.6%)

Counts
4 → 12
Calls

4 calls:

1.2s
(pow.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (+.f64 3 a)) (-.f64 (*.f64 a a) (pow.f64 a 3))))) 3)
145.0ms
(cbrt.f64 (pow.f64 (+.f64 (pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2) (*.f64 4 (+.f64 (*.f64 (*.f64 b b) (+.f64 3 a)) (-.f64 (*.f64 a a) (pow.f64 a 3))))) 3))
56.0ms
(*.f64 (*.f64 b b) (+.f64 3 a))
47.0ms
(pow.f64 (+.f64 (*.f64 b b) (*.f64 a a)) 2)

simplify68.0ms (1.3%)

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
048763619
148763619

prune177.0ms (3.3%)

Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1020102
Fresh000
Picked011
Done011
Total1022104

Merged error: 0.0b

Counts
104 → 2
Compiler

Compiled 4333 to 2319 computations (46.5% saved)

regimes213.0ms (3.9%)

Compiler

Compiled 2951 to 1863 computations (36.9% saved)

bsearch0.0ms (0%)

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05452
15452

end0.0ms (0%)

sample1.0s (18.7%)

Algorithm
intervals
Results
494.0ms8000×body128valid
1.0msbody128invalid
Compiler

Compiled 521 to 335 computations (35.7% saved)

Profiling

Loading profile data...