Details

Time bar (total: 10.3s)

sample237.0ms

Algorithm
halfpoints

simplify61.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0307
1477
2847
31217
42067
54107
610177
720747
850017

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 43.7b

localize35.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
57.8b
(- (exp x) (exp (- x)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
20×*-un-lft-identity
19×associate-*l*
16×times-frac
12×add-cube-cbrt
add-exp-log add-cbrt-cube
pow1 distribute-lft-out-- add-log-exp difference-of-squares
associate-*r*
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv sub-neg flip3-- diff-log div-exp pow-prod-down associate-*l/ *-commutative flip-- div-inv
Counts
2 → 52
Calls
2 calls:
28.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
6.0ms
(- (exp x) (exp (- x)))

series118.0ms

Counts
2 → 6
Calls
2 calls:
79.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
38.0ms
(- (exp x) (exp (- x)))

simplify103.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0293506
1893449
23855448
35001448

prune162.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
0.0b
(* 1/60 (pow x 5))
0.1b
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))
0.1b
(* 1/3 (pow x 3))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
22×associate-*r*
19×add-exp-log add-cube-cbrt *-un-lft-identity associate-*l*
13×add-cbrt-cube
10×times-frac
add-log-exp unswap-sqr
unpow-prod-down prod-exp
pow1
cube-prod cbrt-unprod sqr-pow
sum-log *-commutative
pow-to-exp pow-exp
cbrt-undiv +-commutative cube-mult associate-+r+ flip3-+ unpow3 div-exp pow-prod-down associate-*l/ flip-+ div-inv
Counts
4 → 101
Calls
4 calls:
9.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
8.0ms
(* 1/60 (pow x 5))
38.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))
7.0ms
(* 1/3 (pow x 3))

series236.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
51.0ms
(* 1/60 (pow x 5))
89.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))
36.0ms
(* 1/3 (pow x 3))

simplify59.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0465842
11988741
25002741

prune320.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
0.4b
(* (/ 1 (sqrt 2.0)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
0.4b
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
1.0b
(/ 1 (sqrt 2.0))

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
74×times-frac
69×add-sqr-sqrt
61×add-cube-cbrt *-un-lft-identity
54×add-exp-log
44×associate-*l*
43×sqrt-prod
34×add-cbrt-cube
22×prod-exp
14×div-exp
13×pow1
12×associate-/r* cbrt-unprod
cbrt-undiv
associate-/l*
rec-exp 1-exp associate-*r* pow-prod-down associate-*l/ div-inv add-log-exp
pow-flip unswap-sqr
frac-2neg clear-num *-commutative associate-/l/
frac-times sqrt-pow1 flip3-+ pow1/2 associate-*r/ flip-+ inv-pow
Counts
4 → 182
Calls
4 calls:
42.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
51.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
29.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
3.0ms
(/ 1 (sqrt 2.0))

series498.0ms

Counts
4 → 10
Calls
4 calls:
153.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
221.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
124.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
0.0ms
(/ 1 (sqrt 2.0))

simplify96.0ms

Algorithm
egg-herbie
Counts
192 → 192
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
06842589
136672213
250022104

prune529.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.0b

localize34.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 1/3 (pow x 3))
0.2b
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
0.4b
(* (pow 2.0 (- 1/2)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
0.4b
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))

rewrite127.0ms

Algorithm
rewrite-expression-head
Rules
54×add-sqr-sqrt
40×add-exp-log
39×add-cube-cbrt *-un-lft-identity
38×times-frac
32×associate-*l*
22×sqrt-prod add-cbrt-cube
20×prod-exp
16×associate-*r*
cbrt-unprod
unpow-prod-down unswap-sqr
pow1 associate-*l/ associate-/r*
div-exp
pow-to-exp cube-prod pow-exp add-log-exp
cbrt-undiv *-commutative associate-/l* sqr-pow
neg-sub0 frac-times pow-neg div-inv associate-/l/ pow-sub
cube-mult frac-2neg flip3-+ unpow3 associate-*r/ pow-prod-down clear-num flip-+
Counts
4 → 147
Calls
4 calls:
7.0ms
(* 1/3 (pow x 3))
42.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
44.0ms
(* (pow 2.0 (- 1/2)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
29.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))

series550.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* 1/3 (pow x 3))
152.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
231.0ms
(* (pow 2.0 (- 1/2)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
126.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))

simplify93.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
06832107
133511871
250011867

prune513.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

regimes76.0ms

Accuracy

35% (0.5b remaining)

Error of 0.6b against oracle of 0.1b and baseline of 0.8b

bsearch110.0ms

Steps
ItersRangePoint
9
-0.18178149689267947
-1.371970156875517e-08
-0.013606942973814946

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04021
14021

end0.0ms

sample6.1s

Algorithm
halfpoints