Details

Time bar (total: 3.0s)

analyze236.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
75%25%0%4
75%25%0%5
75%25%0%6
78.1%21.9%0%7
78.1%21.9%0%8
78.1%21.9%0%9
78.1%21.9%0%10
78.1%21.9%0%11
78.1%21.9%0%12
78.1%21.9%0%13
78.1%21.8%0%14

sample71.0ms

Algorithm
intervals
Results
41.0ms71×body2560valid
9.0ms34×body1280valid
7.0ms45×body640valid
4.0ms29×body320valid
2.0ms67×body80valid
1.0ms10×body160valid

simplify25.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
05008
15008

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 34.8b

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

1.6b
(-.f64 1.0 (cos.f64 x))
19.9b
(/.f64 (-.f64 1.0 (cos.f64 x)) (*.f64 x x))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity_binary64 add-sqr-sqrt_binary64
add-exp-log_binary64 add-cbrt-cube_binary64
associate-/l*_binary64 times-frac_binary64
add-log-exp_binary64 add-cube-cbrt_binary64
difference-of-squares_binary64 distribute-lft-out--_binary64
associate-/l/_binary64 pow1_binary64 flip3--_binary64 cbrt-undiv_binary64 div-exp_binary64 flip--_binary64
associate-/r*_binary64 sub-neg_binary64 diff-log_binary64 cbrt-unprod_binary64 div-sub_binary64 clear-num_binary64 prod-exp_binary64 frac-2neg_binary64 div-inv_binary64
Counts
2 → 41
Calls
2 calls:
4.0ms
(-.f64 1.0 (cos.f64 x))
7.0ms
(/.f64 (-.f64 1.0 (cos.f64 x)) (*.f64 x x))

series10.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(-.f64 1.0 (cos.f64 x))
7.0ms
(/.f64 (-.f64 1.0 (cos.f64 x)) (*.f64 x x))

simplify54.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
04894437
14894437

prune73.0ms

Filtered
34 candidates to 47 candidates (-38.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New371047
Fresh000
Picked101
Done000
Total381048

Merged error: 0.0b

Counts
48 → 10

localize10.0ms

Local error

Found 3 expressions with local error:

0.1b
(*.f64 (pow.f64 x 4) 1/720)
0.2b
(*.f64 (*.f64 x x) 1/24)
13.0b
(+.f64 (*.f64 (pow.f64 x 4) 1/720) (-.f64 1/2 (*.f64 (*.f64 x x) 1/24)))

rewrite20.0ms

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

series15.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(*.f64 (pow.f64 x 4) 1/720)
4.0ms
(*.f64 (*.f64 x x) 1/24)
6.0ms
(+.f64 (*.f64 (pow.f64 x 4) 1/720) (-.f64 1/2 (*.f64 (*.f64 x x) 1/24)))

simplify30.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
05259575

prune68.0ms

Filtered
42 candidates to 67 candidates (-59.5%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New67067
Fresh099
Picked011
Done000
Total671077

Merged error: 0.0b

Counts
77 → 10

localize7.0ms

Local error

Found 3 expressions with local error:

0.1b
(*.f64 (/.f64 1 x) (/.f64 (-.f64 1.0 (cos.f64 x)) x))
0.1b
(/.f64 (-.f64 1.0 (cos.f64 x)) x)
1.6b
(-.f64 1.0 (cos.f64 x))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
62×add-sqr-sqrt_binary64
47×*-un-lft-identity_binary64
46×times-frac_binary64
29×add-cube-cbrt_binary64
27×add-exp-log_binary64
19×associate-*r*_binary64
17×add-cbrt-cube_binary64
13×associate-*l*_binary64
div-exp_binary64
prod-exp_binary64 difference-of-squares_binary64 distribute-lft-out--_binary64
unswap-sqr_binary64
add-log-exp_binary64 pow1_binary64 cbrt-undiv_binary64 associate-/l*_binary64
cbrt-unprod_binary64
associate-/r*_binary64 div-inv_binary64
associate-/l/_binary64 flip3--_binary64 1-exp_binary64 rec-exp_binary64 flip--_binary64
pow-prod-down_binary64 sub-neg_binary64 diff-log_binary64 associate-*r/_binary64 div-sub_binary64 clear-num_binary64 frac-2neg_binary64 frac-times_binary64 associate-*l/_binary64 *-commutative_binary64
Counts
3 → 113
Calls
3 calls:
14.0ms
(*.f64 (/.f64 1 x) (/.f64 (-.f64 1.0 (cos.f64 x)) x))
8.0ms
(/.f64 (-.f64 1.0 (cos.f64 x)) x)
4.0ms
(-.f64 1.0 (cos.f64 x))

series15.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(*.f64 (/.f64 1 x) (/.f64 (-.f64 1.0 (cos.f64 x)) x))
6.0ms
(/.f64 (-.f64 1.0 (cos.f64 x)) x)
3.0ms
(-.f64 1.0 (cos.f64 x))

simplify44.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
056581207

prune118.0ms

Filtered
79 candidates to 122 candidates (-54.4%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1193122
Fresh448
Picked011
Done011
Total1239132

Merged error: 0.0b

Counts
132 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/.f64 (sqrt.f64 (-.f64 1.0 (cos.f64 x))) x)
0.1b
(/.f64 (sqrt.f64 (-.f64 1.0 (cos.f64 x))) x)
1.6b
(-.f64 1.0 (cos.f64 x))
1.6b
(-.f64 1.0 (cos.f64 x))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity_binary64 add-sqr-sqrt_binary64
48×times-frac_binary64
40×sqrt-prod_binary64
38×add-cube-cbrt_binary64
16×associate-/l*_binary64
10×difference-of-squares_binary64 distribute-lft-out--_binary64
add-log-exp_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
associate-/r*_binary64
associate-/l/_binary64 pow1_binary64 flip3--_binary64 flip--_binary64 sqrt-div_binary64
sub-neg_binary64 diff-log_binary64 cbrt-undiv_binary64 clear-num_binary64 frac-2neg_binary64 div-inv_binary64 div-exp_binary64
Counts
4 → 124
Calls
4 calls:
7.0ms
(/.f64 (sqrt.f64 (-.f64 1.0 (cos.f64 x))) x)
7.0ms
(/.f64 (sqrt.f64 (-.f64 1.0 (cos.f64 x))) x)
8.0ms
(-.f64 1.0 (cos.f64 x))
8.0ms
(-.f64 1.0 (cos.f64 x))

series28.0ms

Counts
4 → 12
Calls
4 calls:
10.0ms
(/.f64 (sqrt.f64 (-.f64 1.0 (cos.f64 x))) x)
10.0ms
(/.f64 (sqrt.f64 (-.f64 1.0 (cos.f64 x))) x)
3.0ms
(-.f64 1.0 (cos.f64 x))
5.0ms
(-.f64 1.0 (cos.f64 x))

simplify47.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
049801524
149801524

prune106.0ms

Filtered
92 candidates to 136 candidates (-47.8%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New1342136
Fresh156
Picked011
Done022
Total13510145

Merged error: 0.0b

Counts
145 → 10

regimes59.0ms

Accuracy

99.5% (0.1b remaining)

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

bsearch30.0ms

Steps
ItersRangePoint
9
3.2576454935691815e-07
0.029958914207946503
0.029706365761949148
10
-0.35037948264050944
-3.301560155890433e-12
-0.032035318607155715

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07346
17346

end0.0ms

sample1.8s

Algorithm
intervals
Results
832.0ms1624×body2560valid
351.0ms1224×body1280valid
240.0ms1443×body640valid
120.0ms955×body320valid
87.0ms2293×body80valid
42.0ms461×body160valid

Profiling

Loading profile data...