Details

Time bar (total: 14.0s)

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

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 44.9b

localize49.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
0.1b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
59.1b
(- (exp x) (exp (- x)))

rewrite124.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt
36×*-un-lft-identity
35×associate-*l*
29×times-frac
22×add-cube-cbrt
13×add-exp-log add-cbrt-cube
pow1
associate-*r*
add-log-exp
prod-exp cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
distribute-lft-out
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative div-inv
sub-neg flip3-- diff-log flip--
Counts
3 → 87
Calls
3 calls:
53.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
55.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
13.0ms
(- (exp x) (exp (- x)))

series182.0ms

Counts
3 → 9
Calls
3 calls:
60.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
82.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
39.0ms
(- (exp x) (exp (- x)))

simplify42.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0480867
11672765
25002765

prune336.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize61.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
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.2b
(* 1/3 (pow x 3))

rewrite151.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt
35×associate-*l*
34×*-un-lft-identity
28×add-cube-cbrt
25×associate-*r*
24×add-exp-log
23×times-frac
18×add-cbrt-cube
11×unswap-sqr
10×prod-exp
pow1 unpow-prod-down
cbrt-unprod
cube-prod *-commutative add-log-exp sqr-pow
distribute-lft-out
cbrt-undiv pow-to-exp div-exp pow-prod-down associate-*l/ pow-exp div-inv
cube-mult unpow3
Counts
4 → 123
Calls
4 calls:
51.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
11.0ms
(* 1/60 (pow x 5))
72.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))
13.0ms
(* 1/3 (pow x 3))

series240.0ms

Counts
4 → 12
Calls
4 calls:
63.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
47.0ms
(* 1/60 (pow x 5))
90.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) 2.0) (sin y))
40.0ms
(* 1/3 (pow x 3))

simplify63.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
05991025
12536897
25001897

prune579.0ms

Pruning

11 alts after pruning (10 fresh and 1 done)

Merged error: 0.0b

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

rewrite256.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:
77.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
92.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
73.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
7.0ms
(/ 1 (sqrt 2.0))

series530.0ms

Counts
4 → 10
Calls
4 calls:
162.0ms
(* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y))
243.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))

simplify90.0ms

Algorithm
egg-herbie
Counts
192 → 192
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
06842589
136672213
250022104

prune813.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize63.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (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 (sqrt 2.0))) (sqrt (sqrt 2.0)))
1.0b
(/ 1 (sqrt (sqrt 2.0)))

rewrite383.0ms

Algorithm
rewrite-expression-head
Rules
1128×sqrt-prod
1116×times-frac
592×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
283×associate-*l*
79×add-exp-log
49×add-cbrt-cube
37×associate-/l*
32×div-exp
25×prod-exp
24×associate-/r*
23×pow1 div-inv
20×sqrt-pow1
17×cbrt-undiv
15×cbrt-unprod
14×pow-flip
10×pow1/2 pow-div
rec-exp 1-exp
add-log-exp
frac-2neg pow-prod-down associate-*l/ clear-num associate-/l/
inv-pow
frac-times flip3-+ associate-*r/ associate-*r* *-commutative flip-+
Counts
4 → 767
Calls
4 calls:
212.0ms
(* (/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
71.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
29.0ms
(/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
9.0ms
(/ 1 (sqrt (sqrt 2.0)))

series357.0ms

Counts
4 → 8
Calls
4 calls:
225.0ms
(* (/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* (/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0)) (sin y)))
132.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (sqrt 2.0))
0.0ms
(/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
0.0ms
(/ 1 (sqrt (sqrt 2.0)))

simplify127.0ms

Algorithm
egg-herbie
Counts
775 → 775
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
0173312573
1500111020

prune2.9s

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes108.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
03519
13519

end0.0ms

sample6.1s

Algorithm
halfpoints