Details

Time bar (total: 7.3s)

sample143.0ms

Algorithm
intervals
Results
45.0ms352×body80valid
43.0ms64×body1280valid
19.0ms42×body640valid
9.0ms79×body80overflowed
7.0ms21×body320valid
2.0msbody160valid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (35.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) 1.0) (exp (- (* (+ 1.0 eps) x))))
0.0b
(* (- 1.0 eps) x)
0.0b
(* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))))
2.9b
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

rewrite121.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:
40.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
10.0ms
(* (- 1.0 eps) x)
32.0ms
(* (+ 1.0 (/ 1.0 eps)) (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)))))

series322.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
33.0ms
(* (- 1.0 eps) x)
46.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x))))
194.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

simplify153.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (115.0ms)

IterNodesCost
012534065
147123787
250013778

prune435.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.2b

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite35.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:
7.0ms
(* 0.6666666666666667 (pow x 3))
27.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

series76.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(* 0.6666666666666667 (pow x 3))
38.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

prune115.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 0.6666666666666667 (pow x 3))
0.1b
(* 0.6666666666666667 (pow x 3))
9.4b
(+ (* (- (* 1.0 1.0)) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0)))
9.8b
(/ (+ (* (- (* 1.0 1.0)) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0))) (+ (* (pow x 2) (+ (* 0.6666666666666667 x) 1.0)) 2.0))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt
24×associate-*r*
20×add-cube-cbrt *-un-lft-identity
16×add-exp-log
10×add-cbrt-cube
times-frac
unpow-prod-down cube-prod unswap-sqr
associate-*l* prod-exp add-log-exp
pow1 sqr-pow
flip3-+ associate-/r* flip-+ associate-/l*
cube-mult pow-to-exp associate-+r+ unpow3 pow-exp associate-/r/ *-commutative cbrt-unprod associate-/l/
cbrt-undiv +-commutative distribute-rgt-in frac-2neg distribute-lft-in div-exp clear-num sum-log div-inv
Counts
4 → 106
Calls
4 calls:
7.0ms
(* 0.6666666666666667 (pow x 3))
7.0ms
(* 0.6666666666666667 (pow x 3))
5.0ms
(+ (* (- (* 1.0 1.0)) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0)))
28.0ms
(/ (+ (* (- (* 1.0 1.0)) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0))) (+ (* (pow x 2) (+ (* 0.6666666666666667 x) 1.0)) 2.0))

series247.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(* 0.6666666666666667 (pow x 3))
36.0ms
(* 0.6666666666666667 (pow x 3))
55.0ms
(+ (* (- (* 1.0 1.0)) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0)))
115.0ms
(/ (+ (* (- (* 1.0 1.0)) (pow x 4)) (* (+ (* 0.6666666666666667 (pow x 3)) 2.0) (+ (* 0.6666666666666667 (pow x 3)) 2.0))) (+ (* (pow x 2) (+ (* 0.6666666666666667 x) 1.0)) 2.0))

simplify68.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
04121392
119941252
250011242

prune407.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (pow x 2) (+ (* 0.6666666666666667 x) 1.0))
0.1b
(* 2.666666666666667 (pow x 3))
10.8b
(- (+ (* 2.666666666666667 (pow x 3)) 4.0) (* 1.0 (pow x 4)))
11.8b
(/ (- (+ (* 2.666666666666667 (pow x 3)) 4.0) (* 1.0 (pow x 4))) (+ (* (pow x 2) (+ (* 0.6666666666666667 x) 1.0)) 2.0))

rewrite114.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity
16×add-exp-log
15×associate-*r*
11×associate-*l*
10×add-cbrt-cube
times-frac add-log-exp
unpow-prod-down unswap-sqr
prod-exp
pow1 cube-prod sqr-pow
associate-/r* associate-/l*
pow-to-exp flip3-- flip3-+ diff-log associate-*r/ pow-exp associate-/r/ *-commutative flip-- cbrt-unprod flip-+ associate-/l/ unpow2
cbrt-undiv distribute-rgt-in cube-mult sub-neg frac-2neg distribute-lft-in unpow3 div-sub div-exp associate--l+ clear-num sum-log div-inv
Counts
4 → 108
Calls
4 calls:
15.0ms
(* (pow x 2) (+ (* 0.6666666666666667 x) 1.0))
7.0ms
(* 2.666666666666667 (pow x 3))
27.0ms
(- (+ (* 2.666666666666667 (pow x 3)) 4.0) (* 1.0 (pow x 4)))
62.0ms
(/ (- (+ (* 2.666666666666667 (pow x 3)) 4.0) (* 1.0 (pow x 4))) (+ (* (pow x 2) (+ (* 0.6666666666666667 x) 1.0)) 2.0))

series248.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(* (pow x 2) (+ (* 0.6666666666666667 x) 1.0))
42.0ms
(* 2.666666666666667 (pow x 3))
52.0ms
(- (+ (* 2.666666666666667 (pow x 3)) 4.0) (* 1.0 (pow x 4)))
82.0ms
(/ (- (+ (* 2.666666666666667 (pow x 3)) 4.0) (* 1.0 (pow x 4))) (+ (* (pow x 2) (+ (* 0.6666666666666667 x) 1.0)) 2.0))

simplify84.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
05661107
126871010
250011009

prune347.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

regimes59.0ms

Accuracy

96.5% (0.6b remaining)

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

bsearch205.0ms

Steps
ItersRangePoint
10
1.9435667087631803
128700106451.34695
2.8344871195921435

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06242
16842
26842

end0.0ms

sample3.9s

Algorithm
intervals
Results
1.3s10024×body80valid
1.2s1786×body1280valid
581.0ms1253×body640valid
217.0ms1967×body80overflowed
196.0ms590×body320valid
67.0ms321×body160valid