Details

Time bar (total: 5.9s)

sample93.0ms

Algorithm
intervals
Results
31.0ms59×body1280valid
22.0ms330×body80valid
15.0ms47×body640valid
4.0ms22×body320valid
3.0ms51×body80overflowed
2.0ms12×body160valid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (35.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune10.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 32.3b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
0.0b
(* (+ 1.0 eps) x)
0.0b
(* (- 1.0 eps) x)
2.6b
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
76×exp-neg frac-times
57×neg-sub0 exp-diff
42×associate-*l/
38×associate-*r/
31×flip3-+ flip-+
29×flip3-- flip--
19×un-div-inv
18×add-sqr-sqrt
16×*-un-lft-identity
13×associate-*l*
10×pow1 add-cube-cbrt add-cbrt-cube
add-exp-log associate-*r*
add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
distribute-lft-out
sub-neg diff-log distribute-lft-out-- difference-of-squares
Counts
4 → 164
Calls
4 calls:
12.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
6.0ms
(* (+ 1.0 eps) x)
7.0ms
(* (- 1.0 eps) x)
17.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

series297.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
26.0ms
(* (+ 1.0 eps) x)
28.0ms
(* (- 1.0 eps) x)
193.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

simplify161.0ms

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012433854
148193583
250013583

prune381.0ms

Filtered
176 candidates to 88 candidates (50.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1733176
Fresh000
Picked101
Done000
Total1743177

Merged error: 0.3b

Counts
177 → 3

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* 0.6666666666666667 (pow x 3)) 2.0)
0.1b
(* 0.6666666666666667 (pow x 3))
5.4b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
12×associate-*r*
10×add-log-exp
add-exp-log
add-cube-cbrt *-un-lft-identity
add-cbrt-cube
unpow-prod-down cube-prod unswap-sqr
pow1 associate-*l* prod-exp
diff-log sum-log sqr-pow
+-commutative cube-mult pow-to-exp sub-neg flip3-- flip3-+ unpow3 pow-exp associate--l+ *-commutative flip-- cbrt-unprod flip-+
Counts
3 → 56
Calls
3 calls:
5.0ms
(+ (* 0.6666666666666667 (pow x 3)) 2.0)
10.0ms
(* 0.6666666666666667 (pow x 3))
7.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

series154.0ms

Counts
3 → 9
Calls
3 calls:
76.0ms
(+ (* 0.6666666666666667 (pow x 3)) 2.0)
40.0ms
(* 0.6666666666666667 (pow x 3))
38.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

simplify40.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0251336
11024311
25002307

prune117.0ms

Filtered
65 candidates to 41 candidates (63.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New64165
Fresh022
Picked011
Done000
Total64468

Merged error: 0.3b

Counts
68 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

5.4b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
9.7b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
9.7b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
9.7b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-div
pow1 add-exp-log flip3-- add-cbrt-cube flip--
pow1/3
diff-log
sub-neg associate--l+ sum-log
Counts
4 → 53
Calls
4 calls:
7.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
7.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
6.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
7.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

series490.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
151.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
143.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
150.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

simplify137.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0252983
1905918
24255839
35003839

prune227.0ms

Filtered
65 candidates to 59 candidates (90.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New65065
Fresh022
Picked011
Done011
Total65469

Merged error: 0.3b

Counts
69 → 4

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ 1.0 eps) x)
0.0b
(* (- 1.0 eps) x)
0.0b
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
5.6b
(- (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
29×*-un-lft-identity
23×add-sqr-sqrt
17×add-cube-cbrt
12×times-frac
10×add-cbrt-cube
add-exp-log associate-*l* frac-sub
pow1
associate-*r* associate-*l/ add-log-exp
flip3-- flip-- distribute-lft-out
exp-neg frac-times associate-/l*
neg-sub0 exp-diff associate-/r*
flip3-+ associate-*r/ pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ associate-/l/ unswap-sqr
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num un-div-inv div-inv distribute-lft-out-- difference-of-squares
Counts
4 → 97
Calls
4 calls:
6.0ms
(* (+ 1.0 eps) x)
6.0ms
(* (- 1.0 eps) x)
11.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
16.0ms
(- (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

series347.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(* (+ 1.0 eps) x)
33.0ms
(* (- 1.0 eps) x)
40.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
248.0ms
(- (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

simplify68.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06081136
124401057
250011052

prune241.0ms

Filtered
109 candidates to 74 candidates (67.9%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1090109
Fresh011
Picked011
Done022
Total1094113

Merged error: 0.3b

Counts
113 → 4

regimes52.0ms

Accuracy

96.6% (0.5b remaining)

Error of 0.9b against oracle of 0.4b and baseline of 15.9b

bsearch142.0ms

Steps
ItersRangePoint
9
1.1080729073972495
125321.6248081686
59.77921894335719

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04322
14922
24922

end0.0ms

sample2.7s

Algorithm
intervals
Results
912.0ms1716×body1280valid
762.0ms10324×body80valid
419.0ms1295×body640valid
139.0ms1971×body80overflowed
136.0ms625×body320valid
44.0ms311×body160valid

Profiling

Loading profile data...