Details

Time bar (total: 11.1s)

sample186.0ms

Algorithm
intervals
Results
91.0ms81×body1280valid
43.0ms53×body640valid
14.0ms28×body320valid
12.0ms80×body80valid
5.0ms14×body160valid

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

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

series1.4s

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

simplify89.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
08521769
135601553
250021553

prune527.0ms

Filtered
98 candidates to 70 candidates (71.4%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New881098
Fresh000
Picked101
Done000
Total891099

Merged error: 0.0b

Counts
99 → 10

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

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

series263.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05871081
12535989
25003989

prune480.0ms

Filtered
104 candidates to 70 candidates (67.3%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New1022104
Fresh189
Picked101
Done000
Total10410114

Merged error: 0.0b

Counts
114 → 10

localize35.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
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)))
2.4b
(- (cos x) (cos y))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
52×add-sqr-sqrt
31×*-un-lft-identity
29×associate-*l*
21×times-frac
19×add-cube-cbrt
16×add-exp-log add-cbrt-cube
15×associate-*r*
13×pow1
11×difference-of-squares
10×associate-*r/
flip3-- flip--
sqrt-prod
prod-exp cbrt-unprod distribute-lft-out-- add-log-exp
sub-neg pow-prod-down
distribute-rgt-in frac-times distribute-lft-in unswap-sqr
associate-*l/ *-commutative
cbrt-undiv diff-log div-exp div-inv diff-cos
Counts
4 → 120
Calls
4 calls:
10.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
19.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
(- (cos x) (cos y))

series372.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))
124.0ms
(* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0)))
87.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
50.0ms
(- (cos x) (cos y))

simplify77.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
07511321
132821206
250011206

prune669.0ms

Filtered
132 candidates to 89 candidates (67.4%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1320132
Fresh099
Picked011
Done000
Total13210142

Merged error: 0.0b

Counts
142 → 10

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

rewrite19.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))
5.0ms
(- (cos x) (cos y))

series162.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0218417
1571391
22054387
35001387

prune346.0ms

Filtered
70 candidates to 50 candidates (71.4%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New70070
Fresh088
Picked011
Done011
Total701080

Merged error: 0.0b

Counts
80 → 10

regimes248.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04634
14634

end0.0ms

sample5.9s

Algorithm
intervals
Results
3.4s2778×body1280valid
1.4s1825×body640valid
399.0ms753×body320valid
376.0ms2342×body80valid
108.0ms302×body160valid