Details

Time bar (total: 5.6s)

sample111.0ms

Algorithm
intervals
Results
35.0ms69×body1280valid
27.0ms66×body10240exit
18.0ms323×body80valid
10.0ms38×body640valid
4.0ms23×body320valid
1.0msbody160valid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (34.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 31.9b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite112.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:
9.0ms
(* (- 1.0 eps) x)
29.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))))
37.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
27.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

series333.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(* (- 1.0 eps) x)
46.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))))
56.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
196.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

simplify155.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (117.0ms)

IterNodesCost
012534065
147123787
250013778

prune456.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite33.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))
25.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

series78.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0207270
1894242
25002238

prune110.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite107.0ms

Algorithm
rewrite-expression-head
Rules
35×associate-*r/
27×add-sqr-sqrt frac-sub
22×*-un-lft-identity exp-diff
18×add-cube-cbrt
16×exp-neg frac-times times-frac
13×flip3-- flip--
12×neg-sub0
10×flip3-+ associate-*l* associate-*l/ add-cbrt-cube flip-+
frac-add
pow1 add-exp-log exp-sum
associate-*r* add-log-exp
sub-neg associate-/l*
un-div-inv
associate-/r*
pow-prod-down prod-exp associate--l+ *-commutative cbrt-unprod difference-of-squares unswap-sqr
cbrt-undiv distribute-rgt-in frac-2neg distribute-lft-in diff-log div-exp clear-num div-inv associate-/l/ distribute-lft-out distribute-lft-out--
Counts
4 → 128
Calls
4 calls:
9.0ms
(* (+ 1.0 eps) x)
11.0ms
(/ (exp (- (* x eps) (* 1.0 x))) eps)
40.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
41.0ms
(- (* 1.0 (+ (/ (exp (- (* x eps) (* 1.0 x))) eps) (exp (- (* x eps) (* 1.0 x))))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

series287.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* (+ 1.0 eps) x)
35.0ms
(/ (exp (- (* x eps) (* 1.0 x))) eps)
49.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
175.0ms
(- (* 1.0 (+ (/ (exp (- (* x eps) (* 1.0 x))) eps) (exp (- (* x eps) (* 1.0 x))))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

simplify124.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (92.0ms)

IterNodesCost
09102903
137462773
250022772

prune415.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes52.0ms

Accuracy

95.8% (0.7b remaining)

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

bsearch153.0ms

Steps
ItersRangePoint
10
3.9524390088012255e-07
7103758.057079569
130.4040333957902

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04727
15327
25327

end0.0ms

sample2.9s

Algorithm
intervals
Results
781.0ms1902×body10240exit
762.0ms1689×body1280valid
575.0ms10213×body80valid
336.0ms1265×body640valid
105.0ms617×body320valid
37.0ms326×body160valid