Details

Time bar (total: 6.2s)

analyze2.0ms

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

sample95.0ms

Algorithm
intervals
Results
52.0ms147×body1280valid
14.0ms64×body640valid
12.0ms14×body2560valid
3.0ms21×body320valid
1.0msbody160valid
0.0msbody80valid

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (6.0ms)

IterNodesCost
07211
17211

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 39.1b

Counts
2 → 1

localize12.0ms

Local error

Found 2 expressions with local error:

0.8b
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
4.0b
(cos.f64 (+.f64 x eps))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64_574 add-sqr-sqrt_binary64_559 add-log-exp_binary64_539
add-cube-cbrt_binary64_545 pow1_binary64_520 add-cbrt-cube_binary64_546 cos-sum_binary64_424 add-exp-log_binary64_538
flip3--_binary64_573 associate--l-_binary64_631 distribute-lft-out--_binary64_619 diff-log_binary64_490 sub-neg_binary64_578 flip--_binary64_600 difference-of-squares_binary64_603 diff-cos_binary64_441
Counts
2 → 23
Calls
2 calls:
6.0ms
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
4.0ms
(cos.f64 (+.f64 x eps))

series54.0ms

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

simplify45.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
05087429

prune158.0ms

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

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New20929
Fresh000
Picked101
Done000
Total21930

Merged error: 0.6b

Counts
30 → 9

localize19.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)))
4.0b
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64_574
11×pow1_binary64_520 add-cbrt-cube_binary64_546 add-exp-log_binary64_538
add-sqr-sqrt_binary64_559 add-log-exp_binary64_539
add-cube-cbrt_binary64_545
associate-*l*_binary64_634
cbrt-unprod_binary64_543 associate-*r*_binary64_633 pow-prod-down_binary64_501 prod-exp_binary64_525
distribute-lft-out_binary64_618 sum-log_binary64_489
sin-mult_binary64_445 *-commutative_binary64_642
associate-+r+_binary64_625 +-commutative_binary64_641 unswap-sqr_binary64_602 flip3-+_binary64_572 flip-+_binary64_599 associate-*r/_binary64_635
Counts
4 → 60
Calls
4 calls:
6.0ms
(+.f64 x (+.f64 x eps))
18.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))

series142.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(+.f64 x (+.f64 x eps))
56.0ms
(*.f64 -2 (*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))))
46.0ms
(*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))
23.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

simplify100.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (79.0ms)

IterNodesCost
048861363
148861363

prune360.0ms

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

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New611172
Fresh538
Picked011
Done000
Total661581

Merged error: 0.5b

Counts
81 → 15

localize33.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt.f64 (sin.f64 (/.f64 eps 2)))
0.6b
(cbrt.f64 (sin.f64 (/.f64 eps 2)))
0.6b
(cbrt.f64 (sin.f64 (/.f64 eps 2)))
4.0b
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod_binary64_541
*-un-lft-identity_binary64_574 add-cube-cbrt_binary64_545 add-sqr-sqrt_binary64_559
pow1_binary64_520 add-cbrt-cube_binary64_546 add-exp-log_binary64_538 add-log-exp_binary64_539
pow1/3_binary64_512
Counts
4 → 40
Calls
4 calls:
2.0ms
(cbrt.f64 (sin.f64 (/.f64 eps 2)))
2.0ms
(cbrt.f64 (sin.f64 (/.f64 eps 2)))
2.0ms
(cbrt.f64 (sin.f64 (/.f64 eps 2)))
8.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

series267.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(cbrt.f64 (sin.f64 (/.f64 eps 2)))
82.0ms
(cbrt.f64 (sin.f64 (/.f64 eps 2)))
84.0ms
(cbrt.f64 (sin.f64 (/.f64 eps 2)))
22.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

simplify50.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
05317695

prune365.0ms

Filtered
45 candidates to 52 candidates (-15.6%)
Pruning

17 alts after pruning (15 fresh and 2 done)

PrunedKeptTotal
New50252
Fresh01313
Picked011
Done011
Total501767

Merged error: 0.5b

Counts
67 → 17

localize25.0ms

Local error

Found 4 expressions with local error:

4.0b
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
6.2b
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))))
6.2b
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))))
6.2b
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64_574 add-cube-cbrt_binary64_545 pow1_binary64_520 add-cbrt-cube_binary64_546 add-sqr-sqrt_binary64_559 add-exp-log_binary64_538 add-log-exp_binary64_539
pow1/3_binary64_512 cbrt-div_binary64_542 cbrt-prod_binary64_541 sin-mult_binary64_445
Counts
4 → 37
Calls
4 calls:
11.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
9.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))))
8.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))))
8.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))))

series452.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
145.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))))
143.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))))
144.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))))

simplify107.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 0 (90.0ms)

IterNodesCost
053351133

prune282.0ms

Filtered
42 candidates to 49 candidates (-16.7%)
Pruning

17 alts after pruning (14 fresh and 3 done)

PrunedKeptTotal
New48149
Fresh11314
Picked011
Done022
Total491766

Merged error: 0.5b

Counts
66 → 17

regimes384.0ms

Accuracy

97.7% (0.3b remaining)

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

bsearch87.0ms

Steps
ItersRangePoint
8
6408568851553929/288230376151711744
1740752582515861/70368744177664
0.027486047656807233
8
-341604615952879/1180591620717411303424
-4328019243294623/19342813113834066795298816
-2.8455796645710814e-07

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
08381
18381

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.7s4569×body1280valid
566.0ms623×body2560valid
420.0ms1765×body640valid
112.0ms685×body320valid
37.0ms293×body160valid
4.0ms65×body80valid

Profiling

Loading profile data...