Details

Time bar (total: 4.7s)

sample100.0ms

Algorithm
halfpoints

simplify60.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0307
1477
2847
31317
42237
54667
611237
722447
850027

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)))
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
49×add-sqr-sqrt
47×*-un-lft-identity
35×associate-*l*
31×add-cube-cbrt
29×times-frac
14×add-exp-log add-cbrt-cube
prod-diff
pow1 add-log-exp
associate-*r*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
fma-def fma-neg
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 → 122
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))
6.0ms
(- (exp x) (exp (- x)))

series209.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ (exp x) (exp (- x)))
58.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
81.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
41.0ms
(- (exp x) (exp (- x)))

simplify58.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
05741243
120081013
250021009

prune437.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
58×*-un-lft-identity
54×add-sqr-sqrt
41×times-frac
38×add-cube-cbrt associate-*l*
32×sqrt-prod
14×add-exp-log add-cbrt-cube
12×pow1
prod-diff
distribute-lft-out add-log-exp
sqrt-div prod-exp cbrt-unprod
expm1-log1p-u associate-*r* pow-prod-down associate-*l/ log1p-expm1-u distribute-lft-out-- difference-of-squares
fma-neg 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 → 137
Calls
4 calls:
6.0ms
(sqrt (/ (+ (exp x) (exp (- x))) 2.0))
22.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))
6.0ms
(- (exp x) (exp (- x)))

series353.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(sqrt (/ (+ (exp x) (exp (- x))) 2.0))
130.0ms
(* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (* (sqrt (/ (+ (exp x) (exp (- x))) 2.0)) (cos y)))
82.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
37.0ms
(- (exp x) (exp (- x)))

simplify66.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
06531708
122681408
250011404

prune535.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (exp x))
0.0b
(fma (sqrt (exp x)) (sqrt (exp x)) (exp (- x)))
0.0b
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
17.0b
(- (exp x) (exp (- x)))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
37×add-sqr-sqrt
31×*-un-lft-identity
23×add-cube-cbrt
19×associate-*l*
16×times-frac
add-exp-log prod-diff add-cbrt-cube
pow1
add-log-exp
expm1-log1p-u sqrt-pow1 log1p-expm1-u distribute-lft-out-- difference-of-squares
exp-prod fma-neg associate-*r* sqrt-prod
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv sub-neg rem-sqrt-square flip3-- pow1/2 diff-log div-exp pow-prod-down associate-*l/ *-commutative flip-- fma-udef div-inv
Counts
4 → 96
Calls
4 calls:
2.0ms
(sqrt (exp x))
1.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (exp (- x)))
10.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
6.0ms
(- (exp x) (exp (- x)))

series193.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(sqrt (exp x))
65.0ms
(fma (sqrt (exp x)) (sqrt (exp x)) (exp (- x)))
76.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
40.0ms
(- (exp x) (exp (- x)))

simplify44.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0417915
11335727
25001724

prune386.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes71.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.0s

Algorithm
halfpoints