Details

Time bar (total: 4.5s)

sample71.0ms

Algorithm
intervals
Results
30.0ms93×body1280valid
16.0ms80×body640valid
7.0ms249×body80overflowed
5.0ms42×body320valid
2.0ms24×body160valid
1.0ms17×body80valid

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 57.3b

Counts
2 → 1

localize7.0ms

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))))
7.2b
(- (exp x) (exp (neg x)))

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

series135.0ms

Counts
3 → 9
Calls
3 calls:
22.0ms
(+ (exp x) (exp (neg x)))
74.0ms
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
38.0ms
(- (exp x) (exp (neg x)))

simplify242.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0285936
1951868
24961857
35001857

prune149.0ms

Filtered
82 candidates to 59 candidates (72.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New79382
Fresh000
Picked101
Done000
Total80383

Merged error: 0.0b

Counts
83 → 3

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

series70.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
09248
120645
261945
3320345
4500245

prune25.0ms

Filtered
13 candidates to 10 candidates (76.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New12113
Fresh022
Picked011
Done000
Total12416

Merged error: 0b

Counts
16 → 4

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

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

series765.0ms

Counts
4 → 12
Calls
4 calls:
206.0ms
(* (cbrt (tanh x)) (cbrt (tanh x)))
184.0ms
(cbrt (tanh x))
179.0ms
(cbrt (tanh x))
195.0ms
(cbrt (tanh x))

simplify121.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 3 (112.0ms)

IterNodesCost
0260769
1815701
24145670
35002662

prune190.0ms

Filtered
109 candidates to 74 candidates (67.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1090109
Fresh022
Picked011
Done011
Total1094113

Merged error: 0b

Counts
113 → 4

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

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

series147.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0276360
11208332
25001328

prune124.0ms

Filtered
79 candidates to 49 candidates (62.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New79079
Fresh011
Picked011
Done022
Total79483

Merged error: 0b

Counts
83 → 4

regimes14.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.0s3246×body1280valid
486.0ms2434×body640valid
237.0ms7710×body80overflowed
160.0ms1249×body320valid
50.0ms644×body160valid
18.0ms427×body80valid

Profiling

Loading profile data...