Details

Time bar (total: 5.6s)

sample107.0ms

Algorithm
intervals
Results
45.0ms269×body10240exit
31.0ms108×body1280valid
14.0ms80×body640valid
4.0ms33×body320valid
1.0ms21×body160valid
0.0ms14×body80valid

simplify44.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0159
1249
2329
3449
4599
51749
611539
750019

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 59.0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
2.2b
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
6.7b
(- (exp x) (exp (- x)))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
26×add-sqr-sqrt
20×times-frac
14×add-cube-cbrt
distribute-lft-out add-log-exp
distribute-lft-out-- difference-of-squares
add-exp-log add-cbrt-cube associate-/l*
associate-/r*
pow1
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg diff-log div-sub tanh-undef div-exp clear-num sum-log div-inv
Counts
3 → 73
Calls
3 calls:
5.0ms
(+ (exp x) (exp (- x)))
25.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
6.0ms
(- (exp x) (exp (- x)))

series131.0ms

Counts
3 → 9
Calls
3 calls:
22.0ms
(+ (exp x) (exp (- x)))
73.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
35.0ms
(- (exp x) (exp (- x)))

simplify237.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0281936
1947870
24970860
35003860

prune168.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize2.0ms

Local error

Found 1 expressions with local error:

0.0b
(tanh x)

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-cbrt-cube tanh-def add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(tanh x)

series78.0ms

Counts
1 → 3
Calls
1 calls:
78.0ms
(tanh x)

simplify73.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
09148
119545
259945
3289145
4500245

prune26.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (+ (exp x) (exp (- x))))
0.0b
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
0.1b
(* 1/60 (pow x 5))
0.1b
(* 1/3 (pow x 3))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
28×*-un-lft-identity
20×add-cube-cbrt
19×associate-*r*
16×add-exp-log
12×times-frac
10×add-cbrt-cube
add-log-exp
unpow-prod-down
unswap-sqr
associate-*l* prod-exp
pow1 cube-prod associate-/r* distribute-lft-out sqr-pow
flip3-+ sum-log flip-+ associate-/l*
pow-to-exp pow-exp associate-/r/ *-commutative cbrt-unprod associate-/l/
cbrt-undiv +-commutative cube-mult associate-+r+ frac-2neg unpow3 div-exp clear-num div-inv
Counts
4 → 104
Calls
4 calls:
37.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (+ (exp x) (exp (- x))))
9.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
9.0ms
(* 1/60 (pow x 5))
7.0ms
(* 1/3 (pow x 3))

series241.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (+ (exp x) (exp (- x))))
60.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
46.0ms
(* 1/60 (pow x 5))
40.0ms
(* 1/3 (pow x 3))

simplify65.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04801097
120791018
250011017

prune327.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
0.1b
(* 1/60 (pow x 5))
0.1b
(* 1/3 (pow x 3))
0.2b
(/ 1 (/ (+ (exp x) (exp (- x))) (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))))

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
102×times-frac
86×*-un-lft-identity
74×add-sqr-sqrt
62×add-cube-cbrt
25×add-exp-log
19×associate-*r*
18×associate-/r*
13×add-cbrt-cube
12×distribute-lft-out
associate-/r/ add-log-exp
unpow-prod-down
div-exp unswap-sqr
associate-*l* prod-exp
pow1 flip3-+ flip-+ div-inv
cube-prod sqr-pow
cbrt-undiv sum-log associate-/l*
pow-to-exp rec-exp 1-exp pow-exp *-commutative cbrt-unprod
+-commutative cube-mult associate-+r+ pow-flip frac-2neg unpow3 clear-num inv-pow
Counts
4 → 165
Calls
4 calls:
9.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
5.0ms
(* 1/60 (pow x 5))
7.0ms
(* 1/3 (pow x 3))
32.0ms
(/ 1 (/ (+ (exp x) (exp (- x))) (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))))

series240.0ms

Counts
4 → 12
Calls
4 calls:
60.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
46.0ms
(* 1/60 (pow x 5))
40.0ms
(* 1/3 (pow x 3))
94.0ms
(/ 1 (/ (+ (exp x) (exp (- x))) (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))))

simplify88.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
06812645
136522349
250022343

prune397.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes15.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
021

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.3s7817×body10240exit
959.0ms3247×body1280valid
453.0ms2518×body640valid
135.0ms1189×body320valid
41.0ms615×body160valid
15.0ms431×body80valid