Details

Time bar (total: 5.7s)

sample99.0ms

Algorithm
halfpoints

simplify60.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: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
39×*-un-lft-identity
35×associate-*l*
29×times-frac
23×add-cube-cbrt
14×add-exp-log add-cbrt-cube
pow1 add-log-exp
associate-*r*
prod-exp cbrt-unprod distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative div-inv
+-commutative sub-neg flip3-- flip3-+ diff-log sum-log flip-- flip-+
Counts
4 → 99
Calls
4 calls:
29.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
5.0ms
(+ (exp x) (exp (- x)))
27.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
6.0ms
(- (exp x) (exp (- x)))

series201.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
22.0ms
(+ (exp x) (exp (- x)))
82.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
36.0ms
(- (exp x) (exp (- x)))

simplify48.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0508967
11773853
25001852

prune374.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize24.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.0b
(* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y)))
0.0b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
15.9b
(- (exp x) (exp (- x)))

rewrite98.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
38×associate-*l*
36×add-sqr-sqrt
28×times-frac
23×add-cube-cbrt
16×sqrt-prod
14×add-exp-log add-cbrt-cube
11×pow1
add-log-exp
prod-exp cbrt-unprod
sqrt-div associate-*r* pow-prod-down associate-*l/ distribute-lft-out distribute-lft-out-- difference-of-squares
*-commutative div-inv unswap-sqr
cbrt-undiv +-commutative frac-times sub-neg flip3-- flip3-+ diff-log associate-*r/ div-exp sum-log flip-- flip-+
Counts
4 → 101
Calls
4 calls:
5.0ms
(+ (exp x) (exp (- x)))
56.0ms
(* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y)))
27.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
6.0ms
(- (exp x) (exp (- x)))

series264.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (exp x) (exp (- x)))
126.0ms
(* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y)))
79.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
36.0ms
(- (exp x) (exp (- x)))

simplify53.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
05391192
118441015
250011014

prune439.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (cbrt (pow (+ (exp (* -1 x)) (exp x)) 3)) 2.0) (cos y))
0.0b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
0.3b
(cbrt (pow (+ (exp (* -1 x)) (exp x)) 3))
15.9b
(- (exp x) (exp (- x)))

rewrite95.0ms

Algorithm
rewrite-expression-head
Rules
77×add-sqr-sqrt
74×associate-*l*
72×*-un-lft-identity times-frac
60×cbrt-prod
48×add-cube-cbrt
17×unpow-prod-down cube-prod
14×add-exp-log
13×add-cbrt-cube
pow1 distribute-lft-out unswap-sqr
associate-*r* add-log-exp
sqr-pow
cube-mult unpow3 prod-exp cbrt-unprod distribute-lft-out-- difference-of-squares
cbrt-undiv cube-div cbrt-div div-exp pow-prod-down associate-*l/ *-commutative div-inv
sub-neg flip3-- flip3-+ pow1/3 diff-log flip-- rem-cbrt-cube flip-+
Counts
4 → 155
Calls
4 calls:
45.0ms
(* (/ (cbrt (pow (+ (exp (* -1 x)) (exp x)) 3)) 2.0) (cos y))
30.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
7.0ms
(cbrt (pow (+ (exp (* -1 x)) (exp x)) 3))
6.0ms
(- (exp x) (exp (- x)))

series202.0ms

Counts
4 → 12
Calls
4 calls:
61.0ms
(* (/ (cbrt (pow (+ (exp (* -1 x)) (exp x)) 3)) 2.0) (cos y))
80.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
22.0ms
(cbrt (pow (+ (exp (* -1 x)) (exp x)) 3))
39.0ms
(- (exp x) (exp (- x)))

simplify66.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
06761588
123161443
250011438

prune624.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
0.2b
(* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y))
0.7b
(* (/ (sqrt (+ (exp x) (exp (- x)))) 1) (* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y)))
15.9b
(- (exp x) (exp (- x)))

rewrite127.0ms

Algorithm
rewrite-expression-head
Rules
69×associate-*l*
64×add-sqr-sqrt
63×*-un-lft-identity
60×times-frac
44×add-exp-log
43×add-cube-cbrt
35×add-cbrt-cube
25×sqrt-prod
19×prod-exp
14×cbrt-unprod
13×pow1
11×div-exp
cbrt-undiv associate-*r*
distribute-lft-out add-log-exp
pow-prod-down associate-*l/ unswap-sqr
distribute-lft-out-- difference-of-squares
1-exp *-commutative div-inv
frac-times sub-neg flip3-- diff-log associate-*r/ flip--
Counts
4 → 151
Calls
4 calls:
28.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
29.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y))
57.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 1) (* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y)))
6.0ms
(- (exp x) (exp (- x)))

series263.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
87.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y))
61.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 1) (* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y)))
36.0ms
(- (exp x) (exp (- x)))

simplify78.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
07491998
132551633
250011492

prune511.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes44.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02224
12224

end0.0ms

sample1.9s

Algorithm
halfpoints