Details

Time bar (total: 10.2s)

sample231.0ms

Algorithm
intervals
Results
129.0ms97×body1280valid
53.0ms61×body640valid
15.0ms24×body320valid
12.0ms59×body80valid
6.0ms15×body160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (13.0ms)

IterNodesCost
0518050

prune20.0ms

Filtered
1 candidates to 1 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 → 2

localize35.0ms

Local error

Found 4 expressions with local error:

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

rewrite61.0ms

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

series87.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 0 (20.0ms)

IterNodesCost
055472964

prune461.0ms

Filtered
82 candidates to 118 candidates (-43.9%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New10315118
Fresh101
Picked101
Done000
Total10515120

Merged error: 0.2b

Counts
120 → 15

localize41.0ms

Local error

Found 4 expressions with local error:

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

rewrite71.0ms

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

series104.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y)))
41.0ms
(* (sqrt 2.0) (* (- (sin x) (/ (sin y) 16.0)) (* (- (sin y) (/ (sin x) 16.0)) (- (cos x) (cos y)))))
28.0ms
(+ (* (cos x) (/ (- (sqrt 5.0) 1.0) 2.0)) (* (cos y) (/ (/ (- (* 3.0 3.0) 5.0) (+ 3.0 (sqrt 5.0))) 2.0)))
15.0ms
(- (cos x) (cos y))

simplify52.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
049993640
149993640

prune553.0ms

Filtered
100 candidates to 141 candidates (-41.0%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1365141
Fresh6814
Picked101
Done000
Total14313156

Merged error: 0.1b

Counts
156 → 13

localize45.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.5b
(+ (* (cos x) (/ (- (sqrt 5.0) 1.0) 2.0)) (* (cos y) (/ (/ (- (* 3.0 3.0) 5.0) (+ 3.0 (sqrt 5.0))) 2.0)))
1.9b
(- (cos x) (cos y))
3.4b
(log (pow (pow (exp (- (cos x) (cos y))) (- (sin y) (/ (sin x) 16.0))) (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×log-prod
16×unpow-prod-down
14×*-un-lft-identity
10×add-cube-cbrt
add-exp-log add-log-exp
sub-neg
pow1 unpow-prod-up associate-*r* associate-*l* add-cbrt-cube
rem-log-exp
distribute-rgt-in distribute-lft-in associate-*r/ pow-exp sqrt-prod
difference-of-squares
pow-to-exp flip3-- exp-sum flip-- distribute-lft-out-- unswap-sqr sqr-pow
+-commutative flip3-+ times-frac diff-log pow-prod-down frac-add prod-exp sum-log log-pow *-commutative cbrt-unprod flip-+ diff-cos
Counts
4 → 90
Calls
4 calls:
13.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
14.0ms
(+ (* (cos x) (/ (- (sqrt 5.0) 1.0) 2.0)) (* (cos y) (/ (/ (- (* 3.0 3.0) 5.0) (+ 3.0 (sqrt 5.0))) 2.0)))
6.0ms
(- (cos x) (cos y))
12.0ms
(log (pow (pow (exp (- (cos x) (cos y))) (- (sin y) (/ (sin x) 16.0))) (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))))

series144.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
28.0ms
(+ (* (cos x) (/ (- (sqrt 5.0) 1.0) 2.0)) (* (cos y) (/ (/ (- (* 3.0 3.0) 5.0) (+ 3.0 (sqrt 5.0))) 2.0)))
10.0ms
(- (cos x) (cos y))
91.0ms
(log (pow (pow (exp (- (cos x) (cos y))) (- (sin y) (/ (sin x) 16.0))) (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))))

simplify41.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
050272190

prune457.0ms

Filtered
71 candidates to 102 candidates (-43.7%)
Pruning

15 alts after pruning (15 fresh and 0 done)

PrunedKeptTotal
New966102
Fresh3912
Picked101
Done000
Total10015115

Merged error: 0.1b

Counts
115 → 15

localize51.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (- (sin x) (/ (sin y) 16.0)) (sqrt (sqrt 2.0)))
0.5b
(+ (* (cos x) (/ (- (sqrt 5.0) 1.0) 2.0)) (* (cos y) (/ (/ (- (* 3.0 3.0) 5.0) (+ 3.0 (sqrt 5.0))) 2.0)))
1.9b
(- (cos x) (cos y))
3.4b
(log (pow (pow (exp (- (cos x) (cos y))) (- (sin y) (/ (sin x) 16.0))) (* (sqrt (sqrt 2.0)) (* (- (sin x) (/ (sin y) 16.0)) (sqrt (sqrt 2.0))))))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
16×unpow-prod-down
15×log-prod *-un-lft-identity
12×sqrt-prod
11×add-cube-cbrt
associate-*r*
add-exp-log add-log-exp
pow1 associate-*l* add-cbrt-cube
rem-log-exp
pow-exp
sub-neg difference-of-squares unswap-sqr
unpow-prod-up pow-to-exp flip3-- associate-*r/ exp-sum associate-*l/ flip-- distribute-lft-out-- sqr-pow
+-commutative flip3-+ times-frac diff-log pow-prod-down frac-add prod-exp sum-log log-pow *-commutative cbrt-unprod flip-+ diff-cos
Counts
4 → 86
Calls
4 calls:
14.0ms
(* (- (sin x) (/ (sin y) 16.0)) (sqrt (sqrt 2.0)))
11.0ms
(+ (* (cos x) (/ (- (sqrt 5.0) 1.0) 2.0)) (* (cos y) (/ (/ (- (* 3.0 3.0) 5.0) (+ 3.0 (sqrt 5.0))) 2.0)))
6.0ms
(- (cos x) (cos y))
12.0ms
(log (pow (pow (exp (- (cos x) (cos y))) (- (sin y) (/ (sin x) 16.0))) (* (sqrt (sqrt 2.0)) (* (- (sin x) (/ (sin y) 16.0)) (sqrt (sqrt 2.0))))))

series149.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (- (sin x) (/ (sin y) 16.0)) (sqrt (sqrt 2.0)))
28.0ms
(+ (* (cos x) (/ (- (sqrt 5.0) 1.0) 2.0)) (* (cos y) (/ (/ (- (* 3.0 3.0) 5.0) (+ 3.0 (sqrt 5.0))) 2.0)))
10.0ms
(- (cos x) (cos y))
92.0ms
(log (pow (pow (exp (- (cos x) (cos y))) (- (sin y) (/ (sin x) 16.0))) (* (sqrt (sqrt 2.0)) (* (- (sin x) (/ (sin y) 16.0)) (sqrt (sqrt 2.0))))))

simplify27.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (15.0ms)

IterNodesCost
051882067

prune384.0ms

Filtered
70 candidates to 98 candidates (-40.0%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New97198
Fresh21214
Picked011
Done000
Total9914113

Merged error: 0.1b

Counts
113 → 14

regimes299.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
04863
14863

end0.0ms

sample6.7s

Algorithm
intervals
Results
3.6s2784×body1280valid
1.6s1838×body640valid
485.0ms748×body320valid
473.0ms2296×body80valid
138.0ms334×body160valid

Profiling

Loading profile data...