Details

Time bar (total: 3.9s)

sample57.0ms

Algorithm
intervals
Results
31.0ms631×body80valid

simplify53.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.7b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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:
78.0ms
(* (cosh x) (/ y x))
108.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

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
26×add-exp-log add-cbrt-cube
10×*-un-lft-identity prod-exp cbrt-unprod
add-sqr-sqrt
cbrt-undiv add-cube-cbrt div-exp
pow1 add-log-exp
associate-*l* associate-*l/
expm1-log1p-u fma-def flip3-+ associate-*r* flip-+ log1p-expm1-u
associate-/l/ distribute-lft-out
+-commutative frac-2neg times-frac pow-prod-down clear-num associate-/r* sum-log *-commutative div-inv associate-/l* unswap-sqr
Counts
3 → 69
Calls
3 calls:
5.0ms
(+ (exp x) (exp (- x)))
24.0ms
(* (+ (exp x) (exp (- x))) y)
13.0ms
(/ (* (+ (exp x) (exp (- x))) y) (* z (* 2 x)))

series172.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (exp x) (exp (- x)))
54.0ms
(* (+ (exp x) (exp (- x))) y)
92.0ms
(/ (* (+ (exp x) (exp (- x))) y) (* z (* 2 x)))

simplify62.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0435681
12498531
25001530

prune196.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.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:
8.0ms
(/ (* (+ (exp x) (exp (- x))) y) z)
5.0ms
(+ (exp x) (exp (- x)))
19.0ms
(* (+ (exp x) (exp (- x))) y)
11.0ms
(/ (/ (* (+ (exp x) (exp (- x))) y) z) (* 2 x))

series228.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(/ (* (+ (exp x) (exp (- x))) y) z)
21.0ms
(+ (exp x) (exp (- x)))
55.0ms
(* (+ (exp x) (exp (- x))) y)
88.0ms
(/ (/ (* (+ (exp x) (exp (- x))) y) z) (* 2 x))

simplify66.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05071005
12589818
25001811

prune276.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
141×times-frac
85×add-sqr-sqrt
83×add-cube-cbrt *-un-lft-identity
50×add-exp-log
46×associate-*r*
32×add-cbrt-cube
18×div-exp
16×prod-exp
13×associate-/l*
11×pow1
10×cbrt-unprod
cbrt-undiv div-inv
expm1-log1p-u associate-*l* pow-prod-down log1p-expm1-u add-log-exp
rec-exp 1-exp associate-/r*
*-commutative
frac-2neg associate-*r/ clear-num fma-udef associate-/l/ unswap-sqr
Counts
4 → 177
Calls
4 calls:
0.0ms
(fma 1/2 (exp x) (* 1/2 (exp (- x))))
3.0ms
(* (fma 1/2 (exp x) (* 1/2 (exp (- x)))) y)
6.0ms
(/ (/ 1 z) x)
18.0ms
(* (* (fma 1/2 (exp x) (* 1/2 (exp (- x)))) y) (/ (/ 1 z) x))

series263.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(fma 1/2 (exp x) (* 1/2 (exp (- x))))
80.0ms
(* (fma 1/2 (exp x) (* 1/2 (exp (- x)))) y)
16.0ms
(/ (/ 1 z) x)
117.0ms
(* (* (fma 1/2 (exp x) (* 1/2 (exp (- x)))) y) (/ (/ 1 z) x))

simplify108.0ms

Algorithm
egg-herbie
Counts
189 → 189
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
07831665
149961421
250011421

prune532.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0b

regimes179.0ms

Accuracy

94.2% (0.4b remaining)

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

bsearch94.0ms

Steps
ItersRangePoint
7
2.694871805994863e-42
8.463071591988411e-41
1.539596801022037e-41
10
-4.666316741745024e-38
-5.3837817094177116e-49
-2.1502193184218725e-38

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03413
13413

end0.0ms

sample1.1s

Algorithm
intervals
Results
594.0ms22339×body80valid