Details

Time bar (total: 11.3s)

sample196.0ms

Algorithm
intervals
Results
85.0ms74×body1280valid
46.0ms62×body640valid
13.0ms85×body80valid
12.0ms23×body320valid
4.0ms12×body160valid

simplify52.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07430
118230
265730
3272730
4500130

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

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

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

series262.0ms

Counts
4 → 10
Calls
4 calls:
240.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)))))
12.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
9.0ms
(- (cos x) (cos y))

simplify91.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
08521769
135601553
250021553

prune1.1s

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

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

rewrite25.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:
10.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)))

series34.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0457636
11591568
25001563

prune1.2s

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

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

series30.0ms

Counts
4 → 10
Calls
4 calls:
0.0ms
(- 3.0 (sqrt 5.0))
13.0ms
(- (cos x) (cos y))
8.0ms
(- (cos x) (cos y))
9.0ms
(- (cos x) (cos y))

simplify54.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0218417
1571391
22054387
35001387

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

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

rewrite34.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))))
9.0ms
(- (+ (* 0.5 (* (sqrt 5.0) (cos x))) 1.0) (* 0.5 (+ (cos x) (* (sqrt 5.0) (cos y)))))

series63.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(* (sqrt 2.0) (* (sin y) (sin x)))
6.0ms
(+ (* 0.5 (* (sqrt 5.0) (cos x))) 1.0)
19.0ms
(* (sqrt 2.0) (* (sin y) (* (sin x) (cos x))))
26.0ms
(- (+ (* 0.5 (* (sqrt 5.0) (cos x))) 1.0) (* 0.5 (+ (cos x) (* (sqrt 5.0) (cos y)))))

simplify68.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05931105
124821001
25002998

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

regimes608.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.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
402.0ms761×body320valid
370.0ms2325×body80valid
125.0ms333×body160valid

Profiling

Loading profile data...