Details

Time bar (total: 15.1s)

sample192.0ms

Algorithm
intervals
Results
84.0ms76×body1280valid
45.0ms61×body640valid
21.0ms41×body320valid
11.0ms72×body80valid
2.0msbody160valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07430
118230
265730
3272730
4500130

prune7.0ms

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

Counts
2 → 1

localize38.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

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

series455.0ms

Counts
4 → 10
Calls
4 calls:
274.0ms
(+ (+ 1.0 (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))) (* (/ (- 3.0 (sqrt 5.0)) 2.0) (cos y)))
109.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
71.0ms
(- (cos x) (cos y))

simplify55.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0590866
12155808
25001808

prune942.0ms

Filtered
86 candidates to 61 candidates (29.1%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New721486
Fresh000
Picked101
Done000
Total731487

Merged error: 0.2b

Counts
87 → 14

localize33.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

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

series443.0ms

Counts
4 → 10
Calls
4 calls:
109.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
271.0ms
(+ (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x)) (* (/ (- 3.0 (sqrt 5.0)) 2.0) (cos y)))
0.0ms
(- 3.0 (sqrt 5.0))
63.0ms
(- (cos x) (cos y))

simplify50.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0500732
11775673
25002670

prune889.0ms

Filtered
83 candidates to 59 candidates (28.9%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New79483
Fresh21113
Picked101
Done000
Total821597

Merged error: 0.2b

Counts
97 → 15

localize36.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ 2.0 (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))) (* 3.0 (+ 1.0 (+ (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x)) (* (/ (/ (+ (* 3.0 3.0) (neg 5.0)) (+ 3.0 (sqrt 5.0))) 2.0) (cos y))))))
0.4b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.5b
(+ (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x)) (* (/ (/ (+ (* 3.0 3.0) (neg 5.0)) (+ 3.0 (sqrt 5.0))) 2.0) (cos y)))
2.1b
(- (cos x) (cos y))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
13×*-un-lft-identity
11×add-exp-log add-cbrt-cube
add-cube-cbrt
add-log-exp
pow1 associate-*r* associate-*l*
times-frac associate-*r/ sqrt-prod
sub-neg flip3-+ flip-+ associate-/l* difference-of-squares
cbrt-undiv distribute-rgt-in flip3-- distribute-lft-in div-exp associate-*l/ prod-exp associate-/r/ flip-- cbrt-unprod associate-/l/ distribute-lft-out-- unswap-sqr
+-commutative frac-2neg diff-log pow-prod-down frac-add clear-num associate-/r* sum-log *-commutative div-inv diff-cos
Counts
4 → 83
Calls
4 calls:
17.0ms
(/ (+ 2.0 (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))) (* 3.0 (+ 1.0 (+ (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x)) (* (/ (/ (+ (* 3.0 3.0) (neg 5.0)) (+ 3.0 (sqrt 5.0))) 2.0) (cos y))))))
11.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
10.0ms
(+ (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x)) (* (/ (/ (+ (* 3.0 3.0) (neg 5.0)) (+ 3.0 (sqrt 5.0))) 2.0) (cos y)))
4.0ms
(- (cos x) (cos y))

series2.6s

Counts
4 → 12
Calls
4 calls:
2.1s
(/ (+ 2.0 (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))) (* 3.0 (+ 1.0 (+ (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x)) (* (/ (/ (+ (* 3.0 3.0) (neg 5.0)) (+ 3.0 (sqrt 5.0))) 2.0) (cos y))))))
108.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
310.0ms
(+ (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x)) (* (/ (/ (+ (* 3.0 3.0) (neg 5.0)) (+ 3.0 (sqrt 5.0))) 2.0) (cos y)))
68.0ms
(- (cos x) (cos y))

simplify95.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08652048
137451807
250011807

prune999.0ms

Filtered
95 candidates to 70 candidates (26.3%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New87895
Fresh9514
Picked101
Done000
Total9713110

Merged error: 0.1b

Counts
110 → 13

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)))
0.5b
(+ (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x)) (* (/ (/ (+ (* 3.0 3.0) (neg 5.0)) (+ 3.0 (sqrt 5.0))) 2.0) (cos y)))
2.1b
(- (cos x) (cos y))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
28×*-un-lft-identity associate-*l*
20×times-frac
18×add-cube-cbrt
11×add-exp-log add-cbrt-cube
associate-*r* difference-of-squares
pow1 add-log-exp
sqrt-prod
distribute-lft-out--
unswap-sqr
sub-neg associate-*l/ prod-exp cbrt-unprod
distribute-rgt-in flip3-- distribute-lft-in associate-*r/ pow-prod-down *-commutative flip--
cbrt-undiv +-commutative flip3-+ diff-log div-exp frac-add sum-log flip-+ div-inv diff-cos
Counts
4 → 99
Calls
4 calls:
10.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
13.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
10.0ms
(+ (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x)) (* (/ (/ (+ (* 3.0 3.0) (neg 5.0)) (+ 3.0 (sqrt 5.0))) 2.0) (cos y)))
4.0ms
(- (cos x) (cos y))

series595.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
107.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
307.0ms
(+ (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x)) (* (/ (/ (+ (* 3.0 3.0) (neg 5.0)) (+ 3.0 (sqrt 5.0))) 2.0) (cos y)))
68.0ms
(- (cos x) (cos y))

simplify66.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
06391043
12449963
25001963

prune1.2s

Filtered
111 candidates to 78 candidates (29.7%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1083111
Fresh3912
Picked101
Done000
Total11212124

Merged error: 0.1b

Counts
124 → 12

regimes288.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04836
14836

end0.0ms

sample5.9s

Algorithm
intervals
Results
3.2s2742×body1280valid
1.4s1803×body640valid
393.0ms757×body320valid
388.0ms2356×body80valid
323.0ms342×body160valid

Profiling

Loading profile data...