Details

Time bar (total: 3.5s)

sample79.0ms

Algorithm
intervals
Results
49.0ms179×body1280valid
8.0ms276×body80valid
5.0ms34×body640valid
3.0ms25×body320valid
1.0ms12×body160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0728
1728

prune12.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: 29.3b

Counts
2 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt sub-neg associate-+r+ diff-log sum-log add-cbrt-cube distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
2 → 31
Calls
2 calls:
7.0ms
(- (exp (neg x)) 2.0)
8.0ms
(+ (exp x) (- (exp (neg x)) 2.0))

series10.0ms

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

simplify17.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 0 (13.0ms)

IterNodesCost
05289343

prune69.0ms

Filtered
25 candidates to 37 candidates (-48.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New34337
Fresh101
Picked101
Done000
Total36339

Merged error: 0.0b

Counts
39 → 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))

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

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

simplify29.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
05215849

prune137.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: 0.0b

Counts
89 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

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

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

series25.0ms

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

simplify53.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
049211124
149211124

prune249.0ms

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

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New92092
Fresh022
Picked011
Done011
Total92496

Merged error: 0.0b

Counts
96 → 4

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp x) 3)
0.0b
(pow (- (exp (neg x)) 2.0) 3)
0.1b
(- (exp (neg x)) (+ (exp x) 2.0))
4.8b
(+ (pow (exp x) 3) (pow (- (exp (neg x)) 2.0) 3))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
17×add-sqr-sqrt
16×unpow-prod-down cube-prod
11×add-cube-cbrt add-log-exp
10×distribute-lft-out
distribute-lft-out--
pow1 pow-unpow add-cbrt-cube
add-exp-log pow-pow
frac-sub
exp-prod flip3-+ flip-+ difference-of-squares
cube-div neg-sub0 exp-neg cube-mult pow-to-exp flip3-- exp-diff diff-log unpow3 pow-exp sum-log flip-- rem-cube-cbrt sqr-pow
+-commutative sub-neg sum-cubes associate--r+
Counts
4 → 97
Calls
4 calls:
4.0ms
(pow (exp x) 3)
7.0ms
(pow (- (exp (neg x)) 2.0) 3)
10.0ms
(- (exp (neg x)) (+ (exp x) 2.0))
18.0ms
(+ (pow (exp x) 3) (pow (- (exp (neg x)) 2.0) 3))

series43.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(pow (exp x) 3)
7.0ms
(pow (- (exp (neg x)) 2.0) 3)
4.0ms
(- (exp (neg x)) (+ (exp x) 2.0))
27.0ms
(+ (pow (exp x) 3) (pow (- (exp (neg x)) 2.0) 3))

simplify27.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (18.0ms)

IterNodesCost
049601173
149601173

prune160.0ms

Filtered
61 candidates to 109 candidates (-78.7%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1081109
Fresh011
Picked101
Done022
Total1094113

Merged error: 0.0b

Counts
113 → 4

regimes42.0ms

Accuracy

0% (0.4b 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.4s

Algorithm
intervals
Results
1.5s5618×body1280valid
226.0ms8066×body80valid
201.0ms1260×body640valid
66.0ms622×body320valid
24.0ms328×body160valid

Profiling

Loading profile data...