Details

Time bar (total: 10.2s)

analyze1.0ms

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

sample317.0ms

Algorithm
intervals
Results
49.0ms108×body1280valid
22.0ms23×body2560valid
14.0ms56×body640valid
3.0ms19×body320valid
2.0ms16×body160valid
2.0ms34×body80valid

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: 36.3b

Counts
2 → 1

localize66.0ms

Local error

Found 2 expressions with local error:

14.4b
(sin (+ x eps))
21.7b
(- (sin (+ x eps)) (sin x))

rewrite10.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:
4.0ms
(sin (+ x eps))
6.0ms
(- (sin (+ x eps)) (sin x))

series13.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
05348268

prune47.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.2b

Counts
30 → 3

localize66.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ x (+ x eps))
0.2b
(* (sin (/ eps 2)) (cos (/ (+ x (+ x eps)) 2)))
14.7b
(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))

series23.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
05169541

prune97.0ms

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New47350
Fresh022
Picked011
Done000
Total47653

Merged error: 0.2b

Counts
53 → 6

localize73.0ms

Local error

Found 4 expressions with local error:

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

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

series34.0ms

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

simplify68.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 0 (64.0ms)

IterNodesCost
04872415
14872415

prune154.0ms

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

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New41344
Fresh044
Picked101
Done011
Total42850

Merged error: 0.2b

Counts
50 → 8

localize77.0ms

Local error

Found 4 expressions with local error:

0.6b
(pow (cos (/ (+ x (+ x eps)) 2)) 3)
14.7b
(cos (/ (+ x (+ x eps)) 2))
14.7b
(cos (/ (+ x (+ x eps)) 2))
14.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
unpow-prod-down pow-unpow cube-prod
cube-mult pow-to-exp pow-pow unpow3 pow-exp rem-cube-cbrt sqr-pow
Counts
4 → 44
Calls
4 calls:
2.0ms
(pow (cos (/ (+ x (+ x eps)) 2)) 3)
9.0ms
(cos (/ (+ x (+ x eps)) 2))
7.0ms
(cos (/ (+ x (+ x eps)) 2))
7.0ms
(cos (/ (+ x (+ x eps)) 2))

series28.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(pow (cos (/ (+ x (+ x eps)) 2)) 3)
5.0ms
(cos (/ (+ x (+ x eps)) 2))
5.0ms
(cos (/ (+ x (+ x eps)) 2))
5.0ms
(cos (/ (+ x (+ x eps)) 2))

simplify40.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
05073552

prune150.0ms

Filtered
40 candidates to 56 candidates (-40.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New56056
Fresh066
Picked011
Done011
Total56864

Merged error: 0.2b

Counts
64 → 8

regimes187.0ms

Accuracy

97.6% (0.4b remaining)

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

bsearch183.0ms

Steps
ItersRangePoint
8
2.378184767192916e-12
1.1266294431677668e-08
1.1088692445762939e-08
9
-4180579059620742.5
-9176798620.626127
-9334405717.835932

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04538
14538

end0.0ms

sample8.4s

Algorithm
intervals
Results
1.4s3231×body1280valid
622.0ms653×body2560valid
468.0ms1826×body640valid
144.0ms813×body320valid
66.0ms1111×body80valid
42.0ms366×body160valid

Profiling

Loading profile data...