Details

Time bar (total: 3.7s)

sample39.0ms

Algorithm
intervals
Results
17.0ms674×body80valid

simplify55.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0184
1414
21024
32244
44014
57584
624034
750024

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.0b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite30.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/
frac-times associate-*r/ associate-*l/ div-inv add-log-exp unswap-sqr
frac-2neg pow-prod-down clear-num *-commutative associate-/l*
Counts
2 → 60
Calls
2 calls:
14.0ms
(* (cosh x) (/ y x))
13.0ms
(/ (* (cosh x) (/ y x)) z)

series177.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0345374
11456317
25001317

prune136.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
25×add-exp-log add-cbrt-cube
10×prod-exp cbrt-unprod
cbrt-undiv add-sqr-sqrt *-un-lft-identity div-exp
pow1 add-cube-cbrt associate-*l* associate-*l/
associate-*r*
flip3-+ flip-+ associate-/l/ add-log-exp
frac-2neg times-frac pow-prod-down clear-num associate-/r* *-commutative div-inv distribute-lft-out associate-/l* unswap-sqr
Counts
2 → 48
Calls
2 calls:
45.0ms
(* (+ (exp x) (exp (- x))) y)
32.0ms
(/ (* (+ (exp x) (exp (- x))) y) (* z (* 2 x)))

series138.0ms

Counts
2 → 6
Calls
2 calls:
53.0ms
(* (+ (exp x) (exp (- x))) y)
85.0ms
(/ (* (+ (exp x) (exp (- x))) y) (* z (* 2 x)))

simplify58.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0402549
12331405
25001405

prune125.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ (exp x) (exp (- x))) y)
0.5b
(/ 1 (/ (* z (* 2 x)) (* (+ (exp x) (exp (- x))) y)))
4.8b
(/ (* z (* 2 x)) (* (+ (exp x) (exp (- x))) y))

rewrite134.0ms

Algorithm
rewrite-expression-head
Rules
99×add-exp-log
55×add-cbrt-cube
38×div-exp
37×prod-exp
26×times-frac
19×cbrt-undiv add-sqr-sqrt *-un-lft-identity cbrt-unprod
17×add-cube-cbrt
12×associate-*l/
11×associate-/r/
associate-/r*
rec-exp 1-exp
pow1 flip3-+ flip-+ div-inv
associate-*l* associate-/l*
associate-*r* add-log-exp
frac-2neg clear-num
pow-flip pow-prod-down *-commutative distribute-lft-out inv-pow unswap-sqr
Counts
3 → 120
Calls
3 calls:
43.0ms
(* (+ (exp x) (exp (- x))) y)
51.0ms
(/ 1 (/ (* z (* 2 x)) (* (+ (exp x) (exp (- x))) y)))
34.0ms
(/ (* z (* 2 x)) (* (+ (exp x) (exp (- x))) y))

series253.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(* (+ (exp x) (exp (- x))) y)
116.0ms
(/ 1 (/ (* z (* 2 x)) (* (+ (exp x) (exp (- x))) y)))
90.0ms
(/ (* z (* 2 x)) (* (+ (exp x) (exp (- x))) y))

simplify100.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (88.0ms)

IterNodesCost
06411597
139691290
250031219

prune211.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ (exp x) (exp (- x))) y)
0.2b
(/ 1 (* z (* 2 x)))
5.4b
(* (* (+ (exp x) (exp (- x))) y) (/ 1 (* z (* 2 x))))

rewrite189.0ms

Algorithm
rewrite-expression-head
Rules
100×add-exp-log
58×prod-exp
46×add-cbrt-cube
22×cbrt-unprod
18×div-exp
16×pow1
11×add-sqr-sqrt *-un-lft-identity
10×associate-*r*
cbrt-undiv add-cube-cbrt rec-exp 1-exp
associate-*l/
pow-prod-down
times-frac
associate-*l*
pow-flip flip3-+ flip-+ associate-/l* add-log-exp
frac-times *-commutative div-inv
frac-2neg associate-*r/ clear-num associate-/r* un-div-inv distribute-lft-out inv-pow unswap-sqr
Counts
3 → 106
Calls
3 calls:
44.0ms
(* (+ (exp x) (exp (- x))) y)
27.0ms
(/ 1 (* z (* 2 x)))
114.0ms
(* (* (+ (exp x) (exp (- x))) y) (/ 1 (* z (* 2 x))))

series150.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(* (+ (exp x) (exp (- x))) y)
16.0ms
(/ 1 (* z (* 2 x)))
86.0ms
(* (* (+ (exp x) (exp (- x))) y) (/ 1 (* z (* 2 x))))

simplify78.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
0572990
13004777
25003761

prune174.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 0b

regimes262.0ms

Accuracy

96.4% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 6.9b

bsearch78.0ms

Steps
ItersRangePoint
6
1.0429233478297456e-08
1.0159342052454006e-07
9.697685442240727e-08
7
-1979137442.890176
-24085643.6640059
-1414753649.7641225

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02716
12716

end0.0ms

sample1.2s

Algorithm
intervals
Results
559.0ms22112×body80valid