Details

Time bar (total: 18.3s)

analyze488.0ms (2.7%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04999132
14999132
033
133
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
49.9%49.9%0.1%3
49.9%49.9%0.1%4
49.9%49.9%0.1%5
74.9%25%0.1%6
74.9%25%0.1%7
74.9%25%0.1%8
87.4%12.5%0.1%9
87.4%12.5%0.1%10
87.4%12.5%0.1%11
93.6%6.2%0.1%12
93.6%6.2%0.1%13
93.6%6.2%0.1%14
Compiler

Compiled 24 to 21 computations (12.5% saved)

sample88.0ms (0.5%)

Algorithm
intervals
Results
23.0ms35×body2048valid
19.0ms170×body128valid
19.0ms21×body4096valid
8.0ms16×body1024valid
3.0ms10×body512valid
1.0msbody256valid
Compiler

Compiled 47 to 44 computations (6.4% saved)

simplify98.0ms (0.5%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (92.0ms)

IterNodesCost
0497033
1497033

prune10.0ms (0.1%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022
Error
29.0b
Counts
2 → 2
Compiler

Compiled 65 to 54 computations (16.9% saved)

localize36.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.0b
(pow.f64 (-.f64 A C) 2)
0.1b
(*.f64 (/.f64 1 B) (-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2)))))
1.0b
(-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))
33.8b
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2)))

rewrite462.0ms (2.5%)

Algorithm
rewrite-expression-head
Error
28.8b
Rules
65×*-un-lft-identity_binary64_2124
42×add-sqr-sqrt_binary64_2146
36×cancel-sign-sub-inv_binary64_2090
26×sqrt-prod_binary64_2140
24×add-cube-cbrt_binary64_2159
21×unpow-prod-down_binary64_2203
14×add-exp-log_binary64_2162 sqrt-div_binary64_2141 distribute-rgt-in_binary64_2074 distribute-lft-in_binary64_2073
13×associate-*l*_binary64_2065
12×distribute-lft-out_binary64_2075 frac-sub_binary64_2133 associate--l+_binary64_2061
11×distribute-lft-out--_binary64_2076 times-frac_binary64_2130
add-log-exp_binary64_2163 add-cbrt-cube_binary64_2160 flip3--_binary64_2128 flip--_binary64_2099
pow1_binary64_2185
flip3-+_binary64_2127 flip-+_binary64_2098 associate-*r*_binary64_2064
sub-neg_binary64_2117 frac-times_binary64_2134 associate-*r/_binary64_2066
difference-of-squares_binary64_2093
prod-exp_binary64_2173
diff-log_binary64_2216 unswap-sqr_binary64_2092 pow-unpow_binary64_2201
div-exp_binary64_2175 cbrt-unprod_binary64_2157
pow1/2_binary64_2204 sqrt-pow1_binary64_2142 rem-sqrt-square_binary64_2137 associate--l-_binary64_2062 pow-prod-down_binary64_2195 1-exp_binary64_2168 rec-exp_binary64_2174 cbrt-undiv_binary64_2158 associate-*l/_binary64_2067 div-inv_binary64_2121 *-commutative_binary64_2055 pow-pow_binary64_2196 pow-to-exp_binary64_2193 pow-exp_binary64_2192 unpow2_binary64_2189 sqr-pow_binary64_2096
Counts
4 → 151
Calls

4 calls:

33.0ms
(*.f64 (/.f64 1 B) (-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2)))))
22.0ms
(-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))
16.0ms
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2)))
5.0ms
(pow.f64 (-.f64 A C) 2)
Compiler

Compiled 5910 to 3622 computations (38.7% saved)

series1.7s (9.3%)

Error
0.2b
Counts
4 → 104
Calls

4 calls:

474.0ms
(*.f64 (/.f64 1 B) (-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2)))))
463.0ms
(-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2))))
400.0ms
(sqrt.f64 (+.f64 (pow.f64 (-.f64 A C) 2) (pow.f64 B 2)))
88.0ms
(pow.f64 (-.f64 A C) 2)
Compiler

Compiled 8542 to 6600 computations (22.7% saved)

simplify129.0ms (0.7%)

Algorithm
egg-herbie
Counts
255 → 255
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049708041
149708041

prune746.0ms (4.1%)

Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2478255
Fresh101
Picked011
Done000
Total2489257
Error
0.3b
Counts
257 → 9
Compiler

Compiled 8544 to 4394 computations (48.6% saved)

localize40.0ms (0.2%)

Local error

Found 4 expressions with local error:

1.0b
(-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2))))
33.8b
(sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2)))
33.8b
(sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2)))
33.8b
(sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2)))

rewrite368.0ms (2%)

Algorithm
rewrite-expression-head
Error
0.3b
Rules
17×add-sqr-sqrt_binary64_2146
15×*-un-lft-identity_binary64_2124
13×sqrt-prod_binary64_2140
10×add-cube-cbrt_binary64_2159 sqrt-div_binary64_2141
add-log-exp_binary64_2163 cancel-sign-sub-inv_binary64_2090
pow1_binary64_2185
flip3-+_binary64_2127 flip-+_binary64_2098
add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160 frac-sub_binary64_2133 associate--l+_binary64_2061
pow1/2_binary64_2204 sqrt-pow1_binary64_2142 rem-sqrt-square_binary64_2137 diff-log_binary64_2216 flip3--_binary64_2128 flip--_binary64_2099 distribute-lft-out--_binary64_2076
sub-neg_binary64_2117 difference-of-squares_binary64_2093
associate--l-_binary64_2062
Counts
4 → 76
Calls

4 calls:

19.0ms
(-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2))))
16.0ms
(sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2)))
16.0ms
(sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2)))
14.0ms
(sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2)))
Compiler

Compiled 5363 to 2610 computations (51.3% saved)

series1.8s (9.7%)

Error
0.3b
Counts
4 → 97
Calls

4 calls:

498.0ms
(-.f64 (-.f64 C A) (sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2))))
324.0ms
(sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2)))
315.0ms
(sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2)))
299.0ms
(sqrt.f64 (+.f64 (*.f64 B B) (pow.f64 (-.f64 A C) 2)))
Compiler

Compiled 14786 to 9345 computations (36.8% saved)

simplify126.0ms (0.7%)

Algorithm
egg-herbie
Counts
173 → 173
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
049774222
149774222

prune572.0ms (3.1%)

Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1730173
Fresh077
Picked011
Done011
Total1739182
Error
0.3b
Counts
182 → 9
Compiler

Compiled 10914 to 5282 computations (51.6% saved)

localize17.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(atan.f64 (*.f64 (/.f64 1 B) (-.f64 (-.f64 C A) B)))
0.0b
(*.f64 180 (/.f64 (atan.f64 (*.f64 (/.f64 1 B) (-.f64 (-.f64 C A) B))) PI.f64))
0.0b
(/.f64 (atan.f64 (*.f64 (/.f64 1 B) (-.f64 (-.f64 C A) B))) PI.f64)
0.2b
(*.f64 (/.f64 1 B) (-.f64 (-.f64 C A) B))

rewrite261.0ms (1.4%)

Algorithm
rewrite-expression-head
Error
0.3b
Rules
46×add-sqr-sqrt_binary64_2146
38×*-un-lft-identity_binary64_2124
32×add-cube-cbrt_binary64_2159
30×times-frac_binary64_2130
20×add-exp-log_binary64_2162
19×associate-*r*_binary64_2064
16×add-cbrt-cube_binary64_2160 associate-*l*_binary64_2065
12×cancel-sign-sub-inv_binary64_2090
pow1_binary64_2185 distribute-rgt-in_binary64_2074 associate--l+_binary64_2061 distribute-lft-in_binary64_2073
prod-exp_binary64_2173
unswap-sqr_binary64_2092
div-exp_binary64_2175 add-log-exp_binary64_2163 cbrt-unprod_binary64_2157 sub-neg_binary64_2117
cbrt-undiv_binary64_2158 associate-*r/_binary64_2066 div-inv_binary64_2121 distribute-lft-out--_binary64_2076 associate-/l*_binary64_2069 associate-/r*_binary64_2068
pow-prod-down_binary64_2195 flip3--_binary64_2128 frac-times_binary64_2134 flip--_binary64_2099 *-commutative_binary64_2055
1-exp_binary64_2168 rec-exp_binary64_2174 associate-*l/_binary64_2067 difference-of-squares_binary64_2093 frac-2neg_binary64_2135 clear-num_binary64_2123
Counts
4 → 124
Calls

4 calls:

17.0ms
(*.f64 (/.f64 1 B) (-.f64 (-.f64 C A) B))
17.0ms
(*.f64 180 (/.f64 (atan.f64 (*.f64 (/.f64 1 B) (-.f64 (-.f64 C A) B))) PI.f64))
6.0ms
(atan.f64 (*.f64 (/.f64 1 B) (-.f64 (-.f64 C A) B)))
6.0ms
(/.f64 (atan.f64 (*.f64 (/.f64 1 B) (-.f64 (-.f64 C A) B))) PI.f64)
Compiler

Compiled 3054 to 1598 computations (47.7% saved)

series513.0ms (2.8%)

Error
0.3b
Counts
4 → 45
Calls

4 calls:

156.0ms
(*.f64 (/.f64 1 B) (-.f64 (-.f64 C A) B))
156.0ms
(*.f64 180 (/.f64 (atan.f64 (*.f64 (/.f64 1 B) (-.f64 (-.f64 C A) B))) PI.f64))
124.0ms
(/.f64 (atan.f64 (*.f64 (/.f64 1 B) (-.f64 (-.f64 C A) B))) PI.f64)
50.0ms
(atan.f64 (*.f64 (/.f64 1 B) (-.f64 (-.f64 C A) B)))
Compiler

Compiled 1528 to 1119 computations (26.8% saved)

simplify89.0ms (0.5%)

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
048912867
148912867

prune207.0ms (1.1%)

Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New1672169
Fresh066
Picked101
Done022
Total16810178
Error
0.3b
Counts
178 → 10
Compiler

Compiled 3066 to 1574 computations (48.7% saved)

localize19.0ms (0.1%)

Local error

Found 4 expressions with local error:

0.0b
(/.f64 (-.f64 C A) B)
0.0b
(/.f64 (atan.f64 (-.f64 (/.f64 (-.f64 C A) B) 1)) PI.f64)
0.0b
(*.f64 180 (log.f64 (exp.f64 (/.f64 (atan.f64 (-.f64 (/.f64 (-.f64 C A) B) 1)) PI.f64))))
0.0b
(log.f64 (exp.f64 (/.f64 (atan.f64 (-.f64 (/.f64 (-.f64 C A) B) 1)) PI.f64)))

rewrite264.0ms (1.4%)

Algorithm
rewrite-expression-head
Error
0.3b
Rules
51×add-sqr-sqrt_binary64_2146
49×*-un-lft-identity_binary64_2124
42×times-frac_binary64_2130
41×add-cube-cbrt_binary64_2159
28×log-pow_binary64_2213
26×exp-prod_binary64_2176
17×associate-*r*_binary64_2064
10×add-exp-log_binary64_2162 add-cbrt-cube_binary64_2160
log-prod_binary64_2210
pow1_binary64_2185 associate-/l*_binary64_2069
associate-/r*_binary64_2068
div-inv_binary64_2121 add-log-exp_binary64_2163 difference-of-squares_binary64_2093 distribute-lft-out--_binary64_2076
distribute-rgt-in_binary64_2074 distribute-lft-in_binary64_2073 associate-*l*_binary64_2065
div-exp_binary64_2175 cbrt-undiv_binary64_2158 frac-2neg_binary64_2135 clear-num_binary64_2123 associate-/l/_binary64_2071
rem-log-exp_binary64_2165 pow-prod-down_binary64_2195 prod-exp_binary64_2173 cbrt-unprod_binary64_2157 unswap-sqr_binary64_2092 *-commutative_binary64_2055 div-sub_binary64_2129 flip3--_binary64_2128 flip--_binary64_2099
Counts
4 → 128
Calls

4 calls:

28.0ms
(*.f64 180 (log.f64 (exp.f64 (/.f64 (atan.f64 (-.f64 (/.f64 (-.f64 C A) B) 1)) PI.f64))))
15.0ms
(log.f64 (exp.f64 (/.f64 (atan.f64 (-.f64 (/.f64 (-.f64 C A) B) 1)) PI.f64)))
13.0ms
(/.f64 (atan.f64 (-.f64 (/.f64 (-.f64 C A) B) 1)) PI.f64)
7.0ms
(/.f64 (-.f64 C A) B)
Compiler

Compiled 3167 to 1785 computations (43.6% saved)

series1.5s (8%)

Error
0.3b
Counts
4 → 42
Calls

4 calls:

549.0ms
(*.f64 180 (log.f64 (exp.f64 (/.f64 (atan.f64 (-.f64 (/.f64 (-.f64 C A) B) 1)) PI.f64))))
542.0ms
(log.f64 (exp.f64 (/.f64 (atan.f64 (-.f64 (/.f64 (-.f64 C A) B) 1)) PI.f64)))
174.0ms
(/.f64 (-.f64 C A) B)
151.0ms
(/.f64 (atan.f64 (-.f64 (/.f64 (-.f64 C A) B) 1)) PI.f64)
Compiler

Compiled 1872 to 1544 computations (17.5% saved)

simplify175.0ms (1%)

Algorithm
egg-herbie
Counts
170 → 170
Iterations

Useful iterations: 0 (119.0ms)

IterNodesCost
049633211
149633211

prune222.0ms (1.2%)

Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1691170
Fresh167
Picked011
Done022
Total17010180
Error
0.3b
Counts
180 → 10
Compiler

Compiled 3407 to 1877 computations (44.9% saved)

regimes2.4s (12.9%)

Accuracy

Total 16.6b remaining (96.7%)

Threshold costs 0b (0%)

Compiler

Compiled 16907 to 13734 computations (18.8% saved)

bsearch10.0ms (0.1%)

Compiler

Compiled 18 to 15 computations (16.7% saved)

simplify10.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (6.0ms)

IterNodesCost
0171124
1171124

end0.0ms (0%)

sample6.1s (33.1%)

Algorithm
intervals
Results
848.0ms849×body4096valid
659.0ms5436×body128valid
629.0ms872×body2048valid
244.0ms464×body1024valid
107.0ms267×body512valid
28.0ms112×body256valid
Compiler

Compiled 2445 to 1971 computations (19.4% saved)

Profiling

Loading profile data...