Details

Time bar (total: 5.3s)

sample100.0ms

Algorithm
intervals
Results
39.0ms224×body10240exit
31.0ms104×body1280valid
12.0ms70×body640valid
6.0ms58×body320valid
1.0ms13×body160valid
0.0ms11×body80valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0159
1249
2329
3449
4599
51749
611539
750019

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
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)))

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

series114.0ms

Counts
2 → 6
Calls
2 calls:
74.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
40.0ms
(- (exp x) (exp (- x)))

simplify103.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0252836
1806782
23319775
35002775

prune132.0ms

Filtered
67 candidates to 47 candidates (70.1%)
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)

series75.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
09148
119545
259945
3289145
4500245

prune21.0ms

Filtered
13 candidates to 10 candidates (76.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

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

rewrite21.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:
8.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))

series138.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0276362
11208335
25001331

prune147.0ms

Filtered
79 candidates to 49 candidates (62.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

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

rewrite14.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:
7.0ms
(* (cbrt (tanh x)) (cbrt (tanh x)))
1.0ms
(cbrt (tanh x))
1.0ms
(cbrt (tanh x))
2.0ms
(cbrt (tanh x))

series743.0ms

Counts
4 → 12
Calls
4 calls:
211.0ms
(* (cbrt (tanh x)) (cbrt (tanh x)))
177.0ms
(cbrt (tanh x))
177.0ms
(cbrt (tanh x))
177.0ms
(cbrt (tanh x))

simplify117.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 3 (109.0ms)

IterNodesCost
0259769
1807701
24106670
35001662

prune190.0ms

Filtered
109 candidates to 74 candidates (67.9%)
Pruning

3 alts after pruning (0 fresh and 3 done)

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

sample3.1s

Algorithm
intervals
Results
1.3s7754×body10240exit
979.0ms3312×body1280valid
445.0ms2491×body640valid
135.0ms1222×body320valid
42.0ms588×body160valid
14.0ms387×body80valid