Details

Time bar (total: 12.4s)

sample177.0ms

Algorithm
intervals
Results
88.0ms84×body1280valid
38.0ms58×body640valid
19.0ms30×body320valid
10.0ms74×body80valid
3.0ms10×body160valid

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

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

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

rewrite60.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:
23.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)))))
28.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
3.0ms
(- 3.0 (sqrt 5.0))
3.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)))))
89.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
56.0ms
(- (cos x) (cos y))

simplify94.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
08521769
135601553
250021553

prune581.0ms

Filtered
98 candidates to 70 candidates (71.4%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize35.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ 1 3.0) (/ (+ 2.0 (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))) (+ (+ 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.4b
(- (cos x) (cos y))

rewrite85.0ms

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt
29×*-un-lft-identity
28×add-exp-log
26×times-frac
23×associate-*r*
21×add-cube-cbrt
19×associate-*l*
18×add-cbrt-cube
prod-exp
pow1 div-exp add-log-exp unswap-sqr
sqrt-prod cbrt-unprod difference-of-squares
cbrt-undiv sub-neg associate-/r/
flip3-- associate-*r/ associate-*l/ flip-- distribute-lft-out--
distribute-rgt-in rec-exp distribute-lft-in flip3-+ diff-log 1-exp pow-prod-down frac-add *-commutative flip-+ div-inv
frac-times diff-cos
Counts
4 → 121
Calls
4 calls:
42.0ms
(* (/ 1 3.0) (/ (+ 2.0 (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))) (+ (+ 1.0 (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))) (* (/ (- 3.0 (sqrt 5.0)) 2.0) (cos y)))))
32.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
3.0ms
(- 3.0 (sqrt 5.0))
3.0ms
(- (cos x) (cos y))

series1.5s

Counts
4 → 10
Calls
4 calls:
1.3s
(* (/ 1 3.0) (/ (+ 2.0 (* (* (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))) (- (sin y) (/ (sin x) 16.0))) (- (cos x) (cos y)))) (+ (+ 1.0 (* (/ (- (sqrt 5.0) 1.0) 2.0) (cos x))) (* (/ (- 3.0 (sqrt 5.0)) 2.0) (cos y)))))
93.0ms
(* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0)))
0.0ms
(- 3.0 (sqrt 5.0))
61.0ms
(- (cos x) (cos y))

simplify119.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
010373093
147002727
250012721

prune840.0ms

Filtered
131 candidates to 90 candidates (68.7%)
Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0b

localize43.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt
*-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt cbrt-div flip3-- associate-*r/ add-cbrt-cube flip--
difference-of-squares
cbrt-prod sub-neg pow1/3 diff-log distribute-lft-out--
sqrt-prod diff-cos
Counts
4 → 52
Calls
4 calls:
8.0ms
(cbrt (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))))
8.0ms
(cbrt (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))))
3.0ms
(- 3.0 (sqrt 5.0))
3.0ms
(- (cos x) (cos y))

series529.0ms

Counts
4 → 10
Calls
4 calls:
237.0ms
(cbrt (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))))
235.0ms
(cbrt (* (sqrt 2.0) (- (sin x) (/ (sin y) 16.0))))
0.0ms
(- 3.0 (sqrt 5.0))
57.0ms
(- (cos x) (cos y))

simplify63.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0297543
1710501
22038489
35002487

prune458.0ms

Filtered
62 candidates to 48 candidates (77.4%)
Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0b

localize45.0ms

Local error

Found 4 expressions with local error:

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

rewrite14.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:
3.0ms
(- 3.0 (sqrt 5.0))
3.0ms
(- (cos x) (cos y))
3.0ms
(- (cos x) (cos y))
3.0ms
(- (cos x) (cos y))

series162.0ms

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

simplify94.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0244454
1687428
23117424
35002424

prune448.0ms

Filtered
70 candidates to 50 candidates (71.4%)
Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0b

regimes295.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
04948
14948

end0.0ms

sample5.2s

Algorithm
intervals
Results
2.9s2690×body1280valid
1.3s1818×body640valid
374.0ms746×body320valid
330.0ms2388×body80valid
112.0ms358×body160valid