Details

Time bar (total: 4.8s)

sample77.0ms

Algorithm
intervals
Results
36.0ms113×body1280valid
14.0ms74×body640valid
7.0ms214×body80overflowed
5.0ms35×body320valid
2.0ms22×body160valid
0.0ms12×body80valid

simplify46.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0159
1249
2329
3449
4599
51749
611539
750019

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 57.9b

Counts
2 → 1

localize8.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))))
6.0b
(- (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:
4.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)))

series170.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (exp x) (exp (neg x)))
89.0ms
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
50.0ms
(- (exp x) (exp (neg x)))

simplify245.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0285936
1951868
24961857
35001857

prune238.0ms

Filtered
82 candidates to 59 candidates (28.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New79382
Fresh000
Picked101
Done000
Total80383

Merged error: 0b

Counts
83 → 3

localize4.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:
2.0ms
(tanh x)

series102.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
09248
120645
261945
3320345
4500245

prune29.0ms

Filtered
13 candidates to 11 candidates (15.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New12113
Fresh112
Picked011
Done000
Total13316

Merged error: 0b

Counts
16 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (+ (exp x) (exp (neg x))))
0.0b
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
0.1b
(* 1/60 (pow x 5))
0.1b
(* 1/3 (pow x 3))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
28×*-un-lft-identity
20×add-cube-cbrt
19×associate-*r*
16×add-exp-log
12×times-frac
10×add-cbrt-cube
add-log-exp
unpow-prod-down
unswap-sqr
associate-*l* prod-exp
pow1 cube-prod associate-/r* distribute-lft-out sqr-pow
flip3-+ sum-log flip-+ associate-/l*
pow-to-exp pow-exp associate-/r/ *-commutative cbrt-unprod associate-/l/
cbrt-undiv +-commutative cube-mult associate-+r+ frac-2neg unpow3 div-exp clear-num div-inv
Counts
4 → 104
Calls
4 calls:
13.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (+ (exp x) (exp (neg x))))
11.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
5.0ms
(* 1/60 (pow x 5))
6.0ms
(* 1/3 (pow x 3))

series498.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (+ (exp x) (exp (neg x))))
73.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
265.0ms
(* 1/60 (pow x 5))
44.0ms
(* 1/3 (pow x 3))

simplify64.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04801097
120771017
250011016

prune529.0ms

Filtered
116 candidates to 77 candidates (33.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1160116
Fresh011
Picked011
Done011
Total1163119

Merged error: 0b

Counts
119 → 3

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ 1 (exp (* -2 x)))
0.5b
(/ (- 1 (exp (* -2 x))) (+ 1 (exp (* -2 x))))
6.0b
(- 1 (exp (* -2 x)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
49×*-un-lft-identity
33×add-sqr-sqrt
24×times-frac
15×add-cube-cbrt
12×difference-of-squares
distribute-lft-out
add-log-exp
associate-/l* distribute-lft-out--
add-exp-log add-cbrt-cube
associate-/r*
pow1
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative sub-neg frac-2neg diff-log div-sub div-exp clear-num sum-log div-inv
Counts
3 → 78
Calls
3 calls:
3.0ms
(+ 1 (exp (* -2 x)))
8.0ms
(/ (- 1 (exp (* -2 x))) (+ 1 (exp (* -2 x))))
5.0ms
(- 1 (exp (* -2 x)))

series93.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(+ 1 (exp (* -2 x)))
60.0ms
(/ (- 1 (exp (* -2 x))) (+ 1 (exp (* -2 x))))
20.0ms
(- 1 (exp (* -2 x)))

simplify38.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0272830
11056769
25001762

prune183.0ms

Filtered
87 candidates to 56 candidates (35.6%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New87087
Fresh000
Picked011
Done022
Total87390

Merged error: 0b

Counts
90 → 3

regimes30.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.3s

Algorithm
intervals
Results
1.1s3351×body1280valid
466.0ms2400×body640valid
232.0ms7637×body80overflowed
152.0ms1196×body320valid
49.0ms644×body160valid
16.0ms409×body80valid

Profiling

Loading profile data...