Details

Time bar (total: 6.2s)

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

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:
5.0ms
(+ (exp x) (exp (- x)))
29.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)))

series196.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+ (exp x) (exp (- x)))
60.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
79.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
35.0ms
(- (exp x) (exp (- x)))

simplify46.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0508967
11773853
25001852

prune388.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

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

rewrite8.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)
6.0ms
(- (exp x) (exp (- x)))

series35.0ms

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

simplify591.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 3 (29.0ms)

IterNodesCost
0124243
1286222
2822212
34879210
45002210

prune232.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

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

rewrite21.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:
5.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)))

series419.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(cbrt (+ (exp x) (exp (- x))))
123.0ms
(cbrt (+ (exp x) (exp (- x))))
133.0ms
(cbrt (+ (exp x) (exp (- x))))
34.0ms
(- (exp x) (exp (- x)))

simplify75.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0172600
1516555
22081533
35001533

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

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

series349.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(sqrt (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y)))
75.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
116.0ms
(* (sqrt (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))) (sqrt (* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))))
38.0ms
(- (exp x) (exp (- x)))

simplify59.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04721202
119421031
25002976

prune384.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

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