Details

Time bar (total: 4.0s)

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

sample74.0ms

Algorithm
intervals
Results
39.0ms81×body1280valid
15.0ms50×body640valid
6.0ms18×body2560valid
3.0ms19×body320valid
3.0ms77×body80valid
1.0ms11×body160valid

simplify15.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: 53.4b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

1.0b
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
1.4b
(+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))
15.6b
(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
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
7.0ms
(+.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:
43.0ms
(log.f64 (+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1))))
28.0ms
(+.f64 x (sqrt.f64 (+.f64 (*.f64 x x) 1)))
19.0ms
(sqrt.f64 (+.f64 (*.f64 x x) 1))

simplify93.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 0 (75.0ms)

IterNodesCost
04835862
14835862

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

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt_binary64
19×associate-*l*_binary64
13×add-exp-log_binary64
10×*-un-lft-identity_binary64 add-cube-cbrt_binary64
add-log-exp_binary64 unpow-prod-down_binary64
add-cbrt-cube_binary64 unswap-sqr_binary64
associate-*r*_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 (pow.f64 x 5) 3/40)
6.0ms
(*.f64 (pow.f64 x 3) 1/6)
6.0ms
(-.f64 (+.f64 x (*.f64 (pow.f64 x 5) 3/40)) (*.f64 (pow.f64 x 3) 1/6))

series85.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(*.f64 (pow.f64 x 5) 3/40)
23.0ms
(*.f64 (pow.f64 x 3) 1/6)
27.0ms
(-.f64 (+.f64 x (*.f64 (pow.f64 x 5) 3/40)) (*.f64 (pow.f64 x 3) 1/6))

simplify82.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (63.0ms)

IterNodesCost
050901009

prune59.0ms

Filtered
51 candidates to 78 candidates (-52.9%)
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 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3))))
0.0b
(-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))
0.3b
(/.f64 1/8 (pow.f64 x 3))
12.6b
(log.f64 (+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))))

rewrite79.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:
26.0ms
(+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3))))
21.0ms
(-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))
5.0ms
(/.f64 1/8 (pow.f64 x 3))
23.0ms
(log.f64 (+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))))

series100.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3))))
18.0ms
(-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))
23.0ms
(/.f64 1/8 (pow.f64 x 3))
38.0ms
(log.f64 (+.f64 x (-.f64 (+.f64 x (/.f64 1/2 x)) (/.f64 1/8 (pow.f64 x 3)))))

simplify63.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
054452608

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

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(/.f64 1/16 (pow.f64 x 5))
0.3b
(/.f64 1/8 (pow.f64 x 3))
14.6b
(log.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))))
22.7b
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))

rewrite90.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))
37.0ms
(log.f64 (-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5)))))
37.0ms
(-.f64 (/.f64 1/8 (pow.f64 x 3)) (+.f64 (/.f64 1/2 x) (/.f64 1/16 (pow.f64 x 5))))

series127.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/.f64 1/16 (pow.f64 x 5))
24.0ms
(/.f64 1/8 (pow.f64 x 3))
43.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))))

simplify96.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
048793605
148793605

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

regimes19.0ms

Accuracy

99.6% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 31.7b

bsearch37.0ms

Steps
ItersRangePoint
10
2.2229764251778617e-08
137969.22337435448
0.9538825683643378
9
-120.97131362631039
-1.637996403267889e-07
-1.058807815338858

simplify5.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
011776
111776

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.1s2372×body1280valid
436.0ms1575×body640valid
264.0ms785×body2560valid
132.0ms767×body320valid
87.0ms2109×body80valid
38.0ms392×body160valid

Profiling

Loading profile data...