Details

Time bar (total: 13.4s)

sample216.0ms

Algorithm
intervals
Results
124.0ms103×body1280valid
43.0ms57×body640valid
13.0ms24×body320valid
10.0ms62×body80valid
4.0ms10×body160valid

simplify57.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 (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

localize31.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.5b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
1.0b
(- 3.0 (sqrt 5.0))
1.6b
(- (cos x) (cos y))

rewrite32.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))
4.0ms
(- (cos x) (cos y))

series1.5s

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

simplify90.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
08521769
135601553
250021553

prune538.0ms

Filtered
98 candidates to 70 candidates (71.4%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New861298
Fresh000
Picked101
Done000
Total871299

Merged error: 0.0b

Counts
99 → 12

localize36.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

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

series269.0ms

Counts
4 → 10
Calls
4 calls:
129.0ms
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
86.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
54.0ms
(- (cos x) (cos y))

simplify64.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05871081
12535989
25003989

prune524.0ms

Filtered
104 candidates to 70 candidates (67.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New1031104
Fresh01111
Picked101
Done000
Total10412116

Merged error: 0.0b

Counts
116 → 12

localize36.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.6b
(pow (- (cos x) (cos y)) 3)
1.0b
(- 3.0 (sqrt 5.0))
1.6b
(- (cos x) (cos y))

rewrite29.0ms

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

series212.0ms

Counts
4 → 10
Calls
4 calls:
88.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
68.0ms
(pow (- (cos x) (cos y)) 3)
0.0ms
(- 3.0 (sqrt 5.0))
56.0ms
(- (cos x) (cos y))

simplify52.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0479704
11793654
25002650

prune694.0ms

Filtered
102 candidates to 64 candidates (62.7%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1020102
Fresh01111
Picked011
Done000
Total10212114

Merged error: 0.0b

Counts
114 → 12

localize40.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
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.5b
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
1.6b
(- (cos x) (cos y))

rewrite47.0ms

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

series1.9s

Counts
4 → 12
Calls
4 calls:
134.0ms
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
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 3.0) (neg 5.0)) (+ 3.0 (sqrt 5.0))) 2.0) (cos y)))))
84.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
53.0ms
(- (cos x) (cos y))

simplify45.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
010752447
150012151

prune576.0ms

Filtered
118 candidates to 83 candidates (70.3%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New1153118
Fresh3710
Picked011
Done011
Total11812130

Merged error: 0.0b

Counts
130 → 12

regimes376.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
04332
14332

end0.0ms

sample6.0s

Algorithm
intervals
Results
3.3s2693×body1280valid
1.5s1849×body640valid
463.0ms833×body320valid
399.0ms2275×body80valid
131.0ms350×body160valid

Profiling

Loading profile data...