Details

Time bar (total: 5.1s)

sample100.0ms

Algorithm
intervals
Results
40.0ms237×body10240exit
31.0ms105×body1280valid
14.0ms80×body640valid
3.0ms33×body320valid
2.0ms27×body160valid
0.0ms11×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.6b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.5b
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
7.2b
(- (exp x) (exp (- x)))

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

series143.0ms

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

simplify224.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0278936
1929870
24802860
35001860

prune141.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: 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)

series81.0ms

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

simplify72.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
09048
119145
258145
3285245
4500145

prune20.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: 0b

Counts
17 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
199×*-un-lft-identity
105×distribute-lft-out
71×associate-*l*
52×times-frac
39×add-sqr-sqrt
29×add-cube-cbrt
16×add-exp-log
15×associate-*r*
13×associate-/l*
10×add-cbrt-cube
pow1 unpow-prod-down
prod-exp add-log-exp unswap-sqr
associate-/r* sqr-pow
flip3-+ flip-+
pow-to-exp pow-prod-down pow-exp associate-/r/ *-commutative cbrt-unprod associate-/l/
cbrt-undiv +-commutative frac-2neg unpow3 div-exp clear-num sum-log div-inv
Counts
4 → 150
Calls
4 calls:
4.0ms
(+ (exp x) (exp (- x)))
42.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (+ (exp x) (exp (- x))))
6.0ms
(* 1/60 (pow x 5))
6.0ms
(* 1/3 (pow x 3))

series221.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(+ (exp x) (exp (- x)))
100.0ms
(/ (+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x))) (+ (exp x) (exp (- x))))
49.0ms
(* 1/60 (pow x 5))
43.0ms
(* 1/3 (pow x 3))

simplify71.0ms

Algorithm
egg-herbie
Counts
162 → 162
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04741818
120461746
250011745

prune278.0ms

Filtered
162 candidates to 77 candidates (47.5%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1620162
Fresh022
Picked011
Done011
Total1624166

Merged error: 0b

Counts
166 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt *-un-lft-identity
15×associate-*r*
14×add-exp-log
12×associate-*l*
11×add-log-exp
10×add-cube-cbrt
unpow-prod-down unswap-sqr
pow1 add-cbrt-cube
prod-exp distribute-lft-out distribute-lft-out--
sqr-pow
difference-of-squares
+-commutative pow-to-exp diff-log pow-prod-down pow-exp associate--l+ sum-log *-commutative cbrt-unprod
sub-neg flip3-- flip3-+ unpow3 flip-- flip-+
Counts
4 → 91
Calls
4 calls:
8.0ms
(+ x (* 2/15 (pow x 5)))
17.0ms
(- (+ x (* 2/15 (pow x 5))) (* 1/3 (pow x 3)))
6.0ms
(* 2/15 (pow x 5))
6.0ms
(* 1/3 (pow x 3))

series277.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(+ x (* 2/15 (pow x 5)))
62.0ms
(- (+ x (* 2/15 (pow x 5))) (* 1/3 (pow x 3)))
50.0ms
(* 2/15 (pow x 5))
44.0ms
(* 1/3 (pow x 3))

simplify48.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0323539
11315515
25001511

prune154.0ms

Filtered
103 candidates to 63 candidates (61.2%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1030103
Fresh011
Picked011
Done022
Total1034107

Merged error: 0b

Counts
107 → 4

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

sample3.0s

Algorithm
intervals
Results
1.2s7424×body10240exit
958.0ms3236×body1280valid
439.0ms2462×body640valid
133.0ms1229×body320valid
44.0ms658×body160valid
15.0ms415×body80valid