Details

Time bar (total: 5.0s)

sample101.0ms

Algorithm
intervals
Results
26.0ms336×body80valid
26.0ms46×body1280valid
11.0ms31×body640valid
10.0ms29×body320valid
4.0ms58×body80overflowed
2.0ms12×body160valid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (34.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 26.0b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite168.0ms

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

series84.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
12.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
5.0ms
(* (+ 1.0 eps) x)
56.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
149 → 149
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
06891986
122651877
250011876

prune390.0ms

Filtered
109 candidates to 149 candidates (-36.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1454149
Fresh000
Picked101
Done000
Total1464150

Merged error: 1.0b

Counts
150 → 4

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.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)))

series11.0ms

Counts
3 → 9
Calls
3 calls:
3.0ms
(* 0.5 (pow x 2))
4.0ms
(* 0.33333333333333337 (pow x 3))
4.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

simplify44.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0281367
11210327
25001314

prune130.0ms

Filtered
48 candidates to 81 candidates (-68.8%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New77481
Fresh033
Picked101
Done000
Total78785

Merged error: 1.0b

Counts
85 → 7

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.0ms

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

series16.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* 0.5 (pow x 2))
5.0ms
(- 1.0 (* 0.5 (pow x 2)))
4.0ms
(* 0.33333333333333337 (pow x 3))
4.0ms
(+ (* 0.33333333333333337 (pow x 3)) (- 1.0 (* 0.5 (pow x 2))))

simplify48.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0327436
11334400
25001390

prune144.0ms

Filtered
59 candidates to 97 candidates (-64.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New96197
Fresh156
Picked101
Done000
Total986104

Merged error: 1.0b

Counts
104 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

7.4b
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))
10.3b
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
10.3b
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
10.3b
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-div
pow1 add-exp-log flip3-- add-cbrt-cube flip--
pow1/3
diff-log
sub-neg associate--l+ sum-log
Counts
4 → 53
Calls
4 calls:
7.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))
6.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
6.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
6.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))

series36.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))
9.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
9.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
11.0ms
(cbrt (- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))

simplify132.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0253983
1904924
24252836
35001836

prune311.0ms

Filtered
59 candidates to 65 candidates (-10.2%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New63265
Fresh145
Picked101
Done000
Total65671

Merged error: 1.0b

Counts
71 → 6

regimes149.0ms

Accuracy

96.4% (0.6b remaining)

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

bsearch88.0ms

Steps
ItersRangePoint
8
1.338191449448963
346.4143613432569
1.3538457261082366

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04328
14328

end0.0ms

sample2.9s

Algorithm
intervals
Results
893.0ms1632×body1280valid
800.0ms10143×body80valid
426.0ms1231×body640valid
148.0ms635×body320valid
146.0ms1893×body80overflowed
52.0ms345×body160valid

Profiling

Loading profile data...