Details

Time bar (total: 6.1s)

sample101.0ms

Algorithm
intervals
Results
42.0ms240×body10240exit
29.0ms99×body1280valid
13.0ms78×body640valid
5.0ms47×body320valid
1.0ms19×body160valid
0.0ms13×body80valid

simplify48.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: 58.0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.8b
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
5.5b
(- (exp x) (exp (- x)))

rewrite37.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)))
23.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
6.0ms
(- (exp x) (exp (- x)))

series143.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(+ (exp x) (exp (- x)))
78.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
42.0ms
(- (exp x) (exp (- x)))

simplify242.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:
77.0ms
(tanh x)

simplify73.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
09148
119545
259945
3289145
4500245

prune25.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

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

rewrite56.0ms

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

series213.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (exp x) (exp (- x)))
101.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (+ (exp x) (exp (- x))))
48.0ms
(* 1/60 (pow x 5))
41.0ms
(* 1/3 (pow x 3))

simplify64.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
04831031
12122953
25001952

prune346.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite126.0ms

Algorithm
rewrite-expression-head
Rules
68×add-sqr-sqrt
36×associate-*r*
34×unpow-prod-down *-un-lft-identity cube-prod
31×add-exp-log
30×add-cube-cbrt
24×unswap-sqr
18×swap-sqr associate-*l*
16×prod-exp sqr-pow
15×add-cbrt-cube
pow-to-exp pow-exp associate-/r/
flip3-+ flip-+
cube-mult unpow3
times-frac associate-/l*
pow1 frac-times cbrt-unprod add-log-exp
*-commutative
cbrt-undiv associate-*r/ div-exp associate-*l/ sum-cubes associate-/l/ distribute-lft-out
pow2 frac-2neg pow-prod-down clear-num associate-/r* pow-sqr pow-prod-up div-inv
Counts
4 → 177
Calls
4 calls:
11.0ms
(* (pow x 3) (pow x 3))
6.0ms
(* 1/3 (pow x 3))
6.0ms
(* 1/3 (pow x 3))
97.0ms
(/ (+ (pow (* 1/3 (pow x 3)) 3) (pow (+ (* 1/60 (pow x 5)) (* 2 x)) 3)) (* (+ (* (+ (* 1/60 (pow x 5)) (* 2 x)) (- (+ (* 1/60 (pow x 5)) (* 2 x)) (* 1/3 (pow x 3)))) (* 1/9 (* (pow x 3) (pow x 3)))) (+ (exp x) (exp (- x)))))

series358.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* (pow x 3) (pow x 3))
42.0ms
(* 1/3 (pow x 3))
36.0ms
(* 1/3 (pow x 3))
237.0ms
(/ (+ (pow (* 1/3 (pow x 3)) 3) (pow (+ (* 1/60 (pow x 5)) (* 2 x)) 3)) (* (+ (* (+ (* 1/60 (pow x 5)) (* 2 x)) (- (+ (* 1/60 (pow x 5)) (* 2 x)) (* 1/3 (pow x 3)))) (* 1/9 (* (pow x 3) (pow x 3)))) (+ (exp x) (exp (- x)))))

simplify161.0ms

Algorithm
egg-herbie
Counts
189 → 189
Iterations

Useful iterations: 2 (134.0ms)

IterNodesCost
08342132
146591852
250011850

prune614.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes18.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.3s7550×body10240exit
990.0ms3320×body1280valid
441.0ms2464×body640valid
137.0ms1220×body320valid
39.0ms574×body160valid
15.0ms422×body80valid