Details

Time bar (total: 13.9s)

sample203.0ms

Algorithm
intervals
Results
90.0ms74×body1280valid
52.0ms62×body640valid
15.0ms85×body80valid
14.0ms23×body320valid
5.0ms12×body160valid

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

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 (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.4b
(- (cos x) (cos y))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
15×*-un-lft-identity
11×add-exp-log add-cbrt-cube
add-cube-cbrt
add-log-exp
pow1 associate-*r/ associate-*r* associate-*l*
sqrt-prod difference-of-squares
sub-neg times-frac associate-/r/
flip3-- flip3-+ flip-- flip-+ associate-/l* distribute-lft-out--
cbrt-undiv distribute-rgt-in distribute-lft-in diff-log div-exp associate-*l/ frac-add prod-exp cbrt-unprod associate-/l/ unswap-sqr
frac-2neg pow-prod-down clear-num associate-/r* *-commutative div-inv diff-cos
Counts
4 → 88
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 (sqrt 5.0)) 2.0) (cos y)))))
15.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
4.0ms
(- 3.0 (sqrt 5.0))
5.0ms
(- (cos x) (cos y))

series1.8s

Counts
4 → 10
Calls
4 calls:
1.6s
(/ (+ 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 (sqrt 5.0)) 2.0) (cos y)))))
111.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
92.0ms
(- (cos x) (cos y))

simplify89.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
08521769
135601553
250021553

prune1.3s

Filtered
98 candidates to 70 candidates (28.6%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New871198
Fresh000
Picked101
Done000
Total881199

Merged error: 0.0b

Counts
99 → 11

localize40.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
20×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 cos-mult
flip3-- flip--
distribute-rgt-in sqr-cos distribute-lft-in diff-log associate-*r/ distribute-lft-out-- unswap-sqr
+-commutative flip3-+ times-frac sum-cos pow-prod-down prod-exp associate--l+ sum-log *-commutative frac-sub cbrt-unprod flip-+ distribute-lft-out associate--r+ sub-div
Counts
4 → 76
Calls
4 calls:
12.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
4.0ms
(+ (cos x) (cos y))
4.0ms
(- 3.0 (sqrt 5.0))
5.0ms
(- (* (cos x) (cos x)) (* (cos y) (cos y)))

series250.0ms

Counts
4 → 10
Calls
4 calls:
115.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
47.0ms
(+ (cos x) (cos y))
0.0ms
(- 3.0 (sqrt 5.0))
87.0ms
(- (* (cos x) (cos x)) (* (cos y) (cos y)))

simplify46.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0457636
11591568
25001563

prune963.0ms

Filtered
86 candidates to 62 candidates (27.9%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New86086
Fresh01010
Picked011
Done000
Total861197

Merged error: 0.0b

Counts
97 → 11

localize46.0ms

Local error

Found 4 expressions with local error:

1.0b
(- 3.0 (sqrt 5.0))
2.4b
(- (cos x) (cos y))
2.4b
(- (cos x) (cos y))
2.4b
(- (cos x) (cos y))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
12×*-un-lft-identity add-log-exp
difference-of-squares
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out--
diff-cos
sqrt-prod
Counts
4 → 60
Calls
4 calls:
4.0ms
(- 3.0 (sqrt 5.0))
4.0ms
(- (cos x) (cos y))
4.0ms
(- (cos x) (cos y))
4.0ms
(- (cos x) (cos y))

series206.0ms

Counts
4 → 10
Calls
4 calls:
0.0ms
(- 3.0 (sqrt 5.0))
66.0ms
(- (cos x) (cos y))
70.0ms
(- (cos x) (cos y))
70.0ms
(- (cos x) (cos y))

simplify57.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0218417
1571391
22054387
35001387

prune461.0ms

Filtered
70 candidates to 50 candidates (28.6%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New69170
Fresh099
Picked101
Done011
Total701181

Merged error: 0.0b

Counts
81 → 11

localize67.0ms

Local error

Found 4 expressions with local error:

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

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
18×pow1 add-exp-log add-cbrt-cube
12×associate-*l*
11×add-log-exp
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
associate-*r/
sqrt-prod
flip3-+ flip-+
frac-sub
diff-log associate-*r* sum-log *-commutative associate--r+
+-commutative distribute-rgt-in sub-neg flip3-- distribute-lft-in associate--l+ sin-cos-mult flip-- sin-mult
Counts
4 → 78
Calls
4 calls:
7.0ms
(* (sqrt 2.0) (* (sin y) (sin x)))
6.0ms
(+ (* 0.5 (* (sqrt 5.0) (cos x))) 1.0)
10.0ms
(* (sqrt 2.0) (* (sin y) (* (sin x) (cos x))))
10.0ms
(- (+ (* 0.5 (* (sqrt 5.0) (cos x))) 1.0) (* 0.5 (+ (cos x) (* (sqrt 5.0) (cos y)))))

series585.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(* (sqrt 2.0) (* (sin y) (sin x)))
100.0ms
(+ (* 0.5 (* (sqrt 5.0) (cos x))) 1.0)
146.0ms
(* (sqrt 2.0) (* (sin y) (* (sin x) (cos x))))
236.0ms
(- (+ (* 0.5 (* (sqrt 5.0) (cos x))) 1.0) (* 0.5 (+ (cos x) (* (sqrt 5.0) (cos y)))))

simplify72.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05931105
124821001
25002998

prune872.0ms

Filtered
90 candidates to 59 candidates (34.4%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New88290
Fresh099
Picked011
Done011
Total8813101

Merged error: 0.0b

Counts
101 → 13

regimes601.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04638
14638

end0.0ms

sample5.9s

Algorithm
intervals
Results
3.3s2769×body1280valid
1.4s1812×body640valid
411.0ms761×body320valid
379.0ms2325×body80valid
127.0ms333×body160valid

Profiling

Loading profile data...