Details

Time bar (total: 3.8s)

sample87.0ms

Algorithm
intervals
Results
60.0ms178×body1280valid
7.0ms42×body640valid
6.0ms233×body80valid
2.0ms18×body320valid
0.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0728
1728

prune7.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: 27.7b

Counts
2 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
3.7b
(+ (- (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 associate-+l+ exp-diff diff-log sum-log add-cbrt-cube distribute-lft-out distribute-lft-out--
+-commutative associate-+l- flip3-+ flip-+ difference-of-squares
Counts
2 → 35
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)))

simplify49.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
04906430
14906430

prune57.0ms

Filtered
27 candidates to 41 candidates (-51.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New38341
Fresh101
Picked011
Done000
Total39443

Merged error: 0.0b

Counts
43 → 4

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

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

simplify34.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
05215849

prune125.0ms

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

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New85186
Fresh022
Picked011
Done011
Total85590

Merged error: 0.0b

Counts
90 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 1/12 (pow x 4))
0.1b
(* 1/12 (pow x 4))
29.6b
(sqrt (+ (* 1/12 (pow x 4)) (+ (* x x) (* 1/360 (pow x 6)))))
29.6b
(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))
7.0ms
(* 1/12 (pow x 4))
6.0ms
(sqrt (+ (* 1/12 (pow x 4)) (+ (* x x) (* 1/360 (pow x 6)))))
5.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))
3.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)))))

simplify61.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (52.0ms)

IterNodesCost
049121124
149121124

prune223.0ms

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

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New92092
Fresh022
Picked011
Done022
Total92597

Merged error: 0.0b

Counts
97 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
18×add-log-exp
12×add-sqr-sqrt add-cube-cbrt
pow-pow
sum-log
pow1 unpow-prod-down pow-unpow exp-prod cube-prod add-cbrt-cube distribute-lft-out
add-exp-log flip3-+ frac-add flip-+
associate-+r+
+-commutative cube-mult pow-to-exp associate-+l+ flip3-- diff-log unpow3 pow-exp flip-- distribute-lft-out-- rem-cube-cbrt sqr-pow
distribute-rgt-in associate-+l- sub-neg distribute-lft-in
Counts
4 → 91
Calls
4 calls:
24.0ms
(+ (- (pow (exp x) 3) (pow 2.0 3)) (+ (exp x) 2.0))
4.0ms
(pow (exp x) 3)
3.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))))

series28.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(+ (- (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))))

simplify48.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
051111264

prune175.0ms

Filtered
66 candidates to 103 candidates (-56.1%)
Pruning

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1030103
Fresh011
Picked011
Done033
Total1035108

Merged error: 0.0b

Counts
108 → 5

regimes77.0ms

Accuracy

86.6% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 0.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04661
14661

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.8s5616×body1280valid
220.0ms1255×body640valid
217.0ms8096×body80valid
72.0ms645×body320valid
22.0ms311×body160valid

Profiling

Loading profile data...