Details

Time bar (total: 5.5s)

analyze986.0ms (17.8%)

Algorithm
search
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0199272
1199272
033
133
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
12.5%87.4%0.1%5
18.7%81.1%0.1%6
18.7%76.5%4.8%7
28.1%66.3%5.6%8
35.1%55%9.9%9
36.3%50.9%12.8%10
42.1%42.4%15.5%11
47.5%33.8%18.7%12
48.8%30.7%20.6%13
51.8%25.6%22.5%14
Compiler

Compiled 14 to 11 computations (21.4% saved)

sample42.0ms (0.8%)

Algorithm
intervals
Results
8.0ms38×body2048valid
7.0ms155×body128valid
6.0ms13×body4096valid
4.0ms27×body1024valid
1.0ms36×body128nan
1.0ms12×body512valid
1.0ms11×body256valid
0.0ms10×body128invalid
Compiler

Compiled 27 to 24 computations (11.1% saved)

simplify72.0ms (1.3%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
071418
171418

prune8.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112
Error
34.8b
Counts
2 → 1
Compiler

Compiled 24 to 18 computations (25% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
1.0b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
1.6b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
22.1b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

rewrite36.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt_binary64
27×*-un-lft-identity_binary64
18×times-frac_binary64
17×add-cube-cbrt_binary64
10×difference-of-squares_binary64
add-log-exp_binary64 sqrt-prod_binary64
add-exp-log_binary64 add-cbrt-cube_binary64 associate-/l*_binary64
pow1_binary64 distribute-lft-out--_binary64
flip3--_binary64 cancel-sign-sub-inv_binary64 flip--_binary64
associate-/r*_binary64
associate-/l/_binary64 sub-neg_binary64 diff-log_binary64 sqrt-div_binary64
pow1/2_binary64 cbrt-undiv_binary64 sqrt-pow1_binary64 div-sub_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64
Counts
4 → 86
Calls

4 calls:

11.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
8.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
6.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
4.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))

series248.0ms (4.5%)

Counts
4 → 12
Calls

4 calls:

91.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
72.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
56.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
29.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))

simplify79.0ms (1.4%)

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049162170
149162170

prune97.0ms (1.8%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New91798
Fresh000
Picked011
Done000
Total91899
Error
4.5b
Counts
99 → 8
Compiler

Compiled 2049 to 404 computations (80.3% saved)

localize10.0ms (0.2%)

Local error

Found 4 expressions with local error:

1.2b
(+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
3.8b
(/.f64 (/.f64 (neg.f64 (*.f64 a c)) (+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))) a)
8.2b
(/.f64 (neg.f64 (*.f64 a c)) (+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))))
22.1b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

rewrite56.0ms (1%)

Algorithm
rewrite-expression-head
Rules
210×times-frac_binary64
156×*-un-lft-identity_binary64
93×add-sqr-sqrt_binary64
92×add-cube-cbrt_binary64
36×associate-/l*_binary64
32×distribute-lft-out_binary64
21×neg-mul-1_binary64 distribute-lft-neg-in_binary64 distribute-rgt-neg-in_binary64
11×add-exp-log_binary64 add-cbrt-cube_binary64
10×associate-/r/_binary64
associate-/r*_binary64
flip3-+_binary64 add-log-exp_binary64 div-inv_binary64 flip-+_binary64
pow1_binary64
cbrt-undiv_binary64 div-exp_binary64
div-sub_binary64 distribute-frac-neg_binary64 sqrt-prod_binary64
neg-sub0_binary64 clear-num_binary64 frac-2neg_binary64 sqrt-div_binary64
associate-/l/_binary64 pow1/2_binary64 flip3--_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 +-commutative_binary64 flip--_binary64 sum-log_binary64
Counts
4 → 217
Calls

4 calls:

14.0ms
(/.f64 (/.f64 (neg.f64 (*.f64 a c)) (+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))) a)
9.0ms
(/.f64 (neg.f64 (*.f64 a c)) (+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))))
6.0ms
(+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series443.0ms (8%)

Counts
4 → 12
Calls

4 calls:

188.0ms
(/.f64 (neg.f64 (*.f64 a c)) (+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))))
143.0ms
(/.f64 (/.f64 (neg.f64 (*.f64 a c)) (+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))) a)
56.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
56.0ms
(+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))

simplify114.0ms (2.1%)

Algorithm
egg-herbie
Counts
229 → 229
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
054218163

prune183.0ms (3.3%)

Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2272229
Fresh156
Picked101
Done011
Total2298237
Error
4.4b
Counts
237 → 8
Compiler

Compiled 6657 to 873 computations (86.9% saved)

localize9.0ms (0.2%)

Local error

Found 4 expressions with local error:

0.1b
(/.f64 c (+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))))
1.0b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
1.2b
(+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
22.1b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

rewrite31.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity_binary64
15×add-sqr-sqrt_binary64
14×add-cube-cbrt_binary64
12×times-frac_binary64
add-log-exp_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
pow1_binary64 distribute-lft-out_binary64
associate-/r*_binary64
associate-/l*_binary64 sqrt-prod_binary64
flip3-+_binary64 flip3--_binary64 associate-/r/_binary64 flip--_binary64 flip-+_binary64 sqrt-div_binary64
sub-neg_binary64 pow1/2_binary64 diff-log_binary64 cbrt-undiv_binary64 cancel-sign-sub-inv_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64 +-commutative_binary64 sum-log_binary64
Counts
4 → 72
Calls

4 calls:

12.0ms
(/.f64 c (+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))))
6.0ms
(+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
4.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))

series296.0ms (5.4%)

Counts
4 → 12
Calls

4 calls:

162.0ms
(/.f64 c (+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))))
53.0ms
(+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
51.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
31.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))

simplify83.0ms (1.5%)

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
049681696
149681696

prune64.0ms (1.2%)

Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New84084
Fresh066
Picked011
Done011
Total84892
Error
4.4b
Counts
92 → 8
Compiler

Compiled 1777 to 438 computations (75.4% saved)

localize18.0ms (0.3%)

Local error

Found 4 expressions with local error:

1.2b
(+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
22.1b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
22.1b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
22.1b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

rewrite25.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt_binary64
*-un-lft-identity_binary64 sqrt-prod_binary64
pow1_binary64 add-cube-cbrt_binary64
add-log-exp_binary64 sqrt-div_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
pow1/2_binary64 flip3--_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 flip--_binary64
flip3-+_binary64 distribute-lft-out_binary64 +-commutative_binary64 flip-+_binary64 sum-log_binary64
Counts
4 → 57
Calls

4 calls:

6.0ms
(+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series210.0ms (3.8%)

Counts
4 → 12
Calls

4 calls:

56.0ms
(+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
52.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
51.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))
50.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

simplify61.0ms (1.1%)

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
052641175

prune82.0ms (1.5%)

Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New69069
Fresh055
Picked011
Done022
Total69877
Error
4.4b
Counts
77 → 8
Compiler

Compiled 3162 to 554 computations (82.5% saved)

regimes526.0ms (9.5%)

Accuracy

Total 0.9b remaining (14.5%)

Threshold costs 0.9b (14.5%)

Compiler

Compiled 3248 to 1920 computations (40.9% saved)

bsearch113.0ms (2%)

Steps
ItersRangePoint
9
1.8515760575460165e+108
3.3102593882323454e+115
3.263886109249808e+115
11
3.471655958753961e-308
2.5755835898789858e-287
3.5093565565557947e-308
12
-4.659684812883713e+193
-4.559874932742751e+148
-7.085174189094956e+148
Compiler

Compiled 1 to 3 computations (-200% saved)

simplify5.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
013979
113979

end0.0ms (0%)

sample1.6s (29.4%)

Algorithm
intervals
Results
233.0ms5231×body128valid
211.0ms1066×body2048valid
119.0ms732×body1024valid
105.0ms421×body4096valid
43.0ms347×body512valid
33.0ms814×body128nan
19.0ms203×body256valid
10.0ms225×body128invalid
Compiler

Compiled 861 to 506 computations (41.2% saved)

Profiling

Loading profile data...