Details

Time bar (total: 4.8s)

sample37.0ms

Algorithm
intervals
Results
19.0ms718×body80valid

simplify63.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0184
1414
21024
32284
44114
57864
624694
750024

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.7b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (cosh x) (/ y x))
4.4b
(/ (* (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:
8.0ms
(* (cosh x) (/ y x))
5.0ms
(/ (* (cosh x) (/ y x)) z)

series196.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0352391
11472333
25001333

prune169.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.3b

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))
4.4b
(/ (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y)) z)

rewrite38.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))
16.0ms
(/ (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y)) z)

series255.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))
82.0ms
(/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y))
122.0ms
(/ (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y)) z)

simplify77.0ms

Algorithm
egg-herbie
Counts
289 → 289
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
011814690
150014522

prune1.1s

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.3b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma (* 1/2 x) y (/ y x))
4.2b
(/ (fma (* 1/2 x) y (/ y x)) z)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-exp clear-num fma-udef div-inv
Counts
2 → 39
Calls
2 calls:
0.0ms
(fma (* 1/2 x) y (/ y x))
3.0ms
(/ (fma (* 1/2 x) y (/ y x)) z)

series80.0ms

Counts
2 → 6
Calls
2 calls:
37.0ms
(fma (* 1/2 x) y (/ y x))
44.0ms
(/ (fma (* 1/2 x) y (/ y x)) z)

simplify114.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0114293
1294268
21002268
33765268
45001268

prune119.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0.3b

localize22.0ms

Local error

Found 4 expressions with local error:

1.3b
(/ (/ (sqrt (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))) (* (cbrt (/ x y)) (cbrt (/ x y)))) (* (cbrt z) (cbrt z)))
4.3b
(cbrt (/ x y))
4.3b
(cbrt (/ x y))
4.3b
(cbrt (/ x y))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
52×times-frac
39×cbrt-prod
31×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
25×add-exp-log
15×add-cbrt-cube
13×associate-/l*
11×cbrt-div
10×cbrt-undiv div-exp
sqrt-prod associate-/r/ div-inv
prod-exp cbrt-unprod
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3
frac-times associate-*r/ associate-*l/
frac-2neg clear-num associate-/r* associate-/l/
Counts
4 → 124
Calls
4 calls:
15.0ms
(/ (/ (sqrt (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))) (* (cbrt (/ x y)) (cbrt (/ x y)))) (* (cbrt z) (cbrt z)))
5.0ms
(cbrt (/ x y))
1.0ms
(cbrt (/ x y))
2.0ms
(cbrt (/ x y))

series450.0ms

Counts
4 → 12
Calls
4 calls:
251.0ms
(/ (/ (sqrt (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))) (* (cbrt (/ x y)) (cbrt (/ x y)))) (* (cbrt z) (cbrt z)))
68.0ms
(cbrt (/ x y))
68.0ms
(cbrt (/ x y))
62.0ms
(cbrt (/ x y))

simplify52.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
05071534
116551353
250011318

prune631.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0.3b

regimes144.0ms

Accuracy

90.5% (0.7b remaining)

Error of 0.8b against oracle of 0.1b and baseline of 7.6b

bsearch72.0ms

Steps
ItersRangePoint
8
2.8172906988900064e-06
0.006229748413647962
1.0092093704897275e-05
4
-8.270448809239973e-17
-4.7064517331606615e-17
-6.479430494909423e-17

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03213
13213

end0.0ms

sample1.0s

Algorithm
intervals
Results
609.0ms22103×body80valid