Details

Time bar (total: 10.6s)

sample191.0ms

Algorithm
intervals
Results
97.0ms86×body1280valid
36.0ms50×body640valid
18.0ms82×body80valid
13.0ms25×body320valid
4.0ms13×body160valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
07430
118230
265730
3272730
4500130

prune5.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: 0.4b

Counts
2 → 1

localize38.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
0.4b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
1.0b
(- 3.0 (sqrt 5.0))
1.9b
(- (cos x) (cos y))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
16×*-un-lft-identity
12×associate-*r*
11×pow1 add-exp-log add-cbrt-cube
10×associate-*r/
flip3-- flip--
add-cube-cbrt add-log-exp
associate-*l* difference-of-squares
sub-neg
sqrt-prod
distribute-rgt-in frac-times distribute-lft-in pow-prod-down prod-exp cbrt-unprod distribute-lft-out--
times-frac diff-log associate-*l/ *-commutative unswap-sqr
diff-cos
Counts
4 → 94
Calls
4 calls:
17.0ms
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
11.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
4.0ms
(- 3.0 (sqrt 5.0))
4.0ms
(- (cos x) (cos y))

series358.0ms

Counts
4 → 10
Calls
4 calls:
165.0ms
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
137.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
56.0ms
(- (cos x) (cos y))

simplify66.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
06221094
126431002
250031002

prune513.0ms

Filtered
104 candidates to 70 candidates (67.3%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New968104
Fresh000
Picked101
Done000
Total978105

Merged error: 0.3b

Counts
105 → 8

localize36.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
0.4b
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
0.4b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
1.9b
(- (cos x) (cos y))

rewrite228.0ms

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt
31×*-un-lft-identity
29×associate-*l*
21×times-frac
19×add-cube-cbrt
16×add-exp-log add-cbrt-cube
15×associate-*r*
13×pow1
11×difference-of-squares
10×associate-*r/
flip3-- flip--
sqrt-prod
prod-exp cbrt-unprod distribute-lft-out-- add-log-exp
sub-neg pow-prod-down
distribute-rgt-in frac-times distribute-lft-in unswap-sqr
associate-*l/ *-commutative
cbrt-undiv diff-log div-exp div-inv diff-cos
Counts
4 → 120
Calls
4 calls:
10.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
198.0ms
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
11.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
5.0ms
(- (cos x) (cos y))

series364.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
132.0ms
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
88.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
56.0ms
(- (cos x) (cos y))

simplify121.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
07511321
132821206
250011206

prune725.0ms

Filtered
132 candidates to 89 candidates (67.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1275132
Fresh437
Picked101
Done000
Total1328140

Merged error: 0.2b

Counts
140 → 8

localize42.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
0.4b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.5b
(+ (cos x) (cos y))
2.0b
(- (* (cos x) (cos x)) (* (cos y) (cos y)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
14×*-un-lft-identity
12×associate-*r*
11×pow1 add-exp-log add-cbrt-cube
10×associate-*r/
add-cube-cbrt flip3-- flip-- add-log-exp
associate-*l*
sub-neg difference-of-squares
distribute-rgt-in frac-times distribute-lft-in pow-prod-down prod-exp sqrt-prod cos-mult cbrt-unprod
sqr-cos times-frac associate-*l/ *-commutative distribute-lft-out-- unswap-sqr
+-commutative flip3-+ sum-cos diff-log associate--l+ sum-log frac-sub flip-+ distribute-lft-out associate--r+ sub-div
Counts
4 → 94
Calls
4 calls:
17.0ms
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
11.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
4.0ms
(+ (cos x) (cos y))
5.0ms
(- (* (cos x) (cos x)) (* (cos y) (cos y)))

series336.0ms

Counts
4 → 12
Calls
4 calls:
134.0ms
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
87.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
41.0ms
(+ (cos x) (cos y))
74.0ms
(- (* (cos x) (cos x)) (* (cos y) (cos y)))

simplify77.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
06591167
129381043
250021039

prune673.0ms

Filtered
106 candidates to 75 candidates (70.8%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1060106
Fresh077
Picked011
Done000
Total1068114

Merged error: 0.2b

Counts
114 → 8

localize41.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
1.0b
(- 3.0 (sqrt 5.0))
1.9b
(- (cos x) (cos y))
3.9b
(log (exp (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
14×*-un-lft-identity
add-log-exp
add-cube-cbrt
pow1 log-prod
add-exp-log sub-neg associate-*r* associate-*l* add-cbrt-cube
sqrt-prod difference-of-squares
distribute-rgt-in distribute-lft-in exp-sum
flip3-- log-pow flip-- distribute-lft-out--
diff-log associate-*r/ unswap-sqr
exp-prod exp-to-pow times-frac rem-log-exp pow-prod-down prod-exp *-commutative cbrt-unprod diff-cos
Counts
4 → 79
Calls
4 calls:
11.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
4.0ms
(- 3.0 (sqrt 5.0))
4.0ms
(- (cos x) (cos y))
3.0ms
(log (exp (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))))

series235.0ms

Counts
4 → 10
Calls
4 calls:
88.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
56.0ms
(- (cos x) (cos y))
91.0ms
(log (exp (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))))

simplify118.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0356646
11089595
24622589
35002589

prune413.0ms

Filtered
89 candidates to 61 candidates (68.5%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New86389
Fresh066
Picked101
Done011
Total871097

Merged error: 0.2b

Counts
97 → 10

regimes177.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05242
15242

end0.0ms

sample5.7s

Algorithm
intervals
Results
3.2s2767×body1280valid
1.4s1833×body640valid
414.0ms761×body320valid
367.0ms2286×body80valid
120.0ms353×body160valid

Profiling

Loading profile data...