Details

Time bar (total: 3.7s)

analyze4.0ms

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

sample78.0ms

Algorithm
intervals
Results
60.0ms186×body1280valid
9.0ms49×body640valid
1.0ms12×body320valid
1.0msbody160valid
0.0msbody80valid

simplify41.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
057188

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 30.2b

Counts
2 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

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:
4.0ms
(- (exp x) 2.0)
8.0ms
(+ (- (exp x) 2.0) (exp (neg x)))

series9.0ms

Counts
2 → 6
Calls
2 calls:
2.0ms
(- (exp x) 2.0)
7.0ms
(+ (- (exp x) 2.0) (exp (neg x)))

simplify55.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
05310423

prune65.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New37239
Fresh101
Picked101
Done000
Total39241

Merged error: 0.0b

Counts
41 → 2

localize9.0ms

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.0b
(* 1/360 (pow x 6))
0.1b
(* 1/12 (pow x 4))

rewrite24.0ms

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:
5.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
7.0ms
(+ (* x x) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
5.0ms
(* 1/360 (pow x 6))
5.0ms
(* 1/12 (pow x 4))

series27.0ms

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))))
6.0ms
(* 1/360 (pow x 6))
4.0ms
(* 1/12 (pow x 4))

simplify53.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
05022849

prune180.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New85186
Fresh011
Picked011
Done000
Total85388

Merged error: 0.0b

Counts
88 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1/360 (pow x 6)) (log (pow (exp 1/12) (pow x 4))))
0.0b
(+ (* x x) (+ (* 1/360 (pow x 6)) (log (pow (exp 1/12) (pow x 4)))))
0.0b
(* 1/360 (pow x 6))
1.2b
(log (pow (exp 1/12) (pow x 4)))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
14×log-prod
11×add-cube-cbrt *-un-lft-identity
10×add-exp-log unpow-prod-down
add-log-exp
associate-+r+
associate-*r*
add-cbrt-cube
pow1 sum-log sqr-pow
rem-log-exp associate-*l* prod-exp unswap-sqr
+-commutative pow-to-exp flip3-+ pow-exp flip-+
log-pow *-commutative cbrt-unprod
Counts
4 → 74
Calls
4 calls:
7.0ms
(+ (* 1/360 (pow x 6)) (log (pow (exp 1/12) (pow x 4))))
8.0ms
(+ (* x x) (+ (* 1/360 (pow x 6)) (log (pow (exp 1/12) (pow x 4)))))
5.0ms
(* 1/360 (pow x 6))
2.0ms
(log (pow (exp 1/12) (pow x 4)))

series87.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* 1/360 (pow x 6)) (log (pow (exp 1/12) (pow x 4))))
10.0ms
(+ (* x x) (+ (* 1/360 (pow x 6)) (log (pow (exp 1/12) (pow x 4)))))
5.0ms
(* 1/360 (pow x 6))
45.0ms
(log (pow (exp 1/12) (pow x 4)))

simplify54.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
05062909

prune213.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh011
Picked011
Done011
Total86389

Merged error: 0.0b

Counts
89 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
11×pow1 add-cbrt-cube
pow-pow
add-exp-log
unpow-prod-down pow-unpow exp-prod cube-prod add-log-exp
distribute-rgt-in distribute-lft-in
associate-*r/
associate-*l* pow-prod-down prod-exp cbrt-unprod
cube-mult pow-to-exp associate-+r+ flip3-+ unpow3 pow-exp flip-+ rem-cube-cbrt sqr-pow
+-commutative associate-*r* sum-log *-commutative
Counts
4 → 89
Calls
4 calls:
11.0ms
(* (exp x) (* 2.0 (+ (exp x) 2.0)))
3.0ms
(pow (exp x) 3)
3.0ms
(pow (exp x) 3)
14.0ms
(+ (* 2.0 2.0) (* (exp x) (+ (- (pow (exp x) 3) (pow 2.0 3)) (+ (exp x) 2.0))))

series26.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* (exp x) (* 2.0 (+ (exp x) 2.0)))
4.0ms
(pow (exp x) 3)
4.0ms
(pow (exp x) 3)
13.0ms
(+ (* 2.0 2.0) (* (exp x) (+ (- (pow (exp x) 3) (pow 2.0 3)) (+ (exp x) 2.0))))

simplify42.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
05175924

prune261.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1001101
Fresh000
Picked101
Done022
Total1013104

Merged error: 0.0b

Counts
104 → 3

regimes32.0ms

Accuracy

0% (0.6b remaining)

Error of 0.6b against oracle of 0.1b and baseline of 0.6b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01615
11615

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.8s5729×body1280valid
219.0ms1204×body640valid
65.0ms583×body320valid
23.0ms322×body160valid
8.0ms162×body80valid

Profiling

Loading profile data...