Details

Time bar (total: 4.1s)

analyze2.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1

sample93.0ms

Algorithm
intervals
Results
53.0ms143×body1280valid
14.0ms15×body2560valid
13.0ms61×body640valid
3.0ms21×body320valid
2.0ms13×body160valid
0.0msbody80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
0717
1717

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.4b

Counts
2 → 1

localize14.0ms

Local error

Found 2 expressions with local error:

1.4b
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
2.8b
(cos.f64 (+.f64 x eps))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64 add-log-exp_binary64 add-sqr-sqrt_binary64
pow1_binary64 add-cube-cbrt_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 cos-sum_binary64
sub-neg_binary64 flip3--_binary64 associate--l-_binary64 diff-log_binary64 difference-of-squares_binary64 distribute-lft-out--_binary64 flip--_binary64 diff-cos_binary64
Counts
2 → 23
Calls
2 calls:
7.0ms
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
5.0ms
(cos.f64 (+.f64 x eps))

series15.0ms

Counts
2 → 6
Calls
2 calls:
10.0ms
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
5.0ms
(cos.f64 (+.f64 x eps))

simplify28.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
04999270
14999270

prune36.0ms

Filtered
23 candidates to 29 candidates (-26.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New22729
Fresh000
Picked101
Done000
Total23730

Merged error: 0.4b

Counts
30 → 7

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+.f64 x (+.f64 x eps))
0.0b
(*.f64 -2 (*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))))
0.3b
(*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))
3.0b
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64
11×pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
add-log-exp_binary64 add-sqr-sqrt_binary64
add-cube-cbrt_binary64
associate-*l*_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 associate-*r*_binary64 prod-exp_binary64
distribute-lft-out_binary64 sum-log_binary64
sin-mult_binary64 *-commutative_binary64
flip3-+_binary64 associate-*r/_binary64 unswap-sqr_binary64 +-commutative_binary64 flip-+_binary64 associate-+r+_binary64
Counts
4 → 60
Calls
4 calls:
7.0ms
(+.f64 x (+.f64 x eps))
13.0ms
(*.f64 -2 (*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))))
12.0ms
(*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))
8.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

series39.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+.f64 x (+.f64 x eps))
15.0ms
(*.f64 -2 (*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))))
13.0ms
(*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))
7.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

simplify61.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
04907890
14907890

prune71.0ms

Filtered
53 candidates to 72 candidates (-35.8%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New64872
Fresh246
Picked011
Done000
Total661379

Merged error: 0.3b

Counts
79 → 13

localize16.0ms

Local error

Found 4 expressions with local error:

0.7b
(cbrt.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))
3.0b
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
3.0b
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
3.0b
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
add-log-exp_binary64 pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
cbrt-prod_binary64
pow1/3_binary64
Counts
4 → 32
Calls
4 calls:
9.0ms
(cbrt.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))
9.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
8.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
8.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

series42.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(cbrt.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))
6.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
6.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
6.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

simplify53.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
05090468

prune78.0ms

Filtered
38 candidates to 44 candidates (-15.8%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New40444
Fresh11011
Picked101
Done011
Total421557

Merged error: 0.3b

Counts
57 → 15

localize20.0ms

Local error

Found 4 expressions with local error:

3.0b
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
3.0b
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
3.0b
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
3.0b
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64 add-log-exp_binary64 pow1_binary64 add-cube-cbrt_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 add-sqr-sqrt_binary64
Counts
4 → 28
Calls
4 calls:
8.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
8.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
8.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
8.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

series26.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
6.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
6.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
7.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

simplify64.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
04888388
14888388

prune59.0ms

Filtered
36 candidates to 40 candidates (-11.1%)
Pruning

15 alts after pruning (13 fresh and 2 done)

PrunedKeptTotal
New40040
Fresh01313
Picked011
Done011
Total401555

Merged error: 0.3b

Counts
55 → 15

regimes169.0ms

Accuracy

97.9% (0.3b remaining)

Error of 0.7b against oracle of 0.4b and baseline of 15.4b

bsearch62.0ms

Steps
ItersRangePoint
5
0.00022528005411696429
0.000752773965564729
0.00023498571328606823
11
-6428.5598610616225
-1.7374184253756152e-16
-0.00029507773736298554

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
08151
18151

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.7s4510×body1280valid
569.0ms629×body2560valid
416.0ms1804×body640valid
114.0ms676×body320valid
35.0ms284×body160valid
6.0ms97×body80valid

Profiling

Loading profile data...