Details

Time bar (total: 4.2s)

analyze258.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
50%50%0%2
50%50%0%3
62.5%37.5%0%4
68.7%31.2%0%5
71.8%28.1%0%6
73.4%26.5%0%7
74.2%25.8%0%8
74.6%25.4%0%9
74.8%25.2%0%10
74.9%25.1%0%11
74.9%25%0%12
74.9%25%0%13
75%25%0%14

sample252.0ms

Algorithm
intervals
Results
217.0ms70×body1280valid
10.0ms37×body640valid
9.0ms28×body2560valid
5.0ms29×body320valid
3.0ms76×body80valid
2.0ms16×body160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
01214
11214

prune1.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 52.7b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.8b
(+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))
3.4b
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
18.3b
(sqrt.f64 (+.f64 (*.f64 x x) 1))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64
add-sqr-sqrt_binary64
add-log-exp_binary64 pow1_binary64 add-cube-cbrt_binary64
log-prod_binary64 add-exp-log_binary64
flip3-+_binary64 add-cbrt-cube_binary64 sqrt-prod_binary64 flip-+_binary64
distribute-lft-out_binary64 log-div_binary64 sqrt-div_binary64
pow1/2_binary64 rem-log-exp_binary64 log-pow_binary64 sqrt-pow1_binary64 rem-sqrt-square_binary64 +-commutative_binary64 sum-log_binary64
Counts
3 → 42
Calls
3 calls:
6.0ms
(+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))
6.0ms
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
4.0ms
(sqrt.f64 (+.f64 (*.f64 x x) 1))

series90.0ms

Counts
3 → 9
Calls
3 calls:
25.0ms
(+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))
46.0ms
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
18.0ms
(sqrt.f64 (+.f64 (*.f64 x x) 1))

simplify91.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
04835862
14835862

prune62.0ms

Filtered
42 candidates to 51 candidates (-21.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New47451
Fresh000
Picked101
Done000
Total48452

Merged error: 0b

Counts
52 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.1b
(*.f64 3/40 (pow.f64 x 5))
0.1b
(*.f64 (pow.f64 x 3) 1/6)
22.3b
(-.f64 (+.f64 x (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 3) 1/6))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64
15×associate-*l*_binary64
13×add-exp-log_binary64
10×*-un-lft-identity_binary64 associate-*r*_binary64 add-cube-cbrt_binary64
add-log-exp_binary64 unpow-prod-down_binary64
add-cbrt-cube_binary64 unswap-sqr_binary64
prod-exp_binary64
sqr-pow_binary64 cube-prod_binary64
pow1_binary64
pow-to-exp_binary64 diff-log_binary64 cbrt-unprod_binary64 pow-exp_binary64 *-commutative_binary64
sub-neg_binary64 flip3--_binary64 flip--_binary64 unpow3_binary64 associate--l+_binary64 sum-log_binary64 cube-mult_binary64
Counts
3 → 69
Calls
3 calls:
5.0ms
(*.f64 3/40 (pow.f64 x 5))
6.0ms
(*.f64 (pow.f64 x 3) 1/6)
6.0ms
(-.f64 (+.f64 x (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 3) 1/6))

series88.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(*.f64 3/40 (pow.f64 x 5))
28.0ms
(*.f64 (pow.f64 x 3) 1/6)
29.0ms
(-.f64 (+.f64 x (*.f64 3/40 (pow.f64 x 5))) (*.f64 (pow.f64 x 3) 1/6))

simplify79.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (62.0ms)

IterNodesCost
050281008

prune58.0ms

Filtered
50 candidates to 78 candidates (-56.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New78078
Fresh033
Picked011
Done000
Total78482

Merged error: 0b

Counts
82 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))
0.0b
(+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3))))
0.4b
(/.f64 1/8 (pow.f64 x 3))
7.8b
(log.f64 (+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
53×*-un-lft-identity_binary64
43×add-sqr-sqrt_binary64
40×times-frac_binary64
30×add-cube-cbrt_binary64
18×add-log-exp_binary64
13×unpow-prod-down_binary64 cube-prod_binary64
12×associate-/r*_binary64
10×add-exp-log_binary64
distribute-lft-out_binary64
log-prod_binary64 add-cbrt-cube_binary64 distribute-lft-out--_binary64
pow1_binary64 sqr-pow_binary64 difference-of-squares_binary64 sum-log_binary64
diff-log_binary64 unpow3_binary64 cube-mult_binary64
flip3-+_binary64 associate-/l*_binary64 div-exp_binary64 flip-+_binary64
sub-neg_binary64 log-div_binary64 associate-+r+_binary64 frac-sub_binary64 associate--l+_binary64
pow-to-exp_binary64 associate-+r-_binary64 flip3--_binary64 cbrt-undiv_binary64 rem-log-exp_binary64 log-pow_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 +-commutative_binary64 flip--_binary64 pow-exp_binary64
Counts
4 → 123
Calls
4 calls:
20.0ms
(-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))
24.0ms
(+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3))))
5.0ms
(/.f64 1/8 (pow.f64 x 3))
22.0ms
(log.f64 (+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))))

series121.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))
27.0ms
(+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3))))
31.0ms
(/.f64 1/8 (pow.f64 x 3))
41.0ms
(log.f64 (+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))))

simplify64.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
054452608

prune98.0ms

Filtered
80 candidates to 135 candidates (-68.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1350135
Fresh022
Picked011
Done011
Total1354139

Merged error: 0b

Counts
139 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(/.f64 1/16 (pow.f64 x 5))
0.4b
(/.f64 1/8 (pow.f64 x 3))
9.7b
(log.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))))
16.4b
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
72×add-sqr-sqrt_binary64
71×times-frac_binary64
68×*-un-lft-identity_binary64
46×add-cube-cbrt_binary64
26×unpow-prod-down_binary64
19×associate-/r*_binary64
15×add-exp-log_binary64
14×cube-prod_binary64
11×log-prod_binary64
10×sqr-pow_binary64 difference-of-squares_binary64
add-log-exp_binary64
add-cbrt-cube_binary64
associate-/l*_binary64 distribute-lft-out--_binary64 div-exp_binary64 frac-sub_binary64
pow1_binary64 log-div_binary64
distribute-lft-out_binary64 unpow3_binary64 cube-mult_binary64
pow-to-exp_binary64 flip3-+_binary64 flip3--_binary64 diff-log_binary64 cbrt-undiv_binary64 frac-add_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 flip--_binary64 flip-+_binary64 pow-exp_binary64
sub-neg_binary64 associate--r+_binary64 rem-log-exp_binary64 log-pow_binary64 sum-log_binary64
Counts
4 → 159
Calls
4 calls:
5.0ms
(/.f64 1/16 (pow.f64 x 5))
5.0ms
(/.f64 1/8 (pow.f64 x 3))
35.0ms
(log.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))))
40.0ms
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))

series123.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(/.f64 1/16 (pow.f64 x 5))
23.0ms
(/.f64 1/8 (pow.f64 x 3))
42.0ms
(log.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))))
27.0ms
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))

simplify100.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
048793605
148793605

prune171.0ms

Filtered
110 candidates to 171 candidates (-55.5%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1710171
Fresh011
Picked011
Done022
Total1714175

Merged error: 0b

Counts
175 → 4

regimes22.0ms

Accuracy

99.4% (0.2b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 31.5b

bsearch34.0ms

Steps
ItersRangePoint
9
7.581530169793224e-06
954.2672973039676
0.9582019973612633
9
-5.194840675490605
-4.341877876899752e-09
-1.0916889627380748

simplify5.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
011776
111776

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.1s2339×body1280valid
437.0ms1567×body640valid
267.0ms800×body2560valid
134.0ms805×body320valid
92.0ms2092×body80valid
39.0ms397×body160valid

Profiling

Loading profile data...