Details

Time bar (total: 3.7s)

sample32.0ms

Algorithm
intervals
Results
16.0ms631×body80valid

simplify51.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.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/
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:
7.0ms
(* (cosh x) (/ y x))
5.0ms
(/ (* (cosh x) (/ y x)) z)

series180.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0345374
11456317
25001317

prune139.0ms

Pruning

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

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
26×add-exp-log add-cbrt-cube
10×prod-exp cbrt-unprod
*-un-lft-identity
add-sqr-sqrt
cbrt-undiv div-exp
pow1 add-cube-cbrt add-log-exp
associate-*l* associate-*l/
flip3-+ associate-*r* flip-+
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 → 60
Calls
3 calls:
6.0ms
(+ (exp x) (exp (- x)))
20.0ms
(* (+ (exp x) (exp (- x))) y)
15.0ms
(/ (* (+ (exp x) (exp (- x))) y) (* z (* 2 x)))

series162.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0421641
12448493
25003493

prune176.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))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log add-cbrt-cube
16×*-un-lft-identity times-frac
14×add-sqr-sqrt
12×cbrt-undiv add-cube-cbrt div-exp
associate-/l*
prod-exp cbrt-unprod
pow1 add-log-exp
associate-*l* associate-*l/ associate-/r* div-inv
flip3-+ associate-*r* flip-+ associate-/l/
frac-2neg clear-num distribute-lft-out
+-commutative pow-prod-down sum-log *-commutative unswap-sqr
Counts
4 → 94
Calls
4 calls:
9.0ms
(/ (* (+ (exp x) (exp (- x))) y) z)
5.0ms
(+ (exp x) (exp (- x)))
23.0ms
(* (+ (exp x) (exp (- x))) y)
11.0ms
(/ (/ (* (+ (exp x) (exp (- x))) y) z) (* 2 x))

series229.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(/ (* (+ (exp x) (exp (- x))) y) z)
25.0ms
(+ (exp x) (exp (- x)))
51.0ms
(* (+ (exp x) (exp (- x))) y)
90.0ms
(/ (/ (* (+ (exp x) (exp (- x))) y) z) (* 2 x))

simplify71.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0490952
12532767
25002766

prune249.0ms

Pruning

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

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
149×times-frac
99×add-sqr-sqrt
90×*-un-lft-identity
85×add-cube-cbrt
75×add-exp-log
47×add-cbrt-cube
46×associate-*r*
34×div-exp
21×prod-exp
18×cbrt-undiv
13×cbrt-unprod associate-/l*
11×associate-*l*
10×div-inv
pow1
add-log-exp
unswap-sqr
rec-exp 1-exp
associate-*l/ associate-/r*
flip3-+ pow-prod-down *-commutative flip-+ distribute-lft-out
+-commutative frac-times frac-2neg associate-*r/ clear-num sum-log associate-/l/
Counts
4 → 195
Calls
4 calls:
5.0ms
(+ (exp x) (exp (- x)))
21.0ms
(* (+ (exp x) (exp (- x))) y)
6.0ms
(/ (/ 1 z) x)
47.0ms
(* (/ (* (+ (exp x) (exp (- x))) y) 2) (/ (/ 1 z) x))

series180.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ (exp x) (exp (- x)))
51.0ms
(* (+ (exp x) (exp (- x))) y)
9.0ms
(/ (/ 1 z) x)
95.0ms
(* (/ (* (+ (exp x) (exp (- x))) y) 2) (/ (/ 1 z) x))

simplify42.0ms

Algorithm
egg-herbie
Counts
207 → 207
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09781905
150021623

prune502.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes169.0ms

Accuracy

94.4% (0.4b remaining)

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

bsearch102.0ms

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

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03413
13413

end0.0ms

sample1.0s

Algorithm
intervals
Results
585.0ms22339×body80valid