Details

Time bar (total: 5.0s)

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

sample140.0ms

Algorithm
intervals
Results
60.0ms186×body1280valid
8.0ms47×body640valid
1.0ms14×body320valid
0.0msbody160valid
0.0msbody80valid

simplify39.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
057188

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.9b

Counts
2 → 2

localize21.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

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

series9.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
05187335

prune47.0ms

Filtered
25 candidates to 35 candidates (-40.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New34135
Fresh011
Picked101
Done000
Total35237

Merged error: 0.0b

Counts
37 → 2

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
14×associate-*r*
13×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp
add-cbrt-cube
associate-*l* prod-exp unswap-sqr
sqr-pow
pow1 sum-log
pow-to-exp pow-exp *-commutative cbrt-unprod
+-commutative associate-+r+ flip3-+ flip-+
Counts
3 → 63
Calls
3 calls:
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))

series16.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+ (* x x) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
4.0ms
(* 1/360 (pow x 6))
6.0ms
(* 1/12 (pow x 4))

simplify45.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
05007654

prune105.0ms

Filtered
46 candidates to 72 candidates (-56.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New71172
Fresh011
Picked011
Done000
Total71374

Merged error: 0b

Counts
74 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

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

series22.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* 1/12 (pow x 4))
4.0ms
(* 1/12 (pow x 4))
7.0ms
(sqrt (+ (* 1/12 (pow x 4)) (+ (* x x) (* 1/360 (pow x 6)))))
7.0ms
(sqrt (+ (* 1/12 (pow x 4)) (+ (* x x) (* 1/360 (pow x 6)))))

simplify34.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (25.0ms)

IterNodesCost
052021124

prune228.0ms

Filtered
64 candidates to 92 candidates (-43.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New92092
Fresh011
Picked011
Done011
Total92395

Merged error: 0b

Counts
95 → 3

localize24.0ms

Local error

Found 2 expressions with local error:

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

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

simplify52.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
05310423

prune34.0ms

Filtered
27 candidates to 39 candidates (-44.4%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New39039
Fresh000
Picked011
Done022
Total39342

Merged error: 0b

Counts
42 → 3

regimes59.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01833
11833

end0.0ms

sample4.0s

Algorithm
intervals
Results
1.7s5732×body1280valid
198.0ms1196×body640valid
61.0ms599×body320valid
19.0ms302×body160valid
5.0ms171×body80valid

Profiling

Loading profile data...