Details

Time bar (total: 3.7s)

analyze430.0ms

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
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

sample45.0ms

Algorithm
intervals
Results
11.0ms43×body2560valid
9.0ms154×body80valid
7.0ms29×body1280valid
2.0ms13×body640valid
1.0msbody5120valid
1.0msbody160valid
1.0ms16×body80nan
1.0msbody320valid
0.0msbody80invalid

simplify473.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
071312
171312

prune18.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 36.0b

Counts
2 → 1

localize25.0ms

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.9b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
23.5b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt_binary64
26×*-un-lft-identity_binary64
18×times-frac_binary64
16×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 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 → 82
Calls
4 calls:
11.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
5.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
8.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
7.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series81.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2) a)
8.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
16.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))) b_2)
25.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

simplify56.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
057431403

prune124.0ms

Filtered
70 candidates to 94 candidates (-34.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New821294
Fresh000
Picked101
Done000
Total831295

Merged error: 6.9b

Counts
95 → 12

localize10.0ms

Local error

Found 4 expressions with local error:

1.0b
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
4.0b
(/.f64 (/.f64 (neg.f64 (*.f64 a c)) (+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))) a)
9.8b
(/.f64 (neg.f64 (*.f64 a c)) (+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))))
23.5b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
210×times-frac_binary64
154×*-un-lft-identity_binary64
93×add-sqr-sqrt_binary64
92×add-cube-cbrt_binary64
36×associate-/l*_binary64
31×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
add-log-exp_binary64 div-inv_binary64
flip3-+_binary64 pow1_binary64 flip-+_binary64
cbrt-undiv_binary64 div-exp_binary64
div-sub_binary64 distribute-frac-neg_binary64 sqrt-prod_binary64
flip3--_binary64 neg-sub0_binary64 clear-num_binary64 frac-2neg_binary64 flip--_binary64 sqrt-div_binary64
associate-/l/_binary64 sub-neg_binary64 pow1/2_binary64 diff-log_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64
Counts
4 → 216
Calls
4 calls:
4.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
16.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)))))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series137.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
47.0ms
(/.f64 (/.f64 (neg.f64 (*.f64 a c)) (+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))) a)
65.0ms
(/.f64 (neg.f64 (*.f64 a c)) (+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))))
15.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

simplify72.0ms

Algorithm
egg-herbie
Counts
228 → 228
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
058645186

prune189.0ms

Filtered
173 candidates to 228 candidates (-31.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2271228
Fresh3811
Picked101
Done000
Total2319240

Merged error: 6.8b

Counts
240 → 9

localize9.0ms

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)))))
0.5b
(+.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))
23.5b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

rewrite24.0ms

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 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 → 71
Calls
4 calls:
8.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
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
5.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series97.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(/.f64 c (+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))))
16.0ms
(+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
9.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
17.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

simplify50.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
053261109

prune82.0ms

Filtered
64 candidates to 83 candidates (-29.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New81283
Fresh268
Picked011
Done000
Total83992

Merged error: 6.8b

Counts
92 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(*.f64 c (/.f64 1 (+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))))
0.5b
(+.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))
23.5b
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
23×*-un-lft-identity_binary64
22×add-sqr-sqrt_binary64
18×associate-*r*_binary64
14×add-cube-cbrt_binary64 times-frac_binary64
13×add-exp-log_binary64
add-cbrt-cube_binary64
add-log-exp_binary64
pow1_binary64
distribute-lft-out_binary64 prod-exp_binary64
associate-*l*_binary64 unswap-sqr_binary64 sqrt-prod_binary64
flip3-+_binary64 flip3--_binary64 cbrt-unprod_binary64 associate-/r/_binary64 div-exp_binary64 flip--_binary64 flip-+_binary64 sqrt-div_binary64
pow-prod-down_binary64 sub-neg_binary64 pow1/2_binary64 diff-log_binary64 1-exp_binary64 cbrt-undiv_binary64 associate-*r/_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 rec-exp_binary64 un-div-inv_binary64 div-inv_binary64 +-commutative_binary64 sum-log_binary64 *-commutative_binary64
Counts
4 → 79
Calls
4 calls:
15.0ms
(*.f64 c (/.f64 1 (+.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
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
4.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

series96.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(*.f64 c (/.f64 1 (+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))))
16.0ms
(+.f64 b_2 (sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c))))
9.0ms
(-.f64 (*.f64 b_2 b_2) (*.f64 a c))
16.0ms
(sqrt.f64 (-.f64 (*.f64 b_2 b_2) (*.f64 a c)))

simplify51.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
049061078
149061078

prune65.0ms

Filtered
66 candidates to 91 candidates (-37.9%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New91091
Fresh077
Picked011
Done011
Total919100

Merged error: 6.8b

Counts
100 → 9

regimes234.0ms

Accuracy

96.7% (0.8b remaining)

Error of 6.4b against oracle of 5.6b and baseline of 29.7b

bsearch90.0ms

Steps
ItersRangePoint
10
6.4851974710934e+151
6.7846503122979244e+162
8.828154833930211e+151
7
-3.588378087479768e-211
-3.8670254222860854e-213
-9.281927902223943e-213
10
-1.9898668609638904e+139
-6.411886552711472e+128
-9.444009031655424e+133

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
010055
110055

end0.0ms

sample1.1s

Algorithm
intervals
Results
272.0ms1057×body2560valid
224.0ms5073×body80valid
188.0ms907×body1280valid
80.0ms484×body640valid
42.0ms130×body5120valid
30.0ms731×body80nan
30.0ms224×body320valid
12.0ms268×body80invalid
10.0ms125×body160valid

Profiling

Loading profile data...