Details

Time bar (total: 9.6s)

sample228.0ms

Algorithm
intervals
Results
115.0ms80×body1280valid
59.0ms59×body640valid
17.0ms82×body80valid
14.0ms23×body320valid
5.0ms12×body160valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07430
118230
265730
3272730
4500130

prune5.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

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)))
1.0b
(- 3.0 (sqrt 5.0))
1.7b
(- (cos x) (cos y))

rewrite32.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:
10.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
11.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
4.0ms
(- 3.0 (sqrt 5.0))
4.0ms
(- (cos x) (cos y))

series34.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0584813
12075753
25001753

prune373.0ms

Filtered
112 candidates to 76 candidates (32.1%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New9913112
Fresh000
Picked101
Done000
Total10013113

Merged error: 0.1b

Counts
113 → 13

localize39.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.4b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
1.7b
(- (cos x) (cos y))

rewrite39.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:
11.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)))))
10.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
10.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
4.0ms
(- (cos x) (cos y))

series286.0ms

Counts
4 → 12
Calls
4 calls:
252.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)))))
7.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
18.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
9.0ms
(- (cos x) (cos y))

simplify108.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
010292159
144041906
250011906

prune473.0ms

Filtered
126 candidates to 89 candidates (29.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1215126
Fresh7512
Picked101
Done000
Total12910139

Merged error: 0.0b

Counts
139 → 10

localize47.0ms

Local error

Found 4 expressions with local error:

0.5b
(pow (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y))) 3)
1.7b
(- (cos x) (cos y))
1.7b
(- (cos x) (cos y))
1.7b
(- (cos x) (cos y))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
30×flip3-- flip--
28×frac-times
26×cube-div associate-*r/
14×pow1 add-exp-log associate-*l/ add-cbrt-cube
11×add-sqr-sqrt *-un-lft-identity
10×add-log-exp
pow-prod-down prod-exp cbrt-unprod
add-cube-cbrt
pow-pow pow-exp rem-cube-cbrt
sub-neg pow-unpow diff-log diff-cos distribute-lft-out-- difference-of-squares
cube-mult pow-to-exp unpow-prod-down unpow3 cube-prod sqr-pow
Counts
4 → 99
Calls
4 calls:
27.0ms
(pow (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y))) 3)
4.0ms
(- (cos x) (cos y))
4.0ms
(- (cos x) (cos y))
4.0ms
(- (cos x) (cos y))

series182.0ms

Counts
4 → 12
Calls
4 calls:
155.0ms
(pow (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y))) 3)
9.0ms
(- (cos x) (cos y))
9.0ms
(- (cos x) (cos y))
9.0ms
(- (cos x) (cos y))

simplify39.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
09841844
150021711

prune639.0ms

Filtered
111 candidates to 83 candidates (25.2%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1101111
Fresh099
Picked101
Done000
Total11110121

Merged error: 0.0b

Counts
121 → 10

localize38.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.7b
(- (cos x) (cos y))
1.9b
(log (exp (- (cos x) (cos y))))

rewrite26.0ms

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

series49.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0413606
11305559
25002558

prune206.0ms

Filtered
92 candidates to 64 candidates (30.4%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New91192
Fresh189
Picked011
Done000
Total9210102

Merged error: 0.0b

Counts
102 → 10

regimes220.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
04030
14030

end0.0ms

sample6.3s

Algorithm
intervals
Results
3.5s2767×body1280valid
1.5s1838×body640valid
426.0ms730×body320valid
407.0ms2322×body80valid
131.0ms343×body160valid

Profiling

Loading profile data...