Details

Time bar (total: 5.2s)

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

prune6.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))) 2.0) (cos y))
0.0b
(+ (exp x) (exp (- x)))
0.0b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
16.6b
(- (exp x) (exp (- x)))

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

series192.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
21.0ms
(+ (exp x) (exp (- x)))
77.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
36.0ms
(- (exp x) (exp (- x)))

simplify47.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0508967
11773853
25001852

prune369.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize28.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (/ (+ (pow x 2) (+ (* 1/12 (pow x 4)) 2)) 2.0) (cos y))
0.0b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
0.1b
(* 1/12 (pow x 4))
16.6b
(- (exp x) (exp (- x)))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
40×*-un-lft-identity
38×associate-*l*
29×times-frac
26×add-cube-cbrt
19×add-exp-log
16×add-cbrt-cube
13×associate-*r*
pow1
prod-exp unswap-sqr
add-log-exp
cbrt-unprod
unpow-prod-down distribute-lft-out-- difference-of-squares
*-commutative distribute-lft-out
cbrt-undiv div-exp pow-prod-down associate-*l/ div-inv sqr-pow
pow-to-exp sub-neg flip3-- diff-log pow-exp flip--
Counts
4 → 112
Calls
4 calls:
13.0ms
(* (/ (+ (pow x 2) (+ (* 1/12 (pow x 4)) 2)) 2.0) (cos y))
11.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
5.0ms
(* 1/12 (pow x 4))
5.0ms
(- (exp x) (exp (- x)))

series214.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(* (/ (+ (pow x 2) (+ (* 1/12 (pow x 4)) 2)) 2.0) (cos y))
76.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
37.0ms
(* 1/12 (pow x 4))
34.0ms
(- (exp x) (exp (- x)))

simplify57.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05761010
12149893
25002889

prune484.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize26.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)))
16.6b
(- (exp x) (exp (- x)))

rewrite54.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:
11.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
12.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y))
19.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 1) (* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y)))
5.0ms
(- (exp x) (exp (- x)))

series259.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
87.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y))
56.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 1) (* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y)))
39.0ms
(- (exp x) (exp (- x)))

simplify83.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
07491998
132551633
250011492

prune514.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes35.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02817
12817

end0.0ms

sample2.6s

Algorithm
halfpoints