Details

Time bar (total: 6.1s)

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

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

rewrite71.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:
7.0ms
(+ (exp x) (exp (- x)))
26.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
27.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
6.0ms
(- (exp x) (exp (- x)))

series199.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(+ (exp x) (exp (- x)))
62.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
80.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
35.0ms
(- (exp x) (exp (- x)))

simplify48.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0508967
11773853
25001852

prune392.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize27.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
18.0b
(- (exp x) (exp (- x)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
add-log-exp
pow1 add-exp-log add-cbrt-cube
pow1/3
sub-neg flip3-- diff-log flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 47
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
9.0ms
(- (exp x) (exp (- x)))

series37.0ms

Counts
4 → 6
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
37.0ms
(- (exp x) (exp (- x)))

simplify588.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 3 (30.0ms)

IterNodesCost
0124243
1286222
2822212
34879210
45002210

prune239.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize25.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt (+ (exp x) (exp (- x))))
1.0b
(cbrt (+ (exp x) (exp (- x))))
1.0b
(cbrt (+ (exp x) (exp (- x))))
18.0b
(- (exp x) (exp (- x)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
12×cbrt-prod
add-sqr-sqrt
add-cube-cbrt
cbrt-div add-log-exp
pow1 add-exp-log add-cbrt-cube
flip3-+ pow1/3 flip-+ distribute-lft-out
sub-neg flip3-- diff-log flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 56
Calls
4 calls:
8.0ms
(cbrt (+ (exp x) (exp (- x))))
5.0ms
(cbrt (+ (exp x) (exp (- x))))
5.0ms
(cbrt (+ (exp x) (exp (- x))))
6.0ms
(- (exp x) (exp (- x)))

series431.0ms

Counts
4 → 12
Calls
4 calls:
132.0ms
(cbrt (+ (exp x) (exp (- x))))
129.0ms
(cbrt (+ (exp x) (exp (- x))))
135.0ms
(cbrt (+ (exp x) (exp (- x))))
35.0ms
(- (exp x) (exp (- x)))

simplify75.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0172600
1516555
22081533
35001533

prune332.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
58×pow1
33×add-sqr-sqrt
30×sqrt-pow1
26×*-un-lft-identity
23×associate-*l*
22×pow-prod-down
18×add-cube-cbrt
16×times-frac
11×add-exp-log pow1/2 add-cbrt-cube
10×pow-prod-up
associate-*r* associate-*l/
pow-sqr add-log-exp
sqrt-div sqrt-prod
swap-sqr distribute-lft-out-- difference-of-squares
prod-exp cbrt-unprod unswap-sqr
*-commutative
cbrt-undiv pow2 frac-times sub-neg flip3-- pow-plus sqrt-unprod diff-log associate-*r/ div-exp rem-square-sqrt flip-- div-inv
Counts
4 → 116
Calls
4 calls:
8.0ms
(sqrt (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)))
27.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
58.0ms
(* (sqrt (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))) (sqrt (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))))
6.0ms
(- (exp x) (exp (- x)))

series363.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04721202
119421031
25002976

prune395.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

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

sample2.4s

Algorithm
halfpoints