Details

Time bar (total: 4.7s)

sample104.0ms

Algorithm
halfpoints

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0307
1477
2847
31217
42067
54107
610177
720747
850017

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 2 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
16×add-sqr-sqrt associate-*l*
13×times-frac
11×add-cube-cbrt
add-exp-log add-cbrt-cube
pow1 distribute-lft-out add-log-exp
associate-*r*
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv +-commutative flip3-+ div-exp pow-prod-down associate-*l/ sum-log *-commutative flip-+ div-inv
Counts
2 → 47
Calls
2 calls:
5.0ms
(+ (exp x) (exp (- x)))
26.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))

series86.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(+ (exp x) (exp (- x)))
64.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))

simplify163.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0277461
11018404
24757402
35001402

prune136.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
49×*-un-lft-identity
48×sqrt-prod
38×times-frac
35×add-sqr-sqrt
29×add-cube-cbrt
19×associate-*l*
11×pow1
10×distribute-lft-out
add-exp-log add-cbrt-cube
sqrt-div add-log-exp
rem-sqrt-square
pow-prod-down associate-*l/ prod-exp cbrt-unprod div-inv
sqrt-pow1 pow1/2
+-commutative frac-times flip3-+ associate-*r/ associate-*r* sum-log *-commutative flip-+
Counts
4 → 105
Calls
4 calls:
5.0ms
(+ (exp x) (exp (- x)))
11.0ms
(sqrt (/ (+ (exp x) (exp (- x))) 2.0))
13.0ms
(sqrt (/ (+ (exp x) (exp (- x))) 2.0))
52.0ms
(* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y)))

series346.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (exp x) (exp (- x)))
104.0ms
(sqrt (/ (+ (exp x) (exp (- x))) 2.0))
99.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)))

simplify43.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
03891330
113291167
250011146

prune345.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite180.0ms

Algorithm
rewrite-expression-head
Rules
125×sqrt-prod
64×*-un-lft-identity
51×add-sqr-sqrt times-frac
40×add-cube-cbrt
25×sqrt-div
22×associate-*l*
18×pow1
13×add-exp-log add-cbrt-cube
12×distribute-lft-out
sqrt-pow1
rem-sqrt-square
associate-*l/
pow-prod-down prod-exp cbrt-unprod
frac-times pow1/2 associate-*r/
div-inv add-log-exp
associate-*r* *-commutative
Counts
4 → 143
Calls
4 calls:
10.0ms
(sqrt (/ (+ (exp x) (exp (- x))) 2.0))
12.0ms
(sqrt (sqrt (/ (+ (exp x) (exp (- x))) 2.0)))
12.0ms
(sqrt (sqrt (/ (+ (exp x) (exp (- x))) 2.0)))
139.0ms
(* (sqrt (sqrt (/ (+ (exp x) (exp (- x))) 2.0))) (* (sqrt (sqrt (/ (+ (exp x) (exp (- x))) 2.0))) (* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y))))

series623.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(sqrt (/ (+ (exp x) (exp (- x))) 2.0))
202.0ms
(sqrt (sqrt (/ (+ (exp x) (exp (- x))) 2.0)))
199.0ms
(sqrt (sqrt (/ (+ (exp x) (exp (- x))) 2.0)))
122.0ms
(* (sqrt (sqrt (/ (+ (exp x) (exp (- x))) 2.0))) (* (sqrt (sqrt (/ (+ (exp x) (exp (- x))) 2.0))) (* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y))))

simplify57.0ms

Algorithm
egg-herbie
Counts
155 → 155
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04782304
118141903
250021785

prune497.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes29.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
0127
1127

end0.0ms

sample1.8s

Algorithm
halfpoints