Details

Time bar (total: 3.1s)

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

sample75.0ms

Algorithm
intervals
Results
59.0ms181×body1280valid
6.0ms35×body640valid
2.0ms23×body320valid
1.0ms11×body160valid
0.0msbody80valid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
057188

prune11.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: 28.2b

Counts
2 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp (neg x)) 2.0)
4.7b
(+ (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))

simplify33.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
05187335

prune52.0ms

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

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New33235
Fresh011
Picked101
Done000
Total34337

Merged error: 0.0b

Counts
37 → 3

localize10.0ms

Local error

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

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

simplify52.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
05022849

prune123.0ms

Filtered
56 candidates to 86 candidates (-53.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New85186
Fresh022
Picked011
Done000
Total85489

Merged error: 0b

Counts
89 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
4.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 (48.0ms)

IterNodesCost
05310423

prune41.0ms

Filtered
26 candidates to 39 candidates (-50.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New39039
Fresh022
Picked011
Done011
Total39443

Merged error: 0b

Counts
43 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (exp (neg x)) 2.0)
0.2b
(exp (log (+ (exp x) (- (exp (neg x)) 2.0))))
4.7b
(+ (exp x) (- (exp (neg x)) 2.0))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
17×*-un-lft-identity
10×add-log-exp
add-sqr-sqrt
add-cube-cbrt log-prod exp-sum
pow1 exp-prod distribute-lft-out
add-exp-log add-cbrt-cube distribute-lft-out--
sub-neg log-div flip3-+ exp-diff diff-log sum-log flip-+
+-commutative associate-+r- associate-+r+ flip3-- log-pow flip-- rem-exp-log difference-of-squares
Counts
3 → 48
Calls
3 calls:
5.0ms
(- (exp (neg x)) 2.0)
8.0ms
(exp (log (+ (exp x) (- (exp (neg x)) 2.0))))
7.0ms
(+ (exp x) (- (exp (neg x)) 2.0))

series16.0ms

Counts
3 → 9
Calls
3 calls:
2.0ms
(- (exp (neg x)) 2.0)
7.0ms
(exp (log (+ (exp x) (- (exp (neg x)) 2.0))))
7.0ms
(+ (exp x) (- (exp (neg x)) 2.0))

simplify53.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04898579
14898579

prune61.0ms

Filtered
38 candidates to 57 candidates (-50.0%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New57057
Fresh011
Picked011
Done022
Total57461

Merged error: 0b

Counts
61 → 4

regimes66.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
01615
11615

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.8s5630×body1280valid
227.0ms1259×body640valid
69.0ms626×body320valid
22.0ms313×body160valid
8.0ms172×body80valid
0.0msbody80invalid

Profiling

Loading profile data...