Details

Time bar (total: 4.3s)

sample107.0ms

Algorithm
intervals
Results
51.0ms120×body1280valid
15.0ms19×body2560valid
15.0ms56×body640valid
10.0ms28×body320valid
2.0ms27×body80valid
1.0msbody160valid

simplify2.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0107
1107

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.2b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.7b
(- (sin (+ x eps)) (sin x))
3.5b
(sin (+ x eps))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt sin-sum add-cbrt-cube
sub-neg flip3-- diff-log diff-sin associate--l+ flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 24
Calls
2 calls:
7.0ms
(- (sin (+ x eps)) (sin x))
4.0ms
(sin (+ x eps))

series15.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(- (sin (+ x eps)) (sin x))
6.0ms
(sin (+ x eps))

simplify46.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
05225271

prune51.0ms

Filtered
23 candidates to 30 candidates (-30.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New27330
Fresh000
Picked101
Done000
Total28331

Merged error: 0.5b

Counts
31 → 3

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (+ x eps))
0.2b
(* (sin (/ eps 2)) (cos (/ (+ x (+ x eps)) 2)))
3.7b
(cos (/ (+ x (+ x eps)) 2))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity
add-log-exp
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l* sum-log distribute-lft-out
+-commutative associate-+r+ flip3-+ pow-prod-down prod-exp *-commutative sin-cos-mult cbrt-unprod flip-+ unswap-sqr
Counts
3 → 41
Calls
3 calls:
6.0ms
(+ x (+ x eps))
6.0ms
(* (sin (/ eps 2)) (cos (/ (+ x (+ x eps)) 2)))
8.0ms
(cos (/ (+ x (+ x eps)) 2))

series26.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ x (+ x eps))
12.0ms
(* (sin (/ eps 2)) (cos (/ (+ x (+ x eps)) 2)))
9.0ms
(cos (/ (+ x (+ x eps)) 2))

simplify47.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
05118541

prune123.0ms

Filtered
38 candidates to 50 candidates (-31.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New44650
Fresh022
Picked011
Done000
Total44953

Merged error: 0.4b

Counts
53 → 9

localize17.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt (cos (/ (+ x (+ x eps)) 2)))
3.7b
(cos (/ (+ x (+ x eps)) 2))
3.7b
(cos (/ (+ x (+ x eps)) 2))
3.7b
(cos (/ (+ x (+ x eps)) 2))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
cbrt-prod
pow1/3
Counts
4 → 32
Calls
4 calls:
1.0ms
(cbrt (cos (/ (+ x (+ x eps)) 2)))
8.0ms
(cos (/ (+ x (+ x eps)) 2))
8.0ms
(cos (/ (+ x (+ x eps)) 2))
8.0ms
(cos (/ (+ x (+ x eps)) 2))

series37.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(cbrt (cos (/ (+ x (+ x eps)) 2)))
6.0ms
(cos (/ (+ x (+ x eps)) 2))
6.0ms
(cos (/ (+ x (+ x eps)) 2))
6.0ms
(cos (/ (+ x (+ x eps)) 2))

simplify33.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
05689447

prune173.0ms

Filtered
37 candidates to 44 candidates (-18.9%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New42244
Fresh167
Picked101
Done011
Total44953

Merged error: 0.4b

Counts
53 → 9

localize21.0ms

Local error

Found 4 expressions with local error:

3.7b
(cos (/ (+ x (+ x eps)) 2))
3.7b
(cos (/ (+ x (+ x eps)) 2))
3.7b
(cos (/ (+ x (+ x eps)) 2))
3.7b
(cos (/ (+ x (+ x eps)) 2))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
Counts
4 → 28
Calls
4 calls:
9.0ms
(cos (/ (+ x (+ x eps)) 2))
10.0ms
(cos (/ (+ x (+ x eps)) 2))
8.0ms
(cos (/ (+ x (+ x eps)) 2))
8.0ms
(cos (/ (+ x (+ x eps)) 2))

series23.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(cos (/ (+ x (+ x eps)) 2))
6.0ms
(cos (/ (+ x (+ x eps)) 2))
6.0ms
(cos (/ (+ x (+ x eps)) 2))
6.0ms
(cos (/ (+ x (+ x eps)) 2))

simplify53.0ms

Algorithm
egg-herbie
Counts
40 → 40
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
05258380

prune183.0ms

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

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New39140
Fresh077
Picked101
Done011
Total40949

Merged error: 0.4b

Counts
49 → 9

regimes172.0ms

Accuracy

99.3% (0.1b remaining)

Error of 0.5b against oracle of 0.4b and baseline of 14.9b

bsearch59.0ms

Steps
ItersRangePoint
8
5.972365790103743e-15
5.691295351696058e-12
5.621069998466474e-12
5
-0.0004813576712207844
-0.0001616040529746431
-0.0001647469450861392

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03538
13538

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.4s3317×body1280valid
574.0ms668×body2560valid
480.0ms1800×body640valid
143.0ms749×body320valid
68.0ms1117×body80valid
49.0ms349×body160valid

Profiling

Loading profile data...