Details

Time bar (total: 5.2s)

sample95.0ms

Algorithm
intervals
Results
42.0ms100×body1280valid
21.0ms23×body2560valid
14.0ms57×body640valid
4.0ms25×body320valid
2.0ms21×body160valid
2.0ms30×body80valid

simplify6.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: 40.1b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

2.8b
(- (sin (+ x eps)) (sin x))
3.8b
(sin (+ x eps))

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

series64.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(- (sin (+ x eps)) (sin x))
18.0ms
(sin (+ x eps))

simplify75.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0192386
1538285
22616275
35002220

prune107.0ms

Filtered
46 candidates to 31 candidates (67.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New37946
Fresh000
Picked101
Done000
Total38947

Merged error: 16.7b

Counts
47 → 9

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.2b
(* (cos x) (sin eps))
4.2b
(- (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (sin x))

rewrite28.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:
5.0ms
(* (sin x) (cos eps))
6.0ms
(+ (* (sin x) (cos eps)) (* (cos x) (sin eps)))
5.0ms
(* (cos x) (sin eps))
9.0ms
(- (+ (* (sin x) (cos eps)) (* (cos x) (sin eps))) (sin x))

series292.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0373918
11424763
25002741

prune266.0ms

Filtered
97 candidates to 68 candidates (70.1%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New871097
Fresh538
Picked101
Done000
Total9313106

Merged error: 0.3b

Counts
106 → 13

localize14.0ms

Local error

Found 3 expressions with local error:

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

rewrite12.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:
1.0ms
(fma (sin x) (- (cos eps) 1) (* (cos x) (sin eps)))
4.0ms
(* (cos x) (sin eps))
5.0ms
(- (cos eps) 1)

series178.0ms

Counts
3 → 9
Calls
3 calls:
111.0ms
(fma (sin x) (- (cos eps) 1) (* (cos x) (sin eps)))
42.0ms
(* (cos x) (sin eps))
24.0ms
(- (cos eps) 1)

simplify100.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (94.0ms)

IterNodesCost
0276442
1932347
23460325
35001303

prune203.0ms

Filtered
70 candidates to 43 candidates (61.4%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New601070
Fresh7512
Picked101
Done000
Total681583

Merged error: 0.1b

Counts
83 → 15

localize17.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (sin x) (log (exp (- (cos eps) 1))) (* (cos x) (sin eps)))
0.2b
(* (cos x) (sin eps))
2.1b
(- (cos eps) 1)
2.2b
(log (exp (- (cos eps) 1)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
27×*-un-lft-identity
21×add-cube-cbrt
18×prod-diff
14×log-prod
11×exp-sum
log-pow
pow1 add-exp-log exp-prod
add-cbrt-cube add-log-exp
expm1-log1p-u log1p-expm1-u difference-of-squares
fma-neg associate-*r* associate-*l*
sub-neg difference-of-sqr-1 distribute-lft-out--
log-div expm1-def flip3-- exp-diff diff-log rem-log-exp pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef unswap-sqr
Counts
4 → 94
Calls
4 calls:
1.0ms
(fma (sin x) (log (exp (- (cos eps) 1))) (* (cos x) (sin eps)))
5.0ms
(* (cos x) (sin eps))
5.0ms
(- (cos eps) 1)
6.0ms
(log (exp (- (cos eps) 1)))

series195.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(fma (sin x) (log (exp (- (cos eps) 1))) (* (cos x) (sin eps)))
48.0ms
(* (cos x) (sin eps))
18.0ms
(- (cos eps) 1)
19.0ms
(log (exp (- (cos eps) 1)))

simplify112.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 3 (104.0ms)

IterNodesCost
0339680
11045506
23697442
35002434

prune247.0ms

Filtered
106 candidates to 67 candidates (63.2%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New1033106
Fresh21214
Picked101
Done000
Total10615121

Merged error: 0.0b

Counts
121 → 15

regimes135.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
01913
11913

end0.0ms

sample2.9s

Algorithm
intervals
Results
1.5s3326×body1280valid
562.0ms608×body2560valid
488.0ms1878×body640valid
124.0ms739×body320valid
59.0ms1106×body80valid
45.0ms343×body160valid