Details

Time bar (total: 4.5s)

sample100.0ms

Algorithm
intervals
Results
32.0ms330×body80valid
22.0ms42×body1280valid
13.0ms36×body640valid
5.0ms22×body320valid
5.0ms57×body80overflowed
2.0ms12×body160valid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
0515127

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: 26.3b

Counts
2 → 2

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
78×exp-neg
76×frac-times
59×neg-sub0 exp-diff
38×associate-*r/ associate-*l/
30×flip3-+ flip-+
28×flip3-- flip--
19×un-div-inv
12×exp-prod
10×add-sqr-sqrt *-un-lft-identity add-log-exp
add-cube-cbrt
pow1 add-cbrt-cube
add-exp-log
associate-*l* rem-exp-log
associate-*r*
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in neg-log
sub-neg diff-log pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
4 → 155
Calls
4 calls:
13.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
4.0ms
(exp (neg (* (- 1.0 eps) x)))
3.0ms
(exp (neg (* (+ 1.0 eps) x)))
22.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

series77.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
6.0ms
(exp (neg (* (- 1.0 eps) x)))
7.0ms
(exp (neg (* (+ 1.0 eps) x)))
53.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

simplify89.0ms

Algorithm
egg-herbie
Counts
167 → 167
Iterations

Useful iterations: 0 (59.0ms)

IterNodesCost
049546555
149546555

prune370.0ms

Filtered
92 candidates to 167 candidates (-81.5%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1652167
Fresh101
Picked101
Done000
Total1672169

Merged error: 0.3b

Counts
169 → 2

localize10.0ms

Local error

Found 2 expressions with local error:

0.3b
(* 0.6666666666666667 (pow x 3))
7.0b
(+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (* x x))))

rewrite15.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 associate-+r+ sum-log sqr-pow
+-commutative cube-mult pow-to-exp associate-+r- sub-neg flip3-+ diff-log unpow3 pow-exp *-commutative cbrt-unprod flip-+
Counts
2 → 46
Calls
2 calls:
7.0ms
(* 0.6666666666666667 (pow x 3))
7.0ms
(+ (* 0.6666666666666667 (pow x 3)) (- 2.0 (* 1.0 (* x x))))

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 (* x x))))

simplify21.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (17.0ms)

IterNodesCost
05048458

prune75.0ms

Filtered
32 candidates to 52 candidates (-62.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New50252
Fresh011
Picked101
Done000
Total51354

Merged error: 0.3b

Counts
54 → 3

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(* x (* x (- (* 0.6666666666666667 x) 1.0)))
0.0b
(* x (- (* 0.6666666666666667 x) 1.0))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
10×distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
sub-neg associate-*r/ associate-*l*
add-cube-cbrt *-un-lft-identity
associate-*r* pow-prod-down prod-exp cbrt-unprod
flip3-- *-commutative flip-- add-log-exp
unswap-sqr
Counts
2 → 52
Calls
2 calls:
9.0ms
(* x (* x (- (* 0.6666666666666667 x) 1.0)))
7.0ms
(* x (- (* 0.6666666666666667 x) 1.0))

series14.0ms

Counts
2 → 6
Calls
2 calls:
8.0ms
(* x (* x (- (* 0.6666666666666667 x) 1.0)))
6.0ms
(* x (- (* 0.6666666666666667 x) 1.0))

simplify27.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 0 (22.0ms)

IterNodesCost
04973552
14973552

prune64.0ms

Filtered
35 candidates to 58 candidates (-65.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New58058
Fresh022
Picked011
Done000
Total58361

Merged error: 0.3b

Counts
61 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (* x (- (* 0.6666666666666667 x) 1.0)))
0.0b
(pow (+ 2.0 (* x (* x (- (* 0.6666666666666667 x) 1.0)))) 3)
0.0b
(* x (- (* 0.6666666666666667 x) 1.0))
3.7b
(cbrt (pow (+ 2.0 (* x (* x (- (* 0.6666666666666667 x) 1.0)))) 3))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
12×pow1 add-exp-log cbrt-prod add-cbrt-cube
10×distribute-rgt-in distribute-lft-in
sub-neg unpow-prod-down cube-prod associate-*r/ associate-*l*
cube-div associate-*r* pow-prod-down prod-exp cbrt-unprod add-log-exp
pow-unpow
cube-mult cbrt-div flip3-- flip3-+ unpow3 *-commutative flip-- flip-+ sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp rem-cbrt-cube rem-cube-cbrt unswap-sqr
Counts
4 → 100
Calls
4 calls:
9.0ms
(* x (* x (- (* 0.6666666666666667 x) 1.0)))
4.0ms
(pow (+ 2.0 (* x (* x (- (* 0.6666666666666667 x) 1.0)))) 3)
7.0ms
(* x (- (* 0.6666666666666667 x) 1.0))
4.0ms
(cbrt (pow (+ 2.0 (* x (* x (- (* 0.6666666666666667 x) 1.0)))) 3))

series26.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
050271483

prune140.0ms

Filtered
66 candidates to 112 candidates (-69.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1111112
Fresh011
Picked101
Done011
Total1123115

Merged error: 0.3b

Counts
115 → 3

regimes106.0ms

Accuracy

96.2% (0.6b remaining)

Error of 1.0b against oracle of 0.4b and baseline of 17.1b

bsearch93.0ms

Steps
ItersRangePoint
9
0.0012906900159990226
483.8343007553032
223.69169998523014

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04745
14745

end0.0ms

sample3.1s

Algorithm
intervals
Results
875.0ms10220×body80valid
867.0ms1632×body1280valid
433.0ms1235×body640valid
165.0ms1963×body80overflowed
160.0ms613×body320valid
56.0ms331×body160valid

Profiling

Loading profile data...