Details

Time bar (total: 5.1s)

sample110.0ms

Algorithm
intervals
Results
33.0ms422×body80valid
22.0ms40×body1280valid
15.0ms44×body640valid
11.0ms141×body80overflowed
4.0ms19×body320valid
1.0msbody160valid

simplify41.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (39.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

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

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))))
2.4b
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

rewrite57.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/
32×flip3-- flip--
30×flip3-+ flip-+
23×add-sqr-sqrt
20×un-div-inv
16×*-un-lft-identity
15×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 difference-of-squares unswap-sqr
distribute-lft-out--
sub-neg times-frac diff-log distribute-lft-out
Counts
4 → 173
Calls
4 calls:
6.0ms
(* (- 1.0 eps) x)
12.0ms
(* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x))))
11.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)))))

series76.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* (- 1.0 eps) x)
12.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))))
48.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

simplify153.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (113.0ms)

IterNodesCost
012494065
147073787
250023778

prune351.0ms

Filtered
185 candidates to 95 candidates (48.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1832185
Fresh000
Picked101
Done000
Total1842186

Merged error: 0.5b

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

simplify37.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0207270
1894242
25002238

prune85.0ms

Filtered
51 candidates to 31 candidates (39.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New48351
Fresh011
Picked101
Done000
Total49453

Merged error: 0.5b

Counts
53 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.0ms

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

series66.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (* 0.6666666666666667 x) x)
22.0ms
(cbrt x)
31.0ms
(pow (cbrt x) 3)
10.0ms
(- (+ (* (* (* 0.6666666666666667 x) x) (pow (cbrt x) 3)) 2.0) (* 1.0 (pow x 2)))

simplify69.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0351412
11878356
25001322

prune118.0ms

Filtered
85 candidates to 47 candidates (44.7%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New83285
Fresh033
Picked101
Done000
Total84589

Merged error: 0.5b

Counts
89 → 5

localize19.0ms

Local error

Found 4 expressions with local error:

0.7b
(pow (cbrt x) 3)
2.6b
(exp (log (* (* 0.6666666666666667 x) x)))
5.6b
(- (+ (* (exp (log (* (* 0.6666666666666667 x) x))) (pow (cbrt x) 3)) 2.0) (* 1.0 (pow x 2)))
34.3b
(log (* (* 0.6666666666666667 x) x))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
17×pow1
11×add-exp-log
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
cbrt-prod unpow-prod-down exp-prod cube-prod pow-prod-down log-pow
add-cbrt-cube
pow-unpow rem-log-exp prod-exp
log-prod pow-pow diff-log
cube-mult pow-to-exp sub-neg flip3-- pow1/3 unpow3 exp-sum pow-exp associate--l+ sum-log flip-- rem-exp-log rem-cube-cbrt sqr-pow
Counts
4 → 73
Calls
4 calls:
3.0ms
(pow (cbrt x) 3)
5.0ms
(exp (log (* (* 0.6666666666666667 x) x)))
12.0ms
(- (+ (* (exp (log (* (* 0.6666666666666667 x) x))) (pow (cbrt x) 3)) 2.0) (* 1.0 (pow x 2)))
4.0ms
(log (* (* 0.6666666666666667 x) x))

series55.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(pow (cbrt x) 3)
3.0ms
(exp (log (* (* 0.6666666666666667 x) x)))
7.0ms
(- (+ (* (exp (log (* (* 0.6666666666666667 x) x))) (pow (cbrt x) 3)) 2.0) (* 1.0 (pow x 2)))
12.0ms
(log (* (* 0.6666666666666667 x) x))

simplify49.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0316466
11396399
25001364

prune116.0ms

Filtered
85 candidates to 46 candidates (45.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New84185
Fresh044
Picked101
Done000
Total85590

Merged error: 0.5b

Counts
90 → 5

regimes132.0ms

Accuracy

95.3% (0.7b remaining)

Error of 1.3b against oracle of 0.5b and baseline of 16.3b

bsearch101.0ms

Steps
ItersRangePoint
9
0.0067536449693491665
1385.5180662189646
307.62602048009825

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06246
17046
27046

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.1s13501×body80valid
798.0ms1357×body1280valid
379.0ms1041×body640valid
300.0ms3746×body80overflowed
138.0ms560×body320valid
42.0ms262×body160valid

Profiling

Loading profile data...