Details

Time bar (total: 4.6s)

sample105.0ms

Algorithm
intervals
Results
36.0ms57×body1280valid
24.0ms317×body80valid
18.0ms52×body640valid
4.0ms18×body320valid
4.0ms48×body80overflowed
0.0msbody160valid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (35.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: 30.4b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.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:
6.0ms
(* (- 1.0 eps) x)
12.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
6.0ms
(* (+ 1.0 eps) x)
20.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

series66.0ms

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

simplify150.0ms

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
012433854
148193583
250013583

prune308.0ms

Filtered
88 candidates to 176 candidates (-100.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 2 expressions with local error:

0.1b
(* 0.6666666666666667 (pow x 3))
7.2b
(- (+ (* 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)))

series8.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0207270
1894242
25002238

prune84.0ms

Filtered
31 candidates to 51 candidates (-64.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New49251
Fresh022
Picked101
Done000
Total50454

Merged error: 0.3b

Counts
54 → 4

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))
7.2b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

rewrite32.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 (41.0ms)

IterNodesCost
0346862
11520806
25001799

prune176.0ms

Filtered
60 candidates to 105 candidates (-75.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1032105
Fresh123
Picked011
Done000
Total1045109

Merged error: 0.3b

Counts
109 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 8.0 (pow x 3))
0.2b
(* 12.0 (pow x 2))
7.2b
(- (+ (* 8.0 (pow x 3)) 8.0) (* 12.0 (pow x 2)))
10.6b
(cbrt (- (+ (* 8.0 (pow x 3)) 8.0) (* 12.0 (pow x 2))))

rewrite27.0ms

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

series21.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 8.0 (pow x 3))
3.0ms
(* 12.0 (pow x 2))
4.0ms
(- (+ (* 8.0 (pow x 3)) 8.0) (* 12.0 (pow x 2)))
10.0ms
(cbrt (- (+ (* 8.0 (pow x 3)) 8.0) (* 12.0 (pow x 2))))

simplify56.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0419643
11690587
25002569

prune152.0ms

Filtered
62 candidates to 97 candidates (-56.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New96197
Fresh033
Picked011
Done011
Total966102

Merged error: 0.3b

Counts
102 → 6

regimes186.0ms

Accuracy

96.2% (0.6b remaining)

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

bsearch88.0ms

Steps
ItersRangePoint
9
0.003262827880282272
131215.07867019402
144.77985428400657

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05227
16027
26027

end0.0ms

sample2.9s

Algorithm
intervals
Results
896.0ms1620×body1280valid
792.0ms10232×body80valid
449.0ms1287×body640valid
149.0ms637×body320valid
144.0ms1898×body80overflowed
52.0ms332×body160valid

Profiling

Loading profile data...