Details

Time bar (total: 5.4s)

sample102.0ms

Algorithm
intervals
Results
36.0ms224×body10240exit
31.0ms104×body1280valid
13.0ms70×body640valid
10.0ms58×body320valid
1.0ms13×body160valid
0.0ms11×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: 58.7b

localize7.0ms

Local error

Found 2 expressions with local error:

1.0b
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
3.7b
(- (exp x) (exp (- x)))

rewrite16.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:
10.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
5.0ms
(- (exp x) (exp (- x)))

series107.0ms

Counts
2 → 6
Calls
2 calls:
68.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
39.0ms
(- (exp x) (exp (- x)))

simplify104.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0252836
1806782
23319775
35002775

prune133.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 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)

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

prune21.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.0ms

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

series141.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(- (+ x (* 2/15 (pow x 5))) (* 1/3 (pow x 3)))
50.0ms
(* 2/15 (pow x 5))
39.0ms
(* 1/3 (pow x 3))

simplify43.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0276362
11208335
25001331

prune148.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize6.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (tanh x)) (cbrt (tanh x)))
0.7b
(cbrt (tanh x))
0.7b
(cbrt (tanh x))
0.7b
(cbrt (tanh x))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
33×cbrt-div
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1 tanh-def
frac-times pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ associate-*l/
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 97
Calls
4 calls:
10.0ms
(* (cbrt (tanh x)) (cbrt (tanh x)))
2.0ms
(cbrt (tanh x))
2.0ms
(cbrt (tanh x))
2.0ms
(cbrt (tanh x))

series754.0ms

Counts
4 → 12
Calls
4 calls:
209.0ms
(* (cbrt (tanh x)) (cbrt (tanh x)))
178.0ms
(cbrt (tanh x))
181.0ms
(cbrt (tanh x))
186.0ms
(cbrt (tanh x))

simplify125.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 3 (112.0ms)

IterNodesCost
0259769
1807701
24106670
35001662

prune195.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes13.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.3s7754×body10240exit
990.0ms3312×body1280valid
463.0ms2491×body640valid
138.0ms1222×body320valid
41.0ms588×body160valid
14.0ms387×body80valid