Details

Time bar (total: 4.3s)

sample76.0ms

Algorithm
intervals
Results
35.0ms101×body1280valid
16.0ms82×body640valid
8.0ms268×body80overflowed
5.0ms39×body320valid
2.0ms24×body160valid
0.0ms10×body80valid

simplify43.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: 57.9b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.5b
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
5.7b
(- (exp x) (exp (- x)))

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

series139.0ms

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

simplify234.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0281936
1947870
24970860
35003860

prune169.0ms

Pruning

3 alts after pruning (3 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)

series93.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
09148
119545
259945
3289145
4500245

prune23.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
19×associate-*r*
14×add-exp-log
11×add-cube-cbrt *-un-lft-identity add-log-exp
unpow-prod-down add-cbrt-cube
unswap-sqr
associate-*l* prod-exp
pow1 cube-prod sqr-pow
pow-to-exp diff-log pow-exp sum-log *-commutative cbrt-unprod
+-commutative cube-mult sub-neg flip3-- flip3-+ unpow3 associate--l+ flip-- flip-+
Counts
4 → 81
Calls
4 calls:
16.0ms
(- (+ x (* 2/15 (pow x 5))) (* 1/3 (pow x 3)))
2.0ms
(+ x (* 2/15 (pow x 5)))
5.0ms
(* 2/15 (pow x 5))
7.0ms
(* 1/3 (pow x 3))

series260.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(- (+ x (* 2/15 (pow x 5))) (* 1/3 (pow x 3)))
112.0ms
(+ x (* 2/15 (pow x 5)))
52.0ms
(* 2/15 (pow x 5))
36.0ms
(* 1/3 (pow x 3))

simplify48.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0314427
11376401
25001396

prune180.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(tanh x)
0.0b
(tanh x)
0.2b
(* (sqrt (tanh x)) (sqrt (tanh x)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
24×sqrt-div
23×add-sqr-sqrt
18×pow1 sqrt-prod
11×add-cube-cbrt *-un-lft-identity
10×tanh-def
frac-times
sqrt-pow1 pow1/2 swap-sqr
associate-*r* associate-*l*
add-exp-log pow-prod-up add-cbrt-cube
unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr add-log-exp
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
3 → 84
Calls
3 calls:
0.0ms
(tanh x)
1.0ms
(tanh x)
10.0ms
(* (sqrt (tanh x)) (sqrt (tanh x)))

series234.0ms

Counts
3 → 9
Calls
3 calls:
72.0ms
(tanh x)
81.0ms
(tanh x)
81.0ms
(* (sqrt (tanh x)) (sqrt (tanh x)))

simplify235.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0199444
1725415
24998407
35003407

prune132.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes12.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

sample2.2s

Algorithm
intervals
Results
1.0s3275×body1280valid
494.0ms2514×body640valid
226.0ms7564×body80overflowed
147.0ms1179×body320valid
47.0ms616×body160valid
19.0ms416×body80valid