Details

Time bar (total: 5.2s)

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

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

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

series195.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05741243
120081013
250021009

prune426.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
37×*-un-lft-identity
32×associate-*l*
29×add-cube-cbrt
26×times-frac
14×add-exp-log add-cbrt-cube
prod-diff
pow1
associate-*r* add-log-exp
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u distribute-lft-out-- difference-of-squares unswap-sqr
fma-neg
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative div-inv
sub-neg flip3-- diff-log flip-- fma-udef
Counts
4 → 112
Calls
4 calls:
6.0ms
(* (/ (fma x x (fma 1/12 (pow x 4) 2)) 2.0) (cos y))
1.0ms
(fma 1/12 (pow x 4) 2)
11.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
6.0ms
(- (exp x) (exp (- x)))

series266.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(* (/ (fma x x (fma 1/12 (pow x 4) 2)) 2.0) (cos y))
82.0ms
(fma 1/12 (pow x 4) 2)
78.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
35.0ms
(- (exp x) (exp (- x)))

simplify55.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05491115
11868897
25002893

prune487.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

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

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
71×add-sqr-sqrt
70×*-un-lft-identity
69×associate-*l*
60×times-frac
50×add-cube-cbrt
44×add-exp-log
35×add-cbrt-cube
25×sqrt-prod
19×prod-exp
14×cbrt-unprod
13×pow1
11×div-exp
prod-diff
cbrt-undiv associate-*r*
distribute-lft-out add-log-exp
pow-prod-down associate-*l/ unswap-sqr
expm1-log1p-u log1p-expm1-u distribute-lft-out-- difference-of-squares
fma-neg 1-exp *-commutative div-inv
frac-times sub-neg flip3-- diff-log associate-*r/ flip--
Counts
4 → 171
Calls
4 calls:
11.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
12.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y))
22.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 1) (* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y)))
6.0ms
(- (exp x) (exp (- x)))

series265.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
90.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y))
62.0ms
(* (/ (sqrt (+ (exp x) (exp (- x)))) 1) (* (/ (sqrt (+ (exp x) (exp (- x)))) 2.0) (cos y)))
35.0ms
(- (exp x) (exp (- x)))

simplify89.0ms

Algorithm
egg-herbie
Counts
183 → 183
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
08132298
134671818
250011675

prune566.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes34.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
02315
12315

end0.0ms

sample2.4s

Algorithm
halfpoints