Details

Time bar (total: 3.8s)

sample73.0ms

Algorithm
intervals
Results
31.0ms97×body1280valid
16.0ms78×body640valid
7.0ms234×body80overflowed
6.0ms45×body320valid
1.0ms17×body160valid
1.0ms19×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: 56.8b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
1.0b
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
5.9b
(- (exp x) (exp (- x)))

rewrite24.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:
5.0ms
(+ (exp x) (exp (- x)))
11.0ms
(/ (- (exp x) (exp (- x))) (+ (exp x) (exp (- x))))
5.0ms
(- (exp x) (exp (- x)))

series137.0ms

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

simplify234.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0281936
1947870
24970860
35003860

prune159.0ms

Filtered
82 candidates to 60 candidates (73.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New79382
Fresh000
Picked101
Done000
Total80383

Merged error: 0b

Counts
83 → 3

localize2.0ms

Local error

Found 1 expressions with local error:

0.0b
(tanh x)

rewrite5.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:
4.0ms
(tanh x)

series70.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
09148
119545
259945
3289145
4500245

prune24.0ms

Filtered
13 candidates to 10 candidates (76.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New12113
Fresh112
Picked011
Done000
Total13316

Merged error: 0b

Counts
16 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
19×associate-*r*
14×add-exp-log
11×add-cube-cbrt *-un-lft-identity add-log-exp
unpow-prod-down add-cbrt-cube
unswap-sqr
associate-*l* prod-exp
pow1 cube-prod sqr-pow
pow-to-exp diff-log pow-exp sum-log *-commutative cbrt-unprod
+-commutative cube-mult sub-neg flip3-- flip3-+ unpow3 associate--l+ flip-- flip-+
Counts
4 → 81
Calls
4 calls:
6.0ms
(- (+ x (* 2/15 (pow x 5))) (* 1/3 (pow x 3)))
3.0ms
(+ x (* 2/15 (pow x 5)))
5.0ms
(* 2/15 (pow x 5))
6.0ms
(* 1/3 (pow x 3))

series254.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(- (+ x (* 2/15 (pow x 5))) (* 1/3 (pow x 3)))
115.0ms
(+ x (* 2/15 (pow x 5)))
45.0ms
(* 2/15 (pow x 5))
39.0ms
(* 1/3 (pow x 3))

simplify49.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0314427
11376401
25001396

prune153.0ms

Filtered
93 candidates to 59 candidates (63.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New93093
Fresh011
Picked011
Done011
Total93396

Merged error: 0b

Counts
96 → 3

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
40×add-sqr-sqrt
28×times-frac
16×add-cube-cbrt
12×difference-of-squares
distribute-lft-out
associate-/l* add-log-exp
difference-of-sqr-1 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 → 84
Calls
3 calls:
4.0ms
(+ (exp (* 2 x)) 1)
9.0ms
(/ (- (exp (* 2 x)) 1) (+ (exp (* 2 x)) 1))
4.0ms
(- (exp (* 2 x)) 1)

series77.0ms

Counts
3 → 9
Calls
3 calls:
9.0ms
(+ (exp (* 2 x)) 1)
52.0ms
(/ (- (exp (* 2 x)) 1) (+ (exp (* 2 x)) 1))
16.0ms
(- (exp (* 2 x)) 1)

simplify37.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0270910
11067846
25002842

prune109.0ms

Filtered
93 candidates to 55 candidates (59.1%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New93093
Fresh000
Picked011
Done022
Total93396

Merged error: 0b

Counts
96 → 3

regimes15.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.1s3263×body1280valid
490.0ms2430×body640valid
237.0ms7416×body80overflowed
156.0ms1226×body320valid
53.0ms645×body160valid
18.0ms436×body80valid