Details

Time bar (total: 6.4s)

sample98.0ms

Algorithm
intervals
Results
28.0ms55×body1280valid
20.0ms277×body80valid
13.0ms39×body640valid
8.0ms23×body320valid
4.0ms53×body80overflowed
2.0ms14×body160valid

simplify35.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (34.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune9.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 29.9b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
80×exp-neg frac-times
60×neg-sub0 exp-diff
42×associate-*l/
40×associate-*r/
31×flip3-- flip3-+ flip-- flip-+
21×add-sqr-sqrt
20×un-div-inv
16×*-un-lft-identity
14×associate-*l*
10×pow1 add-cube-cbrt add-cbrt-cube
associate-*r*
add-exp-log
add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
distribute-lft-out difference-of-squares
sub-neg times-frac diff-log distribute-lft-out--
Counts
4 → 172
Calls
4 calls:
6.0ms
(* (+ 1.0 eps) x)
15.0ms
(* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x))))
12.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
16.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

series73.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* (+ 1.0 eps) x)
14.0ms
(* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x))))
10.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
45.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

simplify147.0ms

Algorithm
egg-herbie
Counts
184 → 184
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
012534061
147673783
250023783

prune1.2s

Filtered
184 candidates to 94 candidates (48.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1822184
Fresh000
Picked101
Done000
Total1832185

Merged error: 0.5b

Counts
185 → 2

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.0ms

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

series9.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(* 0.6666666666666667 (pow x 3))
5.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

simplify36.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0207270
1894242
25002238

prune149.0ms

Filtered
51 candidates to 31 candidates (39.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New49251
Fresh011
Picked101
Done000
Total50353

Merged error: 0.5b

Counts
53 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))) 3)
0.1b
(* 0.6666666666666667 (pow x 3))
2.4b
(cbrt (pow (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))) 3))
5.6b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

rewrite31.0ms

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

series17.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(pow (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))) 3)
4.0ms
(* 0.6666666666666667 (pow x 3))
4.0ms
(cbrt (pow (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))) 3))
4.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

simplify55.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0346862
11520806
25001799

prune449.0ms

Filtered
105 candidates to 60 candidates (42.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1041105
Fresh022
Picked011
Done000
Total1044108

Merged error: 0.5b

Counts
108 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

5.6b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
9.3b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
9.3b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
9.3b
(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)))
6.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))))
6.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

series34.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
9.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
10.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
11.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

simplify135.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0252983
1905918
24255839
35002839

prune547.0ms

Filtered
65 candidates to 59 candidates (9.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New63265
Fresh112
Picked011
Done011
Total64569

Merged error: 0.5b

Counts
69 → 5

regimes126.0ms

Accuracy

96% (0.7b remaining)

Error of 1.1b against oracle of 0.5b and baseline of 16.9b

bsearch181.0ms

Steps
ItersRangePoint
10
0.0007800520059423635
6954866739179.113
426.1051355968041

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05227
16027
26027

end0.0ms

sample2.9s

Algorithm
intervals
Results
905.0ms1712×body1280valid
735.0ms10166×body80valid
413.0ms1275×body640valid
140.0ms1992×body80overflowed
132.0ms600×body320valid
44.0ms306×body160valid

Profiling

Loading profile data...