Details

Time bar (total: 4.9s)

analyze2.0ms

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

sample107.0ms

Algorithm
intervals
Results
65.0ms148×body1280valid
15.0ms16×body2560valid
14.0ms58×body640valid
4.0ms23×body320valid
1.0msbody160valid
0.0msbody80valid

simplify29.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (12.0ms)

IterNodesCost
07311
17311

prune1.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 38.4b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite11.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))
4.0ms
(cos.f64 (+.f64 x eps))

series72.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
04945429
14945429

prune33.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.5b

Counts
30 → 7

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(*.f64 -2 (*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))))
0.0b
(+.f64 x (+.f64 x eps))
0.2b
(*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))
2.8b
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

rewrite40.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:
12.0ms
(*.f64 -2 (*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))))
6.0ms
(+.f64 x (+.f64 x eps))
11.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))

series152.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(*.f64 -2 (*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))))
15.0ms
(+.f64 x (+.f64 x eps))
51.0ms
(*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))
22.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

simplify118.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (97.0ms)

IterNodesCost
048971369
148971369

prune86.0ms

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

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New63972
Fresh156
Picked011
Done000
Total641579

Merged error: 0.4b

Counts
79 → 15

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.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:
7.0ms
(cbrt.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))
9.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
7.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
7.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

series172.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
05079727

prune92.0ms

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

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New43144
Fresh01313
Picked101
Done011
Total441559

Merged error: 0.4b

Counts
59 → 15

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.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))

series82.0ms

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

simplify94.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 0 (78.0ms)

IterNodesCost
04990596
14990596

prune95.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.4b

Counts
55 → 15

regimes123.0ms

Accuracy

97.3% (0.4b remaining)

Error of 0.8b against oracle of 0.4b and baseline of 15.0b

bsearch72.0ms

Steps
ItersRangePoint
8
3.113136890514365e-11
4.985137664145584e-08
4.923419680012861e-08
8
-1.9460658352402853
-0.0007004325775336613
-0.0008870636453624816

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
07160
17160

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.9s4481×body1280valid
571.0ms605×body2560valid
466.0ms1836×body640valid
125.0ms713×body320valid
34.0ms290×body160valid
5.0ms75×body80valid

Profiling

Loading profile data...