Details

Time bar (total: 3.3s)

sample111.0ms

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 48.583984%

Guaranteed chance to sample good point: 98.433048%

Results
34.0ms101×body1280valid
17.0ms79×body640valid
5.0ms41×body320valid
2.0ms25×body160valid
0.0ms10×body80valid

simplify43.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0159
1249
2329
3449
4599
51749
611539
750019

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 58.4b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (neg x)))
1.0b
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
7.1b
(- (exp x) (exp (neg x)))

rewrite25.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 (neg x)))
13.0ms
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
5.0ms
(- (exp x) (exp (neg x)))

series22.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(+ (exp x) (exp (neg x)))
13.0ms
(/ (- (exp x) (exp (neg x))) (+ (exp x) (exp (neg x))))
5.0ms
(- (exp x) (exp (neg x)))

simplify245.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0285936
1951868
24961857
35001857

prune85.0ms

Filtered
59 candidates to 82 candidates (-39.0%)
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)

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)

series18.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
09248
120645
261945
3320345
4500245

prune19.0ms

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New13013
Fresh022
Picked011
Done000
Total13316

Merged error: 0b

Counts
16 → 3

localize9.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.1b
(* 1/3 (pow x 3))

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

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

simplify47.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0276360
11208332
25001328

prune105.0ms

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

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New79079
Fresh011
Picked011
Done011
Total79382

Merged error: 0b

Counts
82 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

0.3b
(exp (log (- (exp x) (exp (neg x)))))
0.5b
(log (- (exp x) (exp (neg x))))
0.5b
(/ (exp (log (- (exp x) (exp (neg x))))) (+ (exp x) (exp (neg x))))
7.1b
(- (exp x) (exp (neg x)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
60×*-un-lft-identity
42×add-sqr-sqrt
35×log-prod
32×times-frac
30×exp-sum
26×add-cube-cbrt
distribute-lft-out
associate-/l* distribute-lft-out-- difference-of-squares
pow1 add-exp-log log-div add-cbrt-cube add-log-exp
exp-prod flip3-- exp-diff associate-/r* flip--
associate-/r/ log-pow associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-exp rem-log-exp clear-num flip-+ div-inv rem-exp-log
Counts
4 → 109
Calls
4 calls:
6.0ms
(exp (log (- (exp x) (exp (neg x)))))
5.0ms
(log (- (exp x) (exp (neg x))))
14.0ms
(/ (exp (log (- (exp x) (exp (neg x))))) (+ (exp x) (exp (neg x))))
5.0ms
(- (exp x) (exp (neg x)))

series39.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(exp (log (- (exp x) (exp (neg x)))))
16.0ms
(log (- (exp x) (exp (neg x))))
13.0ms
(/ (exp (log (- (exp x) (exp (neg x))))) (+ (exp x) (exp (neg x))))
5.0ms
(- (exp x) (exp (neg x)))

simplify171.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 3 (158.0ms)

IterNodesCost
03171540
19991409
244991357
350021341

prune95.0ms

Filtered
75 candidates to 121 candidates (-61.3%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1210121
Fresh000
Picked011
Done022
Total1213124

Merged error: 0b

Counts
124 → 3

regimes28.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.1s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 48.583984%

Guaranteed chance to sample good point: 98.433048%

Results
1.1s3382×body1280valid
498.0ms2345×body640valid
162.0ms1199×body320valid
57.0ms661×body160valid
18.0ms413×body80valid

Profiling

Loading profile data...