Details

Time bar (total: 4.9s)

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

prune12.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize19.0ms

Local error

Found 4 expressions with local error:

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

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

series197.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (exp x) (exp (- x)))
56.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
79.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
40.0ms
(- (exp x) (exp (- x)))

simplify53.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0508967
11773853
25001852

prune375.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (/ (+ (exp x) (exp (- x))) 2.0))
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))
17.0b
(- (exp x) (exp (- x)))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
51×*-un-lft-identity
47×add-sqr-sqrt
41×times-frac
38×associate-*l*
32×sqrt-prod
31×add-cube-cbrt
14×add-exp-log add-cbrt-cube
12×pow1
distribute-lft-out add-log-exp
sqrt-div prod-exp cbrt-unprod
associate-*r* pow-prod-down associate-*l/ distribute-lft-out-- difference-of-squares
div-inv
rem-sqrt-square *-commutative unswap-sqr
cbrt-undiv frac-times sub-neg flip3-- sqrt-pow1 pow1/2 diff-log associate-*r/ div-exp flip--
Counts
4 → 117
Calls
4 calls:
6.0ms
(sqrt (/ (+ (exp x) (exp (- x))) 2.0))
19.0ms
(* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y)))
11.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
5.0ms
(- (exp x) (exp (- x)))

series343.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(sqrt (/ (+ (exp x) (exp (- x))) 2.0))
121.0ms
(* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y)))
81.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
40.0ms
(- (exp x) (exp (- x)))

simplify63.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05881413
120371227
250021216

prune466.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize33.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (* (* (sqrt 0.5) (sqrt (+ (exp (* -1 x)) (exp x)))) (cos y)))
0.0b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
1.0b
(* (sqrt 0.5) (sqrt (+ (exp (* -1 x)) (exp x))))
17.0b
(- (exp x) (exp (- x)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
44×associate-*l*
43×*-un-lft-identity
28×times-frac
27×add-cube-cbrt sqrt-prod
20×add-exp-log add-cbrt-cube
19×pow1
11×associate-*r*
10×pow-prod-down
sqrt-div prod-exp cbrt-unprod
associate-*r/
associate-*l/ add-log-exp unswap-sqr
distribute-lft-out distribute-lft-out-- difference-of-squares
flip3-+ *-commutative flip-+
frac-times sqrt-pow1 pow1/2 div-inv
cbrt-undiv sub-neg flip3-- sqrt-unprod diff-log div-exp flip--
Counts
4 → 127
Calls
4 calls:
21.0ms
(* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (* (* (sqrt 0.5) (sqrt (+ (exp (* -1 x)) (exp x)))) (cos y)))
11.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
10.0ms
(* (sqrt 0.5) (sqrt (+ (exp (* -1 x)) (exp x))))
5.0ms
(- (exp x) (exp (- x)))

series375.0ms

Counts
4 → 12
Calls
4 calls:
155.0ms
(* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (* (* (sqrt 0.5) (sqrt (+ (exp (* -1 x)) (exp x)))) (cos y)))
83.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
97.0ms
(* (sqrt 0.5) (sqrt (+ (exp (* -1 x)) (exp x))))
40.0ms
(- (exp x) (exp (- x)))

simplify79.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
07131666
126991527
250021523

prune585.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes66.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
01916
11916

end0.0ms

sample1.9s

Algorithm
halfpoints