Details

Time bar (total: 2.9s)

sample81.0ms

Algorithm
intervals
Results
37.0ms106×body1280valid
17.0ms80×body640valid
8.0ms258×body80overflowed
5.0ms37×body320valid
2.0ms21×body160valid
0.0ms12×body80valid

simplify77.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (76.0ms)

IterNodesCost
0499413
1499413

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 58.2b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (neg x)))
0.8b
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
6.3b
(- (exp x) (exp (neg x)))

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

series27.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+ (exp x) (exp (neg x)))
14.0ms
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
6.0ms
(- (exp x) (exp (neg x)))

simplify50.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
052151222

prune77.0ms

Filtered
56 candidates to 82 candidates (-46.4%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New80282
Fresh000
Picked101
Done000
Total81283

Merged error: 0b

Counts
83 → 2

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)

series15.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
0573579

prune20.0ms

Filtered
11 candidates to 13 candidates (-18.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New13013
Fresh011
Picked011
Done000
Total13215

Merged error: 0b

Counts
15 → 2

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.0ms

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

series13.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
04952691
14952691

prune110.0ms

Filtered
55 candidates to 79 candidates (-43.6%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New79079
Fresh000
Picked011
Done011
Total79281

Merged error: 0b

Counts
81 → 2

regimes25.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
022
122

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.1s3351×body1280valid
484.0ms2420×body640valid
234.0ms7514×body80overflowed
152.0ms1186×body320valid
50.0ms648×body160valid
16.0ms395×body80valid

Profiling

Loading profile data...