Details

Time bar (total: 4.7s)

sample87.0ms

Algorithm
intervals
Results
50.0ms150×body1280valid
13.0ms16×body2560valid
11.0ms57×body640valid
3.0ms23×body320valid
1.0msbody160valid
0.0msbody80valid

simplify11.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: 38.7b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.9b
(- (cos (+ x eps)) (cos x))
3.9b
(cos (+ x eps))

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
cos-sum
+-commutative associate--l-
sub-neg flip3-- flip-- diff-cos
Counts
2 → 9
Calls
2 calls:
4.0ms
(- (cos (+ x eps)) (cos x))
3.0ms
(cos (+ x eps))

series67.0ms

Counts
2 → 6
Calls
2 calls:
50.0ms
(- (cos (+ x eps)) (cos x))
16.0ms
(cos (+ x eps))

simplify99.0ms

Algorithm
egg-herbie
Counts
15 → 15
Iterations

Useful iterations: 2 (8.0ms)

IterNodesCost
011291
123791
271588
3249488
4500188

prune45.0ms

Filtered
15 candidates to 9 candidates (60.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New8715
Fresh000
Picked101
Done000
Total9716

Merged error: 15.0b

Counts
16 → 7

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
sub-neg cos-mult sin-mult
flip3-- associate--l+ *-commutative flip--
associate--l- frac-sub sub-div
Counts
4 → 17
Calls
4 calls:
3.0ms
(* (cos x) (cos eps))
7.0ms
(- (* (cos x) (cos eps)) (* (sin x) (sin eps)))
3.0ms
(* (sin x) (sin eps))
9.0ms
(- (- (* (cos x) (cos eps)) (* (sin x) (sin eps))) (cos x))

series313.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (cos x) (cos eps))
86.0ms
(- (* (cos x) (cos eps)) (* (sin x) (sin eps)))
46.0ms
(* (sin x) (sin eps))
136.0ms
(- (- (* (cos x) (cos eps)) (* (sin x) (sin eps))) (cos x))

simplify53.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 3 (50.0ms)

IterNodesCost
0187243
1521242
21783224
35001217

prune81.0ms

Filtered
29 candidates to 17 candidates (58.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New23629
Fresh336
Picked101
Done000
Total27936

Merged error: 14.9b

Counts
36 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
cos-mult
+-commutative flip3-+ *-commutative frac-sub flip-+ associate--r+
sub-neg flip3-- flip-- sin-mult
Counts
4 → 15
Calls
4 calls:
3.0ms
(* (cos x) (cos eps))
5.0ms
(+ (* (sin x) (sin eps)) (cos x))
3.0ms
(* (sin x) (sin eps))
9.0ms
(- (* (cos x) (cos eps)) (+ (* (sin x) (sin eps)) (cos x)))

series286.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(* (cos x) (cos eps))
58.0ms
(+ (* (sin x) (sin eps)) (cos x))
47.0ms
(* (sin x) (sin eps))
140.0ms
(- (* (cos x) (cos eps)) (+ (* (sin x) (sin eps)) (cos x)))

simplify82.0ms

Algorithm
egg-herbie
Counts
27 → 27
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0215272
1687271
22697259
35002259

prune84.0ms

Filtered
27 candidates to 17 candidates (63.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New23427
Fresh358
Picked101
Done000
Total27936

Merged error: 0.2b

Counts
36 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
sub-neg flip3-- flip-- sin-mult
associate--l+ *-commutative frac-sub
associate--l- cos-mult
Counts
4 → 17
Calls
4 calls:
3.0ms
(* (cos x) (cos eps))
7.0ms
(- (- (* (cos x) (cos eps)) (cos x)) (* (sin x) (sin eps)))
3.0ms
(* (sin x) (sin eps))
5.0ms
(- (* (cos x) (cos eps)) (cos x))

series301.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* (cos x) (cos eps))
128.0ms
(- (- (* (cos x) (cos eps)) (cos x)) (* (sin x) (sin eps)))
49.0ms
(* (sin x) (sin eps))
80.0ms
(- (* (cos x) (cos eps)) (cos x))

simplify59.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 3 (55.0ms)

IterNodesCost
0185276
1560270
22232250
35002249

prune62.0ms

Filtered
29 candidates to 18 candidates (62.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New25429
Fresh358
Picked101
Done000
Total29938

Merged error: 0.2b

Counts
38 → 9

regimes114.0ms

Accuracy

92.7% (0.4b remaining)

Error of 0.7b against oracle of 0.3b and baseline of 6.3b

bsearch135.0ms

Steps
ItersRangePoint
11
7.414030703724578e-11
4524963932.878733
1.1486778670333402e-05
8
-0.6319501064166059
-3.810242810899289e-05
-3.893780865416545e-05

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04260
14260

end0.0ms

sample2.7s

Algorithm
intervals
Results
1.5s4530×body1280valid
547.0ms614×body2560valid
366.0ms1800×body640valid
96.0ms697×body320valid
27.0ms284×body160valid
4.0ms75×body80valid