Details

Time bar (total: 14.7s)

sample207.0ms

Algorithm
intervals
Results
117.0ms99×body1280valid
41.0ms50×body640valid
14.0ms25×body320valid
11.0ms69×body80valid
5.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.5b

Counts
2 → 1

localize32.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

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

series273.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
0584813
12075753
25001753

prune575.0ms

Filtered
112 candidates to 76 candidates (67.9%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New10210112
Fresh000
Picked101
Done000
Total10310113

Merged error: 0.2b

Counts
113 → 10

localize42.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.3b
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
0.5b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.9b
(- (cos x) (cos y))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
30×*-un-lft-identity
28×associate-*l*
23×times-frac
20×add-cube-cbrt
16×add-exp-log add-cbrt-cube
associate-*r* difference-of-squares
pow1
sqrt-prod
associate-*r/ add-log-exp
distribute-lft-out--
prod-exp associate-/r/ cbrt-unprod unswap-sqr
cbrt-undiv sub-neg flip3-+ div-exp associate-*l/ flip-+ associate-/l*
distribute-rgt-in flip3-- distribute-lft-in pow-prod-down frac-add *-commutative flip-- div-inv associate-/l/
frac-2neg diff-log clear-num associate-/r* diff-cos
Counts
4 → 114
Calls
4 calls:
14.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)))))
20.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
21.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
13.0ms
(- (cos x) (cos y))

series1.9s

Counts
4 → 12
Calls
4 calls:
1.7s
(/ (+ 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)))))
90.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
89.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
57.0ms
(- (cos x) (cos y))

simplify110.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
010292159
144041906
250011906

prune738.0ms

Filtered
126 candidates to 89 candidates (70.6%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1197126
Fresh459
Picked101
Done000
Total12412136

Merged error: 0.0b

Counts
136 → 12

localize44.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)))) (/ 1 (* 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.3b
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
0.5b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.9b
(- (cos x) (cos y))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
51×add-sqr-sqrt
31×*-un-lft-identity associate-*l*
30×add-exp-log
23×times-frac
21×add-cube-cbrt
20×associate-*r* add-cbrt-cube
13×prod-exp
10×pow1
difference-of-squares
associate-*r/ sqrt-prod cbrt-unprod
add-log-exp
div-exp associate-*l/ distribute-lft-out-- unswap-sqr
flip3-+ associate-/r/ flip-+
cbrt-undiv sub-neg pow-prod-down *-commutative
distribute-rgt-in frac-times rec-exp flip3-- distribute-lft-in 1-exp frac-add flip-- div-inv
diff-log un-div-inv diff-cos
Counts
4 → 127
Calls
4 calls:
13.0ms
(* (+ 2.0 (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))) (/ 1 (* 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))))))
10.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
11.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
5.0ms
(- (cos x) (cos y))

series2.2s

Counts
4 → 12
Calls
4 calls:
1.9s
(* (+ 2.0 (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))) (/ 1 (* 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))))))
91.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
92.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
59.0ms
(- (cos x) (cos y))

simplify48.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
011442644
150022311

prune782.0ms

Filtered
139 candidates to 93 candidates (66.9%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New1372139
Fresh01111
Picked101
Done000
Total13813151

Merged error: 0.0b

Counts
151 → 13

localize55.0ms

Local error

Found 4 expressions with local error:

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

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt
40×associate-*l*
32×*-un-lft-identity
24×sqrt-prod
22×add-cube-cbrt
20×times-frac
16×add-exp-log add-cbrt-cube
13×pow1
10×distribute-rgt-in distribute-lft-in associate-*r*
difference-of-squares
sub-neg
associate-*r/ prod-exp cbrt-unprod add-log-exp
pow-prod-down distribute-lft-out-- unswap-sqr
flip3-- *-commutative flip--
cbrt-undiv diff-log div-exp associate-*l/ div-inv diff-cos
Counts
4 → 125
Calls
4 calls:
13.0ms
(* (sqrt (sqrt 2.0)) (- (sin x) (/ (sin y) 16.0)))
14.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
15.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (- (sin x) (/ (sin y) 16.0))))
4.0ms
(- (cos x) (cos y))

series361.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(* (sqrt (sqrt 2.0)) (- (sin x) (/ (sin y) 16.0)))
90.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
98.0ms
(* (sqrt (sqrt 2.0)) (* (sqrt (sqrt 2.0)) (- (sin x) (/ (sin y) 16.0))))
52.0ms
(- (cos x) (cos y))

simplify66.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05941170
122051054
250011052

prune713.0ms

Filtered
137 candidates to 89 candidates (65.0%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1370137
Fresh01212
Picked011
Done000
Total13713150

Merged error: 0.0b

Counts
150 → 13

regimes225.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05539
15539

end0.0ms

sample6.0s

Algorithm
intervals
Results
3.4s2762×body1280valid
1.5s1873×body640valid
437.0ms773×body320valid
394.0ms2265×body80valid
122.0ms327×body160valid

Profiling

Loading profile data...