Details

Time bar (total: 3.5s)

analyze484.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
21.8%71.8%6.4%7
31.2%62.4%6.4%8
35.9%55.4%8.7%9
37.8%48.8%13.4%10
42.7%42.3%15%11
47.7%34.2%18.1%12
49.1%30.4%20.5%13
51.9%25.8%22.3%14

sample44.0ms

Algorithm
intervals
Results
10.0ms167×body80valid
9.0ms30×body2560valid
8.0ms33×body1280valid
2.0msbody5120valid
1.0msbody640valid
1.0ms28×body80nan
1.0msbody320valid
1.0ms16×body80invalid
0.0msbody160valid

simplify218.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (215.0ms)

IterNodesCost
0183316
1183316

prune6.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: 35.2b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b) (*.f64 a 2))
0.8b
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
1.2b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
24.6b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt_binary64
13×*-un-lft-identity_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
add-log-exp_binary64
add-cube-cbrt_binary64
difference-of-squares_binary64 associate-/l*_binary64 times-frac_binary64 sqrt-prod_binary64
pow1_binary64
flip3--_binary64 flip--_binary64
distribute-lft-out--_binary64
associate-/l/_binary64 sub-neg_binary64 diff-log_binary64 cbrt-undiv_binary64 div-exp_binary64 sqrt-div_binary64
associate-/r*_binary64 pow1/2_binary64 cbrt-unprod_binary64 sqrt-pow1_binary64 div-sub_binary64 rem-sqrt-square_binary64 clear-num_binary64 prod-exp_binary64 frac-2neg_binary64 div-inv_binary64
Counts
4 → 70
Calls
4 calls:
12.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b) (*.f64 a 2))
5.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
8.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
5.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

series73.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/.f64 (-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b) (*.f64 a 2))
9.0ms
(-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))
18.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
16.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

simplify43.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
052611302

prune105.0ms

Filtered
62 candidates to 82 candidates (-32.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New721082
Fresh000
Picked101
Done000
Total731083

Merged error: 7.0b

Counts
83 → 10

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(/.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 b b) (*.f64 a (*.f64 c -4)))) b) (*.f64 a 2))
0.8b
(+.f64 (*.f64 b b) (*.f64 a (*.f64 c -4)))
1.2b
(-.f64 (sqrt.f64 (+.f64 (*.f64 b b) (*.f64 a (*.f64 c -4)))) b)
24.6b
(sqrt.f64 (+.f64 (*.f64 b b) (*.f64 a (*.f64 c -4))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt_binary64
13×*-un-lft-identity_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
add-log-exp_binary64
add-cube-cbrt_binary64
difference-of-squares_binary64 associate-/l*_binary64 times-frac_binary64 sqrt-prod_binary64
pow1_binary64
distribute-lft-out--_binary64
flip3-+_binary64 associate-/l/_binary64 flip3--_binary64 cbrt-undiv_binary64 div-exp_binary64 flip--_binary64 flip-+_binary64 sqrt-div_binary64
associate-/r*_binary64 sub-neg_binary64 pow1/2_binary64 diff-log_binary64 cbrt-unprod_binary64 sqrt-pow1_binary64 div-sub_binary64 rem-sqrt-square_binary64 clear-num_binary64 prod-exp_binary64 frac-2neg_binary64 div-inv_binary64 +-commutative_binary64 sum-log_binary64
Counts
4 → 70
Calls
4 calls:
12.0ms
(/.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 b b) (*.f64 a (*.f64 c -4)))) b) (*.f64 a 2))
5.0ms
(+.f64 (*.f64 b b) (*.f64 a (*.f64 c -4)))
10.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 b b) (*.f64 a (*.f64 c -4)))) b)
4.0ms
(sqrt.f64 (+.f64 (*.f64 b b) (*.f64 a (*.f64 c -4))))

series71.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(/.f64 (-.f64 (sqrt.f64 (+.f64 (*.f64 b b) (*.f64 a (*.f64 c -4)))) b) (*.f64 a 2))
9.0ms
(+.f64 (*.f64 b b) (*.f64 a (*.f64 c -4)))
16.0ms
(-.f64 (sqrt.f64 (+.f64 (*.f64 b b) (*.f64 a (*.f64 c -4)))) b)
16.0ms
(sqrt.f64 (+.f64 (*.f64 b b) (*.f64 a (*.f64 c -4))))

simplify70.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
049101289
149101289

prune67.0ms

Filtered
59 candidates to 82 candidates (-39.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New80282
Fresh369
Picked011
Done000
Total83992

Merged error: 6.9b

Counts
92 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

1.2b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
1.2b
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
24.6b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
24.6b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt_binary64
10×*-un-lft-identity_binary64
add-log-exp_binary64 sqrt-prod_binary64
pow1_binary64 add-cube-cbrt_binary64
flip3--_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 difference-of-squares_binary64 flip--_binary64 sqrt-div_binary64
sub-neg_binary64 pow1/2_binary64 diff-log_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 distribute-lft-out--_binary64
Counts
4 → 58
Calls
4 calls:
9.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
8.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
5.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
5.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

series65.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
16.0ms
(-.f64 (sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))) b)
16.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
16.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

simplify46.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
049731008
149731008

prune73.0ms

Filtered
56 candidates to 70 candidates (-25.0%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New68270
Fresh167
Picked011
Done011
Total691079

Merged error: 6.9b

Counts
79 → 10

localize21.0ms

Local error

Found 4 expressions with local error:

10.0b
(-.f64 (*.f64 (fabs.f64 (cbrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))) (sqrt.f64 (cbrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))) b)
24.6b
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
25.4b
(cbrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
25.4b
(cbrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64
add-log-exp_binary64 cbrt-prod_binary64
pow1_binary64
cbrt-div_binary64 flip3--_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 flip--_binary64
sqrt-prod_binary64
pow1/3_binary64 sqrt-div_binary64
sub-neg_binary64 pow1/2_binary64 diff-log_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64
Counts
4 → 52
Calls
4 calls:
13.0ms
(-.f64 (*.f64 (fabs.f64 (cbrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))) (sqrt.f64 (cbrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))) b)
5.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
5.0ms
(cbrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
5.0ms
(cbrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

series100.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(-.f64 (*.f64 (fabs.f64 (cbrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))) (sqrt.f64 (cbrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c)))))) b)
16.0ms
(sqrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
24.0ms
(cbrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))
24.0ms
(cbrt.f64 (-.f64 (*.f64 b b) (*.f64 4 (*.f64 a c))))

simplify37.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
049921099
149921099

prune75.0ms

Filtered
58 candidates to 64 candidates (-10.3%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New64064
Fresh077
Picked011
Done022
Total641074

Merged error: 6.9b

Counts
74 → 10

regimes272.0ms

Accuracy

84.5% (4.5b remaining)

Error of 10.1b against oracle of 5.6b and baseline of 34.9b

bsearch43.0ms

Steps
ItersRangePoint
8
5.135175781724241e-100
1.2604058359658631e-95
9.164205384495035e-97
6
-9.887771120288306e+104
-9.878666258180965e+103
-8.238967565051123e+104

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05835
15835

end0.0ms

sample1.5s

Algorithm
intervals
Results
332.0ms1113×body2560valid
269.0ms5067×body80valid
239.0ms688×body80nan
221.0ms906×body1280valid
88.0ms459×body640valid
45.0ms127×body5120valid
32.0ms225×body320valid
18.0ms357×body80invalid
10.0ms103×body160valid

Profiling

Loading profile data...