Details

Time bar (total: 4.4s)

analyze1.0ms

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

sample103.0ms

Algorithm
intervals
Results
47.0ms105×body1280valid
19.0ms21×body2560valid
16.0ms62×body640valid
6.0ms32×body80valid
4.0ms25×body320valid
1.0ms11×body160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0717
1717

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.8b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

1.0b
(- (sin (+ x eps)) (sin x))
2.7b
(sin (+ x eps))

rewrite11.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 → 23
Calls
2 calls:
6.0ms
(- (sin (+ x eps)) (sin x))
4.0ms
(sin (+ x eps))

series13.0ms

Counts
2 → 6
Calls
2 calls:
8.0ms
(- (sin (+ x eps)) (sin x))
5.0ms
(sin (+ x eps))

simplify44.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
05348268

prune49.0ms

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New26329
Fresh000
Picked101
Done000
Total27330

Merged error: 0.3b

Counts
30 → 3

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (+ x eps))
0.3b
(* (sin (/ eps 2)) (cos (/ (+ x (+ x eps)) 2)))
2.6b
(cos (/ (+ x (+ x eps)) 2))

rewrite19.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:
5.0ms
(+ x (+ x eps))
5.0ms
(* (sin (/ eps 2)) (cos (/ (+ x (+ x eps)) 2)))
7.0ms
(cos (/ (+ x (+ x eps)) 2))

series21.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(+ x (+ x eps))
11.0ms
(* (sin (/ eps 2)) (cos (/ (+ x (+ x eps)) 2)))
6.0ms
(cos (/ (+ x (+ x eps)) 2))

simplify57.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
05169541

prune115.0ms

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

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New45550
Fresh022
Picked011
Done000
Total45853

Merged error: 0.3b

Counts
53 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.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)))
7.0ms
(cos (/ (+ x (+ x eps)) 2))
7.0ms
(cos (/ (+ x (+ x eps)) 2))
7.0ms
(cos (/ (+ x (+ x eps)) 2))

series35.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 0 (65.0ms)

IterNodesCost
04872415
14872415

prune166.0ms

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

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New43144
Fresh066
Picked011
Done011
Total43952

Merged error: 0.2b

Counts
52 → 9

localize18.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (* (cos (/ (+ x (+ x eps)) 2)) (sin (/ eps 2))))
2.6b
(cos (/ (+ x (+ x eps)) 2))
2.6b
(cos (/ (+ x (+ x eps)) 2))
2.6b
(cos (/ (+ x (+ x eps)) 2))

rewrite26.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
cbrt-prod pow1/3
Counts
4 → 30
Calls
4 calls:
3.0ms
(cbrt (* (cos (/ (+ x (+ x eps)) 2)) (sin (/ eps 2))))
7.0ms
(cos (/ (+ x (+ x eps)) 2))
7.0ms
(cos (/ (+ x (+ x eps)) 2))
7.0ms
(cos (/ (+ x (+ x eps)) 2))

series47.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(cbrt (* (cos (/ (+ x (+ x eps)) 2)) (sin (/ eps 2))))
5.0ms
(cos (/ (+ x (+ x eps)) 2))
5.0ms
(cos (/ (+ x (+ x eps)) 2))
5.0ms
(cos (/ (+ x (+ x eps)) 2))

simplify48.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
05157465

prune160.0ms

Filtered
37 candidates to 42 candidates (-13.5%)
Pruning

9 alts after pruning (6 fresh and 3 done)

PrunedKeptTotal
New42042
Fresh066
Picked011
Done022
Total42951

Merged error: 0.2b

Counts
51 → 9

regimes179.0ms

Accuracy

99.6% (0.1b remaining)

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

bsearch79.0ms

Steps
ItersRangePoint
10
4.3922265410796777e-17
6.615862107880164
1.1421815710415283e-08
9
-4.5309087082570456e-08
-1.6657409484079213e-16
-1.1753520811402347e-08

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04751
14751

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.5s3289×body1280valid
636.0ms675×body2560valid
497.0ms1811×body640valid
143.0ms760×body320valid
68.0ms1132×body80valid
44.0ms333×body160valid

Profiling

Loading profile data...