Details

Time bar (total: 10.5s)

sample266.0ms

Algorithm
halfpoints

simplify58.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: 44.0b

localize37.0ms

Local error

Found 2 expressions with local error:

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

rewrite17.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:
11.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
5.0ms
(- (exp x) (exp (- x)))

series117.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0293506
1893449
23855448
35001448

prune169.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize26.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 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))

rewrite31.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
unswap-sqr
unpow-prod-down prod-exp
pow1 add-log-exp
cube-prod cbrt-unprod sqr-pow
*-commutative
pow-to-exp pow-exp
cbrt-undiv +-commutative cube-mult flip3-+ unpow3 div-exp pow-prod-down associate-*l/ sum-log flip-+ div-inv
Counts
4 → 99
Calls
4 calls:
5.0ms
(+ (* 1/60 (pow x 5)) (* 2 x))
5.0ms
(* 1/60 (pow x 5))
12.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))
6.0ms
(* 1/3 (pow x 3))

series317.0ms

Counts
4 → 12
Calls
4 calls:
136.0ms
(+ (* 1/60 (pow x 5)) (* 2 x))
47.0ms
(* 1/60 (pow x 5))
91.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))
42.0ms
(* 1/3 (pow x 3))

simplify57.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0468756
11975665
25001664

prune337.0ms

Pruning

13 alts after pruning (12 fresh and 1 done)

Merged error: 0.0b

localize30.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.3b
(* (/ 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))

rewrite58.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:
13.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
19.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
11.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
8.0ms
(/ 1 (sqrt 2.0))

series507.0ms

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

simplify92.0ms

Algorithm
egg-herbie
Counts
192 → 192
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
06842590
136672213
250022104

prune546.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0b

localize38.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.3b
(* (/ (* (cbrt 1) (cbrt 1)) (sqrt (sqrt 2.0))) (/ (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)) (sqrt (sqrt 2.0))))
0.4b
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
1.0b
(/ (* (cbrt 1) (cbrt 1)) (sqrt (sqrt 2.0)))

rewrite69.0ms

Algorithm
rewrite-expression-head
Rules
70×add-exp-log
68×times-frac
63×add-sqr-sqrt
61×sqrt-prod
60×add-cbrt-cube
47×add-cube-cbrt *-un-lft-identity
35×associate-*l*
25×prod-exp cbrt-unprod
24×cbrt-undiv div-exp
16×associate-*r*
15×associate-/r*
pow1
unswap-sqr
div-inv
associate-/l* add-log-exp
frac-2neg pow-prod-down associate-*l/ clear-num *-commutative associate-/l/
frac-times flip3-+ associate-*r/ flip-+
Counts
4 → 182
Calls
4 calls:
13.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
26.0ms
(* (/ (* (cbrt 1) (cbrt 1)) (sqrt (sqrt 2.0))) (/ (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)) (sqrt (sqrt 2.0))))
11.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
8.0ms
(/ (* (cbrt 1) (cbrt 1)) (sqrt (sqrt 2.0)))

series507.0ms

Counts
4 → 10
Calls
4 calls:
155.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
228.0ms
(* (/ (* (cbrt 1) (cbrt 1)) (sqrt (sqrt 2.0))) (/ (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)) (sqrt (sqrt 2.0))))
123.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
0.0ms
(/ (* (cbrt 1) (cbrt 1)) (sqrt (sqrt 2.0)))

simplify121.0ms

Algorithm
egg-herbie
Counts
192 → 192
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
08633605
147432985
250012943

prune677.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

regimes96.0ms

Accuracy

0% (0.8b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02410
12410

end0.0ms

sample6.2s

Algorithm
halfpoints