Details

Time bar (total: 17.6s)

sample389.0ms

Algorithm
halfpoints

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0307
1477
2847
31317
42237
54667
611237
722447
850027

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 43.8b

localize54.0ms

Local error

Found 3 expressions with local error:

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

rewrite124.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
43×*-un-lft-identity
35×associate-*l*
29×add-cube-cbrt times-frac
13×add-exp-log add-cbrt-cube
prod-diff
pow1
associate-*r*
add-log-exp
prod-exp cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
expm1-log1p-u fma-neg log1p-expm1-u distribute-lft-out
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative div-inv
sub-neg flip3-- diff-log flip--
Counts
3 → 105
Calls
3 calls:
52.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
53.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
15.0ms
(- (exp x) (exp (- x)))

series153.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
69.0ms
(* (/ (- (exp x) (exp (- x))) 2.0) (sin y))
31.0ms
(- (exp x) (exp (- x)))

simplify54.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05411133
11885916
25002915

prune663.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize58.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 1/60 (pow x 5) (* 2 x))
0.0b
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
0.1b
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) 2.0) (sin y))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
29×associate-*l*
26×*-un-lft-identity
23×times-frac
20×add-cube-cbrt
13×add-exp-log add-cbrt-cube
pow1
associate-*r*
prod-exp cbrt-unprod unswap-sqr
expm1-log1p-u log1p-expm1-u distribute-lft-out add-log-exp
cbrt-undiv div-exp pow-prod-down associate-*l/ *-commutative div-inv
fma-udef
Counts
3 → 81
Calls
3 calls:
0.0ms
(fma 1/60 (pow x 5) (* 2 x))
50.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
19.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) 2.0) (sin y))

series242.0ms

Counts
3 → 9
Calls
3 calls:
108.0ms
(fma 1/60 (pow x 5) (* 2 x))
55.0ms
(* (/ (+ (exp x) (exp (- x))) 2.0) (cos y))
78.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) 2.0) (sin y))

simplify50.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0418829
11573723
25001721

prune790.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize66.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y))
0.3b
(* (/ 1 (sqrt 2.0)) (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)))
0.5b
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))
1.0b
(/ 1 (sqrt 2.0))

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
74×times-frac
69×add-sqr-sqrt
61×add-cube-cbrt *-un-lft-identity
54×add-exp-log
44×associate-*l*
43×sqrt-prod
34×add-cbrt-cube
22×prod-exp
14×div-exp
13×pow1
12×associate-/r* cbrt-unprod
cbrt-undiv
associate-/l*
expm1-log1p-u rec-exp 1-exp associate-*r* pow-prod-down associate-*l/ log1p-expm1-u div-inv add-log-exp
pow-flip unswap-sqr
frac-2neg clear-num *-commutative
frac-times sqrt-pow1 pow1/2 associate-*r/ inv-pow
Counts
4 → 188
Calls
4 calls:
21.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y))
53.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)))
6.0ms
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))
7.0ms
(/ 1 (sqrt 2.0))

series422.0ms

Counts
4 → 10
Calls
4 calls:
133.0ms
(* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y))
186.0ms
(* (/ 1 (sqrt 2.0)) (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)))
103.0ms
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))
0.0ms
(/ 1 (sqrt 2.0))

simplify88.0ms

Algorithm
egg-herbie
Counts
198 → 198
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06332261
132131931
250011821

prune1.3s

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.0b

localize68.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)))
0.5b
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))
1.0b
(/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
1.0b
(/ 1 (sqrt (sqrt 2.0)))

rewrite245.0ms

Algorithm
rewrite-expression-head
Rules
1128×sqrt-prod
1116×times-frac
592×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
283×associate-*l*
79×add-exp-log
49×add-cbrt-cube
37×associate-/l*
32×div-exp
25×prod-exp
24×associate-/r*
23×pow1 div-inv
20×sqrt-pow1
17×cbrt-undiv
15×cbrt-unprod
14×pow-flip
10×pow1/2 pow-div
rec-exp 1-exp
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg pow-prod-down associate-*l/ clear-num
inv-pow
frac-times associate-*r/ associate-*r* *-commutative associate-/l/
Counts
4 → 773
Calls
4 calls:
142.0ms
(* (/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)))
6.0ms
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))
25.0ms
(/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
8.0ms
(/ 1 (sqrt (sqrt 2.0)))

series302.0ms

Counts
4 → 8
Calls
4 calls:
199.0ms
(* (/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* (/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0)) (sin y)))
102.0ms
(/ (fma 1/3 (pow x 3) (fma 1/60 (pow x 5) (* 2 x))) (sqrt 2.0))
0.0ms
(/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
0.0ms
(/ 1 (sqrt (sqrt 2.0)))

simplify127.0ms

Algorithm
egg-herbie
Counts
781 → 781
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
0168011806
1500210141

prune3.9s

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 0b

regimes184.0ms

Accuracy

0% (0.7b 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
02917
12917

end0.0ms

sample8.1s

Algorithm
halfpoints