Details

Time bar (total: 5.1s)

sample92.0ms

Algorithm
intervals
Results
52.0ms150×body1280valid
16.0ms19×body2560valid
12.0ms58×body640valid
3.0ms18×body320valid
1.0ms10×body160valid
0.0msbody80valid

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: 40.8b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

1.0b
(- (cos (+ x eps)) (cos x))
3.7b
(cos (+ 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 cos-sum add-cbrt-cube log1p-expm1-u
associate--l- sub-neg flip3-- diff-log flip-- diff-cos distribute-lft-out-- difference-of-squares
Counts
2 → 40
Calls
2 calls:
7.0ms
(- (cos (+ x eps)) (cos x))
4.0ms
(cos (+ x eps))

series71.0ms

Counts
2 → 6
Calls
2 calls:
55.0ms
(- (cos (+ x eps)) (cos x))
15.0ms
(cos (+ x eps))

simplify73.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0192385
1523285
22519275
35001220

prune115.0ms

Filtered
46 candidates to 31 candidates (67.4%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New351146
Fresh000
Picked101
Done000
Total361147

Merged error: 14.1b

Counts
47 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cos x) (cos eps))
0.1b
(- (* (cos x) (cos eps)) (* (sin x) (sin eps)))
0.2b
(* (sin x) (sin eps))
1.5b
(- (- (* (cos x) (cos eps)) (* (sin x) (sin eps))) (cos x))

rewrite27.0ms

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

series298.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* (cos x) (cos eps))
84.0ms
(- (* (cos x) (cos eps)) (* (sin x) (sin eps)))
49.0ms
(* (sin x) (sin eps))
126.0ms
(- (- (* (cos x) (cos eps)) (* (sin x) (sin eps))) (cos x))

simplify54.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0381988
11342837
25002822

prune303.0ms

Filtered
105 candidates to 73 candidates (69.5%)
Pruning

16 alts after pruning (16 fresh and 0 done)

PrunedKeptTotal
New9312105
Fresh6410
Picked101
Done000
Total10016116

Merged error: 13.9b

Counts
116 → 16

localize15.0ms

Local error

Found 2 expressions with local error:

0.2b
(fma (sin x) (sin eps) (cos x))
1.5b
(fma (cos eps) (cos x) (- (fma (sin x) (sin eps) (cos x))))

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
1.0ms
(fma (sin x) (sin eps) (cos x))
1.0ms
(fma (cos eps) (cos x) (- (fma (sin x) (sin eps) (cos x))))

series191.0ms

Counts
2 → 6
Calls
2 calls:
50.0ms
(fma (sin x) (sin eps) (cos x))
141.0ms
(fma (cos eps) (cos x) (- (fma (sin x) (sin eps) (cos x))))

simplify118.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 3 (25.0ms)

IterNodesCost
087209
1240182
2795182
33587180
45001180

prune141.0ms

Filtered
26 candidates to 21 candidates (80.8%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New21526
Fresh21315
Picked101
Done000
Total241842

Merged error: 13.8b

Counts
42 → 18

localize15.0ms

Local error

Found 3 expressions with local error:

0.2b
(+ (* (sin x) (sin eps)) (cos x))
0.2b
(* (sin x) (sin eps))
1.5b
(fma (cos eps) (cos x) (- (+ (* (sin x) (sin eps)) (cos x))))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube add-log-exp
expm1-log1p-u associate-*r* associate-*l* log1p-expm1-u
+-commutative fma-def flip3-+ pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ fma-udef sin-mult unswap-sqr
Counts
3 → 45
Calls
3 calls:
5.0ms
(+ (* (sin x) (sin eps)) (cos x))
5.0ms
(* (sin x) (sin eps))
1.0ms
(fma (cos eps) (cos x) (- (+ (* (sin x) (sin eps)) (cos x))))

series237.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(+ (* (sin x) (sin eps)) (cos x))
44.0ms
(* (sin x) (sin eps))
139.0ms
(fma (cos eps) (cos x) (- (+ (* (sin x) (sin eps)) (cos x))))

simplify77.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 3 (72.0ms)

IterNodesCost
0205378
1645339
22519338
35001336

prune149.0ms

Filtered
54 candidates to 43 candidates (79.6%)
Pruning

17 alts after pruning (16 fresh and 1 done)

PrunedKeptTotal
New52254
Fresh31417
Picked011
Done000
Total551772

Merged error: 13.8b

Counts
72 → 17

regimes199.0ms

Accuracy

85% (1.5b remaining)

Error of 16.0b against oracle of 14.5b and baseline of 24.3b

bsearch114.0ms

Steps
ItersRangePoint
9
7.678987351435402e-30
2.5754526088038613e-20
2.5335197603511498e-20
8
-0.41295360884021565
-1.0220710393840792e-05
-0.00014619102741755152

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03515
14215
24215

end0.0ms

sample2.8s

Algorithm
intervals
Results
1.5s4503×body1280valid
548.0ms631×body2560valid
384.0ms1823×body640valid
101.0ms659×body320valid
35.0ms308×body160valid
4.0ms76×body80valid