Details

Time bar (total: 3.6s)

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

sample77.0ms

Algorithm
intervals
Results
61.0ms180×body1280valid
5.0ms29×body640valid
3.0ms24×body320valid
1.0ms15×body160valid
0.0msbody80valid

simplify40.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (38.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.5b

Counts
2 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

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

simplify54.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
05310423

prune67.0ms

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

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New35439
Fresh101
Picked101
Done000
Total37441

Merged error: 0.1b

Counts
41 → 4

localize11.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.1b
(* 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))

series26.0ms

Counts
4 → 12
Calls
4 calls:
12.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))

simplify52.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
05022849

prune137.0ms

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

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New84286
Fresh033
Picked011
Done000
Total84690

Merged error: 0.1b

Counts
90 → 6

localize17.0ms

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)
4.7b
(+ (* 2.0 2.0) (* (exp x) (+ (- (pow (exp x) 3) (pow 2.0 3)) (+ (exp x) 2.0))))

rewrite51.0ms

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:
26.0ms
(* (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)
14.0ms
(+ (* 2.0 2.0) (* (exp x) (+ (- (pow (exp x) 3) (pow 2.0 3)) (+ (exp x) 2.0))))

series32.0ms

Counts
4 → 12
Calls
4 calls:
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)
13.0ms
(+ (* 2.0 2.0) (* (exp x) (+ (- (pow (exp x) 3) (pow 2.0 3)) (+ (exp x) 2.0))))

simplify50.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049731284
149731284

prune215.0ms

Filtered
70 candidates to 107 candidates (-52.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1061107
Fresh134
Picked011
Done011
Total1076113

Merged error: 0.1b

Counts
113 → 6

localize27.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (exp x) 3)
0.1b
(pow (exp x) 3)
0.1b
(pow (exp x) 3)
4.9b
(- (pow 2.0 4) (* (+ 2.0 (+ (exp x) (- (pow (exp x) 3) (pow 2.0 3)))) (* (+ 2.0 (+ (exp x) (- (pow (exp x) 3) (pow 2.0 3)))) (pow (exp x) 2))))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×pow-pow
unpow-prod-down pow-unpow exp-prod cube-prod
pow1 add-cbrt-cube
add-log-exp
add-exp-log
cube-mult pow-to-exp unpow3 pow-exp rem-cube-cbrt sqr-pow
sub-neg flip3-- diff-log flip--
Counts
4 → 89
Calls
4 calls:
4.0ms
(pow (exp x) 3)
3.0ms
(pow (exp x) 3)
3.0ms
(pow (exp x) 3)
5.0ms
(- (pow 2.0 4) (* (+ 2.0 (+ (exp x) (- (pow (exp x) 3) (pow 2.0 3)))) (* (+ 2.0 (+ (exp x) (- (pow (exp x) 3) (pow 2.0 3)))) (pow (exp x) 2))))

series62.0ms

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

simplify25.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 0 (17.0ms)

IterNodesCost
051121074

prune313.0ms

Filtered
60 candidates to 101 candidates (-68.3%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1001101
Fresh033
Picked101
Done022
Total1016107

Merged error: 0.1b

Counts
107 → 6

regimes52.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.8s5653×body1280valid
223.0ms1255×body640valid
67.0ms601×body320valid
23.0ms321×body160valid
7.0ms170×body80valid
0.0msbody80invalid

Profiling

Loading profile data...