Details

Time bar (total: 6.8s)

sample60.0ms

Algorithm
intervals
Results
42.0ms725×body80valid

simplify55.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: 8.0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (cosh x) (/ y x))
7.5b
(/ (* (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))
6.0ms
(/ (* (cosh x) (/ y x)) z)

series200.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0352391
11472333
25001333

prune165.0ms

Pruning

9 alts after pruning (9 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))
7.5b
(/ (/ (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)

series248.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))
79.0ms
(/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y))
119.0ms
(/ (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y)) z)

simplify76.0ms

Algorithm
egg-herbie
Counts
289 → 289
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
011814690
150014522

prune1.1s

Pruning

7 alts after pruning (6 fresh and 1 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.6b
(/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (* z (/ x y)))
6.7b
(* z (/ x y))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
17×add-exp-log add-cbrt-cube
13×add-cube-cbrt *-un-lft-identity times-frac associate-*r*
pow1 cbrt-undiv div-exp
prod-exp cbrt-unprod
expm1-log1p-u associate-*l* log1p-expm1-u associate-/l* add-log-exp
associate-*r/ div-inv unswap-sqr
frac-2neg pow-prod-down clear-num associate-/r* associate-/r/ *-commutative fma-udef
Counts
3 → 70
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 (/ x y)))
8.0ms
(* z (/ x y))

series210.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))
137.0ms
(/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (* z (/ x y)))
18.0ms
(* z (/ x y))

simplify51.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0326566
11692472
25001472

prune235.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt z)
0.6b
(cbrt z)
0.6b
(cbrt z)
6.6b
(* (/ (/ (* (cbrt (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))) (cbrt (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))))) x) (* (cbrt z) (cbrt z))) (/ (cbrt (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))) (/ (cbrt z) y)))

rewrite105.0ms

Algorithm
rewrite-expression-head
Rules
301×times-frac
205×add-sqr-sqrt
144×cbrt-prod
137×associate-*r*
133×add-cube-cbrt *-un-lft-identity
112×add-exp-log
61×add-cbrt-cube
51×cbrt-undiv div-exp
36×prod-exp cbrt-unprod
21×unswap-sqr
11×associate-*l*
div-inv
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3
frac-times associate-*r/ pow-prod-down associate-*l/ associate-/r/ *-commutative
Counts
4 → 264
Calls
4 calls:
0.0ms
(cbrt z)
0.0ms
(cbrt z)
1.0ms
(cbrt z)
85.0ms
(* (/ (/ (* (cbrt (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))) (cbrt (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))))) x) (* (cbrt z) (cbrt z))) (/ (cbrt (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))) (/ (cbrt z) y)))

series730.0ms

Counts
4 → 12
Calls
4 calls:
193.0ms
(cbrt z)
183.0ms
(cbrt z)
182.0ms
(cbrt z)
172.0ms
(* (/ (/ (* (cbrt (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))) (cbrt (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))))) x) (* (cbrt z) (cbrt z))) (/ (cbrt (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))) (/ (cbrt z) y)))

simplify105.0ms

Algorithm
egg-herbie
Counts
276 → 276
Iterations

Useful iterations: 1 (36.0ms)

IterNodesCost
017508067
150027286

prune1.2s

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0b

regimes206.0ms

Accuracy

95.3% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 7.6b

bsearch128.0ms

Steps
ItersRangePoint
10
1.1540543818649205e-35
1.1432380193496929e-25
7.25860780760428e-28
8
-4.357630988761951e+21
-1.329000084007943e+18
-3.7750383628585267e+18

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0279
1279

end0.0ms

sample1.8s

Algorithm
intervals
Results
1.3s22168×body80valid