Details

Time bar (total: 7.6s)

sample110.0ms

Algorithm
intervals
Results
30.0ms59×body1280valid
24.0ms60×body10240exit
18.0ms322×body80valid
11.0ms42×body640valid
3.0ms21×body320valid
1.0ms13×body160valid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (35.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 30.9b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (* (- 1.0 eps) x))
0.3b
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
0.3b
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
2.9b
(- (/ (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) 2.0) (/ (/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x))) 2.0))

rewrite397.0ms

Algorithm
rewrite-expression-head
Rules
118×*-un-lft-identity
106×times-frac
90×add-sqr-sqrt
34×add-cube-cbrt
26×distribute-lft-out--
17×difference-of-squares
10×distribute-lft-out associate-/l* add-log-exp
add-cbrt-cube
add-exp-log associate-/r*
pow1 div-inv associate-/l/
div-sub
cbrt-undiv flip3-- exp-to-pow frac-2neg diff-log div-exp clear-num flip--
sub-neg exp-prod distribute-rgt-out-- flip3-+ frac-sub flip-+ rem-exp-log sub-div associate--r-
Counts
4 → 127
Calls
4 calls:
8.0ms
(exp (* (- 1.0 eps) x))
40.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
44.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
297.0ms
(- (/ (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) 2.0) (/ (/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x))) 2.0))

series267.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(exp (* (- 1.0 eps) x))
36.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
43.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
169.0ms
(- (/ (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) 2.0) (/ (/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x))) 2.0))

simplify56.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
06171951
118601845
250011835

prune438.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.4b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 0.5 (pow x 2))
0.1b
(* 0.33333333333333337 (pow x 3))
4.2b
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
20×associate-*r*
13×add-exp-log
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp unswap-sqr
add-cbrt-cube
associate-*l* prod-exp
cube-prod sqr-pow
pow1
pow-to-exp diff-log pow-exp *-commutative cbrt-unprod unpow2
cube-mult sub-neg flip3-- unpow3 associate--l+ sum-log flip--
Counts
3 → 72
Calls
3 calls:
11.0ms
(* 0.5 (pow x 2))
12.0ms
(* 0.33333333333333337 (pow x 3))
56.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

series96.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(* 0.5 (pow x 2))
38.0ms
(* 0.33333333333333337 (pow x 3))
35.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

simplify45.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0281367
11210327
25001314

prune178.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.4b

localize25.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 0.33333333333333337 (pow x 3))
0.1b
(pow (* 0.5 (pow x 2)) 3)
8.2b
(- (pow (+ (* 0.33333333333333337 (pow x 3)) 1.0) 3) (pow (* 0.5 (pow x 2)) 3))
9.0b
(/ (- (pow (+ (* 0.33333333333333337 (pow x 3)) 1.0) 3) (pow (* 0.5 (pow x 2)) 3)) (+ (* (+ (* 0.33333333333333337 (pow x 3)) 1.0) (+ (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))) (* (pow x 4) (* 0.5 0.5))))

rewrite419.0ms

Algorithm
rewrite-expression-head
Rules
84×add-sqr-sqrt
40×difference-of-squares
39×times-frac
37×*-un-lft-identity
33×sqr-pow
27×add-cube-cbrt
17×add-exp-log
15×unpow-prod-down cube-prod
13×associate-/l*
12×associate-*r*
11×add-cbrt-cube
pow-exp prod-exp add-log-exp
pow1 difference-cubes distribute-lft-out--
unswap-sqr
pow-to-exp pow-unpow associate-*l* associate-/r*
cube-mult flip3-- unpow3 associate-/r/ flip-- cbrt-unprod associate-/l/ rem-cube-cbrt
cbrt-undiv sub-neg pow-pow frac-2neg flip3-+ diff-log div-sub div-exp clear-num *-commutative flip-+ div-inv
Counts
4 → 148
Calls
4 calls:
13.0ms
(* 0.33333333333333337 (pow x 3))
8.0ms
(pow (* 0.5 (pow x 2)) 3)
110.0ms
(- (pow (+ (* 0.33333333333333337 (pow x 3)) 1.0) 3) (pow (* 0.5 (pow x 2)) 3))
282.0ms
(/ (- (pow (+ (* 0.33333333333333337 (pow x 3)) 1.0) 3) (pow (* 0.5 (pow x 2)) 3)) (+ (* (+ (* 0.33333333333333337 (pow x 3)) 1.0) (+ (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))) (* (pow x 4) (* 0.5 0.5))))

series316.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(* 0.33333333333333337 (pow x 3))
53.0ms
(pow (* 0.5 (pow x 2)) 3)
92.0ms
(- (pow (+ (* 0.33333333333333337 (pow x 3)) 1.0) 3) (pow (* 0.5 (pow x 2)) 3))
136.0ms
(/ (- (pow (+ (* 0.33333333333333337 (pow x 3)) 1.0) 3) (pow (* 0.5 (pow x 2)) 3)) (+ (* (+ (* 0.33333333333333337 (pow x 3)) 1.0) (+ (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))) (* (pow x 4) (* 0.5 0.5))))

simplify123.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
06323439
129443295
250023293

prune797.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.4b

localize28.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 0.20833333333333337 (pow x 6))
0.1b
(* 0.33333333333333337 (pow x 3))
0.1b
(* 0.33333333333333337 (pow x 3))
10.0b
(/ (+ (* 0.20833333333333337 (pow x 6)) (+ (* 1.0 (pow x 3)) 1.0)) (+ (* (+ (* 0.33333333333333337 (pow x 3)) 1.0) (+ (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))) (* (pow x 4) (* 0.5 0.5))))

rewrite192.0ms

Algorithm
rewrite-expression-head
Rules
42×add-sqr-sqrt
31×associate-*r*
23×add-cube-cbrt *-un-lft-identity
21×add-exp-log
12×unpow-prod-down add-cbrt-cube
11×unswap-sqr
times-frac associate-*l* prod-exp
cube-prod
sqr-pow
pow1 add-log-exp
pow-to-exp pow-exp associate-/r* *-commutative cbrt-unprod associate-/l*
cube-mult flip3-+ unpow3 associate-/r/ flip-+ associate-/l/
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
4 → 118
Calls
4 calls:
11.0ms
(* 0.20833333333333337 (pow x 6))
13.0ms
(* 0.33333333333333337 (pow x 3))
12.0ms
(* 0.33333333333333337 (pow x 3))
151.0ms
(/ (+ (* 0.20833333333333337 (pow x 6)) (+ (* 1.0 (pow x 3)) 1.0)) (+ (* (+ (* 0.33333333333333337 (pow x 3)) 1.0) (+ (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))) (* (pow x 4) (* 0.5 0.5))))

series233.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(* 0.20833333333333337 (pow x 6))
33.0ms
(* 0.33333333333333337 (pow x 3))
35.0ms
(* 0.33333333333333337 (pow x 3))
118.0ms
(/ (+ (* 0.20833333333333337 (pow x 6)) (+ (* 1.0 (pow x 3)) 1.0)) (+ (* (+ (* 0.33333333333333337 (pow x 3)) 1.0) (+ (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))) (* (pow x 4) (* 0.5 0.5))))

simplify77.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
04651368
123031243
250021242

prune482.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.4b

regimes92.0ms

Accuracy

96.2% (0.6b remaining)

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

bsearch151.0ms

Steps
ItersRangePoint
10
3.2716599026957865e-16
2.5556453819330236
2.1946778170758936

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04126
14126

end0.0ms

sample3.0s

Algorithm
intervals
Results
763.0ms1868×body10240exit
749.0ms1722×body1280valid
555.0ms9981×body80valid
330.0ms1282×body640valid
106.0ms636×body320valid
42.0ms324×body160valid