Details

Time bar (total: 2.7s)

analyze15.0ms (0.5%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%1.6%48.5%9
50.4%1.2%48.5%10
50.4%1.2%48.5%11
50.4%1.1%48.6%12
50.4%1%48.6%13
50.5%0.9%48.6%14

sample72.0ms (2.6%)

Algorithm
intervals
Results
37.0ms115×body1280valid
21.0ms75×body640valid
5.0ms40×body320valid
1.0ms12×body160valid
1.0ms14×body80valid

simplify48.0ms (1.7%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
0483513
1483513

prune5.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 57.9b

Counts
2 → 1

localize7.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (neg x)))
1.0b
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
3.6b
(- (exp x) (exp (neg x)))

rewrite22.0ms (0.8%)

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
30×add-sqr-sqrt times-frac
16×add-cube-cbrt
cosh-undef distribute-lft-out
sinh-undef distribute-lft-out-- add-log-exp difference-of-squares
associate-/l*
add-exp-log associate-/r* add-cbrt-cube
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 → 86
Calls

3 calls:

10.0ms
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
5.0ms
(- (exp x) (exp (neg x)))
4.0ms
(+ (exp x) (exp (neg x)))

series23.0ms (0.8%)

Counts
3 → 9
Calls

3 calls:

14.0ms
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
6.0ms
(- (exp x) (exp (neg x)))
3.0ms
(+ (exp x) (exp (neg x)))

simplify61.0ms (2.3%)

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
048631393
148631393

prune104.0ms (3.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New92395
Fresh000
Picked101
Done000
Total93396

Merged error: 0b

Counts
96 → 3

localize2.0ms (0.1%)

Local error

Found 1 expressions with local error:

0.0b
(tanh x)

rewrite1.0ms (0%)

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt add-cube-cbrt *-un-lft-identity tanh-def-c add-cbrt-cube tanh-def-b add-log-exp tanh-def-a
Counts
1 → 10
Calls

1 calls:

1.0ms
(tanh x)

series17.0ms (0.6%)

Counts
1 → 3
Calls

1 calls:

17.0ms
(tanh x)

simplify34.0ms (1.2%)

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 0 (31.0ms)

IterNodesCost
0601579

prune21.0ms (0.8%)

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New12113
Fresh112
Picked011
Done000
Total13316

Merged error: 0b

Counts
16 → 3

localize8.0ms (0.3%)

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (neg x)))
0.0b
(sinh x)
1.0b
(/ (* 2 (sinh x)) (+ (exp x) (exp (neg x))))

rewrite14.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt times-frac associate-/r* add-log-exp
pow1 cosh-undef distribute-lft-out
cbrt-undiv sinh-def flip3-+ div-exp associate-/r/ flip-+
+-commutative frac-2neg associate-*r/ prod-exp clear-num sum-log cbrt-unprod div-inv associate-/l/ associate-/l*
Counts
3 → 49
Calls

3 calls:

8.0ms
(/ (* 2 (sinh x)) (+ (exp x) (exp (neg x))))
4.0ms
(+ (exp x) (exp (neg x)))
1.0ms
(sinh x)

series29.0ms (1.1%)

Counts
3 → 9
Calls

3 calls:

18.0ms
(/ (* 2 (sinh x)) (+ (exp x) (exp (neg x))))
7.0ms
(sinh x)
3.0ms
(+ (exp x) (exp (neg x)))

simplify47.0ms (1.7%)

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
04915454
14915454

prune67.0ms (2.4%)

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New58058
Fresh011
Picked011
Done011
Total58361

Merged error: 0b

Counts
61 → 3

localize4.0ms (0.2%)

Local error

Found 3 expressions with local error:

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

rewrite12.0ms (0.4%)

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-c tanh-def-b tanh-def-a
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:

7.0ms
(* (sqrt (tanh x)) (sqrt (tanh x)))
1.0ms
(tanh x)
1.0ms
(tanh x)

series41.0ms (1.5%)

Counts
3 → 9
Calls

3 calls:

14.0ms
(tanh x)
14.0ms
(* (sqrt (tanh x)) (sqrt (tanh x)))
13.0ms
(tanh x)

simplify29.0ms (1.1%)

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (21.0ms)

IterNodesCost
05805653

prune109.0ms (4%)

Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New93093
Fresh000
Picked011
Done022
Total93396

Merged error: 0b

Counts
96 → 3

regimes29.0ms (1.1%)

Accuracy

Total 0.0b remaining (69.7%)

Threshold costs 0.0b (69.7%)

bsearch0.0ms (0%)

simplify1.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
022
122

end0.0ms (0%)

sample1.9s (69.8%)

Algorithm
intervals
Results
1.1s3270×body1280valid
496.0ms2478×body640valid
164.0ms1231×body320valid
49.0ms616×body160valid
17.0ms405×body80valid
0.0msbody80overflowed

Profiling

Loading profile data...