Details

Time bar (total: 5.3s)

sample98.0ms

Algorithm
intervals
Results
47.0ms111×body1280valid
20.0ms22×body2560valid
15.0ms61×body640valid
4.0ms25×body320valid
2.0ms31×body80valid
1.0msbody160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 37.8b

Counts
2 → 1

localize14.0ms

Local error

Found 2 expressions with local error:

0.3b
(- (sin (+ x eps)) (sin x))
3.0b
(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 → 24
Calls
2 calls:
6.0ms
(- (sin (+ x eps)) (sin x))
4.0ms
(sin (+ x eps))

series58.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(- (sin (+ x eps)) (sin x))
19.0ms
(sin (+ x eps))

simplify144.0ms

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0133175
1301165
2937164
33445164
45001164

prune81.0ms

Filtered
30 candidates to 23 candidates (76.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New23730
Fresh000
Picked101
Done000
Total24731

Merged error: 14.7b

Counts
31 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(+ (* (sin x) (cos eps)) (* (cos x) (sin eps)))
0.1b
(* (cos x) (sin eps))
0.2b
(* (sin x) (cos eps))
1.9b
(- (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (sin x))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×add-log-exp
10×*-un-lft-identity
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l*
diff-log pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
+-commutative sub-neg flip3-- flip3-+ associate--l+ sin-cos-mult flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
4 → 64
Calls
4 calls:
6.0ms
(+ (* (sin x) (cos eps)) (* (cos x) (sin eps)))
4.0ms
(* (cos x) (sin eps))
5.0ms
(* (sin x) (cos eps))
9.0ms
(- (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (sin x))

series295.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(+ (* (sin x) (cos eps)) (* (cos x) (sin eps)))
43.0ms
(* (cos x) (sin eps))
48.0ms
(* (sin x) (cos eps))
114.0ms
(- (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (sin x))

simplify42.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0308589
11168554
25001543

prune213.0ms

Filtered
76 candidates to 54 candidates (71.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New661076
Fresh606
Picked101
Done000
Total731083

Merged error: 0.3b

Counts
83 → 10

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (sin x) (- (cos eps) 1))
0.1b
(* (cos x) (sin eps))
0.1b
(+ (* (sin x) (- (cos eps) 1)) (* (cos x) (sin eps)))
1.9b
(- (cos eps) 1)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×*-un-lft-identity
10×associate-*r*
pow1 add-exp-log add-cube-cbrt add-cbrt-cube add-log-exp
associate-*l*
sub-neg
distribute-rgt-in associate-+l+ distribute-lft-in difference-of-squares
flip3-- difference-of-sqr-1 associate-*r/ pow-prod-down prod-exp *-commutative flip-- cbrt-unprod distribute-lft-out-- unswap-sqr
+-commutative flip3-+ diff-log sum-log flip-+
Counts
4 → 77
Calls
4 calls:
7.0ms
(* (sin x) (- (cos eps) 1))
4.0ms
(* (cos x) (sin eps))
9.0ms
(+ (* (sin x) (- (cos eps) 1)) (* (cos x) (sin eps)))
4.0ms
(- (cos eps) 1)

series226.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(* (sin x) (- (cos eps) 1))
49.0ms
(* (cos x) (sin eps))
111.0ms
(+ (* (sin x) (- (cos eps) 1)) (* (cos x) (sin eps)))
20.0ms
(- (cos eps) 1)

simplify46.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0337546
11279498
25001497

prune238.0ms

Filtered
89 candidates to 56 candidates (62.9%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New80989
Fresh279
Picked101
Done000
Total831699

Merged error: 0.0b

Counts
99 → 16

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cos x) (sin eps))
0.1b
(+ (log (exp (* (sin x) (- (cos eps) 1)))) (* (cos x) (sin eps)))
1.9b
(- (cos eps) 1)
3.2b
(log (exp (* (sin x) (- (cos eps) 1))))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt log-prod
11×*-un-lft-identity
add-cube-cbrt exp-sum add-log-exp
pow1 associate-+l+
add-exp-log add-cbrt-cube
sub-neg
distribute-rgt-in distribute-lft-in
associate-*r* associate-*l* log-pow
difference-of-squares
+-commutative exp-prod flip3-- exp-to-pow flip3-+ diff-log difference-of-sqr-1 rem-log-exp pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out-- unswap-sqr
Counts
4 → 70
Calls
4 calls:
4.0ms
(* (cos x) (sin eps))
6.0ms
(+ (log (exp (* (sin x) (- (cos eps) 1)))) (* (cos x) (sin eps)))
4.0ms
(- (cos eps) 1)
3.0ms
(log (exp (* (sin x) (- (cos eps) 1))))

series230.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(* (cos x) (sin eps))
113.0ms
(+ (log (exp (* (sin x) (- (cos eps) 1)))) (* (cos x) (sin eps)))
19.0ms
(- (cos eps) 1)
50.0ms
(log (exp (* (sin x) (- (cos eps) 1))))

simplify160.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0314573
11061516
24774511
35001511

prune200.0ms

Filtered
82 candidates to 56 candidates (68.3%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New81182
Fresh31215
Picked011
Done000
Total841498

Merged error: 0.0b

Counts
98 → 14

regimes123.0ms

Accuracy

0% (0.4b remaining)

Error of 0.5b against oracle of 0.1b and baseline of 0.5b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01810
11810

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.5s3277×body1280valid
572.0ms622×body2560valid
488.0ms1857×body640valid
155.0ms831×body320valid
58.0ms1064×body80valid
42.0ms349×body160valid

Profiling

Loading profile data...