Details

Time bar (total: 5.2s)

sample95.0ms

Algorithm
intervals
Results
49.0ms119×body1280valid
17.0ms19×body2560valid
14.0ms59×body640valid
3.0ms21×body320valid
2.0ms32×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: 39.5b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.1b
(- (sin (+ x eps)) (sin x))
3.9b
(sin (+ x eps))

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

simplify73.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0192386
1538285
22616275
35002220

prune286.0ms

Filtered
46 candidates to 31 candidates (67.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New38846
Fresh000
Picked101
Done000
Total39847

Merged error: 14.0b

Counts
47 → 8

localize17.0ms

Local error

Found 4 expressions with local error:

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

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

series281.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0373918
11424763
25002741

prune249.0ms

Filtered
97 candidates to 68 candidates (70.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New89897
Fresh617
Picked101
Done000
Total969105

Merged error: 0.2b

Counts
105 → 9

localize14.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.5b
(- (cos eps) 1)

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

series174.0ms

Counts
3 → 9
Calls
3 calls:
108.0ms
(fma (sin x) (- (cos eps) 1) (* (cos x) (sin eps)))
43.0ms
(* (cos x) (sin eps))
23.0ms
(- (cos eps) 1)

simplify99.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (93.0ms)

IterNodesCost
0276442
1932347
23460325
35001303

prune203.0ms

Filtered
70 candidates to 45 candidates (64.3%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New63770
Fresh268
Picked101
Done000
Total661379

Merged error: 0.1b

Counts
79 → 13

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma (sin x) (log (exp (- (cos eps) 1))) (* (cos x) (sin eps)))
0.1b
(* (cos x) (sin eps))
1.5b
(- (cos eps) 1)
1.6b
(log (exp (- (cos eps) 1)))

rewrite18.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)))
4.0ms
(* (cos x) (sin eps))
5.0ms
(- (cos eps) 1)
6.0ms
(log (exp (- (cos eps) 1)))

series194.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(fma (sin x) (log (exp (- (cos eps) 1))) (* (cos x) (sin eps)))
47.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

prune244.0ms

Filtered
106 candidates to 67 candidates (63.2%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1060106
Fresh01212
Picked011
Done000
Total10613119

Merged error: 0.1b

Counts
119 → 13

regimes118.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
0159
1159

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.4s3279×body1280valid
565.0ms631×body2560valid
455.0ms1889×body640valid
128.0ms777×body320valid
61.0ms1091×body80valid
38.0ms333×body160valid