Details

Time bar (total: 5.2s)

sample89.0ms

Algorithm
intervals
Results
40.0ms96×body1280valid
20.0ms22×body2560valid
14.0ms57×body640valid
4.0ms25×body320valid
2.0ms39×body80valid
2.0ms17×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
094
1104
2104

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 34.0b

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt prod-diff
add-log-exp
fma-neg
pow1 add-exp-log expm1-log1p-u sin-sum add-cbrt-cube log1p-expm1-u
sub-neg flip3-- diff-log diff-sin associate--l+ flip-- distribute-lft-out-- difference-of-squares
Counts
2 → 40
Calls
2 calls:
24.0ms
(- (sin (+ x eps)) (sin x))
5.0ms
(sin (+ x eps))

series59.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(- (sin (+ x eps)) (sin x))
17.0ms
(sin (+ x eps))

simplify73.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0192386
1538285
22616275
35002220

prune111.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 13.4b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (sin x) (cos eps))
0.1b
(+ (* (sin x) (cos eps)) (* (cos x) (sin eps)))
0.1b
(* (cos x) (sin eps))
4.0b
(- (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (sin x))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
17×*-un-lft-identity
15×add-cube-cbrt
11×add-log-exp
prod-diff
pow1 add-exp-log add-cbrt-cube
associate-*r* associate-*l*
expm1-log1p-u log1p-expm1-u
fma-neg
diff-log pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
+-commutative sub-neg flip3-- fma-def flip3-+ associate--l+ sin-cos-mult flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
4 → 85
Calls
4 calls:
4.0ms
(* (sin x) (cos eps))
4.0ms
(+ (* (sin x) (cos eps)) (* (cos x) (sin eps)))
4.0ms
(* (cos x) (sin eps))
21.0ms
(- (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (sin x))

series280.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(* (sin x) (cos eps))
86.0ms
(+ (* (sin x) (cos eps)) (* (cos x) (sin eps)))
44.0ms
(* (cos x) (sin eps))
108.0ms
(- (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (sin x))

simplify49.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0373918
11424763
25002741

prune276.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.2b

localize15.0ms

Local error

Found 3 expressions with local error:

0.1b
(fma (sin x) (- (cos eps) 1) (* (cos x) (sin eps)))
0.1b
(* (cos x) (sin eps))
1.7b
(- (cos eps) 1)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
15×*-un-lft-identity
12×add-cube-cbrt
prod-diff
add-exp-log
pow1 add-cbrt-cube add-log-exp
expm1-log1p-u fma-neg associate-*r* associate-*l* log1p-expm1-u
difference-of-squares
sub-neg expm1-def flip3-- diff-log difference-of-sqr-1 pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef distribute-lft-out-- unswap-sqr
Counts
3 → 61
Calls
3 calls:
0.0ms
(fma (sin x) (- (cos eps) 1) (* (cos x) (sin eps)))
4.0ms
(* (cos x) (sin eps))
4.0ms
(- (cos eps) 1)

series171.0ms

Counts
3 → 9
Calls
3 calls:
106.0ms
(fma (sin x) (- (cos eps) 1) (* (cos x) (sin eps)))
46.0ms
(* (cos x) (sin eps))
19.0ms
(- (cos eps) 1)

simplify95.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (90.0ms)

IterNodesCost
0276442
1932347
23460325
35001303

prune217.0ms

Pruning

13 alts after pruning (13 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(expm1 (- (cos eps) 1))
0.1b
(* (cos x) (sin eps))
0.3b
(log1p (expm1 (- (cos eps) 1)))
1.7b
(- (cos eps) 1)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
16×*-un-lft-identity
13×add-cube-cbrt
prod-diff
add-exp-log
pow1 add-cbrt-cube add-log-exp
log1p-expm1-u
expm1-log1p-u
fma-neg associate-*r* associate-*l*
difference-of-squares
sub-neg expm1-def log1p-udef expm1-log1p flip3-- diff-log difference-of-sqr-1 log1p-expm1 pow-prod-down prod-exp *-commutative flip-- cbrt-unprod distribute-lft-out-- expm1-udef unswap-sqr
Counts
4 → 73
Calls
4 calls:
0.0ms
(expm1 (- (cos eps) 1))
4.0ms
(* (cos x) (sin eps))
0.0ms
(log1p (expm1 (- (cos eps) 1)))
4.0ms
(- (cos eps) 1)

series275.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(expm1 (- (cos eps) 1))
42.0ms
(* (cos x) (sin eps))
145.0ms
(log1p (expm1 (- (cos eps) 1)))
21.0ms
(- (cos eps) 1)

simplify93.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (87.0ms)

IterNodesCost
0273429
1890340
23171320
35002298

prune239.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

regimes104.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02315
12515
22515

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.4s3282×body1280valid
628.0ms686×body2560valid
437.0ms1818×body640valid
129.0ms736×body320valid
62.0ms1121×body80valid
39.0ms357×body160valid