Details

Time bar (total: 2.9s)

analyze18.0ms

Algorithm
search

sample66.0ms

Algorithm
intervals
Results
37.0ms110×body1280valid
14.0ms67×body640valid
5.0ms39×body320valid
2.0ms29×body160valid
0.0ms11×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

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 2 expressions with local error:

1.0b
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
7.0b
(- (exp x) (exp (neg x)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
25×add-sqr-sqrt
20×times-frac
13×add-cube-cbrt
distribute-lft-out distribute-lft-out-- difference-of-squares
associate-/l*
add-exp-log associate-/r* add-cbrt-cube add-log-exp
pow1 flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-sub tanh-undef div-exp clear-num flip-+ div-inv
Counts
2 → 61
Calls
2 calls:
10.0ms
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
5.0ms
(- (exp x) (exp (neg x)))

series18.0ms

Counts
2 → 6
Calls
2 calls:
13.0ms
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
5.0ms
(- (exp x) (exp (neg x)))

simplify106.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0256836
1810780
23280772
35001772

prune69.0ms

Filtered
47 candidates to 67 candidates (-42.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New65267
Fresh000
Picked101
Done000
Total66268

Merged error: 0.0b

Counts
68 → 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)

series15.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
09248
120645
261945
3320345
4500245

prune18.0ms

Filtered
10 candidates to 13 candidates (-30.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New12113
Fresh011
Picked101
Done000
Total13215

Merged error: 0.0b

Counts
15 → 2

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.0ms

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

series13.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(- (+ x (* 2/15 (pow x 5))) (* 1/3 (pow x 3)))
4.0ms
(* 2/15 (pow x 5))
4.0ms
(* 1/3 (pow x 3))

simplify42.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0276360
11208332
25001328

prune105.0ms

Filtered
49 candidates to 79 candidates (-61.2%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New78179
Fresh011
Picked101
Done000
Total79281

Merged error: 0b

Counts
81 → 2

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.0ms

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

series28.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(+ x (- (* 2/15 (pow x 5)) (* 1/3 (pow x 3))))
12.0ms
(- (* 2/15 (pow x 5)) (* 1/3 (pow x 3)))
4.0ms
(* 2/15 (pow x 5))
4.0ms
(* 1/3 (pow x 3))

simplify49.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0316468
11333440
25001440

prune124.0ms

Filtered
60 candidates to 96 candidates (-60.0%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New96096
Fresh011
Picked011
Done000
Total96298

Merged error: 0b

Counts
98 → 2

regimes23.0ms

Accuracy

0% (1.9b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0146
1146

end0.0ms

analyze15.0ms

Algorithm
search

sample1.9s

Algorithm
intervals
Results
1.1s3375×body1280valid
475.0ms2359×body640valid
156.0ms1205×body320valid
51.0ms628×body160valid
18.0ms433×body80valid

Profiling

Loading profile data...