Details

Time bar (total: 4.3s)

analyze235.0ms

Algorithm
search

sample73.0ms

Algorithm
intervals
Results
30.0ms54×body1280valid
17.0ms50×body640valid
10.0ms126×body80valid
4.0ms18×body320valid
1.0msbody160valid
1.0msbody80invalid
0.0msbody80overflowed

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (34.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune9.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 30.6b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
81×exp-neg frac-sub
80×frac-times
61×neg-sub0 exp-diff
40×associate-*r/ associate-*l/
31×flip3-- flip--
30×flip3-+ flip-+
20×un-div-inv
18×add-sqr-sqrt
13×*-un-lft-identity
10×associate-*l*
add-cube-cbrt
pow1 add-cbrt-cube add-log-exp
add-exp-log exp-prod associate-*r*
pow-prod-down prod-exp *-commutative cbrt-unprod rem-exp-log difference-of-squares unswap-sqr
distribute-lft-neg-in neg-mul-1 sub-neg distribute-rgt-neg-in times-frac diff-log neg-log distribute-lft-out distribute-lft-out--
Counts
4 → 168
Calls
4 calls:
3.0ms
(exp (neg (* (- 1.0 eps) x)))
13.0ms
(* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x))))
12.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
17.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

series72.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(exp (neg (* (- 1.0 eps) x)))
11.0ms
(* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x))))
10.0ms
(* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x))))
45.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

simplify141.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (104.0ms)

IterNodesCost
012014059
144003786
250023771

prune360.0ms

Filtered
96 candidates to 180 candidates (-87.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1773180
Fresh000
Picked101
Done000
Total1783181

Merged error: 0.6b

Counts
181 → 3

localize9.0ms

Local error

Found 2 expressions with local error:

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

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

series8.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(* 0.6666666666666667 (pow x 3))
4.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

simplify33.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0207270
1894242
25002238

prune84.0ms

Filtered
31 candidates to 51 candidates (-64.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New49251
Fresh022
Picked101
Done000
Total50454

Merged error: 0.6b

Counts
54 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(exp (* 0.6666666666666667 (pow x 3)))
0.0b
(* 0.6666666666666667 (pow x 3))
2.0b
(log (exp (* 0.6666666666666667 (pow x 3))))
6.8b
(- (+ (log (exp (* 0.6666666666666667 (pow x 3)))) 2.0) (* 1.0 (pow x 2)))

rewrite20.0ms

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

series16.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0252420
11041358
25001351

prune135.0ms

Filtered
51 candidates to 81 candidates (-58.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New81081
Fresh033
Picked011
Done000
Total81485

Merged error: 0.6b

Counts
85 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

3.3b
(sqrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
3.3b
(sqrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
6.8b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
6.8b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

rewrite30.0ms

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

series20.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(sqrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
6.0ms
(sqrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
4.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
4.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

simplify107.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (99.0ms)

IterNodesCost
0199708
1707666
23357652
35001650

prune192.0ms

Filtered
54 candidates to 70 candidates (-29.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New70070
Fresh022
Picked011
Done011
Total70474

Merged error: 0.6b

Counts
74 → 4

regimes148.0ms

Accuracy

96.5% (0.6b remaining)

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

bsearch142.0ms

Steps
ItersRangePoint
8
0.013539988030895631
5.883327029445557
1.508259436498545

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04735
15935
25935

end0.0ms

analyze233.0ms

Algorithm
search

sample2.1s

Algorithm
intervals
Results
910.0ms1632×body1280valid
418.0ms1213×body640valid
342.0ms4182×body80valid
153.0ms639×body320valid
52.0ms334×body160valid
19.0ms235×body80invalid
14.0ms178×body80overflowed
9.0ms16×body1280invalid
5.0ms13×body640invalid
2.0msbody320invalid

Profiling

Loading profile data...