Details

Time bar (total: 5.4s)

sample95.0ms

Algorithm
intervals
Results
34.0ms217×body10240exit
31.0ms107×body1280valid
14.0ms81×body640valid
4.0ms34×body320valid
1.0ms16×body160valid
1.0ms18×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: 56.7b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.8b
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
5.1b
(- (exp x) (exp (- 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 (- x)))
11.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
5.0ms
(- (exp x) (exp (- x)))

series135.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(+ (exp x) (exp (- x)))
76.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
36.0ms
(- (exp x) (exp (- x)))

simplify242.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0281936
1947870
24970860
35003860

prune161.0ms

Filtered
82 candidates to 60 candidates (73.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New78482
Fresh000
Picked101
Done000
Total79483

Merged error: 0.0b

Counts
83 → 4

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)

simplify74.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
09148
119545
259945
3289145
4500245

prune23.0ms

Filtered
13 candidates to 10 candidates (76.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New12113
Fresh123
Picked011
Done000
Total13417

Merged error: 0.0b

Counts
17 → 4

localize19.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 (- x))))
0.0b
(+ (exp x) (exp (- x)))
0.1b
(* 1/60 (pow x 5))
0.1b
(* 1/3 (pow x 3))

rewrite33.0ms

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

series212.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (+ (exp x) (exp (- x))))
23.0ms
(+ (exp x) (exp (- x)))
52.0ms
(* 1/60 (pow x 5))
37.0ms
(* 1/3 (pow x 3))

simplify70.0ms

Algorithm
egg-herbie
Counts
115 → 115
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
04831031
12122953
25001952

prune285.0ms

Filtered
115 candidates to 78 candidates (67.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1141115
Fresh112
Picked011
Done011
Total1154119

Merged error: 0b

Counts
119 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (+ (pow x 2) (+ (* 1/12 (pow x 4)) 2)))
0.1b
(* 1/60 (pow x 5))
0.1b
(* 1/12 (pow x 4))
0.1b
(* 1/3 (pow x 3))

rewrite36.0ms

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

series294.0ms

Counts
4 → 12
Calls
4 calls:
166.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (+ (pow x 2) (+ (* 1/12 (pow x 4)) 2)))
51.0ms
(* 1/60 (pow x 5))
36.0ms
(* 1/12 (pow x 4))
41.0ms
(* 1/3 (pow x 3))

simplify75.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
05221049
12518967
25003966

prune317.0ms

Filtered
128 candidates to 83 candidates (64.8%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1280128
Fresh011
Picked011
Done022
Total1284132

Merged error: 0b

Counts
132 → 4

regimes17.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify4.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
021

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.2s7412×body10240exit
992.0ms3330×body1280valid
434.0ms2410×body640valid
139.0ms1221×body320valid
48.0ms632×body160valid
18.0ms407×body80valid