Details

Time bar (total: 6.2s)

sample60.0ms

Algorithm
intervals
Results
40.0ms761×body80valid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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.5b

localize6.0ms

Local error

Found 2 expressions with local error:

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

series193.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0345374
11456317
25001317

prune153.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
173×times-frac
70×*-un-lft-identity
68×add-sqr-sqrt add-cube-cbrt
33×add-exp-log add-cbrt-cube
19×associate-/l*
17×cbrt-undiv div-exp
16×associate-/r*
12×div-inv
associate-/r/ add-log-exp
prod-exp cbrt-unprod
pow1 associate-/l/
frac-2neg flip3-+ associate-*r/ clear-num flip-+
+-commutative sum-log distribute-lft-out
Counts
3 → 156
Calls
3 calls:
4.0ms
(+ (exp (* -1 x)) (exp x))
10.0ms
(/ (* 1/2 (+ (exp (* -1 x)) (exp x))) (/ x y))
18.0ms
(/ (/ (* 1/2 (+ (exp (* -1 x)) (exp x))) (/ x y)) z)

series173.0ms

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

simplify99.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08561876
140261689
250031689

prune485.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp (* -1 x)) (exp x))
0.6b
(/ (+ (exp (* -1 x)) (exp x)) (/ z y))
5.9b
(* (/ 1/2 x) (/ (+ (exp (* -1 x)) (exp x)) (/ z y)))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
203×times-frac
157×*-un-lft-identity
122×add-sqr-sqrt
101×add-cube-cbrt
57×associate-*r*
29×add-exp-log add-cbrt-cube
28×distribute-lft-out
13×associate-*l* associate-/r*
12×cbrt-undiv div-exp div-inv
prod-exp cbrt-unprod unswap-sqr
pow1 add-log-exp
associate-/l*
flip3-+ associate-/r/ flip-+ associate-/l/
+-commutative frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num sum-log *-commutative
Counts
3 → 198
Calls
3 calls:
4.0ms
(+ (exp (* -1 x)) (exp x))
14.0ms
(/ (+ (exp (* -1 x)) (exp x)) (/ z y))
45.0ms
(* (/ 1/2 x) (/ (+ (exp (* -1 x)) (exp x)) (/ z y)))

series207.0ms

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

simplify109.0ms

Algorithm
egg-herbie
Counts
207 → 207
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
09152295
145582121
250032121

prune527.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite188.0ms

Algorithm
rewrite-expression-head
Rules
1091×times-frac
644×*-un-lft-identity
525×add-sqr-sqrt
468×add-cube-cbrt
213×associate-*r*
101×add-exp-log
86×distribute-lft-out
64×div-inv
59×add-cbrt-cube
58×div-exp
30×cbrt-undiv
20×associate-/l*
18×prod-exp
16×associate-/r*
14×unswap-sqr
13×associate-*l*
10×cbrt-unprod
pow1 rec-exp 1-exp add-log-exp
associate-/l/
frac-2neg flip3-+ clear-num associate-/r/ flip-+
+-commutative frac-times associate-*r/ pow-prod-down associate-*l/ sum-log *-commutative
Counts
4 → 586
Calls
4 calls:
4.0ms
(+ (exp (* -1 x)) (exp x))
11.0ms
(/ (+ (exp (* -1 x)) (exp x)) z)
20.0ms
(/ (/ (+ (exp (* -1 x)) (exp x)) z) (/ 1 y))
107.0ms
(* (/ 1/2 x) (/ (/ (+ (exp (* -1 x)) (exp x)) z) (/ 1 y)))

series262.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (exp (* -1 x)) (exp x))
47.0ms
(/ (+ (exp (* -1 x)) (exp x)) z)
77.0ms
(/ (/ (+ (exp (* -1 x)) (exp x)) z) (/ 1 y))
115.0ms
(* (/ 1/2 x) (/ (/ (+ (exp (* -1 x)) (exp x)) z) (/ 1 y)))

simplify120.0ms

Algorithm
egg-herbie
Counts
598 → 598
Iterations

Useful iterations: 1 (47.0ms)

IterNodesCost
024788141
150027513

prune1.5s

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes163.0ms

Accuracy

83.8% (1.1b remaining)

Error of 1.1b against oracle of 0.0b and baseline of 6.9b

bsearch121.0ms

Steps
ItersRangePoint
9
2.1044065170581486e-115
2.9726885121273953e-108
2.9332543178834714e-108
8
-1.9041732611813586e-85
-2.2839527955522386e-88
-1.879887519829394e-85

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03717
13717

end0.0ms

sample1.5s

Algorithm
intervals
Results
1.1s22412×body80valid