Details

Time bar (total: 5.3s)

sample88.0ms

Algorithm
intervals
Results
44.0ms108×body1280valid
16.0ms18×body2560valid
11.0ms51×body640valid
4.0ms27×body320valid
3.0ms43×body80valid
1.0msbody160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 35.8b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

1.5b
(- (sin (+ x eps)) (sin x))
4.4b
(sin (+ x eps))

rewrite14.0ms

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

series65.0ms

Counts
2 → 6
Calls
2 calls:
41.0ms
(- (sin (+ x eps)) (sin x))
24.0ms
(sin (+ x eps))

simplify75.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0193397
1530295
22598285
35002230

prune85.0ms

Filtered
48 candidates to 33 candidates (68.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New45348
Fresh000
Picked101
Done000
Total46349

Merged error: 0.3b

Counts
49 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
56×add-sqr-sqrt *-un-lft-identity
45×prod-diff
42×add-cube-cbrt
22×distribute-rgt-in associate-+r+ distribute-lft-in
13×associate-*r* associate-*l*
12×fma-def
add-exp-log
pow1 add-cbrt-cube add-log-exp
sub-neg
expm1-log1p-u associate-*r/ log1p-expm1-u distribute-lft-out difference-of-squares
flip3-- fma-neg *-commutative sin-cos-mult flip-- unswap-sqr
difference-of-sqr-1 pow-prod-down frac-add prod-exp cbrt-unprod distribute-lft-out--
+-commutative expm1-def flip3-+ diff-log sum-log flip-+
Counts
4 → 153
Calls
4 calls:
5.0ms
(* (sin eps) (cos x))
9.0ms
(* (sin x) (- (cos eps) 1))
24.0ms
(+ (* (sin eps) (cos x)) (* (sin x) (- (cos eps) 1)))
5.0ms
(- (cos eps) 1)

series238.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* (sin eps) (cos x))
50.0ms
(* (sin x) (- (cos eps) 1))
119.0ms
(+ (* (sin eps) (cos x)) (* (sin x) (- (cos eps) 1)))
24.0ms
(- (cos eps) 1)

simplify65.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05221296
120551023
250011014

prune366.0ms

Filtered
165 candidates to 101 candidates (61.2%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New15114165
Fresh202
Picked101
Done000
Total15414168

Merged error: 0.1b

Counts
168 → 14

localize15.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
30×*-un-lft-identity
27×prod-diff
24×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in
associate-*r*
add-exp-log
pow1 add-cbrt-cube add-log-exp
difference-of-squares
expm1-log1p-u sub-neg fma-neg associate-*l* log1p-expm1-u
flip3-- difference-of-sqr-1 associate-*r/ flip-- distribute-lft-out--
expm1-def diff-log pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
3 → 89
Calls
3 calls:
12.0ms
(* (sin x) (- (cos eps) 1))
1.0ms
(fma (sin eps) (cos x) (* (sin x) (- (cos eps) 1)))
5.0ms
(- (cos eps) 1)

series174.0ms

Counts
3 → 9
Calls
3 calls:
50.0ms
(* (sin x) (- (cos eps) 1))
104.0ms
(fma (sin eps) (cos x) (* (sin x) (- (cos eps) 1)))
20.0ms
(- (cos eps) 1)

simplify119.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 3 (110.0ms)

IterNodesCost
0291804
11094593
24256547
35001543

prune230.0ms

Filtered
98 candidates to 54 candidates (55.1%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New95398
Fresh21113
Picked101
Done000
Total9814112

Merged error: 0.1b

Counts
112 → 14

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(fma (sin eps) (cos x) (cbrt (pow (* (sin x) (- (cos eps) 1)) 3)))
0.2b
(pow (* (sin x) (- (cos eps) 1)) 3)
3.0b
(- (cos eps) 1)
11.5b
(cbrt (pow (* (sin x) (- (cos eps) 1)) 3))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
32×unpow-prod-down
29×*-un-lft-identity
21×cbrt-prod
19×add-cube-cbrt
14×associate-*r*
prod-diff
add-exp-log
pow1 add-cbrt-cube
associate-*l* add-log-exp difference-of-squares
expm1-log1p-u pow-unpow log1p-expm1-u
fma-neg difference-of-sqr-1 distribute-lft-out--
pow-pow unpow3 pow-exp *-commutative rem-cbrt-cube rem-cube-cbrt unswap-sqr sqr-pow
pow-to-exp sub-neg expm1-def flip3-- pow1/3 diff-log pow-prod-down prod-exp flip-- cbrt-unprod fma-udef
Counts
4 → 111
Calls
4 calls:
1.0ms
(fma (sin eps) (cos x) (cbrt (pow (* (sin x) (- (cos eps) 1)) 3)))
8.0ms
(pow (* (sin x) (- (cos eps) 1)) 3)
5.0ms
(- (cos eps) 1)
9.0ms
(cbrt (pow (* (sin x) (- (cos eps) 1)) 3))

series308.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(fma (sin eps) (cos x) (cbrt (pow (* (sin x) (- (cos eps) 1)) 3)))
133.0ms
(pow (* (sin x) (- (cos eps) 1)) 3)
20.0ms
(- (cos eps) 1)
52.0ms
(cbrt (pow (* (sin x) (- (cos eps) 1)) 3))

simplify61.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0452838
11874769
25001760

prune291.0ms

Filtered
123 candidates to 76 candidates (61.8%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New1221123
Fresh11213
Picked011
Done000
Total12314137

Merged error: 0.1b

Counts
137 → 14

regimes123.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0189
1209
2209

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.4s3298×body1280valid
530.0ms603×body2560valid
446.0ms1868×body640valid
133.0ms768×body320valid
56.0ms1119×body80valid
37.0ms344×body160valid