Details

Time bar (total: 4.1s)

sample73.0ms

Algorithm
intervals
Results
35.0ms104×body1280valid
14.0ms73×body640valid
6.0ms204×body80overflowed
6.0ms46×body320valid
2.0ms20×body160valid
1.0ms13×body80valid

simplify45.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.7b

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

series134.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(+ (exp x) (exp (neg x)))
73.0ms
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
35.0ms
(- (exp x) (exp (neg x)))

simplify242.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0285936
1951868
24961857
35001857

prune149.0ms

Filtered
82 candidates to 59 candidates (72.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New80282
Fresh000
Picked101
Done000
Total81283

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

series74.0ms

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

simplify79.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 11 candidates (84.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New12113
Fresh011
Picked011
Done000
Total12315

Merged error: 0.0b

Counts
15 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.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:
8.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
13.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (+ (exp x) (exp (neg x))))
5.0ms
(* 1/60 (pow x 5))
6.0ms
(* 1/3 (pow x 3))

series239.0ms

Counts
4 → 12
Calls
4 calls:
59.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
93.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (+ (exp x) (exp (neg x))))
46.0ms
(* 1/60 (pow x 5))
40.0ms
(* 1/3 (pow x 3))

simplify62.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04801097
120771017
250011016

prune265.0ms

Filtered
116 candidates to 77 candidates (66.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1160116
Fresh011
Picked011
Done011
Total1163119

Merged error: 0.0b

Counts
119 → 3

localize5.0ms

Local error

Found 3 expressions with local error:

0.0b
(tanh x)
0.0b
(pow (tanh x) 3)
34.5b
(cbrt (pow (tanh x) 3))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cube-div unpow-prod-down cube-prod
pow1 add-exp-log add-cbrt-cube
pow-unpow cbrt-div tanh-def add-log-exp
cube-mult unpow3 sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube rem-cube-cbrt
Counts
3 → 60
Calls
3 calls:
1.0ms
(tanh x)
2.0ms
(pow (tanh x) 3)
3.0ms
(cbrt (pow (tanh x) 3))

series261.0ms

Counts
3 → 9
Calls
3 calls:
72.0ms
(tanh x)
113.0ms
(pow (tanh x) 3)
76.0ms
(cbrt (pow (tanh x) 3))

simplify37.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0244267
1845242
25001236

prune82.0ms

Filtered
69 candidates to 41 candidates (59.4%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New69069
Fresh000
Picked011
Done022
Total69372

Merged error: 0.0b

Counts
72 → 3

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

sample2.2s

Algorithm
intervals
Results
1.1s3379×body1280valid
475.0ms2405×body640valid
242.0ms7551×body80overflowed
154.0ms1198×body320valid
48.0ms607×body160valid
17.0ms411×body80valid

Profiling

Loading profile data...