Details

Time bar (total: 5.1s)

sample134.0ms

Algorithm
intervals
Results
51.0ms233×body10240exit
41.0ms102×body1280valid
18.0ms79×body640valid
5.0ms39×body320valid
2.0ms24×body160valid
1.0ms12×body80valid

simplify45.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.5b

localize7.0ms

Local error

Found 2 expressions with local error:

1.5b
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
6.3b
(- (exp x) (exp (- x)))

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
25×add-sqr-sqrt
20×times-frac
13×add-cube-cbrt
distribute-lft-out distribute-lft-out-- difference-of-squares
associate-/l*
add-exp-log associate-/r* add-cbrt-cube add-log-exp
pow1 flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-sub tanh-undef div-exp clear-num flip-+ div-inv
Counts
2 → 61
Calls
2 calls:
53.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
13.0ms
(- (exp x) (exp (- x)))

series98.0ms

Counts
2 → 6
Calls
2 calls:
62.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
36.0ms
(- (exp x) (exp (- x)))

simplify103.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0252836
1806782
23319775
35002775

prune132.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)

rewrite2.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)

series69.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
09148
119545
259945
3289145
4500245

prune24.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite64.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:
6.0ms
(+ x (* 2/15 (pow x 5)))
29.0ms
(- (+ x (* 2/15 (pow x 5))) (* 1/3 (pow x 3)))
14.0ms
(* 2/15 (pow x 5))
13.0ms
(* 1/3 (pow x 3))

series234.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(+ x (* 2/15 (pow x 5)))
51.0ms
(- (+ x (* 2/15 (pow x 5))) (* 1/3 (pow x 3)))
44.0ms
(* 2/15 (pow x 5))
35.0ms
(* 1/3 (pow x 3))

simplify49.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0314427
11376401
25001396

prune176.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize4.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)))

rewrite26.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:
1.0ms
(tanh x)
1.0ms
(tanh x)
20.0ms
(* (sqrt (tanh x)) (sqrt (tanh x)))

series210.0ms

Counts
3 → 9
Calls
3 calls:
71.0ms
(tanh x)
69.0ms
(tanh x)
70.0ms
(* (sqrt (tanh x)) (sqrt (tanh x)))

simplify242.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0199444
1725415
24998407
35003407

prune131.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes11.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.2s

Algorithm
intervals
Results
1.3s7580×body10240exit
969.0ms3253×body1280valid
452.0ms2519×body640valid
139.0ms1224×body320valid
42.0ms610×body160valid
17.0ms394×body80valid