Details

Time bar (total: 3.4s)

analyze4.0ms (0.1%)

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%0.8%49.2%9
50.4%0.4%49.2%10
50.4%0.2%49.4%11
50.4%0.1%49.5%12
50.4%0%49.6%13
50.4%0%49.6%14

sample79.0ms (2.3%)

Algorithm
intervals
Results
63.0ms183×body1280valid
8.0ms42×body640valid
1.0ms12×body320valid
1.0ms11×body160valid
0.0msbody80valid

simplify40.0ms (1.2%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
057188

prune8.0ms (0.2%)

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 25.8b

Counts
2 → 2

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(- (exp (neg x)) 2.0)
3.0b
(+ (exp x) (- (exp (neg x)) 2.0))

rewrite13.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt sub-neg diff-log sum-log add-cbrt-cube distribute-lft-out distribute-lft-out--
+-commutative associate-+r- associate-+r+ flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
2 → 29
Calls

2 calls:

8.0ms
(+ (exp x) (- (exp (neg x)) 2.0))
5.0ms
(- (exp (neg x)) 2.0)

series9.0ms (0.3%)

Counts
2 → 6
Calls

2 calls:

7.0ms
(+ (exp x) (- (exp (neg x)) 2.0))
2.0ms
(- (exp (neg x)) 2.0)

simplify33.0ms (1%)

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
05187335

prune63.0ms (1.8%)

Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New33235
Fresh011
Picked101
Done000
Total34337

Merged error: 0.0b

Counts
37 → 3

localize11.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
0.0b
(+ (* x x) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
0.1b
(* 1/360 (pow x 6))
0.1b
(* 1/12 (pow x 4))

rewrite24.0ms (0.7%)

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×add-exp-log associate-*r*
11×add-log-exp
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube
associate-*l* prod-exp unswap-sqr
pow1 sum-log sqr-pow
+-commutative pow-to-exp flip3-+ pow-exp *-commutative cbrt-unprod flip-+
associate-+r+
Counts
4 → 74
Calls

4 calls:

7.0ms
(+ (* x x) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
5.0ms
(* 1/12 (pow x 4))
5.0ms
(* 1/360 (pow x 6))
5.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))

series25.0ms (0.7%)

Counts
4 → 12
Calls

4 calls:

11.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
6.0ms
(+ (* x x) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
4.0ms
(* 1/360 (pow x 6))
4.0ms
(* 1/12 (pow x 4))

simplify51.0ms (1.5%)

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
05022849

prune176.0ms (5.1%)

Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New85186
Fresh022
Picked011
Done000
Total85489

Merged error: 0.0b

Counts
89 → 4

localize6.0ms (0.2%)

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
2.9b
(+ (- (exp x) 2.0) (exp (neg x)))

rewrite14.0ms (0.4%)

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
add-sqr-sqrt frac-add
flip3-- flip--
pow1 add-exp-log neg-sub0 exp-neg add-cube-cbrt sub-neg exp-diff diff-log sum-log add-cbrt-cube distribute-lft-out distribute-lft-out--
+-commutative associate-+l- associate-+l+ flip3-+ flip-+ difference-of-squares
Counts
2 → 33
Calls

2 calls:

9.0ms
(+ (- (exp x) 2.0) (exp (neg x)))
4.0ms
(- (exp x) 2.0)

series9.0ms (0.3%)

Counts
2 → 6
Calls

2 calls:

7.0ms
(+ (- (exp x) 2.0) (exp (neg x)))
2.0ms
(- (exp x) 2.0)

simplify53.0ms (1.5%)

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
05310423

prune65.0ms (1.9%)

Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New37239
Fresh022
Picked101
Done011
Total38543

Merged error: 0.0b

Counts
43 → 5

localize16.0ms (0.5%)

Local error

Found 4 expressions with local error:

0.0b
(* (exp x) (+ (- (pow (exp x) 3) (pow 2.0 3)) (+ (exp x) 2.0)))
0.1b
(pow (exp x) 3)
0.1b
(pow (exp x) 3)
3.1b
(+ (* 2.0 2.0) (* (exp x) (+ (- (pow (exp x) 3) (pow 2.0 3)) (+ (exp x) 2.0))))

rewrite52.0ms (1.5%)

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
16×add-sqr-sqrt
14×add-cube-cbrt
pow1 pow-pow add-cbrt-cube
associate-*r*
unpow-prod-down pow-unpow exp-prod cube-prod associate-*r/ distribute-lft-out add-log-exp
add-exp-log
flip3-+ frac-add flip-+
associate-*l*
distribute-rgt-in cube-mult pow-to-exp associate-+r+ flip3-- distribute-lft-in unpow3 pow-exp flip-- distribute-lft-out-- rem-cube-cbrt sqr-pow
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
4 → 95
Calls

4 calls:

29.0ms
(* (exp x) (+ (- (pow (exp x) 3) (pow 2.0 3)) (+ (exp x) 2.0)))
14.0ms
(+ (* 2.0 2.0) (* (exp x) (+ (- (pow (exp x) 3) (pow 2.0 3)) (+ (exp x) 2.0))))
3.0ms
(pow (exp x) 3)
3.0ms
(pow (exp x) 3)

series32.0ms (0.9%)

Counts
4 → 12
Calls

4 calls:

13.0ms
(+ (* 2.0 2.0) (* (exp x) (+ (- (pow (exp x) 3) (pow 2.0 3)) (+ (exp x) 2.0))))
10.0ms
(* (exp x) (+ (- (pow (exp x) 3) (pow 2.0 3)) (+ (exp x) 2.0)))
4.0ms
(pow (exp x) 3)
4.0ms
(pow (exp x) 3)

simplify50.0ms (1.4%)

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049731284
149731284

prune290.0ms (8.5%)

Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1061107
Fresh213
Picked011
Done011
Total1084112

Merged error: 0.0b

Counts
112 → 4

regimes36.0ms (1.1%)

Accuracy

Total 0.6b remaining (84.8%)

Threshold costs 0.6b (84.8%)

bsearch0.0ms (0%)

simplify1.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01615
11615

end0.0ms (0%)

sample2.3s (66%)

Algorithm
intervals
Results
1.8s5708×body1280valid
212.0ms1196×body640valid
66.0ms601×body320valid
22.0ms315×body160valid
7.0ms180×body80valid
0.0msbody80invalid

Profiling

Loading profile data...