Details

Time bar (total: 4.3s)

sample57.0ms

Algorithm
intervals
Results
39.0ms714×body80valid

simplify57.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: 9.5b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite16.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 cosh-def div-exp
prod-exp cbrt-unprod
expm1-log1p-u associate-*l* associate-/r* log1p-expm1-u associate-/l/ add-log-exp
frac-times associate-*r/ associate-*l/ div-inv unswap-sqr
frac-2neg pow-prod-down clear-num *-commutative associate-/l*
Counts
3 → 74
Calls
3 calls:
1.0ms
(cosh x)
8.0ms
(* (cosh x) (/ y x))
5.0ms
(/ (* (cosh x) (/ y x)) z)

series241.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(cosh x)
80.0ms
(* (cosh x) (/ y x))
117.0ms
(/ (* (cosh x) (/ y x)) z)

simplify48.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0383433
11634372
25001368

prune202.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite45.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:
6.0ms
(+ (exp x) (exp (- x)))
20.0ms
(* (+ (exp x) (exp (- x))) y)
13.0ms
(/ (* (+ (exp x) (exp (- x))) y) (* z (* 2 x)))

series171.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0435681
12498531
25001530

prune208.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.0b
(* (+ (exp x) (exp (- x))) y)
0.3b
(/ 1 (* z (* 2 x)))
5.7b
(* (* (+ (exp x) (exp (- x))) y) (/ 1 (* z (* 2 x))))

rewrite99.0ms

Algorithm
rewrite-expression-head
Rules
101×add-exp-log
58×prod-exp
47×add-cbrt-cube
22×cbrt-unprod
18×div-exp
17×pow1
15×*-un-lft-identity
13×add-sqr-sqrt
11×add-cube-cbrt
10×associate-*r*
cbrt-undiv rec-exp 1-exp
associate-*l/
pow-prod-down
times-frac add-log-exp
associate-*l*
expm1-log1p-u flip3-+ flip-+ log1p-expm1-u
pow-flip fma-def associate-/l*
frac-times *-commutative div-inv distribute-lft-out
+-commutative frac-2neg associate-*r/ clear-num associate-/r* sum-log un-div-inv inv-pow unswap-sqr
Counts
4 → 129
Calls
4 calls:
6.0ms
(+ (exp x) (exp (- x)))
21.0ms
(* (+ (exp x) (exp (- x))) y)
10.0ms
(/ 1 (* z (* 2 x)))
55.0ms
(* (* (+ (exp x) (exp (- x))) y) (/ 1 (* z (* 2 x))))

series194.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ (exp x) (exp (- x)))
52.0ms
(* (+ (exp x) (exp (- x))) y)
18.0ms
(/ 1 (* z (* 2 x)))
95.0ms
(* (* (+ (exp x) (exp (- x))) y) (/ 1 (* z (* 2 x))))

simplify83.0ms

Algorithm
egg-herbie
Counts
141 → 141
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
06071153
13193915
25001884

prune302.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.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)))
24.0ms
(* (+ (exp x) (exp (- x))) y)
9.0ms
(/ (* (+ (exp x) (exp (- x))) y) z)
11.0ms
(/ (/ (* (+ (exp x) (exp (- x))) y) z) (* 2 x))

series236.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
05071005
12589818
25001811

prune285.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes151.0ms

Accuracy

95.7% (0.3b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 7.7b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04328
14328

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.2s22276×body80valid