Details

Time bar (total: 8.8s)

sample92.0ms

Algorithm
intervals
Results
30.0ms58×body1280valid
22.0ms295×body80valid
13.0ms33×body640valid
5.0ms25×body320valid
4.0ms58×body80overflowed
1.0msbody160valid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (35.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 28.0b

Counts
2 → 1

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

rewrite60.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/
32×flip3-- flip--
28×flip3-+ flip-+
23×add-sqr-sqrt
19×un-div-inv
16×*-un-lft-identity
15×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 difference-of-squares unswap-sqr
distribute-lft-out--
sub-neg times-frac diff-log distribute-lft-out
Counts
4 → 166
Calls
4 calls:
14.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
9.0ms
(* (- 1.0 eps) x)
6.0ms
(* (+ 1.0 eps) x)
19.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

series306.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)
27.0ms
(* (+ 1.0 eps) x)
197.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

simplify157.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
012513880
147833607
250023607

prune387.0ms

Filtered
178 candidates to 90 candidates (50.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1762178
Fresh000
Picked101
Done000
Total1772179

Merged error: 0.2b

Counts
179 → 2

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
12×associate-*r*
10×add-log-exp
add-exp-log
add-cube-cbrt *-un-lft-identity
add-cbrt-cube
unpow-prod-down cube-prod unswap-sqr
pow1 associate-*l* prod-exp
diff-log sum-log sqr-pow
+-commutative cube-mult pow-to-exp sub-neg flip3-- flip3-+ unpow3 pow-exp associate--l+ *-commutative flip-- cbrt-unprod flip-+
Counts
3 → 56
Calls
3 calls:
5.0ms
(+ (* 0.6666666666666667 (pow x 3)) 2.0)
6.0ms
(* 0.6666666666666667 (pow x 3))
7.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

series156.0ms

Counts
3 → 9
Calls
3 calls:
78.0ms
(+ (* 0.6666666666666667 (pow x 3)) 2.0)
36.0ms
(* 0.6666666666666667 (pow x 3))
42.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

simplify38.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0251336
11024311
25002307

prune120.0ms

Filtered
65 candidates to 41 candidates (63.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New63265
Fresh011
Picked101
Done000
Total64367

Merged error: 0.2b

Counts
67 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 0.6666666666666667 (pow x 3))
0.5b
(exp (log (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))))
8.4b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
12.2b
(log (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
12×associate-*r*
11×add-cube-cbrt *-un-lft-identity
10×add-exp-log
add-log-exp
pow1 log-prod add-cbrt-cube
unpow-prod-down log-div exp-prod cube-prod unswap-sqr
flip3-- associate-*l* exp-sum prod-exp flip--
exp-diff diff-log log-pow sqr-pow
cube-mult pow-to-exp sub-neg unpow3 rem-log-exp pow-exp associate--l+ sum-log *-commutative cbrt-unprod rem-exp-log
Counts
4 → 76
Calls
4 calls:
7.0ms
(* 0.6666666666666667 (pow x 3))
8.0ms
(exp (log (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))))
8.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
7.0ms
(log (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

series205.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* 0.6666666666666667 (pow x 3))
37.0ms
(exp (log (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))))
43.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
84.0ms
(log (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

simplify45.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0330691
11352626
25001602

prune198.0ms

Filtered
88 candidates to 58 candidates (65.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New87188
Fresh112
Picked011
Done000
Total88391

Merged error: 0.2b

Counts
91 → 3

localize21.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (- (/ 1.0 eps) 1.0))
0.4b
(cbrt (- (/ 1.0 eps) 1.0))
0.4b
(* (cbrt (- (/ 1.0 eps) 1.0)) (cbrt (- (/ 1.0 eps) 1.0)))
18.9b
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (* (cbrt (- (/ 1.0 eps) 1.0)) (cbrt (- (/ 1.0 eps) 1.0))) (* (cbrt (- (/ 1.0 eps) 1.0)) (exp (- (* (+ 1.0 eps) x))))))

rewrite320.0ms

Algorithm
rewrite-expression-head
Rules
1692×frac-times
1582×cbrt-div
801×frac-sub
792×flip3-- flip--
680×exp-neg
603×associate-*r/
594×associate-*l/
510×neg-sub0 exp-diff
267×flip3-+ flip-+
170×un-div-inv
52×add-sqr-sqrt
44×cbrt-prod
32×*-un-lft-identity
14×add-cube-cbrt
12×difference-of-squares
11×pow1 swap-sqr
associate-*r* associate-*l*
pow1/3 distribute-lft-out--
add-exp-log times-frac add-log-exp
add-cbrt-cube unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 sub-neg pow-plus diff-log prod-exp *-commutative cbrt-unprod
Counts
4 → 904
Calls
4 calls:
7.0ms
(cbrt (- (/ 1.0 eps) 1.0))
10.0ms
(cbrt (- (/ 1.0 eps) 1.0))
19.0ms
(* (cbrt (- (/ 1.0 eps) 1.0)) (cbrt (- (/ 1.0 eps) 1.0)))
61.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (* (cbrt (- (/ 1.0 eps) 1.0)) (cbrt (- (/ 1.0 eps) 1.0))) (* (cbrt (- (/ 1.0 eps) 1.0)) (exp (- (* (+ 1.0 eps) x))))))

series700.0ms

Counts
4 → 12
Calls
4 calls:
139.0ms
(cbrt (- (/ 1.0 eps) 1.0))
142.0ms
(cbrt (- (/ 1.0 eps) 1.0))
188.0ms
(* (cbrt (- (/ 1.0 eps) 1.0)) (cbrt (- (/ 1.0 eps) 1.0)))
231.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (* (cbrt (- (/ 1.0 eps) 1.0)) (cbrt (- (/ 1.0 eps) 1.0))) (* (cbrt (- (/ 1.0 eps) 1.0)) (exp (- (* (+ 1.0 eps) x))))))

simplify667.0ms

Algorithm
egg-herbie
Counts
916 → 916
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
0500257830

prune2.4s

Filtered
916 candidates to 357 candidates (39.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New9160916
Fresh011
Picked011
Done011
Total9163919

Merged error: 0.2b

Counts
919 → 3

regimes74.0ms

Accuracy

96.7% (0.5b remaining)

Error of 0.9b against oracle of 0.4b and baseline of 16.6b

bsearch130.0ms

Steps
ItersRangePoint
8
108.10498260228141
57946.35045805707
163.11371107757716

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05434
16234
26234

end0.0ms

sample2.6s

Algorithm
intervals
Results
867.0ms1693×body1280valid
710.0ms10017×body80valid
398.0ms1279×body640valid
139.0ms1999×body80overflowed
135.0ms644×body320valid
42.0ms294×body160valid