Details

Time bar (total: 3.4s)

sample34.0ms

Algorithm
intervals
Results
17.0ms701×body80valid

simplify51.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: 5.6b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (cosh x) (/ y x))
5.2b
(/ (* (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)

series186.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0352391
11472333
25001333

prune161.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (cosh x) (/ y x))
5.3b
(* (* (cosh x) (/ y x)) (/ 1 z))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
46×add-exp-log
28×add-cbrt-cube
26×associate-*r*
22×add-sqr-sqrt prod-exp
19×times-frac
17×add-cube-cbrt *-un-lft-identity
12×cbrt-unprod
11×div-exp
pow1
cbrt-undiv frac-times cosh-def associate-*l/
associate-*r/ associate-*l* pow-prod-down
rec-exp 1-exp
expm1-log1p-u *-commutative log1p-expm1-u div-inv add-log-exp unswap-sqr
un-div-inv
Counts
2 → 88
Calls
2 calls:
8.0ms
(* (cosh x) (/ y x))
17.0ms
(* (* (cosh x) (/ y x)) (/ 1 z))

series186.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0522597
12479490
25001477

prune186.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.0b
(/ (* (+ (exp x) (exp (- x))) y) z)
0.0b
(* (+ (exp x) (exp (- x))) y)
5.0b
(/ (/ (* (+ (exp x) (exp (- x))) y) z) (* 2 x))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log add-cbrt-cube
17×*-un-lft-identity
16×times-frac
15×add-sqr-sqrt
13×add-cube-cbrt
12×cbrt-undiv div-exp
associate-/l*
prod-exp cbrt-unprod
pow1 add-log-exp
expm1-log1p-u associate-*l* associate-*l/ associate-/r* log1p-expm1-u div-inv
fma-def flip3-+ associate-*r* flip-+ associate-/l/
frac-2neg clear-num distribute-lft-out
+-commutative pow-prod-down sum-log *-commutative unswap-sqr
Counts
4 → 105
Calls
4 calls:
6.0ms
(+ (exp x) (exp (- x)))
9.0ms
(/ (* (+ (exp x) (exp (- x))) y) z)
21.0ms
(* (+ (exp x) (exp (- x))) y)
12.0ms
(/ (/ (* (+ (exp x) (exp (- x))) y) z) (* 2 x))

series240.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (exp x) (exp (- x)))
68.0ms
(/ (* (+ (exp x) (exp (- x))) y) z)
58.0ms
(* (+ (exp x) (exp (- x))) y)
91.0ms
(/ (/ (* (+ (exp x) (exp (- x))) y) z) (* 2 x))

simplify71.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05071005
12589818
25001811

prune313.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.0b
(* (+ (exp x) (exp (- x))) (/ y z))
5.0b
(/ (* (+ (exp x) (exp (- x))) (/ y z)) (* 2 x))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
29×add-exp-log add-cbrt-cube
17×add-sqr-sqrt
16×*-un-lft-identity
13×associate-*r*
12×add-cube-cbrt
11×times-frac
cbrt-undiv div-exp prod-exp cbrt-unprod
pow1 flip3-+ flip-+ associate-/l/ add-log-exp
frac-times associate-*l* associate-*l/
expm1-log1p-u fma-def log1p-expm1-u
associate-*r/ div-inv distribute-lft-out unswap-sqr
+-commutative frac-2neg pow-prod-down clear-num associate-/r* sum-log *-commutative associate-/l*
Counts
3 → 88
Calls
3 calls:
6.0ms
(+ (exp x) (exp (- x)))
26.0ms
(* (+ (exp x) (exp (- x))) (/ y z))
12.0ms
(/ (* (+ (exp x) (exp (- x))) (/ y z)) (* 2 x))

series192.0ms

Counts
3 → 9
Calls
3 calls:
22.0ms
(+ (exp x) (exp (- x)))
66.0ms
(* (+ (exp x) (exp (- x))) (/ y z))
103.0ms
(/ (* (+ (exp x) (exp (- x))) (/ y z)) (* 2 x))

simplify76.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
0534891
12997722
25001712

prune245.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

regimes128.0ms

Accuracy

95.1% (0.3b remaining)

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

bsearch77.0ms

Steps
ItersRangePoint
8
2.1342576709609094e-48
7.354326544590892e-45
7.225664955895723e-45
6
-1.1764811684851881e+22
-8.930608612865615e+20
-1.948241059787097e+21

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03716
13716

end0.0ms

sample1.0s

Algorithm
intervals
Results
578.0ms22433×body80valid