Details

Time bar (total: 9.4s)

sample234.0ms

Algorithm
intervals
Results
114.0ms80×body1280valid
55.0ms59×body640valid
17.0ms82×body80valid
15.0ms23×body320valid
6.0ms12×body160valid

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
07430
118230
265730
3272730
4500130

prune5.0ms

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

series28.0ms

Counts
4 → 10
Calls
4 calls:
7.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))
9.0ms
(- (cos x) (cos y))

simplify54.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0584813
12075753
25001753

prune365.0ms

Filtered
76 candidates to 112 candidates (-47.4%)
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))

series300.0ms

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

simplify103.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
010292159
144041906
250011906

prune468.0ms

Filtered
89 candidates to 126 candidates (-41.6%)
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))

rewrite46.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:
30.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))

series177.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
09841844
150021711

prune690.0ms

Filtered
83 candidates to 111 candidates (-33.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1101111
Fresh099
Picked101
Done000
Total11110121

Merged error: 0.0b

Counts
121 → 10

localize37.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))))

rewrite28.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:
11.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
4.0ms
(- 3.0 (sqrt 5.0))
6.0ms
(- (cos x) (cos y))
5.0ms
(log (exp (- (cos x) (cos y))))

series30.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0413606
11305559
25002558

prune199.0ms

Filtered
64 candidates to 92 candidates (-43.8%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New91192
Fresh189
Picked011
Done000
Total9210102

Merged error: 0.0b

Counts
102 → 10

regimes196.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04030
14030

end0.0ms

sample6.1s

Algorithm
intervals
Results
3.4s2767×body1280valid
1.5s1838×body640valid
417.0ms730×body320valid
406.0ms2322×body80valid
126.0ms343×body160valid

Profiling

Loading profile data...