Details

Time bar (total: 6.9s)

sample52.0ms

Algorithm
intervals
Results
33.0ms761×body80valid

simplify55.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0184
1414
21024
32284
44114
57864
624694
750024

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.5b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (cosh x) (/ y x))
8.0b
(/ (* (cosh x) (/ y x)) z)

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
16×add-exp-log add-cbrt-cube
13×times-frac associate-*r*
12×add-cube-cbrt *-un-lft-identity
cbrt-undiv div-exp
pow1 cosh-def prod-exp cbrt-unprod
associate-*l* associate-/r* associate-/l/
expm1-log1p-u frac-times associate-*r/ associate-*l/ log1p-expm1-u div-inv add-log-exp unswap-sqr
frac-2neg pow-prod-down clear-num *-commutative associate-/l*
Counts
2 → 64
Calls
2 calls:
7.0ms
(* (cosh x) (/ y x))
5.0ms
(/ (* (cosh x) (/ y x)) z)

series190.0ms

Counts
2 → 6
Calls
2 calls:
73.0ms
(* (cosh x) (/ y x))
116.0ms
(/ (* (cosh x) (/ y x)) z)

simplify50.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0352391
11472333
25001333

prune164.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))
0.2b
(/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y))
8.0b
(/ (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y)) z)

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
471×times-frac
230×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
47×associate-/l*
22×div-inv
17×add-exp-log add-cbrt-cube
16×associate-/r*
cbrt-undiv div-exp
associate-/r/
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
fma-udef associate-/l/
Counts
3 → 280
Calls
3 calls:
0.0ms
(fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))
5.0ms
(/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y))
15.0ms
(/ (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y)) z)

series435.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))
78.0ms
(/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y))
308.0ms
(/ (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y)) z)

simplify75.0ms

Algorithm
egg-herbie
Counts
289 → 289
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
011814690
150014522

prune1.0s

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))
0.6b
(/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ z y))
6.0b
(* (/ 1 x) (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ z y)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
165×times-frac
117×add-sqr-sqrt
90×*-un-lft-identity
87×add-cube-cbrt
47×add-exp-log
44×associate-*r*
29×add-cbrt-cube
21×div-exp
13×associate-*l* associate-/r*
12×cbrt-undiv prod-exp
10×div-inv
unswap-sqr
cbrt-unprod
pow1
expm1-log1p-u rec-exp 1-exp log1p-expm1-u associate-/l* add-log-exp
associate-/r/
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative fma-udef
Counts
3 → 180
Calls
3 calls:
0.0ms
(fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))
5.0ms
(/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ z y))
31.0ms
(* (/ 1 x) (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ z y)))

series287.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))
100.0ms
(/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ z y))
139.0ms
(* (/ 1 x) (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ z y)))

simplify126.0ms

Algorithm
egg-herbie
Counts
189 → 189
Iterations

Useful iterations: 2 (100.0ms)

IterNodesCost
08602442
144792199
250012186

prune565.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))
0.0b
(/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) z)
0.3b
(/ (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) z) (/ 1 y))
6.0b
(* (/ 1 x) (/ (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) z) (/ 1 y)))

rewrite132.0ms

Algorithm
rewrite-expression-head
Rules
895×times-frac
480×add-sqr-sqrt
411×*-un-lft-identity
398×add-cube-cbrt
174×associate-*r*
165×add-exp-log
99×div-exp
59×add-cbrt-cube
58×div-inv
36×prod-exp
30×cbrt-undiv
21×unswap-sqr
19×rec-exp 1-exp
16×associate-/r* associate-/l*
13×associate-*l*
10×cbrt-unprod
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num associate-/r/
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative fma-udef associate-/l/
Counts
4 → 528
Calls
4 calls:
0.0ms
(fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))
2.0ms
(/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) z)
11.0ms
(/ (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) z) (/ 1 y))
79.0ms
(* (/ 1 x) (/ (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) z) (/ 1 y)))

series350.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))
62.0ms
(/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) z)
101.0ms
(/ (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) z) (/ 1 y))
139.0ms
(* (/ 1 x) (/ (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) z) (/ 1 y)))

simplify121.0ms

Algorithm
egg-herbie
Counts
540 → 540
Iterations

Useful iterations: 1 (47.0ms)

IterNodesCost
024998367
150027682

prune1.4s

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes135.0ms

Accuracy

84.9% (1.0b remaining)

Error of 1.1b against oracle of 0.0b and baseline of 6.9b

bsearch103.0ms

Steps
ItersRangePoint
9
2.1044065170581486e-115
2.9726885121273953e-108
2.9332543178834714e-108
8
-1.9041732611813586e-85
-2.2839527955522386e-88
-1.879887519829394e-85

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03112
13112

end0.0ms

sample1.5s

Algorithm
intervals
Results
995.0ms22412×body80valid