Details

Time bar (total: 6.2s)

sample99.0ms

Algorithm
intervals
Results
26.0ms67×body10240exit
19.0ms46×body1280valid
17.0ms330×body80valid
12.0ms47×body640valid
3.0ms22×body320valid
1.0msbody160valid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (35.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.3b

localize21.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.8b
(- (/ (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) 2.0) (/ (/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x))) 2.0))

rewrite189.0ms

Algorithm
rewrite-expression-head
Rules
122×*-un-lft-identity
106×times-frac
96×add-sqr-sqrt
36×add-cube-cbrt
27×distribute-lft-out--
18×difference-of-squares
10×add-cbrt-cube distribute-lft-out associate-/l*
add-exp-log
pow1 associate-/r* add-log-exp
associate-*l*
div-inv associate-/l/
flip3-- div-sub associate-*r* flip--
cbrt-undiv frac-2neg div-exp associate-*l/ clear-num
sub-neg distribute-rgt-out-- flip3-+ diff-log pow-prod-down prod-exp *-commutative frac-sub cbrt-unprod flip-+ sub-div associate--r- unswap-sqr
Counts
4 → 138
Calls
4 calls:
6.0ms
(* (- 1.0 eps) x)
13.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
12.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
151.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))

series299.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (- 1.0 eps) x)
45.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
44.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
181.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))

simplify65.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
06841993
121761881
250021880

prune443.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.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:
5.0ms
(* 0.5 (pow x 2))
6.0ms
(* 0.33333333333333337 (pow x 3))
7.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

series242.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0281367
11210327
25001314

prune160.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.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:
5.0ms
(* 0.5 (pow x 2))
6.0ms
(* 0.33333333333333337 (pow x 3))
7.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

series99.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0281376
11249330
25002323

prune186.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.1b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite284.0ms

Algorithm
rewrite-expression-head
Rules
156×times-frac
123×add-sqr-sqrt
112×*-un-lft-identity
69×add-cube-cbrt
20×associate-/l*
13×add-cbrt-cube
12×difference-of-squares
10×distribute-lft-out--
add-exp-log associate-/r* div-inv
distribute-lft-out
add-log-exp
cbrt-undiv div-exp
pow1
frac-2neg clear-num associate-/l/
sub-neg flip3-- distribute-rgt-out-- flip3-+ diff-log frac-sub flip-- flip-+ sub-div
Counts
4 → 167
Calls
4 calls:
8.0ms
(/ (/ 1.0 eps) (exp (* (+ 1.0 eps) x)))
5.0ms
(/ 1.0 (exp (* (+ 1.0 eps) x)))
11.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
252.0ms
(- (/ (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) 2.0) (/ (/ (/ 1.0 eps) (exp (* (+ 1.0 eps) x))) 2.0))

series199.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(/ (/ 1.0 eps) (exp (* (+ 1.0 eps) x)))
25.0ms
(/ 1.0 (exp (* (+ 1.0 eps) x)))
42.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
97.0ms
(- (/ (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) 2.0) (/ (/ (/ 1.0 eps) (exp (* (+ 1.0 eps) x))) 2.0))

simplify74.0ms

Algorithm
egg-herbie
Counts
179 → 179
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
07922363
127062248
250032248

prune666.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

regimes70.0ms

Accuracy

96.5% (0.5b remaining)

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

bsearch165.0ms

Steps
ItersRangePoint
11
1.648961095024041e-05
5.175139968754377e+19
0.9720121164739257

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04829
15029
25029

end0.0ms

sample2.8s

Algorithm
intervals
Results
764.0ms1933×body10240exit
721.0ms1697×body1280valid
535.0ms10153×body80valid
313.0ms1295×body640valid
105.0ms625×body320valid
32.0ms306×body160valid