Details

Time bar (total: 4.6s)

sample102.0ms

Algorithm
intervals
Results
40.0ms237×body10240exit
33.0ms112×body1280valid
13.0ms75×body640valid
4.0ms40×body320valid
1.0ms16×body160valid
0.0ms13×body80valid

simplify44.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: 58.3b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
1.2b
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
4.7b
(- (exp x) (exp (- x)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
+-commutative sub-neg frac-2neg div-sub tanh-undef clear-num div-inv
Counts
3 → 16
Calls
3 calls:
3.0ms
(+ (exp x) (exp (- x)))
6.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
2.0ms
(- (exp x) (exp (- x)))

series133.0ms

Counts
3 → 9
Calls
3 calls:
22.0ms
(+ (exp x) (exp (- x)))
72.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
39.0ms
(- (exp x) (exp (- x)))

simplify62.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
0158200
1465190
21730183
35001183

prune64.0ms

Filtered
25 candidates to 21 candidates (84.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New22325
Fresh000
Picked101
Done000
Total23326

Merged error: 0b

Counts
26 → 3

localize2.0ms

Local error

Found 1 expressions with local error:

0.0b
(tanh x)

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
tanh-def
Counts
1 → 3
Calls
1 calls:
1.0ms
(tanh x)

series81.0ms

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

simplify106.0ms

Algorithm
egg-herbie
Counts
6 → 6
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
07944
113744
228744
371644
4318644
5500244

prune10.0ms

Filtered
6 candidates to 3 candidates (50.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New606
Fresh022
Picked011
Done000
Total639

Merged error: 0b

Counts
9 → 3

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
+-commutative associate-*r*
associate-+r+ flip3-+ *-commutative flip-+ sqr-pow
unpow3
Counts
4 → 13
Calls
4 calls:
3.0ms
(+ (exp x) (exp (- x)))
8.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
3.0ms
(* 1/60 (pow x 5))
3.0ms
(* 1/3 (pow x 3))

series172.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (exp x) (exp (- x)))
56.0ms
(+ (* 1/3 (pow x 3)) (+ (* 1/60 (pow x 5)) (* 2 x)))
50.0ms
(* 1/60 (pow x 5))
40.0ms
(* 1/3 (pow x 3))

simplify132.0ms

Algorithm
egg-herbie
Counts
25 → 25
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0169137
1596133
22990132
35002132

prune62.0ms

Filtered
25 candidates to 15 candidates (60.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New25025
Fresh011
Picked011
Done011
Total25328

Merged error: 0b

Counts
28 → 3

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.1b
(* 2/15 (pow x 5))
0.1b
(* 1/3 (pow x 3))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r*
+-commutative associate--l+ *-commutative sqr-pow
sub-neg flip3-- flip3-+ unpow3 flip-- flip-+
Counts
4 → 14
Calls
4 calls:
3.0ms
(+ x (* 2/15 (pow x 5)))
5.0ms
(- (+ x (* 2/15 (pow x 5))) (* 1/3 (pow x 3)))
3.0ms
(* 2/15 (pow x 5))
3.0ms
(* 1/3 (pow x 3))

series248.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(+ x (* 2/15 (pow x 5)))
55.0ms
(- (+ x (* 2/15 (pow x 5))) (* 1/3 (pow x 3)))
46.0ms
(* 2/15 (pow x 5))
38.0ms
(* 1/3 (pow x 3))

simplify104.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0127126
1453122
22354119
35002119

prune37.0ms

Filtered
26 candidates to 13 candidates (50.0%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New26026
Fresh000
Picked011
Done022
Total26329

Merged error: 0b

Counts
29 → 3

regimes17.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.2s

Algorithm
intervals
Results
1.3s7671×body10240exit
1.0s3364×body1280valid
428.0ms2366×body640valid
140.0ms1196×body320valid
44.0ms637×body160valid
16.0ms437×body80valid