Details

Time bar (total: 4.9s)

sample104.0ms

Algorithm
intervals
Results
36.0ms60×body1280valid
26.0ms338×body80valid
11.0ms34×body640valid
5.0ms71×body80overflowed
5.0ms21×body320valid
1.0msbody160valid

simplify34.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (33.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune10.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.2b

Counts
2 → 2

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

rewrite229.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)
11.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
11.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
195.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))

series85.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
06841993
121761881
250021880

prune363.0ms

Filtered
150 candidates to 107 candidates (28.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1482150
Fresh101
Picked101
Done000
Total1502152

Merged error: 0.2b

Counts
152 → 2

localize9.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 0.33333333333333337 (pow x 3))
0.2b
(* 0.5 (pow x 2))
6.0b
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

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

series11.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(* 0.33333333333333337 (pow x 3))
3.0ms
(* 0.5 (pow x 2))
4.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 (38.0ms)

IterNodesCost
0281367
11207327
25001314

prune104.0ms

Filtered
81 candidates to 48 candidates (40.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New80181
Fresh011
Picked011
Done000
Total80383

Merged error: 0.2b

Counts
83 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 0.33333333333333337 (pow x 3))
0.2b
(* 0.5 (pow x 2))
1.7b
(log (exp (* 0.5 (pow x 2))))
10.5b
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (log (exp (* 0.5 (pow x 2)))))

rewrite25.0ms

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

series15.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0318516
11268447
25001433

prune165.0ms

Filtered
104 candidates to 63 candidates (39.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1022104
Fresh011
Picked101
Done011
Total1034107

Merged error: 0.2b

Counts
107 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

5.4b
(sqrt (+ (* 0.33333333333333337 (pow x 3)) 1.0))
5.4b
(sqrt (+ (* 0.33333333333333337 (pow x 3)) 1.0))
35.6b
(sqrt (* 0.5 (pow x 2)))
35.6b
(sqrt (* 0.5 (pow x 2)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-sqr-sqrt sqrt-prod
add-cube-cbrt *-un-lft-identity
add-exp-log sqrt-pow1 pow1/2 sqrt-div add-cbrt-cube add-log-exp
rem-sqrt-square flip3-+ flip-+
Counts
4 → 50
Calls
4 calls:
4.0ms
(sqrt (+ (* 0.33333333333333337 (pow x 3)) 1.0))
4.0ms
(sqrt (+ (* 0.33333333333333337 (pow x 3)) 1.0))
3.0ms
(sqrt (* 0.5 (pow x 2)))
3.0ms
(sqrt (* 0.5 (pow x 2)))

series16.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 3 (70.0ms)

IterNodesCost
0167336
1478324
22323324
35001322

prune195.0ms

Filtered
62 candidates to 52 candidates (16.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New61162
Fresh022
Picked101
Done011
Total62466

Merged error: 0.2b

Counts
66 → 4

regimes102.0ms

Accuracy

96.9% (0.5b remaining)

Error of 0.8b against oracle of 0.4b and baseline of 16.0b

bsearch91.0ms

Steps
ItersRangePoint
9
0.0005128181360460238
127140.91663662092
1.5711212170237787

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04126
14126

end0.0ms

sample3.0s

Algorithm
intervals
Results
981.0ms1782×body1280valid
772.0ms9927×body80valid
451.0ms1292×body640valid
151.0ms1960×body80overflowed
147.0ms628×body320valid
53.0ms339×body160valid

Profiling

Loading profile data...