Details

Time bar (total: 0.0hr)

sample0.0hr

Algorithm
intervals
Results
0.0hr136×body1280valid
0.0hr17×body2560valid
0.0hr61×body640valid
0.0hr25×body320valid
0.0hr14×body160valid
0.0hrbody80valid

simplify0.0hr

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (0.0hr)

IterNodesCost
094
1104
2104

prune0.0hr

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 36.1b

Counts
2 → 1

localize0.0hr

Local error

Found 2 expressions with local error:

0.6b
(- (cos (+ x eps)) (cos x))
4.8b
(cos (+ x eps))

rewrite0.0hr

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt cos-sum add-cbrt-cube
associate--l- sub-neg flip3-- diff-log flip-- diff-cos distribute-lft-out-- difference-of-squares
Counts
2 → 24
Calls
2 calls:
0.0hr
(- (cos (+ x eps)) (cos x))
0.0hr
(cos (+ x eps))

series0.0hr

Counts
2 → 6
Calls
2 calls:
0.0hr
(- (cos (+ x eps)) (cos x))
0.0hr
(cos (+ x eps))

simplify0.0hr

Algorithm
egg-herbie
Counts
30 → 30
Iterations

Useful iterations: 2 (0.0hr)

IterNodesCost
0134176
1281167
2840164
32958164
45002164

prune0.0hr

Filtered
30 candidates to 23 candidates (23.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New21930
Fresh000
Picked101
Done000
Total22931

Merged error: 14.6b

Counts
31 → 9

localize0.0hr

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

rewrite0.0hr

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
11×add-log-exp
10×*-un-lft-identity
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
associate-*r* associate-*l*
diff-log
sub-neg cos-mult sin-mult
flip3-- pow-prod-down prod-exp associate--l+ *-commutative flip-- cbrt-unprod unswap-sqr
associate--l- frac-sub distribute-lft-out-- sub-div difference-of-squares
Counts
4 → 70
Calls
4 calls:
0.0hr
(* (cos x) (cos eps))
0.0hr
(- (* (cos x) (cos eps)) (* (sin x) (sin eps)))
0.0hr
(* (sin x) (sin eps))
0.0hr
(- (- (* (cos x) (cos eps)) (* (sin x) (sin eps))) (cos x))

series0.0hr

Counts
4 → 12
Calls
4 calls:
0.0hr
(* (cos x) (cos eps))
0.0hr
(- (* (cos x) (cos eps)) (* (sin x) (sin eps)))
0.0hr
(* (sin x) (sin eps))
0.0hr
(- (- (* (cos x) (cos eps)) (* (sin x) (sin eps))) (cos x))

simplify0.0hr

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (0.0hr)

IterNodesCost
0304632
11061600
24487582
35002582

prune0.0hr

Filtered
82 candidates to 57 candidates (30.5%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New691382
Fresh628
Picked101
Done000
Total761591

Merged error: 14.6b

Counts
91 → 15

localize0.0hr

Local error

Found 4 expressions with local error:

0.2b
(* (sin x) (sin eps))
0.3b
(pow (* (sin x) (sin eps)) 3)
1.5b
(- (- (* (cos x) (cos eps)) (cbrt (pow (* (sin x) (sin eps)) 3))) (cos x))
26.4b
(cbrt (pow (* (sin x) (sin eps)) 3))

rewrite0.0hr

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt
10×*-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
cbrt-prod add-cube-cbrt
pow-unpow diff-log associate-*r* associate-*l* sin-mult
cube-div cube-mult sub-neg unpow-prod-down pow-pow unpow3 cube-prod pow-prod-down pow-exp prod-exp associate--l+ cbrt-unprod rem-cube-cbrt sqr-pow
associate--l- pow-to-exp cbrt-div flip3-- pow1/3 *-commutative flip-- rem-cbrt-cube distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 78
Calls
4 calls:
0.0hr
(* (sin x) (sin eps))
0.0hr
(pow (* (sin x) (sin eps)) 3)
0.0hr
(- (- (* (cos x) (cos eps)) (cbrt (pow (* (sin x) (sin eps)) 3))) (cos x))
0.0hr
(cbrt (pow (* (sin x) (sin eps)) 3))

series0.0hr

Counts
4 → 12
Calls
4 calls:
0.0hr
(* (sin x) (sin eps))
0.0hr
(pow (* (sin x) (sin eps)) 3)
0.0hr
(- (- (* (cos x) (cos eps)) (cbrt (pow (* (sin x) (sin eps)) 3))) (cos x))
0.0hr
(cbrt (pow (* (sin x) (sin eps)) 3))

simplify0.0hr

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (0.0hr)

IterNodesCost
0293636
11142582
25002567

prune0.0hr

Filtered
90 candidates to 59 candidates (34.4%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New89190
Fresh11314
Picked101
Done000
Total9114105

Merged error: 14.5b

Counts
105 → 14

localize0.0hr

Local error

Found 4 expressions with local error:

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

rewrite0.0hr

Algorithm
rewrite-expression-head
Rules
82×pow1
34×pow-prod-down
30×add-exp-log add-cbrt-cube
23×cos-mult sin-mult
18×add-sqr-sqrt
16×prod-exp cbrt-unprod associate-/l/
15×*-un-lft-identity
13×add-cube-cbrt times-frac
12×associate-*r/ associate-*l/
10×frac-times
frac-sub
pow-sqr pow-prod-up
add-log-exp difference-of-squares
sub-div
pow-plus associate-/l*
associate-/r* associate-/r/
pow2 flip3-- div-sub swap-sqr associate-*r* associate-*l* *-commutative flip--
cbrt-undiv associate--l- sub-neg frac-2neg flip3-+ diff-log div-exp frac-add clear-num flip-+ div-inv distribute-lft-out--
Counts
4 → 141
Calls
4 calls:
0.0hr
(* (* (sin x) (sin eps)) (* (sin x) (sin eps)))
0.0hr
(/ (- (* (* (cos x) (cos eps)) (* (cos x) (cos eps))) (* (* (sin x) (sin eps)) (* (sin x) (sin eps)))) (+ (* (cos x) (cos eps)) (* (sin x) (sin eps))))
0.0hr
(* (* (cos x) (cos eps)) (* (cos x) (cos eps)))
0.0hr
(- (/ (- (* (* (cos x) (cos eps)) (* (cos x) (cos eps))) (* (* (sin x) (sin eps)) (* (sin x) (sin eps)))) (+ (* (cos x) (cos eps)) (* (sin x) (sin eps)))) (cos x))

series0.0hr

Counts
4 → 12
Calls
4 calls:
0.0hr
(* (* (sin x) (sin eps)) (* (sin x) (sin eps)))
0.0hr
(/ (- (* (* (cos x) (cos eps)) (* (cos x) (cos eps))) (* (* (sin x) (sin eps)) (* (sin x) (sin eps)))) (+ (* (cos x) (cos eps)) (* (sin x) (sin eps))))
0.0hr
(* (* (cos x) (cos eps)) (* (cos x) (cos eps)))
0.0hr
(- (/ (- (* (* (cos x) (cos eps)) (* (cos x) (cos eps))) (* (* (sin x) (sin eps)) (* (sin x) (sin eps)))) (+ (* (cos x) (cos eps)) (* (sin x) (sin eps)))) (cos x))

simplify0.0hr

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (0.0hr)

IterNodesCost
06202406
132052128
250022122

prune0.0hr

Filtered
153 candidates to 95 candidates (37.9%)
Pruning

18 alts after pruning (18 fresh and 0 done)

PrunedKeptTotal
New1449153
Fresh4913
Picked101
Done000
Total14918167

Merged error: 14.5b

Counts
167 → 18

regimes0.0hr

Accuracy

79.9% (1.9b remaining)

Error of 16.6b against oracle of 14.6b and baseline of 24.3b

bsearch0.0hr

Steps
ItersRangePoint
6
1.4775731308786106e-05
0.00014293033519397603
1.496850468976921e-05
8
-5.122061173659024e-26
-3.1027681468238543e-30
-5.051304068891255e-26

simplify0.0hr

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0hr)

IterNodesCost
04950
14950

end0.0hr

sample0.0hr

Algorithm
intervals
Results
0.0hr4446×body1280valid
0.0hr659×body2560valid
0.0hr1868×body640valid
0.0hr651×body320valid
0.0hr283×body160valid
0.0hr93×body80valid

Profiling

Loading profile data...